Quote:
Originally Posted by syg00
Could get messy depending on what order the disks are seen as. Before you start, boot into Linux and post the (full) output of these commands run (as root) from a terminal
Code:
fdisk -l
egrep -v "^#|^\s*$" /boot/grub/menu.lst
|
Here you go:
Disk /dev/sda: 160.0 GB, 160000000000 bytes
255 heads, 63 sectors/track, 19452 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 1 5 40131 de Dell Utility
/dev/sda2 * 6 18846 151340332+ 7 HPFS/NTFS
/dev/sda3 18847 19452 4867695 db CP/M / CTOS / ...
Disk /dev/sdb: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdb1 1 7550 60645343+ 7 HPFS/NTFS
/dev/sdb2 7551 8766 9767520 83 Linux
/dev/sdb3 8767 9729 7735297+ f W95 Ext'd (LBA)
/dev/sdb5 8767 9729 7735266 82 Linux swap / Solaris
debian:/home/gamewolf# egrep
Usage: grep [OPTION]... PATTERN [FILE]...
Try `grep --help' for more information.
debian:/home/gamewolf# egrep -v "^#|^\s*$" /boot/grub/menu.lst
default 0
timeout 5
color cyan/blue white/blue
title Debian GNU/Linux, kernel 2.6.18-5-686
root (hd1,1)
kernel /boot/vmlinuz-2.6.18-5-686 root=/dev/sdb2 ro
initrd /boot/initrd.img-2.6.18-5-686
savedefault
title Debian GNU/Linux, kernel 2.6.18-5-686 (single-user mode)
root (hd1,1)
kernel /boot/vmlinuz-2.6.18-5-686 root=/dev/sdb2 ro single
initrd /boot/initrd.img-2.6.18-5-686
savedefault
title Debian GNU/Linux, kernel 2.6.18-4-686
root (hd1,1)
kernel /boot/vmlinuz-2.6.18-4-686 root=/dev/sdb2 ro
initrd /boot/initrd.img-2.6.18-4-686
savedefault
title Debian GNU/Linux, kernel 2.6.18-4-686 (single-user mode)
root (hd1,1)
kernel /boot/vmlinuz-2.6.18-4-686 root=/dev/sdb2 ro single
initrd /boot/initrd.img-2.6.18-4-686
savedefault
title Other operating systems:
root
title Windows XP Media Center Edition
root (hd0,1)
savedefault
chainloader +1