sudo fdisk -l 的运行结果:
Disk /dev/sda: 120.0 GB, 120060444672 bytes
255 heads, 63 sectors/track, 14596 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x8b03492b
Device Boot Start End Blocks Id System
/dev/sda1 * 1 14220 114222118+ 83 Linux
/dev/sda2 14221 14596 3020220 5 Extended
/dev/sda5 14221 14596 3020188+ 82 Linux swap / Solaris
Disk /dev/sdb: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x19da19d9
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 2550 20482843+ 7 HPFS/NTFS
/dev/sdb2 2551 30400 223705125 f W95 Ext'd (LBA)
/dev/sdb5 2551 7649 40957686 7 HPFS/NTFS
/dev/sdb6 7650 12748 40957686 7 HPFS/NTFS
/dev/sdb7 12749 30400 141789658+ 7 HPFS/NTFS
menu.lst的内容如下:
title Ubuntu 8.10, kernel 2.6.27-9-generic
uuid cd1c7bd2-5a65-4275-a1a5-8fbd2a5b4c14
kernel /boot/vmlinuz-2.6.27-9-generic root=UUID=cd1c7bd2-5a65-4275-a1a5-8fbd2a5b4c14 ro locale=zh_CN quiet splash
initrd /boot/initrd.img-2.6.27-9-generic
quiet
title Ubuntu 8.10, kernel 2.6.27-9-generic (recovery mode)
uuid cd1c7bd2-5a65-4275-a1a5-8fbd2a5b4c14
kernel /boot/vmlinuz-2.6.27-9-generic root=UUID=cd1c7bd2-5a65-4275-a1a5-8fbd2a5b4c14 ro locale=zh_CN single
initrd /boot/initrd.img-2.6.27-9-generic
title Ubuntu 8.10, kernel 2.6.27-7-generic
uuid cd1c7bd2-5a65-4275-a1a5-8fbd2a5b4c14
kernel /boot/vmlinuz-2.6.27-7-generic root=UUID=cd1c7bd2-5a65-4275-a1a5-8fbd2a5b4c14 ro locale=zh_CN quiet splash
initrd /boot/initrd.img-2.6.27-7-generic
quiet
title Ubuntu 8.10, kernel 2.6.27-7-generic (recovery mode)
uuid cd1c7bd2-5a65-4275-a1a5-8fbd2a5b4c14
kernel /boot/vmlinuz-2.6.27-7-generic root=UUID=cd1c7bd2-5a65-4275-a1a5-8fbd2a5b4c14 ro locale=zh_CN single
initrd /boot/initrd.img-2.6.27-7-generic
title Ubuntu 8.10, memtest86+
uuid cd1c7bd2-5a65-4275-a1a5-8fbd2a5b4c14
kernel /boot/memtest86+.bin
quiet
### END DEBIAN AUTOMAGIC KERNELS LIST
# This is a divider, added to separate the menu items below from the Debian
# ones.
title Other operating systems:
root
# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda1
title Microsoft Windows XP Professional
root (hd0,0)
savedefault
makeactive
chainloader +1
感谢回复
另外,刚才把menu.lst的关于XP那部分 root(hd0,0) =>root(hd0,1)之后,出现错误代码12
我是不是多此一举了。。。呵呵
