You are not logged in.

#1 2009-02-28 21:59:40

Ashex
Member
Registered: 2008-12-05
Posts: 16

Trouble With Grub - Setting up Triple Boot

Before I had Arch running on my desktop, I was using Ubuntu with Vista on the same disk and XP on another one. When I moved to Arch, I backed up menu.lst to preserve the entries, and installed Arch over the same partition that Ubuntu was on.

However, after I restored the entries for Vista and XP, I wasn't able to boot to them. A few weeks ago I absolutely had to do some work under windows, so I swapped out my XP disk and installed Vista on it, which got rid of the grub install in MBR and I used vista for about a week. I reinstalled Grab after that, and wasn't able to configure grub to boot to the new disk that had vista on it, only to Arch.

I'm more or less at a loss as to what may be wrong with my entries, the locations are correct but it just doesn't boot them for some reason.

Here is the output of fdisk -l:

Disk1:

sda1 is The original Vista install
sda4 is Arch Linux
sda3 is /boot for Arch linux

sdb1 is the new Vista install

Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x1f0b226a                     

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1        7359    59111136    7  HPFS/NTFS
/dev/sda2            9245        9729     3895762+  82  Linux swap / Solaris
/dev/sda3            9184        9244      489982+  83  Linux               
/dev/sda4            7360        9183    14651280   83  Linux               

Partition table entries are not in disk order

Disk /dev/sdb: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x2edf2ede

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *           1       30400   244187968+   7  HPFS/NTFS

Disk /dev/sdc: 300.0 GB, 300069052416 bytes
255 heads, 63 sectors/track, 36481 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x889d889d

   Device Boot      Start         End      Blocks   Id  System
/dev/sdc2   *           1       36481   293033598+  83  Linux

Disk /dev/sdd: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000efff1

   Device Boot      Start         End      Blocks   Id  System
/dev/sdd1               1      121601   976760001   83  Linux

Here are the boot entries in grub:

# (0) Arch Linux
title  Arch Linux
root   (hd0,2)   
kernel /vmlinuz26 root=/dev/disk/by-uuid/28e57cc7-2ae6-423c-b2ba-18a48b79433b ro vga=331
initrd /kernel26.img                                                                    

# (1) Arch Linux
title  Arch Linux Fallback
root   (hd0,2)            
kernel /vmlinuz26 root=/dev/disk/by-uuid/28e57cc7-2ae6-423c-b2ba-18a48b79433b ro
initrd /kernel26-fallback.img                                                   

title Windows Systems
root                 

title Windows Vista 64-bit
rootnoverify (hd0,0)
chainloader +1
savedefault
makeactive

title Windows XP Professional
rootnoverify (hd1,0)
map (hd0) (hd1)
map (hd1) (hd0)
chainloader +1
savedefault
makeactive

Any help or insight into what may be the issue is greatly appreciated.

Edit: I should mention I did some fiddling around trying to get the second vista install to boot by changing the location of the vista entry to (hd1,0) with no luck.

Last edited by Ashex (2009-02-28 22:02:27)

Offline

#2 2009-02-28 22:40:45

ahcaliskan
Member
From: Sweden
Registered: 2008-10-29
Posts: 174

Re: Trouble With Grub - Setting up Triple Boot

You need to change your menu.lst. I have windows 7 on my first partition, ie sda1. Arch linux is on the second partition, ie sda2:

# (0) Arch Linux
title  Arch Linux
root   (hd0,1)
kernel /boot/vmlinuz26 root=/dev/disk/by-uuid/01c08dbe-bfc1-4b41-95d6-3abd118b42a1 ro
initrd /boot/kernel26.img

# (1) Arch Linux
title  Arch Linux Fallback
root   (hd0,1)
kernel /boot/vmlinuz26 root=/dev/disk/by-uuid/01c08dbe-bfc1-4b41-95d6-3abd118b42a1 ro
initrd /boot/kernel26-fallback.img

# (1) Windows
title Windows 7
rootnoverify (hd0,0)
makeactive
chainloader +1

Make sure that you use (hd0,0), which is the first partition. Change the harddisk boot order in your BIOS. If you want to boot the second harddisk, this is the way to do it I suppose:

title Windows Vista 64
map (hd0) (hd1)
map (hd1) (hd0)
makeactive
rootnoverify (hd0,0)
chainloader (hd1,0)+1

Read more about it here:
http://forums.opensuse.org/install-boot … d-hdd.html

Last edited by ahcaliskan (2009-02-28 23:04:38)

Offline

#3 2009-02-28 23:05:06

Ashex
Member
Registered: 2008-12-05
Posts: 16

Re: Trouble With Grub - Setting up Triple Boot

I used your Windows 7 entry, and it looks like that did the trick. The really weird thing was that it booted the second Vista install. I mounted the first vista install in linux and it's empty hmm so it looks like I'm sol for getting that one to boot. Ah well, thanks for the help!

Offline

Board footer

Powered by FluxBB