randysparks
July 18th, 2008, 01:30 PM
Yesterday I made my Intel MacBook (CD 1.83GHz) triple-boot OS X, Vista and Ubuntu. I used boot camp to resize the partition, then installed Vista, and finally installed Ubuntu by shrinking the Vista partition. I used a standard Ubuntu hardy install, except I opted at the end to install the boot loader to /dev/sda.
It worked fine. If I selected the Windows boot option after holding down Alt during the chime, and chose Windows, I saw the GRUB menu from where I could choose either Vista or Ubuntu.
Today I decided to resize the partitions using Gparted on the Hardy live CD. And now things won't boot. OS X boots fine, but if I select the Windows option I see the word GRUB and a flashing cursor.
I tried installing Refit and that gives menu options for OS X, Windows and Linux, but the WIndows and Linux entries bring up the word GRUB and a flashing cursor. OS X works fine.
I've booted into live distro mode on the Hardy CD and mounted both the Vista and Ubuntu partitions, so they're there, and they're fine (i checked both using fsck.ext3 and ntfsprogs). It's just that the boot menu is screwed up. I tried reinstalling grub and it seems to work, but again all I get when I boot is GRUB and a flashing cursor.
Here's the output from the refit partition inspector:
*** Report for internal hard disk ***
Current GPT partition table:
# Start LBA End LBA Type
1 40 409639 EFI System (FAT)
2 409640 105498854 Mac OS X HFS+
3 105498855 137436074 Basic Data
4 137436075 154047284 Basic Data
5 154047285 156296384 Linux Swap
Current MBR partition table:
# A Start LBA End LBA Type
1 1 409639 ee EFI Protective
2 409640 105498854 af Mac OS X HFS+
3 * 105498855 137436074 07 NTFS/HPFS
4 137436075 154047284 83 Linux
MBR contents:
Boot Code: GRUB
Partition at LBA 40:
Boot Code: None (Non-system disk message)
File System: FAT32
Listed in GPT as partition 1, type EFI System (FAT)
Partition at LBA 409640:
Boot Code: None
File System: HFS Extended (HFS+)
Listed in GPT as partition 2, type Mac OS X HFS+
Listed in MBR as partition 2, type af Mac OS X HFS+
Partition at LBA 105498855:
Boot Code: Windows BOOTMGR (Vista)
File System: NTFS
Listed in GPT as partition 3, type Basic Data
Listed in MBR as partition 3, type 07 NTFS/HPFS, active
Partition at LBA 137436075:
Boot Code: None
File System: ext3
Listed in GPT as partition 4, type Basic Data
Listed in MBR as partition 4, type 83 Linux
Partition at LBA 154047285:
Boot Code: None
File System: Unknown
Listed in GPT as partition 5, type Linux Swap
It worked fine. If I selected the Windows boot option after holding down Alt during the chime, and chose Windows, I saw the GRUB menu from where I could choose either Vista or Ubuntu.
Today I decided to resize the partitions using Gparted on the Hardy live CD. And now things won't boot. OS X boots fine, but if I select the Windows option I see the word GRUB and a flashing cursor.
I tried installing Refit and that gives menu options for OS X, Windows and Linux, but the WIndows and Linux entries bring up the word GRUB and a flashing cursor. OS X works fine.
I've booted into live distro mode on the Hardy CD and mounted both the Vista and Ubuntu partitions, so they're there, and they're fine (i checked both using fsck.ext3 and ntfsprogs). It's just that the boot menu is screwed up. I tried reinstalling grub and it seems to work, but again all I get when I boot is GRUB and a flashing cursor.
Here's the output from the refit partition inspector:
*** Report for internal hard disk ***
Current GPT partition table:
# Start LBA End LBA Type
1 40 409639 EFI System (FAT)
2 409640 105498854 Mac OS X HFS+
3 105498855 137436074 Basic Data
4 137436075 154047284 Basic Data
5 154047285 156296384 Linux Swap
Current MBR partition table:
# A Start LBA End LBA Type
1 1 409639 ee EFI Protective
2 409640 105498854 af Mac OS X HFS+
3 * 105498855 137436074 07 NTFS/HPFS
4 137436075 154047284 83 Linux
MBR contents:
Boot Code: GRUB
Partition at LBA 40:
Boot Code: None (Non-system disk message)
File System: FAT32
Listed in GPT as partition 1, type EFI System (FAT)
Partition at LBA 409640:
Boot Code: None
File System: HFS Extended (HFS+)
Listed in GPT as partition 2, type Mac OS X HFS+
Listed in MBR as partition 2, type af Mac OS X HFS+
Partition at LBA 105498855:
Boot Code: Windows BOOTMGR (Vista)
File System: NTFS
Listed in GPT as partition 3, type Basic Data
Listed in MBR as partition 3, type 07 NTFS/HPFS, active
Partition at LBA 137436075:
Boot Code: None
File System: ext3
Listed in GPT as partition 4, type Basic Data
Listed in MBR as partition 4, type 83 Linux
Partition at LBA 154047285:
Boot Code: None
File System: Unknown
Listed in GPT as partition 5, type Linux Swap