[lug] Multi OS booting
Lee Woodworth
blug-mail at duboulder.com
Sat Nov 26 12:38:22 MST 2005
This configuration works on my laptop:
Grub stage1 is on the MBR
W2K3 uses hda{1,6} as drives C: D:
Gentoo uses hda{5,7,8} as /boot swap /
1) Partition disk and format partitions from a live cd
2) Install W2K3, system partition is /dev/hda1 maps to C:,
boot partition is /dev/hda6 maps to D:
3) Install grub to /dev/hda5 (/boot) using a live cd
4) Install grub stage1 to MBR (hd0)
5) Install gentoo, configure grub.conf on /dev/hda5
Device Boot Start End Blocks Id System
/dev/hda1 * 1 140 1124518+ 6 FAT16
/dev/hda2 141 4863 37937497+ f W95 Ext'd (LBA)
/dev/hda5 * 141 165 200781 83 Linux
/dev/hda6 166 675 4096543+ 7 HPFS/NTFS
/dev/hda7 676 737 497983+ 82 Linux swap / Solaris
/dev/hda8 738 1467 5863693+ 83 Linux
/dev/hda9 1468 4863 27278338+ 83 Linux
Part of fstab:
/dev/hda5 /boot ext3 noauto,noatime 1 1
/dev/hda8 / xfs noatime 0 0
/dev/hda7 none swap sw 0 0
/boot/grub/grub.conf:
# By default, boot the first entry.
default 0
title Linux 2.6.14-gentoo-r2
root (hd0,4)
kernel /vmlinuz-2.6.14-gentoo-r2 root=/dev/hda8
title Windows Server 2003
rootnoverify (hd0,0)
makeactive
chainloader +1
More information about the LUG
mailing list