boot disk partition corrupted.
Hi, After upgrading my kernel to 2.4.2 and running LiLo again I now find I get a macintosh warning every time I boot into mac. The warning says "disk unreadable, do you want to initialize it?", the disk in question is the macintosh standard partition used for booting linux. When I run disk first aid and try to repair it the program says the disk is unrepairable .. here is the output from disk first aid :- Checking disk "linux_boot". Checking "Mac OS Standard" volume structures. Checking for locked volume name. Checking extent BTree. Checking extent file. Checking catalog BTree. Problem: Invalid BTree Header, 0, 0 Checking catalog file. Problem: Reserved fields in the catalog record have incorrect data, 105, 5 Problem: Reserved fields in the catalog record have incorrect data, 102, 5 Problem: Reserved fields in the catalog record have incorrect data, 106, 5 Problem: Reserved fields in the catalog record have incorrect data, 104, 8 Problem: Reserved fields in the catalog record have incorrect data, 103, 8 Problem: MountCheck found serious errors. Checking catalog hierarchy. Cannot continue. An internal error has occurred. If I initialize the partition will that also erase the data on any other partitions on the disk? If so is there something else I can do to restore the boot partition? many thanks. -- - ____________________________ - Jonathon Wallen - B,DES College of Fine Arts, UNSW - z2213441@student.unsw.edu.au - jwal707@cse.unsw.edu.au - jonathon@fridge.unsw.edu.au - ____________________________
On Fri, Dec 28, Jonathon Wallen wrote:
Hi,
After upgrading my kernel to 2.4.2 and running LiLo again I now find I get a macintosh warning every time I boot into mac. The warning says "disk unreadable, do you want to initialize it?", the disk in question is the macintosh standard partition used for booting linux. When I run disk first aid and try to repair it the program says the disk is unrepairable .. here is the output from disk first aid :-
Checking disk "linux_boot". Checking "Mac OS Standard" volume structures. Checking for locked volume name. Checking extent BTree. Checking extent file. Checking catalog BTree. Problem: Invalid BTree Header, 0, 0 Checking catalog file. Problem: Reserved fields in the catalog record have incorrect data, 105, 5 Problem: Reserved fields in the catalog record have incorrect data, 102, 5 Problem: Reserved fields in the catalog record have incorrect data, 106, 5 Problem: Reserved fields in the catalog record have incorrect data, 104, 8 Problem: Reserved fields in the catalog record have incorrect data, 103, 8 Problem: MountCheck found serious errors. Checking catalog hierarchy. Cannot continue. An internal error has occurred.
If I initialize the partition will that also erase the data on any other partitions on the disk? If so is there something else I can do to restore the boot partition?
The hfsutils corrupt the hfs partition sometimes. All you can do is: dd if=/dev/zero of=/dev/hdaXX hformat /dev/hdaXX lilo This will remove anything on that partition, recreate the hfs filesystem and restore the boot files. Gruss Olaf -- $ man clone BUGS Main feature not yet implemented...
Hello Gruss Olaf, I just used your suggestion to fix a boot problem for my ibook. Thank you! The linuxboot partition "linuxboot" in the MacOS somehow "emptied". I didn't have a chance to run any hfsutil applications to cause the problem... I think the cause had something to do with going into yast2 and configuring the susewm startup as ASCII instead of GRAPHICS. On the very next boot, "linuxboot" was empty, and the system booted straight to MacOS. Thanks again for the fix. Torben Brosten Olaf Hering wrote:
On Fri, Dec 28, Jonathon Wallen wrote:
Hi,
After upgrading my kernel to 2.4.2 and running LiLo again I now find I get a macintosh warning every time I boot into mac. The warning says "disk unreadable, do you want to initialize it?", the disk in question is the macintosh standard partition used for booting linux. When I run disk first aid and try to repair it the program says the disk is unrepairable .. here is the output from disk first aid :-
Checking disk "linux_boot". Checking "Mac OS Standard" volume structures. Checking for locked volume name. Checking extent BTree. Checking extent file. Checking catalog BTree. Problem: Invalid BTree Header, 0, 0 Checking catalog file. Problem: Reserved fields in the catalog record have incorrect data, 105, 5 Problem: Reserved fields in the catalog record have incorrect data, 102, 5 Problem: Reserved fields in the catalog record have incorrect data, 106, 5 Problem: Reserved fields in the catalog record have incorrect data, 104, 8 Problem: Reserved fields in the catalog record have incorrect data, 103, 8 Problem: MountCheck found serious errors. Checking catalog hierarchy. Cannot continue. An internal error has occurred.
If I initialize the partition will that also erase the data on any other partitions on the disk? If so is there something else I can do to restore the boot partition?
The hfsutils corrupt the hfs partition sometimes. All you can do is:
dd if=/dev/zero of=/dev/hdaXX hformat /dev/hdaXX lilo
This will remove anything on that partition, recreate the hfs filesystem and restore the boot files.
Gruss Olaf
-- $ man clone
BUGS Main feature not yet implemented...
participants (3)
-
Jonathon Wallen
-
Olaf Hering
-
Torben Brosten