On Thu, 2006-08-24 at 07:11 +0100, Thufir wrote: > The slave hard drive on my box is dual boot windows/linux. The master > also has linux. This makes for three OS's. Only the master hard drive is > booting at the moment, which I'd like to fix. All data has been backed > up. > > When I attempt to boot windows I get an excerpt from /boot/grub/grub.conf > as follows: > > title Other > rootnoverify (hd1,0) > chainloader +1 > > try adding 2 additional lines in there before the rootnoverify option map (hd0) (hd1) map (hd1) (hd0) also verify that /etc/grub/device.map has the proper mapping for both /dev/hda and /dev/hdb "info grub" should give you a lot of detailed information. > Other meaning windows (which I should change). Prior to installing linux > to the master, windows on the slave booted fine. However, linux on the > slave didn't boot. To expedite things I just went ahead and installed > linux on the master, as that seemed easiest at the time. > > I know that grub can be edited, but I don't how it should be changed. > > Perhaps this is related to the MBR on hdb? I don't mind re-installing > windows to hdb, I wanted to repartition anyhow. > > > > [root@arrakis ~]# > [root@arrakis ~]# > [root@arrakis ~]# mount -t auto -r /dev/hdb1 /mnt/win2k/ > [root@arrakis ~]# > [root@arrakis ~]# mount -t auto -r /dev/hdb4 /mnt/gentoo/ > [root@arrakis ~]# > [root@arrakis ~]# ll /mnt/win2k/ > total 1368 > -r-xr-xr-x 1 root root 150528 Jun 19 2003 arcldr.exe > -r-xr-xr-x 1 root root 163840 Jun 19 2003 arcsetup.exe > -rwxr-xr-x 1 root root 0 Jun 19 2005 autoexec.bat > -rwxr-xr-x 1 root root 285 Jun 19 2005 boot.ini > -rwxr-xr-x 1 root root 0 Jun 19 2005 config.sys > drwxr-xr-x 5 root root 8192 Jun 19 2005 Documents and Settings > drwxr-xr-x 2 root root 8192 Aug 24 2005 found.000 > -r-xr-xr-x 1 root root 0 Jun 19 2005 io.sys > -r-xr-xr-x 1 root root 0 Jun 19 2005 msdos.sys > drwxr-xr-x 3 root root 8192 Sep 2 2005 My Downloads > -r-xr-xr-x 1 root root 34724 Jul 9 2005 ntdetect.com > -r-xr-xr-x 1 root root 214432 Jul 9 2005 ntldr > dr-xr-xr-x 25 root root 8192 Jun 19 2005 Program Files > drwxr-xr-x 2 root root 8192 Jun 19 2005 Recycled > -rwxr-xr-x 1 root root 692224 Aug 26 2005 StubInstaller.exe > -rwxr-xr-x 1 root root 37376 Aug 7 2001 uninst.exe > drwxr-xr-x 75 root root 16384 Jun 19 2005 winnt > -rwxr-xr-x 1 root root 118 Aug 15 17:43 wizard_debug.txt > drwxr-xr-x 2 root root 8192 Jul 9 2005 WUTemp > [root@arrakis ~]# > [root@arrakis ~]# ll /mnt/gentoo/ > total 101368 > drwxr-xr-x 2 root root 4096 Mar 29 21:23 bin > drwxr-xr-x 2 root root 4096 Mar 20 14:09 boot > drwxr-xr-x 10 root root 24576 Mar 21 14:06 dev > drwxr-xr-x 57 root root 4096 Aug 9 19:31 etc > drwxr-xr-x 3 root root 4096 Mar 21 16:35 home > drwxr-xr-x 9 root root 4096 Mar 20 15:16 lib > drwx------ 2 root root 16384 Mar 20 14:09 lost+found > drwxr-xr-x 6 root root 4096 Mar 27 17:14 mnt > drwxr-xr-x 8 root root 4096 Mar 28 02:20 opt > drwxr-xr-x 2 root root 4096 Feb 14 2006 proc > drwx------ 19 root root 4096 Aug 10 03:22 root > drwxr-xr-x 2 root root 4096 Mar 20 19:59 sbin > -rw-r--r-- 1 root root 103593867 Feb 25 20:24 stage3-x86-2006.0.tar.bz2 > drwxr-xr-x 2 root root 4096 Feb 14 2006 sys > drwxrwxrwt 32 root root 4096 Aug 9 20:25 tmp > drwxr-xr-x 15 root root 4096 Mar 21 15:48 usr > drwxr-xr-x 13 root root 4096 Mar 21 07:10 var > [root@arrakis ~]# > [root@arrakis ~]# cat /boot/grub/grub.conf -n > 1 # grub.conf generated by anaconda > 2 # > 3 # Note that you do not have to rerun grub after making changes to > this file > 4 # NOTICE: You have a /boot partition. This means that > 5 # all kernel and initrd paths are relative to /boot/, eg. > 6 # root (hd0,0) > 7 # kernel /vmlinuz-version ro > root=/dev/VolGroup00/LogVol00 > 8 # initrd /initrd-version.img > 9 #boot=/dev/hda > 10 default=0 > 11 timeout=5 > 12 splashimage=(hd0,0)/grub/splash.xpm.gz > 13 hiddenmenu > 14 title Fedora Core (2.6.17-1.2174_FC5) > 15 root (hd0,0) > 16 kernel /vmlinuz-2.6.17-1.2174_FC5 ro > root=/dev/VolGroup00/LogVol00 > 17 initrd /initrd-2.6.17-1.2174_FC5.img > 18 title Fedora Core (2.6.15-1.2054_FC5) > 19 root (hd0,0) > 20 kernel /vmlinuz-2.6.15-1.2054_FC5 ro > root=/dev/VolGroup00/LogVol00 > 21 initrd /initrd-2.6.15-1.2054_FC5.img > 22 title Other > 23 rootnoverify (hd1,0) > 24 chainloader +1 > [root@arrakis ~]# > [root@arrakis ~]# date > Thu Aug 24 07:01:45 IST 2006 > [root@arrakis ~]# > > > > > -- > Thufir > <http://hawat.thufir.googlepages.com/> >