編譯好新的核心之後, 開機出現奇怪訊息(開機
Moderator: Forums Team
編譯好新的核心之後, 開機出現奇怪訊息(開機
開機到一個地方後出現
mount:Mounting devfs on /newroot/dev failed : no such device
-- --Beginning usb detection
mount:mounting /newroot/dev/cdroms/* on /newroot/mnt/cdrom
failed: no such file or directory
--CD not found
umount: /newroot: Device or resource busy
BusyBox v0.60.5
.......
.......
#
開機無法完成
mount:Mounting devfs on /newroot/dev failed : no such device
-- --Beginning usb detection
mount:mounting /newroot/dev/cdroms/* on /newroot/mnt/cdrom
failed: no such file or directory
--CD not found
umount: /newroot: Device or resource busy
BusyBox v0.60.5
.......
.......
#
開機無法完成
seifer@seifer seifer $ cat /etc/fstab
# /etc/fstab: static file system information.
# $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/fstab,v 1.13 2003/07/17 19:55:18 azarah Exp $
#
# noatime turns off atimes for increased performance (atimes normally aren't
# needed; notail increases performance of ReiserFS (at the expense of storage
# efficiency). It's safe to drop the noatime options if you want and to
# switch between notail and tail freely.
# <fs> <mountpoint> <type> <opts> <dump/pass>
# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
#/dev/BOOT /boot ext2 noauto,noatime 1 1
#/dev/ROOT / xfs noatime 0 0
#/dev/SWAP none swap sw 0 0
#/dev/cdroms/cdrom0 /mnt/cdrom iso9660 noauto,ro 0 0
/dev/hda10 / ext3 noatime 0 0
/dev/hda9 none swap sw 0 0
/dev/cdrom /mnt/cdrom iso9660 default,noauto,users,ro 0 0
/dev/hda1 /mnt/win_c vfat default,iocharset=cp950,umask=000 0 0
/dev/hda5 /mnt/win_d vfat default,iocharset=cp950,umask=000 0 0
/dev/hda6 /mnt/win_e vfat default,iocharset=cp950,umask=000 0 0
/dev/hda7 /mnt/win_f vfat default,iocharset=cp950,umask=000 0 0
/dev/hda8 /mnt/redhat ext3 noatime 0 0
# NOTE: The next line is critical for boot!
none /proc proc defaults 0 0
# glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
# POSIX shared memory (shm_open, shm_unlink).
# (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
# use almost no memory if not populated with files)
# Adding the following line to /etc/fstab should take care of this:
#none /dev/shm tmpfs defaults 0 0
seifer@seifer seifer $
# /etc/fstab: static file system information.
# $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/fstab,v 1.13 2003/07/17 19:55:18 azarah Exp $
#
# noatime turns off atimes for increased performance (atimes normally aren't
# needed; notail increases performance of ReiserFS (at the expense of storage
# efficiency). It's safe to drop the noatime options if you want and to
# switch between notail and tail freely.
# <fs> <mountpoint> <type> <opts> <dump/pass>
# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
#/dev/BOOT /boot ext2 noauto,noatime 1 1
#/dev/ROOT / xfs noatime 0 0
#/dev/SWAP none swap sw 0 0
#/dev/cdroms/cdrom0 /mnt/cdrom iso9660 noauto,ro 0 0
/dev/hda10 / ext3 noatime 0 0
/dev/hda9 none swap sw 0 0
/dev/cdrom /mnt/cdrom iso9660 default,noauto,users,ro 0 0
/dev/hda1 /mnt/win_c vfat default,iocharset=cp950,umask=000 0 0
/dev/hda5 /mnt/win_d vfat default,iocharset=cp950,umask=000 0 0
/dev/hda6 /mnt/win_e vfat default,iocharset=cp950,umask=000 0 0
/dev/hda7 /mnt/win_f vfat default,iocharset=cp950,umask=000 0 0
/dev/hda8 /mnt/redhat ext3 noatime 0 0
# NOTE: The next line is critical for boot!
none /proc proc defaults 0 0
# glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
# POSIX shared memory (shm_open, shm_unlink).
# (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
# use almost no memory if not populated with files)
# Adding the following line to /etc/fstab should take care of this:
#none /dev/shm tmpfs defaults 0 0
seifer@seifer seifer $
Re: 編譯好新的核心之後, 開機出現奇怪訊息(??
fstab 看起來沒錯, 不過建議先單純化, 把不是必要的先 # 起來..seifer wrote:開機到一個地方後出現
mount:Mounting devfs on /newroot/dev failed : no such device
-- --Beginning usb detection
mount:mounting /newroot/dev/cdroms/* on /newroot/mnt/cdrom
failed: no such file or directory
--CD not found
umount: /newroot: Device or resource busy
BusyBox v0.60.5
.......
.......
#
開機無法完成
為什麼都去找 "/newroot" 掛載?
是什麼地方設錯?它怎麼會把 /newroot 當成 / ???
叫我老帕好了!


編核心:
Code maturity level options --->
[*] Prompt for development and/or incomplete code/drivers"
(你將需要這個以便啟用其他功能)
...
filesystem --->
<*> Reiserfs support
(如果你有用到 ReiserFS)
...
<*> Ext3 journalling file system support
(如果你有用到 ext3.)
...
[*] Virtual memory file system support (former shm fs)
(Gentoo Linux 必須選用此項.)
...
<*> JFS filesystem support
(如果你有用到g JFS.)
...
[*] /proc file system support
(Gentoo Linux 必須選用此項.)
[*] /dev file system support (EXPERIMENTAL)
[*] Automatically mount at boot [/color]
(Gentoo Linux 必須選用此項.)
[ ] /dev/pts file system for Unix98 PTYs
(不需要.)
...
<*> Second extended fs support
(如果你有用到 ext2.)
...
<*> XFS filesystem support
(如果你有用到 XFS.)
請先把紅色選上, 釐清問題.
Code maturity level options --->
[*] Prompt for development and/or incomplete code/drivers"
(你將需要這個以便啟用其他功能)
...
filesystem --->
<*> Reiserfs support
(如果你有用到 ReiserFS)
...
<*> Ext3 journalling file system support
(如果你有用到 ext3.)
...
[*] Virtual memory file system support (former shm fs)
(Gentoo Linux 必須選用此項.)
...
<*> JFS filesystem support
(如果你有用到g JFS.)
...
[*] /proc file system support
(Gentoo Linux 必須選用此項.)
[*] /dev file system support (EXPERIMENTAL)
[*] Automatically mount at boot [/color]
(Gentoo Linux 必須選用此項.)
[ ] /dev/pts file system for Unix98 PTYs
(不需要.)
...
<*> Second extended fs support
(如果你有用到 ext2.)
...
<*> XFS filesystem support
(如果你有用到 XFS.)
請先把紅色選上, 釐清問題.
叫我老帕好了!

