|
|
这电脑还有个读卡器。
第一个硬盘是SATA接口,分了两个NTFS分区装了XP。第二个硬盘是IDE接口,第一分区32m作boot分区,第三分区11G用的XFS作/分区,还有个交换分区,这三个分区装Debian了,剩下的作扩展分区装了SuSE。先装的SuSE,然后装了Debian。都是选的Grub在MBR上。但是现在Grub只是SuSE设置的。Debian似乎没装上Grub。
我该如何手工添加到menu.lst里?
下面是现在我弄得menu.lst
# Modified by YaST2. Last modification on 一 12月 31 13:17:04 CST 2007
default 0
timeout 8
gfxmenu (hd1,6)/boot/message
###Don't change this comment - YaST2 identifier: Original name: windows 1###
title windows XP
rootnoverify (hd1,6)
chainloader (hd0,0)+1
###Don't change this comment - YaST2 identifier: Original name: linux###
title openSUSE 10.3
root (hd1,6)
kernel /boot/vmlinuz-2.6.22.5-31-default root=/dev/disk/by-id/scsi-SATA_Maxtor_6L080P0_L23NT13G-part7 vga=0x314 resume=/dev/sdb6 splash=silent showopts
initrd /boot/initrd-2.6.22.5-31-default
###Don't change this comment - YaST2 identifier: Original name: windows 2###
title Debian
root (hd1,0)
kernel /vmlinuz-2.6.18-5-686 root=/dev/sdb1 ro
initrd /initrd.img-2.6.18-5-686
###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- openSUSE 10.3
root (hd1,6)
kernel /boot/vmlinuz-2.6.22.5-31-default root=/dev/disk/by-id/scsi-SATA_Maxtor_6L080P0_L23NT13G-part7 vga=normal showopts ide=nodma apm=off acpi=off noresume edd=off 3
initrd /boot/initrd-2.6.22.5-31-default
XP和SuSE都启动正常,就是我手工添加的Debian项不行。
一般到下面信息
sd 8:0:0:0: Attached scsi removable disk sdb
sd 8:0:0:1: Attached scsi removable disk sdc
sd 8:0:0:2: Attached scsi removable disk sdd
sd 8:0:0:3: Attached scsi removable disk sde
卡一会
继续显示
ALERT! /dev/sdb1 does not exist. Dropping to a shell!
======================================
kernel /vmlinuz-2.6.18-5-686 root=/dev/sdb1 ro
改成
kernel /vmlinuz-2.6.18-5-686 root=/dev/hdf3 ro
就可以了
果然是因为读卡器占用了sdb到sde的盘符
而且root=要指向根分区 |
|