不能进入单用户模式了,怎么回师啊?
以前可以的,可先在却不行了,到最后,他显示:mkrootdev:lable/ not found
mounting root filesystem
mount :error 2 mounting ext3
mount:error 2 mounting none
switching to new root
switchroot : mount failed :22
unmount /initrd/dev failed :2
kernelpanic - not syncing: Attempted to killing init /etc/fstab出问题了 怎么改呢? 进rescue,然后fdisk -l找到/的设备名再编辑/etc/fstab 不太懂啊,能不能说的详细些啊:-D:wink::lol: search "rescue" "fstab"
:mrgreen: 我的fstab中有这一行:LABEL=/1 / ext3 defaults 1 1
是不是第二个/ 后缺少设备名。但我按你说的进rescue,然后fdisk -l,也没找到/的设备名啊?/后挂载的是不是单用户的设备文件啊?ni你能不能在说的清楚些。最好把详细步骤列出来啊。不胜感激啊!!!
好人一生平安!! :-D:-):lol::mrgreen: 楼主可以把你fstab里面内容发出来看 好啊
# This file is edited by fstab-sync - see 'man fstab-sync' for details
LABEL=/1 / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devptsgid=5,mode=6200 0
none /dev/shm tmpfs defaults 0 0
none /proc proc defaults 0 0
none /sys sysfs defaults 0 0
LABEL=SWAP-hda9 swap swap defaults 0 0
/dev/hda1 /mnt/winc vfat rw,utf8 0 0
/dev/hda5 /mnt/wine vfat rw,utf80 0
/dev/hda9 /mnt/winf vfat rw,utf8 0 0
/dev/hda10/mnt/wing vfat rw,utf8 0 0
/dev/hdc /media/cdrom auto pamconsole,fscontext=system_u:object_r:removable_t,ro,exec,noauto,managed 0 0
/dev/fd0 /media/floppy auto pamconsole,fscontext=system_u:object_r:removable_t,exec,noauto,managed 0 0
帮忙看看啊!! :-D:lol::mrgreen: /分区是哪个?
hda6? 我分了三个分区,一个是/一个是/boot一个是swap.反正/不是6就是8,这个我到时再查,您就告诉我该怎么改吧?谢谢了!! :mrgreen::lol: 把LABEL=/1改成/dev/hdxn之类,不过不一定有用 好啊
# This file is edited by fstab-sync - see 'man fstab-sync' for details
LABEL=/1 / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devptsgid=5,mode=6200 0
none /dev/shm tmpfs defaults 0 0
none /proc proc defaults 0 0
none /sys sysfs defaults 0 0
LABEL=SWAP-hda9 swap swap defaults 0 0
/dev/hda1 /mnt/winc vfat rw,utf8 0 0
/dev/hda5 /mnt/wine vfat rw,utf80 0
/dev/hda9 /mnt/winf vfat rw,utf8 0 0
/dev/hda10/mnt/wing vfat rw,utf8 0 0
/dev/hdc /media/cdrom auto pamconsole,fscontext=system_u:object_r:removable_t,ro,exec,noauto,managed 0 0
/dev/fd0 /media/floppy auto pamconsole,fscontext=system_u:object_r:removable_t,exec,noauto,managed 0 0
帮忙看看啊!! :-D:lol::mrgreen:
里的那个 rw 是什么意思!?? 好啊
# This file is edited by fstab-sync - see 'man fstab-sync' for details
LABEL=/1 / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devptsgid=5,mode=6200 0
none /dev/shm tmpfs defaults 0 0
none /proc proc defaults 0 0
none /sys sysfs defaults 0 0
LABEL=SWAP-hda9 swap swap defaults 0 0
/dev/hda1 /mnt/winc vfat rw,utf8 0 0
/dev/hda5 /mnt/wine vfat rw,utf80 0
/dev/hda9 /mnt/winf vfat rw,utf8 0 0
/dev/hda10/mnt/wing vfat rw,utf8 0 0
/dev/hdc /media/cdrom auto pamconsole,fscontext=system_u:object_r:removable_t,ro,exec,noauto,managed 0 0
/dev/fd0 /media/floppy auto pamconsole,fscontext=system_u:object_r:removable_t,exec,noauto,managed 0 0
帮忙看看啊!! :-D:lol::mrgreen:
里的那个 rw 是什么意思!??
读写!!! mkrootdev:lable/ not found
LABEL=/1 / ext3 defaults 1 1
把LABEL=/1改成/dev/hdxn之类
我奇怪为什么 / 分区的label 丢失了,而/boot 的没有。
页:
[1]
2