Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Main Support Categories > Apple Users
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Apple Users
Discussions for users who are using Apple Intel or PPC based systems with Ubuntu.

 
Thread Tools Display Modes
Old April 25th, 2008   #1
billbear
Just Give Me the Beans!
 
Join Date: Mar 2008
Beans: 72
8.04 cleared the MBR partition table

I was quad booting leopard/vista/ubuntu/xp on my macbook. Last month I replaced the internal HD with a larger one, and installed leopard/vista/xp, and left some unallocated space for ubuntu hardy. I installed 8.04 last night, and found vista/xp/ubuntu unable to boot. It erased the MBR table!
Apple uses a hybrid GPT/MBR partition table for multi-booting with 'legacy' OSes. Ubuntu understands GPT but grub doesn't. When creating new partitions (beyond the first four) on a hybrid GPT/MBR disk, gusty updates the GPT table and leaves the MBR table untouched, but hardy updates the GPT table and erases the MBR table, thus makes xp/vista/ubuntu unbootable (because grub needs MBR)
Fortunately i have saved the MBR table information before (run fdisk /dev/rdisk0)
I then opened a terminal in leopard and ran the command sudo fdisk -e /dev/rdisk0, rebuilt the MBR table manually. After that all my OSes came back.
billbear is offline   Reply With Quote
Old April 25th, 2008   #2
cyberdork33
OK, I Ubuntu. Do you Ubuntu?
 
cyberdork33's Avatar
 
Join Date: Aug 2005
Location: Huntsville, AL, USA
Beans: 7,453
Ubuntu 9.04 Jaunty Jackalope
Send a message via AIM to cyberdork33 Send a message via MSN to cyberdork33 Send a message via Yahoo to cyberdork33
Re: 8.04 cleared the MBR partition table

Quote:
Originally Posted by billbear View Post
I was quad booting leopard/vista/ubuntu/xp on my macbook. Last month I replaced the internal HD with a larger one, and installed leopard/vista/xp, and left some unallocated space for ubuntu hardy. I installed 8.04 last night, and found vista/xp/ubuntu unable to boot. It erased the MBR table!
Apple uses a hybrid GPT/MBR partition table for multi-booting with 'legacy' OSes. Ubuntu understands GPT but grub doesn't. When creating new partitions (beyond the first four) on a hybrid GPT/MBR disk, gusty updates the GPT table and leaves the MBR table untouched, but hardy updates the GPT table and erases the MBR table, thus makes xp/vista/ubuntu unbootable (because grub needs MBR)
Fortunately i have saved the MBR table information before (run fdisk /dev/rdisk0)
I then opened a terminal in leopard and ran the command sudo fdisk -e /dev/rdisk0, rebuilt the MBR table manually. After that all my OSes came back.
Yea, this is confirmed by several people. Even dual boots don't work unless you sync with rEFIt first. Can you file a bug? This only happened very recently (RC or Final).
__________________
20" iMac C2D (iMac5,1)
How-Tos: Multi-Boot Mactel | EFI-MBR Madness
Before You Post... | Mactel-Support Team | Intel Mac FAQ
cyberdork33 is offline   Reply With Quote
Old April 25th, 2008   #3
ey1416
First Cup of Ubuntu
 
Join Date: Sep 2007
Beans: 1
Re: 8.04 cleared the MBR partition table

I was dual booting windows and Ubuntu, then upgraded from Gutsy to hardy. Now my windows partition doesn't show up, which sounds similar to your problem. Is there any way for me to fix this?
ey1416 is offline   Reply With Quote
Old April 25th, 2008   #4
cyberdork33
OK, I Ubuntu. Do you Ubuntu?
 
cyberdork33's Avatar
 
Join Date: Aug 2005
Location: Huntsville, AL, USA
Beans: 7,453
Ubuntu 9.04 Jaunty Jackalope
Send a message via AIM to cyberdork33 Send a message via MSN to cyberdork33 Send a message via Yahoo to cyberdork33
Re: 8.04 cleared the MBR partition table

I filed a bug report. Please add info.
https://bugs.edge.launchpad.net/ubun...ty/+bug/222126

Quote:
Originally Posted by ey1416 View Post
I was dual booting windows and Ubuntu, then upgraded from Gutsy to hardy. Now my windows partition doesn't show up, which sounds similar to your problem. Is there any way for me to fix this?
Are you on a mac?

either way, you can check what the MBR table looks like with fdisk
__________________
20" iMac C2D (iMac5,1)
How-Tos: Multi-Boot Mactel | EFI-MBR Madness
Before You Post... | Mactel-Support Team | Intel Mac FAQ

Last edited by cyberdork33; April 25th, 2008 at 04:28 PM..
cyberdork33 is offline   Reply With Quote
Old April 25th, 2008   #5
slayer^_^
Gee! These Aren't Roasted!
 
slayer^_^'s Avatar
 
Join Date: Dec 2007
Location: Rome
Beans: 210
Ubuntu 9.04 Jaunty Jackalope
Re: 8.04 cleared the MBR partition table

i confirm this bug, my partitions went out of the windows after i installed hardy.

moreover i got error 17 : can't mount partition after i installed and i had to edit manually the grub config file changing my hd from (0,0) to (1,0).


DAMN !!!
__________________
"He's the kind of guy you go out with to split a bottle with a friend. I'm the kind of guy you go out with to split a friend with a bottle..." David Lee Roth
http://bellavistabeb.netsons.org
slayer^_^ is offline   Reply With Quote
Old April 25th, 2008   #6
michaels
5 Cups of Ubuntu
 
Join Date: Feb 2006
Beans: 33
Re: 8.04 cleared the MBR partition table

synchronizing GPT and MBR is dangerous in some cases. The much better way is trying to handle and the stuff by yourself, which means installing grub on specific partition, not mbr. Besides, you have to always remember that grub can only be installed on first four partitions on your hard drive.

Good luck! Buddy!
michaels is offline   Reply With Quote

Bookmarks

Tags
install bug, mbr

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 03:39 PM.


vBulletin ©2000 - 2009, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. lingonberry