Author Topic: "Invalid Btree Header, 0, 0" error...  (Read 27227 times)

Offline Philgood

  • Gold Member (200+ Posts)
  • *****
  • Posts: 398
  • Liked:
  • Likes Given: 27
"Invalid Btree Header, 0, 0" error...
« on: November 11, 2015, 12:55:20 AM »
Last night the harddrives of my MDD halted and after forcing the reboot i got the blinking Question mark Folder. Duh.
Harddrives dead i thought and so i got the idea to try to connect them to my windows box with an USB-IDE bridge adapter as i recently installed the demo version of Paragons HFS+ for windows. But it already passed the trial period so i had the stupid idea of buying their 2in1 bundle for 29$ only to see that it isn't working with OS9 partitions...at least it's not working for me. i tried on the windows 7 partition first installing their program and after that on my XP partition. I searched the support forum but couldn't find any information about mac os9 partitions...Does anyone use their Program successfully ?
I'll request a refund as soon as possible if it's not working...

Well, i grabbed finally my Mavericks Macbook and connected them with the same USB-IDE adapter and got immediately all partitions shown on the desktop....should have tried that in the first place.
I made backups of the 2 harddrives with Superduper to an external Firewire one and did nothing else as to put the 2 harddrives back into the MDD as they didn't seem to be dead.
I only changed the configuration as before the 2 ones were connected to the same ATA100 bus as master/slave configuration so i put the system on the ATA66 and left the other one on the ATA100 bus.
My MDD booted and everything looks good but i'm getting now the famous "Invalid Btree Header, 0, 0" scanning with FirstAidUtility...sure this bad did the evil MacOSX but do i have to worry about it?
Is there any way to repair it ?

Thanks guys
*G4 MDD 1.25GHz (Single 2003)* with 2x 80Gb harddrives, 1Gb RAM, Tascam US-428 and Edirol FA-101 USB/Firewire soundcards-*iMac G3 DV 400MHz* with installs from OS 8.6-OSX Tiger on different harddrives-*Powerbook G4 1.67Ghz* with new SSD ! Love it.

supernova777

  • Guest
Re: "Invalid Btree Header, 0, 0" error...
« Reply #1 on: November 11, 2015, 02:57:36 AM »
i had the same problem and couldnt repair it.. once it happens the best thing u can do is back up all your data to a new drive .. and reinstall or restore using ASR.. ASR is a lifesaver for this kind of crap... but of course requires that u prepared a backup/restore image beforehand

i havent read of anyone finding a solution to this stupid error.
i have a feeling its caused by a clash between softwares' copyright techniques?
some people think its caused by using osx on the same partition as 9? i think its possible it can be caused by both.

Offline Philgood

  • Gold Member (200+ Posts)
  • *****
  • Posts: 398
  • Liked:
  • Likes Given: 27
Re: "Invalid Btree Header, 0, 0" error...
« Reply #2 on: November 11, 2015, 03:02:04 AM »
I did some search on the forum so i`ll auto-respond me in the meanwhile  ;D

Look what DieHard posted regarding the issue...

Don't know if this helps, but to avoid the whole

Invalid BTree Header , 0, 0

error; the basic rule of thumb is to not access any OS 8 or OS 9 volumes while being booted to OS X, eventually OS X will write to areas of the OS 9 volume that OS 8/9 will report as Invalid Btree Header 0,0; a real pain the the ass that no utilities (and I have tried them all) will fix... So, that is why I mentioned to keep OS 9 machines as OS 9 only and OS X Machines the same.`

The bold letters were put by me...Seems that i'm out of luck to try to successfully repair it.

Quote
Use good old file sharing or FTP to transfer files or USE a home made firewire Flash drive... I made many FW400 flash drives with a Lexar FireWire CF Compact Flash Card Reader and a CF 4G or 8GB Card, this will transfer files between OS X and OS 9 with no issues.

I think i'll redone that Backups to make them straight from a OS9 CD booted...will try that Mactron goodie from here...http://macos9lives.com/smforum/index.php?topic=1654.0

Quote
PS: Get enough RAM in the unit to make a large RAM disk and Copy a stripped down 9.2.2 to it and reboot to it... your ACG400 will turn into a freakishly fast super Mac.

I and many others have done this.... from the Web...

"you first start up of the hard drive, make your ram disk say 130Mb(given the fact I have 160Mb), this leaves about 30Mb for applications and the OS.
restart the machine, the ram disk is now active. gut the dup the system folder and then gut it until is fits onto the 130Mb ram disk. Bless the system folder on the ram disk. choose the startup disk in via the control panel, restart. Power is stillgoing to ram so the contents of the ram disk are not lost....bingo boot of a ram disk, watch laptop battery life jump and a system that starts up in seconds  .
there you go people....booting off a ram disk 
that also why solid state ram drives have then own power instead of just of the PCI bus....."

I'm quite sure that having a ram disk isn't something recommendable in an audio production environment but maybe worth a try... 
*G4 MDD 1.25GHz (Single 2003)* with 2x 80Gb harddrives, 1Gb RAM, Tascam US-428 and Edirol FA-101 USB/Firewire soundcards-*iMac G3 DV 400MHz* with installs from OS 8.6-OSX Tiger on different harddrives-*Powerbook G4 1.67Ghz* with new SSD ! Love it.

supernova777

  • Guest
Re: "Invalid Btree Header, 0, 0" error...
« Reply #3 on: November 11, 2015, 03:08:38 AM »
yep the best way to avoid it is to not let osx "see" the os9 partition.. and vice versa..
for me this means if i want to use a g3 or g4 for os9 + osx .. always partition the drive.. and NEVER READ OR WRITE THE OTHER PARTITION!!! there are steps u can do to "hide" the drive so it doesnt show up.. on os9 this is accomplished in drivesetup i think? but u need a certain level version of drivesetup i think... and in osx.. i forget.. id have to google it..  so u would copy files to an external drive.. or copy them to a network share.. then reboot  to the alternate os and copy the files

ramdisk works too but is more applicable to small files

Offline Philgood

  • Gold Member (200+ Posts)
  • *****
  • Posts: 398
  • Liked:
  • Likes Given: 27
Re: "Invalid Btree Header, 0, 0" error...
« Reply #4 on: November 11, 2015, 03:09:47 AM »
I just saw that speedy Chris posted before i could finish my post... ;)

Well, i think it's nothing critical to just wipe the system disk and make a fresh OS install. About the other one which contains Protools sessions with all the audio recordings i would prefer to salvage/preserve it...will this Btree header error affect the data sooner or later ?
What if all utilities seems to fail on this would be a good method of preserving the data ?
Just copy the data to another harddrive ? Will this restructure the directory problems ?

*G4 MDD 1.25GHz (Single 2003)* with 2x 80Gb harddrives, 1Gb RAM, Tascam US-428 and Edirol FA-101 USB/Firewire soundcards-*iMac G3 DV 400MHz* with installs from OS 8.6-OSX Tiger on different harddrives-*Powerbook G4 1.67Ghz* with new SSD ! Love it.

Offline MacTron

  • Global Moderator
  • Platinum Member (500+ Posts)
  • *****
  • Posts: 2111
  • keep it simple
  • Liked:
  • Likes Given: 11
Re: "Invalid Btree Header, 0, 0" error...
« Reply #5 on: November 11, 2015, 07:15:10 AM »
Yes, I agree with DieHard, as being Mac Os X the main cause of Invalid B Tree header errors. I have achieved to solve the problem using a combination of rescue utilities, including Mac Os X Disk Utility. But in any case, I can't trust any more the rescued HD, so it must be re-formatted as soon as it can.
Please don't PM about things that are not private.

Offline Philgood

  • Gold Member (200+ Posts)
  • *****
  • Posts: 398
  • Liked:
  • Likes Given: 27
Re: "Invalid Btree Header, 0, 0" error...
« Reply #6 on: November 11, 2015, 07:47:46 AM »
Yes ok. But is it safe to just write the content of the Protools session Data harddrive to another one to "refresh" the directory structure which is what got damaged in the first place or how can I salvage this ?

As an reminder.
I have an system harddrive with the OS which I will just reinstall but I need to know what is best to do with the Data harddrive.
*G4 MDD 1.25GHz (Single 2003)* with 2x 80Gb harddrives, 1Gb RAM, Tascam US-428 and Edirol FA-101 USB/Firewire soundcards-*iMac G3 DV 400MHz* with installs from OS 8.6-OSX Tiger on different harddrives-*Powerbook G4 1.67Ghz* with new SSD ! Love it.

Offline DieHard

  • Administrator
  • Platinum Member (500+ Posts)
  • *****
  • Posts: 2105
  • Liked:
  • Likes Given: 40
Re: "Invalid Btree Header, 0, 0" error...
« Reply #7 on: November 11, 2015, 09:16:39 AM »
While in OS 9, Copying the data from the damaged volume to another volume will NOT transfer any issues to the new volume.  If the files read and transfer, you will be fine.  The errors are limited to the source volume tables

Offline mrhappy

  • Platinum Member (500+ Posts)
  • *****
  • Posts: 1122
  • new to the forums
  • Liked:
  • Likes Given: 3
Re: "Invalid Btree Header, 0, 0" error...
« Reply #8 on: November 11, 2015, 09:30:03 AM »
Agree with DieHard... Used to get these problems all the time using a portable FW drive between my OS9 PT system and OS X PT at studio location.... Even with the errors (as long as the drive would function) the data would transfers fine. At first I would try to 'fix' the drive when this would happen but eventually wound up just ignoring the the error messages, still using the drive until I could initialize it.

Offline Philgood

  • Gold Member (200+ Posts)
  • *****
  • Posts: 398
  • Liked:
  • Likes Given: 27
Re: "Invalid Btree Header, 0, 0" error...
« Reply #9 on: November 11, 2015, 10:16:16 AM »
Thanks Boss (DieHard) and MrHappy!

I feel more relieved now about it.

What about the HFS+ thing from Paragon ?
Can anyone recommend it ?
It would be handy if I go down the network route to move files around between the bigger harddrives I have in the Windows rig and leave my FireWire external harddrive only for direct filetransfer between Mac OS9 systems so that this scenario won't repeat.

I got no response from Paragon yet about the issue of not mounting the partitions which where formatted under OS9...I don't know where the support is located but is it holiday in USA today?
*G4 MDD 1.25GHz (Single 2003)* with 2x 80Gb harddrives, 1Gb RAM, Tascam US-428 and Edirol FA-101 USB/Firewire soundcards-*iMac G3 DV 400MHz* with installs from OS 8.6-OSX Tiger on different harddrives-*Powerbook G4 1.67Ghz* with new SSD ! Love it.

Offline IIO

  • Platinum Member (500+ Posts)
  • *****
  • Posts: 3963
  • just a number
  • Liked:
  • Likes Given: 212
Re: "Invalid Btree Header, 0, 0" error...
« Reply #10 on: November 30, 2015, 02:53:59 AM »
no need for any third party software here.

like mactron said it is enough to copy the files to another volume, initialise the corrupt one, and copy the files back.

you can do that with OS9, but eventually copying in OSX can be much faster.

and dont copy 1 million files at once, do it in smaller branches.
insert arbitrary signature here

Offline GaryN

  • Platinum Member (500+ Posts)
  • *****
  • Posts: 1419
  • active member
  • Liked:
  • Likes Given: 0
Re: "Invalid Btree Header, 0, 0" error...
« Reply #11 on: November 30, 2015, 04:05:43 PM »
From a previous discussion here:
I've been running a dual-boot MDD for a very long time. I had constant mysterious directory-related problems early on. However, I never once had a problem - as far as I could tell - with 9 writing something to X. (Of course, I never allowed 9 to attempt to rebuild the X desktop or some such folly)

On the other hand, I had constant recurring problems on my 9 drive until I set the preferences in OSX to keep both Time Machine and Spotlight from caring about - and therefore writing to - the OS9 drive. I haven't had any issues since.

I'm well aware there are those well-informed folks on this forum (you know who you are) who absolutely insist that operating a dual-boot Mac is the guaranteed path to cyber hell and damnation, but evidently I'm either blessed or damn lucky or the solution is simple: just treat the two systems as though they're Shiites and Sunnis - don't let them talk to each other and peace will prevail…

I repeat: In my long experience, it is Spotlight and Time Machine (if you have Leopard) that both write stuff on ALL of the drives / partitions in your computer that cause the b-tree errors in OS9. You MUST lock your OS9 volume out from them in their System Prefs settings even if you don't use Spotlight or Time Machine.

It's the indexing function in OSX that writes the gobbledegook. When you see your system slow down in OSX and there's that little "mds" owned by "nobody" running in Activity monitor, OSX is busy indexing every single file it can find wherever it's allowed to go look and writing little notes to itself in that volume header. It does the same thing if you run Disk Utility on a volume.

Disk First Aid in OS9 can't fix it because it doesn't understand it.
Disk Utility in OSX won't fix it because as far as it knows, there's nothing wrong!

I was about to give up on my MDD entirely at one point because of this insanity. But I'm Polish and very stubborn, so I just kept at it and at it. Since I did the above over 4 years ago, I have not had a single one of those b-tree issues! I'm pretty damn sure I've found the cause and the cure.

My MDD now has 4 drives, 7 volumes, 3 OS's (9, 10.4 and 10.5) and no b-tree issues.

Offline Philgood

  • Gold Member (200+ Posts)
  • *****
  • Posts: 398
  • Liked:
  • Likes Given: 27
Re: "Invalid Btree Header, 0, 0" error...
« Reply #12 on: December 03, 2015, 02:41:57 AM »
I repeat: In my long experience, it is Spotlight and Time Machine (if you have Leopard) that both write stuff on ALL of the drives / partitions in your computer that cause the b-tree errors in OS9. You MUST lock your OS9 volume out from them in their System Prefs settings even if you don't use Spotlight or Time Machine.

It's the indexing function in OSX that writes the gobbledegook. When you see your system slow down in OSX and there's that little "mds" owned by "nobody" running in Activity monitor, OSX is busy indexing every single file it can find wherever it's allowed to go look and writing little notes to itself in that volume header. It does the same thing if you run Disk Utility on a volume.

Disk First Aid in OS9 can't fix it because it doesn't understand it.
Disk Utility in OSX won't fix it because as far as it knows, there's nothing wrong!

I was about to give up on my MDD entirely at one point because of this insanity. But I'm Polish and very stubborn, so I just kept at it and at it. Since I did the above over 4 years ago, I have not had a single one of those b-tree issues! I'm pretty damn sure I've found the cause and the cure.

My MDD now has 4 drives, 7 volumes, 3 OS's (9, 10.4 and 10.5) and no b-tree issues.

How exactly can i achieve this ?
Do i have to kind of safe boot the osx partition to prevent that the system writes to the os9 partition while i do the necessary terminal commands to hide the partition for the next time?
Can you provide some guide please?

*G4 MDD 1.25GHz (Single 2003)* with 2x 80Gb harddrives, 1Gb RAM, Tascam US-428 and Edirol FA-101 USB/Firewire soundcards-*iMac G3 DV 400MHz* with installs from OS 8.6-OSX Tiger on different harddrives-*Powerbook G4 1.67Ghz* with new SSD ! Love it.

Offline mrhappy

  • Platinum Member (500+ Posts)
  • *****
  • Posts: 1122
  • new to the forums
  • Liked:
  • Likes Given: 3
Re: "Invalid Btree Header, 0, 0" error...
« Reply #13 on: December 03, 2015, 11:42:12 AM »
From a previous discussion here:

You MUST lock your OS9 volume out from them in their System Prefs settings even if you don't use Spotlight or Time Machine.


Yes It would be useful to have a little 'OS 9 Locking' tutorial here! ;D

Offline GaryN

  • Platinum Member (500+ Posts)
  • *****
  • Posts: 1419
  • active member
  • Liked:
  • Likes Given: 0
Re: "Invalid Btree Header, 0, 0" error...
« Reply #14 on: December 03, 2015, 04:50:45 PM »
How exactly can i achieve this ?
Do i have to kind of safe boot the osx partition to prevent that the system writes to the os9 partition while i do the necessary terminal commands to hide the partition for the next time?
Can you provide some guide please?

No no no no! You are completely overthinking it!
Actually, it's ridiculously simple. You have to first repair the damage and then stop the process causing it. To wit:

1.  Boot OSX.
2.  Open System Prefs.
3.  Select Spotlight / Privacy. You'll see a list form "Prevent Spotlight from searching these locations".
4.  Drag your OS9 volume icon onto the list.
5.  Go to Time Machine Prefs. Click "Options"…you'll get the same kind of drop-down form called "Do not back up".
6.  Drag your OS9 volume icon onto the list.

NOW: You can erase your b-tree-corrupted OS9 volume and then restore it from backup (which you of course, have, right?) BUT
You cannot just restore the entire volume whole because it probably also contains a corrupted header… SO

7.  Boot OS9 from CD (either your own or MacTron's Rescue CD is perfect) and reinstall OS9.
8.  Restore your OS9 files from your backup folder by folder.
9.  You're done.

Yes, it's THAT simple. Just never, never again allow those pref settings to get changed back. If you upgrade OSX or add another version of OSX to the computer, IMMEDIATELY go to all OSX prefs and confirm that OS9 is locked out.

You'll find that you can still "see" all the OS9 files from OSX so you can open them, copy them etc. You just can't search them by / for keywords and such with Spotlight and of course, you'll have to backup OS9 with something other than Time Machine - which is fine because Time Machine won't make a useable OS9 restoration anyway. (It usually messes up all of the file permissions and you can't write to them or even move them afterward when you're back in OS9)

Now, enjoy your happily dual-booting Mac!

Offline Protools5LEGuy

  • Global Moderator
  • Platinum Member (500+ Posts)
  • *****
  • Posts: 2572
  • Liked:
  • Likes Given: 1160
Re: "Invalid Btree Header, 0, 0" error...
« Reply #15 on: December 03, 2015, 04:58:37 PM »

Now, enjoy your happily dual-booting Mac!

OK.
10.5 have Spotlight and Time Machine
10.4 have Spotlight only
10.3 is safe? It hasn't Spotlight or Time Machine. My 001 and my AM-3 play nice there too.
Looking for MacOS 9.2.4

Offline GaryN

  • Platinum Member (500+ Posts)
  • *****
  • Posts: 1419
  • active member
  • Liked:
  • Likes Given: 0
Re: "Invalid Btree Header, 0, 0" error...
« Reply #16 on: December 03, 2015, 05:05:42 PM »
I would think so. Can't say for certain but I don't remember having the same problems then when I was running Jaguar - although that was YEARS ago!
The biggest culprit is Spotlight and the "mds" system function. Those didn't exist in the 10.3 era so that's probably safe.

Offline mrhappy

  • Platinum Member (500+ Posts)
  • *****
  • Posts: 1122
  • new to the forums
  • Liked:
  • Likes Given: 3
Re: "Invalid Btree Header, 0, 0" error...
« Reply #17 on: December 03, 2015, 10:17:25 PM »

Offline GaryN

  • Platinum Member (500+ Posts)
  • *****
  • Posts: 1419
  • active member
  • Liked:
  • Likes Given: 0
Re: "Invalid Btree Header, 0, 0" error...
« Reply #18 on: December 04, 2015, 02:02:12 AM »
Yuk yuk. Now I know why they call you Mr. Happy.

Offline Protools5LEGuy

  • Global Moderator
  • Platinum Member (500+ Posts)
  • *****
  • Posts: 2572
  • Liked:
  • Likes Given: 1160
Re: "Invalid Btree Header, 0, 0" error...
« Reply #19 on: December 05, 2015, 06:18:40 PM »
Is It Safe??

https://www.youtube.com/watch?v=kzw1_2b-I7A
<a href="http://www.youtube.com/watch?v=c-OviftusB8" target="_blank">http://www.youtube.com/watch?v=c-OviftusB8</a>
Looking for MacOS 9.2.4

Offline Protools5LEGuy

  • Global Moderator
  • Platinum Member (500+ Posts)
  • *****
  • Posts: 2572
  • Liked:
  • Likes Given: 1160
Re: "Invalid Btree Header, 0, 0" error...
« Reply #20 on: December 26, 2015, 05:09:10 PM »
Just finished a Complete DAW Restore with Cubase VST/32 with Pre-Authorized Virtual Instuments & FX with Logic and PT with a Panther set up and tried to make the a clone using ASR. First Aid couldn't help me.

Now I have to start again ...  :(

The First thing to do in mixed (OS9&X) is force OSX to ignore the 9 volumes!

Now I have another BTree episode.  ;D
Looking for MacOS 9.2.4

Offline Protools5LEGuy

  • Global Moderator
  • Platinum Member (500+ Posts)
  • *****
  • Posts: 2572
  • Liked:
  • Likes Given: 1160
Re: "Invalid Btree Header, 0, 0" error...
« Reply #21 on: December 26, 2015, 05:22:59 PM »
You have to first repair the damage and then stop the process causing it. To wit:

1.  Boot OSX.
2.  Open System Prefs.
3.  Select Spotlight / Privacy. You'll see a list form "Prevent Spotlight from searching these locations".
4.  Drag your OS9 volume icon onto the list.
5.  Go to Time Machine Prefs. Click "Options"…you'll get the same kind of drop-down form called "Do not back up".




It shows me the volumes I asked Spotlight to not to use them.

I think I have deactivated Time Machine, but every time a new volume appears it ask me if it can use it, so we need to exterminate Time Machine even deeper...  :D

http://www.cultofmac.com/141070/turn-off-requests-to-use-new-disks-for-time-machine-os-x-tips/

(Added by DieHard) I am inserting the info. below in case the link dies...

Turn Off Requests To Use New Disks for Time Machine [OS X Tips]
Quote
If you don’t use Time Machine, you might notice that every time you attach a new and/or blank hard disk to the computer you get asked if you want to use it for backups. Here’s a simple trick that will stop that happening.  You can stop this request dialog box from appearing by opening a Terminal window (Finder -> Applications -> Utilities – > Terminal) and typing the following:
defaults write com.apple.TimeMachine DoNotOfferNewDisksForBackup -bool TRUE
Then log out and back in again for the changes to take effect.

If you’d like to restore the request dialog at a later date, again open Terminal then type the following (log out and back in again after for the changes to take effect):
defaults delete com.apple.TimeMachine DoNotOfferNewDisksForBackup
« Last Edit: November 06, 2022, 06:08:59 PM by DieHard »
Looking for MacOS 9.2.4

Offline GaryN

  • Platinum Member (500+ Posts)
  • *****
  • Posts: 1419
  • active member
  • Liked:
  • Likes Given: 0
Re: "Invalid Btree Header, 0, 0" error...
« Reply #22 on: December 26, 2015, 11:48:09 PM »
The Cult Terminal command does work as advertised! It's really just an annoyance having TM ask about any "new" volume it sees but certainly helpful to the less-knowledgeable Mac user (of which I hear there actually ARE some).
You have to first repair the damage and then stop the process causing it.
Honestly, I must apologize…I wrote this ass-backwards. You have to first stop the processes causing the problem and then repair the damage. Otherwise, it's a death race between you and OSX the moment you boot it with OS9 visible to it.

The good thing is that once you've gone through all of the aggravation to get it all working correctly, you will be extremely unlikely to ever forget and do it again! At least I never have…

Offline Bondi

  • Member
  • Posts: 2
  • new to the forums
  • Liked:
  • Likes Given: 0
Re: "Invalid Btree Header, 0, 0" error...
« Reply #23 on: January 22, 2016, 11:33:54 AM »
I have a little report to make on this:  a few days ago, I had the Invalid Btree Header 0,0 error and I was able to fix it with Norton Utilities 6.05.   In the past, I had tried Norton some-version-or-another plus every free repair tool I could scrounge up with no success.  I was getting ready to reinitialize my disk (again) as described in this thread when I tried Disk Doctor one more time and was real pleased.   

It was this one here:  http://macintoshgarden.org/apps/norton-utilities-8-macintosh

It's kinda packaged "funny":  the webpage describes it as version 8, the download is labeled disk 9, the documentation in it is for version 7, and the "About Norton Utilities..." and version info say 6.05.  One thing to note:  I used it on a disk (and a partition on another disk) before I had any symptoms.  I just happened to have run Disk First Aid and saw the error.

Thanks so much for the info as to why this error occurs.  I have not seen that elsewhere, but I never had this error until I started dual booting w/ OSX.   I've now told Spotlight to keep out of my classic disks as described above and so far no more troubles.   I'd like to access OS9 files from OSX apps, but I haven't tried that since reading the info here.  I might run some experiments and see what happens.

Offline Jakl

  • Gold Member (200+ Posts)
  • *****
  • Posts: 323
  • Liked:
  • Likes Given: 0
Re: "Invalid Btree Header, 0, 0" error...
« Reply #24 on: January 22, 2016, 01:14:41 PM »
I have a little report to make on this:  a few days ago, I had the Invalid Btree Header 0,0 error and I was able to fix it with Norton Utilities 6.05.

It was this one here:  http://macintoshgarden.org/apps/norton-utilities-8-macintosh

It's kinda packaged "funny":  the webpage describes it as version 8, the download is labeled disk 9, the documentation in it is for version 7, and the "About Norton Utilities..." and version info say 6.05.  One thing to note:  I used it on a disk (and a partition on another disk) before I had any symptoms.  I just happened to have run Disk First Aid and saw the error.


I do have the original Norton Utilities v8 for both os9 and osx - the CD is a dual Boot. OSX and OS9. But I've used both programs over a few years, back in the day, but it causes so much problems - even creating another 128mb volume - why I don't know - but I stopped using it after a while. Did the version you used create a 128mb volume? If not it must be version 6 or 7.

Thanks for reporting that version 6.05 is able to get rid of "Invalid Btree Header 0,0 error".

Offline GaryN

  • Platinum Member (500+ Posts)
  • *****
  • Posts: 1419
  • active member
  • Liked:
  • Likes Given: 0
Re: "Invalid Btree Header, 0, 0" error...
« Reply #25 on: January 22, 2016, 04:05:09 PM »
TIME OUT!

It appears to me from the last two posts that the two of you are assuming that the infamous b-tree error is related only to and caused only by sexual relations with OSX.

This is not true. B-tree errors are caused by lots of things mostly related to files being moved around, updated by different apps than they were created by, anything written by Microsoft and who knows what else. However, they are for the most part, minor and easily repaired with little or no consequence by Disk First Aid, Norton or many of the disk repair apps.

I think (and don't quote me on this) they may have been indicative of an inherent shortcoming in the HFS filesystem. They are probably one of the reasons Apple went to a journaled filesystem and now they are no more.

The reason the OSX-caused b-tree error is unrepairable is because it's not really a b-tree error. A typical b-tree error is a bit or two "out of place" that results in a checksum error or such and a utility just has to more or less go through the directory, check it against the files and correct the math. The OSX error is caused by OSX writing a whole bunch of what might as well be Klingon code into the directory that is totally incomprehensible to all things OS9 and below. So it is a b-tree error only in the sense that the b-tree has become scrambled eggs and OS9 doesn't have an error message for "Sorry dude, I can't make head or tail out of this 'cause the directory is totally f**ked".

ALSO:

Norton 6.05 is the only version that will work reliably on OS9. I recall some puzzlement at the time when suddenly there was a "new" version but it was still 6.05 underneath. It seemed like the new "versions" were more new packaging than anything else.

AND:

Norton Utilities for OSX is absolutely guaranteed to trash your disk if you use it on OSX. It may have sort of kinda maybe worked on 10.0, but anything newer usually ended up being toast very quickly as far as I can recall. There may be exceptions to that, but I seriously doubt that Norton ever actually did anything positive for any OSX system.
« Last Edit: January 22, 2016, 08:21:48 PM by GaryN »

Offline Jakl

  • Gold Member (200+ Posts)
  • *****
  • Posts: 323
  • Liked:
  • Likes Given: 0
Re: "Invalid Btree Header, 0, 0" error...
« Reply #26 on: January 23, 2016, 06:54:26 PM »
You're pretty intense there GaryN - but it's okay and thanks for explaining everything.

Offline DieHard

  • Administrator
  • Platinum Member (500+ Posts)
  • *****
  • Posts: 2105
  • Liked:
  • Likes Given: 40
Re: "Invalid Btree Header, 0, 0" error...
« Reply #27 on: January 24, 2016, 12:04:15 PM »
Quote
It appears to me from the last two posts that the two of you are assuming that the infamous b-tree error is related only to and caused only by sexual relations with OSX.

Garry, that is why I don't let my OS9 and OS X G4s have sex, the off-spring OS would be pretty ugly and definitely confused

Offline Image.Material

  • Active Member
  • *
  • Posts: 5
  • New Member
  • Liked:
  • Likes Given: 0
Re: "Invalid Btree Header, 0, 0" error...
« Reply #28 on: May 26, 2020, 01:19:32 PM »
This is an old thread but did anyone mention simply mounting their Mac OS 9 partition read-only in OS X?

I do a lot of booting back and forth between 10.5 and 9.2.2 on my PMG4DA and just OS X mounting my OS 9 partition was sufficient to bring up the btree problem in disk first aid in my experience. Repairing with Disk Doctor would work a few times but eventually would crash and the drive would mount read-only in OS X, with a warning to backup ASAP.

I observed this with at least 10.3 and later(10.2 or older untested), So I came up with always mounting it read-only in OS X.

I edited my OS X fstab (sudo vifs) to have this line, whatever your partition name is:

LABEL=Macintosh\040HD none hfs ro 0 0

(of course you might prefer by UUID)

So I've made a "Shared" partition (hfs+ journaled) I put on things I would normally copy to my OS 9 volumes from OS X. It goes without saying I only repair "Shared" with the OS X disk utility.

I've been using this setup for a while now and I'd say it's the most stable it has been so far with dual booting. I check my OS 9 partition regularly and haven't had any issues since.

Offline GaryN

  • Platinum Member (500+ Posts)
  • *****
  • Posts: 1419
  • active member
  • Liked:
  • Likes Given: 0
Re: "Invalid Btree Header, 0, 0" error...
« Reply #29 on: May 26, 2020, 01:51:13 PM »
You should read this:   http://macos9lives.com/smforum/index.php/topic,2830.msg18258.html#msg18258
Then follow down to:   http://macos9lives.com/smforum/index.php/topic,2830.msg18311.html#msg18311

There are good reasons to NOT install OSX and OS9 into the same volume but the most serious ones by far are Spotlight and Time machine.
The logical way to avoid having to repair Btree errors is to prevent them from happening,
Spotlight and Time machine can eff-up your OS9 Directory and Btree even if you don't use them.

Offline Image.Material

  • Active Member
  • *
  • Posts: 5
  • New Member
  • Liked:
  • Likes Given: 0
Re: "Invalid Btree Header, 0, 0" error...
« Reply #30 on: May 26, 2020, 03:19:02 PM »
[...]The logical way to avoid having to repair Btree errors is to prevent them from happening[...]

That's pretty much what mounting the OS 9 partition read-only from the start does.

My OS 9 volume no longer has a .fseventd or or .com.apple.timemachine.supported or any hidden file that OS X normally creates, which supports the fact it never gets to write to it.

Well, given both norton and disk first aid no longer complain I'm happy with the results.

Offline Jubadub

  • Gold Member (200+ Posts)
  • *****
  • Posts: 214
  • New Member
  • Liked:
  • Likes Given: 6
Re: "Invalid Btree Header, 0, 0" error...
« Reply #31 on: September 06, 2020, 09:34:57 AM »
This is an old thread but did anyone mention simply mounting their Mac OS 9 partition read-only in OS X?

I do a lot of booting back and forth between 10.5 and 9.2.2 on my PMG4DA and just OS X mounting my OS 9 partition was sufficient to bring up the btree problem in disk first aid in my experience. Repairing with Disk Doctor would work a few times but eventually would crash and the drive would mount read-only in OS X, with a warning to backup ASAP.

I observed this with at least 10.3 and later(10.2 or older untested), So I came up with always mounting it read-only in OS X.

I edited my OS X fstab (sudo vifs) to have this line, whatever your partition name is:

LABEL=Macintosh\040HD none hfs ro 0 0

(of course you might prefer by UUID)

So I've made a "Shared" partition (hfs+ journaled) I put on things I would normally copy to my OS 9 volumes from OS X. It goes without saying I only repair "Shared" with the OS X disk utility.

I've been using this setup for a while now and I'd say it's the most stable it has been so far with dual booting. I check my OS 9 partition regularly and haven't had any issues since.

This is a simple, yet great idea. Normally I don't dual-boot because nowadays I only like using the best machines for the task (MDD for OS9, high-end G5 for OSX), but once G5s become able to boot OS9, maybe in 2031+, this may come in handy for me. :)

Offline GaryN

  • Platinum Member (500+ Posts)
  • *****
  • Posts: 1419
  • active member
  • Liked:
  • Likes Given: 0
Re: "Invalid Btree Header, 0, 0" error...
« Reply #32 on: September 06, 2020, 03:11:20 PM »
[...]The logical way to avoid having to repair Btree errors is to prevent them from happening[...]

That's pretty much what mounting the OS 9 partition read-only from the start does.

My OS 9 volume no longer has a .fseventd or or .com.apple.timemachine.supported or any hidden file that OS X normally creates, which supports the fact it never gets to write to it.

Well, given both norton and disk first aid no longer complain I'm happy with the results.
That works as long as you never have to alter, remove from or add to your OS9 System folder and such…ever.
If you use OS 9 for music production or other real work, as I do, Extensions, Prefs, Help files, and a thousand other things are updated and changed all the time.

It's easy to prevent a ".com.apple.timemachine.supported" file from being created by simply locking TM and Spotlight out of the OS 9 partition in OSX TM and Spotlight Prefs.
It's not the presence an OSX-related small file or flag that causes the trouble… it's the constant updating and re-writing of a "foreign" index. Both Spotlight and TM do that. They store their indexes on the volumes. Eventually those indexes bump into and fragment around the OS9 directory files and then OS9 Disk repair tries to "fix" it. That works…ONCE. The first time you boot back into OSX, it see the "repairs" made by OS9 as corruption, re-fixes it and the battle is on.

I have both the .fseventd and .com.apple.timemachine files on my OS9 volumes but they just sit there cause no problem as long as they're not getting updated every time I run OSX.

Offline DieHard

  • Administrator
  • Platinum Member (500+ Posts)
  • *****
  • Posts: 2105
  • Liked:
  • Likes Given: 40
Re: "Invalid Btree Header, 0, 0" error...
« Reply #33 on: September 07, 2020, 11:02:21 AM »
As always, thanks to all; these posts are invaluable as many will search the forum for "Btree error" in the future. 

Gary, you have done a great job explaining and we can finally put this "Btree" baby to bed.

Another "side effect" of the dual boot scenario is renaming things on the OS9 volume with file names that are past 32 characters, this will yield some awesome funky characters and screwed up files names when booting back into OS9.

Summary (if you must have both OS X and OS 9 on the same machine):
1) Avoid dual booting on the same volume
2) Use separate drives (if Possible)
3) Follow Garry's settings so Spotlight and Time Machine keeps their hands off the OS9 Indexes or give member "Image.Material" settings a try

Offline IIO

  • Platinum Member (500+ Posts)
  • *****
  • Posts: 3963
  • just a number
  • Liked:
  • Likes Given: 212
Re: "Invalid Btree Header, 0, 0" error...
« Reply #34 on: September 08, 2020, 06:23:52 AM »
long filenames are not really a problem, they just look funny. sometimes i wish there would be an option in 10.4. finder to limit renaming to x amount of characters.
insert arbitrary signature here

Offline Roman323

  • Enthusiast Member (25+ Posts)
  • ***
  • Posts: 88
  • New Member
  • Liked:
  • Likes Given: 16
Re: "Invalid Btree Header, 0, 0" error...
« Reply #35 on: April 04, 2021, 11:25:36 PM »
Hello All,

So, I am also getting this b'tree error as well. Sadly, on a PowerBook G4, its not that simple, since I have one 512GB SSD(M2 SATA) which does work due to LBA-48 addressing on the Titanium G4 1ghz DVI. I have no choice but to partition separately for both OS 9.2.2 and macOS 10.5 Leopard.

As of this message, I do have 6.0.5 Norton Utilities and I was told that will fix this error under OS 9, or am I missing something ?

Offline DieHard

  • Administrator
  • Platinum Member (500+ Posts)
  • *****
  • Posts: 2105
  • Liked:
  • Likes Given: 40
Re: "Invalid Btree Header, 0, 0" error...
« Reply #36 on: April 05, 2021, 12:11:27 AM »
Quote
As of this message, I do have 6.0.5 Norton Utilities and I was told that will fix this error under OS 9, or am I missing something ?

That will NOT fix the error AFAIR... you must backup all files and re-initialize the drive

Offline teroyk

  • Gold Member (200+ Posts)
  • *****
  • Posts: 487
  • -
  • Liked:
  • Likes Given: 43
Re: "Invalid Btree Header, 0, 0" error...
« Reply #37 on: April 05, 2021, 08:03:23 AM »
I have not get Invalid Btree Header error in my Powerbook in it's 15 years installation period (although I have copied partitions to new disks one time), but reason might be these:
- It's dual booting OS 9 and OSX 10.3 in same partition (If I now do these, I will put these separate partitions)
- OSX 10.4 is on different partition in same drive (so machine is actually trible boot)
- first thing I did after OSX 10.4 installation I did run Disable Tiger Features-software that turns Spotlight off (it easy to do without software too in Terminal).
- I didn't install OSX 10.5 at all in it. (If I really needed I use G5 for it)

On OSX side I really don't need Spotlight, EasyFind is better and not make index-files. Even good old Sherlock is better than Spotlight, learn use it.
Time machine might be useful, but remember if make small partitions, you can backup them with Diskutility from another machine with firewire target diskmode.
I bought my first new Mac when OS X 10.1 released. And I bought that Mac because it had Mac OS 9 too. And I bought my first 68k Mac when Apple stopped PPC Macs.

Offline peeperpc

  • Enthusiast Member (25+ Posts)
  • ***
  • Posts: 32
  • New Member
  • Liked:
  • Likes Given: 3
Re: "Invalid Btree Header, 0, 0" error...
« Reply #38 on: April 05, 2021, 05:57:44 PM »
Hello All,

So, I am also getting this b'tree error as well. Sadly, on a PowerBook G4, its not that simple, since I have one 512GB SSD(M2 SATA) which does work due to LBA-48 addressing on the Titanium G4 1ghz DVI. I have no choice but to partition separately for both OS 9.2.2 and macOS 10.5 Leopard.

As of this message, I do have 6.0.5 Norton Utilities and I was told that will fix this error under OS 9, or am I missing something ?

In my experience, Norton Disk Doctor 6.0.3-6.0.5 can fix this problem, provided that your SATA/IDE (if you're using one) is compatible with Disk Doctor.

That is, I never could repair my HDD with Disk Doctor (unknown error or something like that) when it's connected to an adapter with JMicron chip. After moving it to my Firmtek 1s2 clone PCI card, all errors were fixed.

Then, to prevent the problem, I just follow GaryN's advice.

Of course, OS X's Disk Utility will not agree and report the repaired partition as needing repair. I just ignore it.
« Last Edit: April 06, 2021, 08:43:36 PM by peeperpc »

Offline Roman323

  • Enthusiast Member (25+ Posts)
  • ***
  • Posts: 88
  • New Member
  • Liked:
  • Likes Given: 16
Re: "Invalid Btree Header, 0, 0" error...
« Reply #39 on: April 05, 2021, 11:22:00 PM »
Quote
As of this message, I do have 6.0.5 Norton Utilities and I was told that will fix this error under OS 9, or am I missing something ?

That will NOT fix the error AFAIR... you must backup all files and re-initialize the drive

Damn.. That means I will need to format my entire M2 SATA 512GB stick which includes Leopard and OS 9 - wow. If I were to try Norton Disk Doctor 6.0.5, it still won't fix it ?

Offline teroyk

  • Gold Member (200+ Posts)
  • *****
  • Posts: 487
  • -
  • Liked:
  • Likes Given: 43
Re: "Invalid Btree Header, 0, 0" error...
« Reply #40 on: April 06, 2021, 12:28:55 AM »
Quote
As of this message, I do have 6.0.5 Norton Utilities and I was told that will fix this error under OS 9, or am I missing something ?

That will NOT fix the error AFAIR... you must backup all files and re-initialize the drive

Damn.. That means I will need to format my entire M2 SATA 512GB stick which includes Leopard and OS 9 - wow. If I were to try Norton Disk Doctor 6.0.5, it still won't fix it ?

Actually, if you have Leopard in HD then I recommend Alsoft DiskWarrior 5, it support HFS+ Journaled partitions too. And Alsoft still support G4 and G5 Macs(!) and sell it.

But big warning if you have ruined your disk with Norton then sometimes DiskWarrior cannot help, so order is try Diskwarrior first then Norton, because DiskWarrior tell what it can do, before it do anything.

I have seen older Diskwarrior (maybe version 2) installed on OSX 10.3 live-CD with iMac G3 in action about 15 years ago and it helped make physically broken HD (it made head sound)  readable for backup..it make new directory structure and then about half of files readable and it was last time that HD works when those files backup.

EDIT: It seems that Alsoft still sale older DiskWarrior 4 to G3 Macs too:
" If you have an older Mac running Mac OS X 10.3.9 (Panther) through 10.6 (Snow Leopard), you may consider ordering DiskWarrior 4 which ships on a Mac OS X startup CD or DVD. DiskWarrior 4 requires that you start up in Mac OS X version 10.3.9 (Panther) through 10.10.x (Yosemite). DiskWarrior 4 is not compatible with OS X 10.11 (El Capitan) or later. DiskWarrior 4 can only be obtained by first contacting our Technical Support Department" from https://www.alsoft.com/terms-of-sale

EDIT2: BIG WARNING! older DiskWarrior 3 doesn't support HDs that had been used with OSX 10.5.

EDIT3: little typo at > and.
« Last Edit: April 06, 2021, 12:52:34 AM by teroyk »
I bought my first new Mac when OS X 10.1 released. And I bought that Mac because it had Mac OS 9 too. And I bought my first 68k Mac when Apple stopped PPC Macs.

Offline macarone

  • Veteran Member (100+ Posts)
  • ****
  • Posts: 101
  • New Member
  • Liked:
  • Likes Given: 0
Re: "Invalid Btree Header, 0, 0" error...
« Reply #41 on: April 06, 2021, 04:50:41 AM »
>Actually, if you have Leopard in HD then I recommend Alsoft DiskWarrior 5

I agree that DiskWarrior 4.3 is indispensible. It works fine on G4 and G5.

DiskWarrior came out it versions 5.0, 5.1, 5.2 and 5.2 (rel 2). On my G4 or G5, each versions starts the rebuild but freezes, and requires a Force Quit. Sometimes it causes a kernal panic.

Have others actually been able to have DiskWarrior 5.2 complete a rebuild?

Offline DieHard

  • Administrator
  • Platinum Member (500+ Posts)
  • *****
  • Posts: 2105
  • Liked:
  • Likes Given: 40
Re: "Invalid Btree Header, 0, 0" error...
« Reply #42 on: April 07, 2021, 07:52:50 PM »
Please re-post video with Norton Disk Doctor fix... although I don't recommend disk doctor 6.0.3 on 9.2.2 as it has been known to make some errors on Mac OS 9.2.2 worse :(
« Last Edit: April 07, 2021, 08:53:03 PM by DieHard »

Offline peeperpc

  • Enthusiast Member (25+ Posts)
  • ***
  • Posts: 32
  • New Member
  • Liked:
  • Likes Given: 3
Re: "Invalid Btree Header, 0, 0" error...
« Reply #43 on: April 08, 2021, 01:54:35 AM »
Please re-post video with Norton Disk Doctor fix...

<a href="http://www.youtube.com/watch?v=O1kEjT6JCwg" target="_blank">http://www.youtube.com/watch?v=O1kEjT6JCwg</a>


There are two drives with an OS 9 partition on each. Mac1 OS 9 is attached to a Firmtek 1s2 clone PCI card, while Backup OS 9 is connected through an IDE/SATA adapter with JMicron chip.

Here I booted from Backup OS 9 to fix Mac1 OS 9. Norton Disk Doctor could fix the problem. But if I boot from Mac1 OS 9 to fix Backup OS 9, Disk Doctor, be it 6.0.3, 6.0.4, or 6.0.5, won't be able to fix it ("an unknown error occurred..."). The adapter is the culprit (or you may say it's the Disk Doctor that can't operate through it). Because when both drives are connected to the PCI card, they can fix each other.

But having both drives on the card creates other problem. System will hang if I copy files between them. It looks like the card doesn't like current Seagate Barracuda drives.

although I don't recommend disk doctor 6.0.3 on 9.2.2 as it has been known to make some errors on Mac OS 9.2.2 worse :(

Acknowledged.

PS. I think this error, specifically one that is caused by OS X's Spotlight and Time Machine, doesn't need to get fixed. It has not caused any problem to me.

« Last Edit: April 08, 2021, 02:52:36 AM by peeperpc »

Offline teroyk

  • Gold Member (200+ Posts)
  • *****
  • Posts: 487
  • -
  • Liked:
  • Likes Given: 43
Re: "Invalid Btree Header, 0, 0" error...
« Reply #44 on: April 14, 2021, 01:25:16 AM »
First time I get "Invalid Btree Header, 0, 0" error and I done that very fast:
I put new SSD.
I installed MacOS 9 and OSX 10.2 from Recovery DVD.
I little used Mac OS 9 (I made some tests with mLAN and format external Firewire drive with Lacie Silverlining)
Then I install OSX 10.5 to another partition (Yes I know, I should install OSX10.4 or OSX 10.3).
And in first boot of OS X 10.5  Apple logo turns forbidden logo.
Booting to Mac OS 9 and check with Disk First Aid and there it is: "Invalid Btree Header, 0, 0" error in all(!) partitions.
Both Installation Disks was original. OSX was retail 10.5.0.
I bought my first new Mac when OS X 10.1 released. And I bought that Mac because it had Mac OS 9 too. And I bought my first 68k Mac when Apple stopped PPC Macs.

Offline teroyk

  • Gold Member (200+ Posts)
  • *****
  • Posts: 487
  • -
  • Liked:
  • Likes Given: 43
Re: "Invalid Btree Header, 0, 0" error...
« Reply #45 on: April 14, 2021, 01:35:58 AM »
DiskWarrior came out it versions 5.0, 5.1, 5.2 and 5.2 (rel 2). On my G4 or G5, each versions starts the rebuild but freezes, and requires a Force Quit. Sometimes it causes a kernal panic.
Have others actually been able to have DiskWarrior 5.2 complete a rebuild?

Have you get contacted to Alsoft about that problem? And what they answered?
I bought my first new Mac when OS X 10.1 released. And I bought that Mac because it had Mac OS 9 too. And I bought my first 68k Mac when Apple stopped PPC Macs.

Offline IIO

  • Platinum Member (500+ Posts)
  • *****
  • Posts: 3963
  • just a number
  • Liked:
  • Likes Given: 212
Re: "Invalid Btree Header, 0, 0" error...
« Reply #46 on: April 14, 2021, 02:40:06 PM »
There are two drives with an OS 9 partition on each.

this is not a general advice how to avid, fix, or ignore b-tree errors, but from my experience you can successfully keep using such partitions for 10 or 15 years without problems even after norton reported such a dramatic total failure error bug kind of thing.

when i an not wrong norton already reports that when you allowed journalling on that volume. (which you should not do when it is mostly used in OS9, but it is also not harmful.)
insert arbitrary signature here

Offline smilesdavis

  • Gold Member (200+ Posts)
  • *****
  • Posts: 372
  • New Member
  • Liked:
  • Likes Given: 4
Re: "Invalid Btree Header, 0, 0" error...
« Reply #47 on: November 07, 2022, 12:45:42 AM »
where to order a working  Firmtek 1s2 clone?
Apple Power Macintosh G4 400 (AGP) w/Giga Designs G-Celerator G4/1.467 AGP/133 (5-1214Q) / Marathon G-rack with G4 500 (AGP) Sonnet Encore 1.8Ghz / 2x Power Macintosh G4 933 (QS2002) / 3x Apple Power Macintosh G4 1.25 (MDD 2003) / 1x Apple PowerBook G4 500 (Original - Ti) / 2x Apple Mac mini G4/1.42 / 1x Apple Mac mini G4/1.5

 


SimplePortal 2.3.6 © 2008-2014, SimplePortal