Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Recover deleted Linux partitions when returning to OS X' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Recover deleted Linux partitions when returning to OS X
Authored by: Cameroon on Aug 25, '03 09:13:42PM

There's a much easier way to accomplish this (I was just messing with Debian on this iBook as well).

Stick the Mac OS X install CD in. Restart with C key held down. As soon as the machine starts booting (right about the time the screen goes gray), hold down Cmd-S to boot into single user mode. This will put you into the command line, but from software running off the CD.

Now, run pdisk and edit the partition table of your hard drive.

When pdisk starts, edit the disk

e /dev/rdisk0 (that's what mine was).

Then delete the offending partitions and create (using capital C) a partition in their place as Apple_HFS. Then write the partition changes and exit pdisk. Exit out of the shell and the boot will continue. (This procedure is much like the one used when installing Linux in the first place [as noted in the linked HOWTO].)

When the installer opens, open Disk Utility and erase the "blank" partition. That's it, disk parititon fixed.



[ Reply to This | # ]
Recover deleted Linux partitions when returning to OS X
Authored by: gabrielef on Jan 14, '04 06:59:24AM

neither osx's install disc or (mac)pdisk (singleuser startup) worked for me, disk was not-writeable to mac after debian.
Worked only with debian's install-like way.



[ Reply to This | # ]