編譯好新的核心之後, 開機出現奇怪訊息(開機

Moderator: Forums Team

seifer
Posts: 248
Joined: Wed Dec 10, 2003 7:54 am
Location: 台灣/台南

編譯好新的核心之後, 開機出現奇怪訊息(開機

Post by seifer »

開機到一個地方後出現
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
Posts: 248
Joined: Wed Dec 10, 2003 7:54 am
Location: 台灣/台南

Post by seifer »

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 $
paar
Posts: 1154
Joined: Thu Jan 30, 2003 10:53 am
Location: 打狗市
Contact:

Re: 編譯好新的核心之後, 開機出現奇怪訊息(??

Post by paar »

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
.......
.......
#

開機無法完成
fstab 看起來沒錯, 不過建議先單純化, 把不是必要的先 # 起來..
為什麼都去找 "/newroot" 掛載?
是什麼地方設錯?它怎麼會把 /newroot 當成 / ???
叫我老帕好了!
Image
seifer
Posts: 248
Joined: Wed Dec 10, 2003 7:54 am
Location: 台灣/台南

Post by seifer »

我發現
開機訊息出錯的前面幾行
有一行這樣說
VFS:Mounted root (ext2 filesystem)

不過我的磁區都是ext3呢

我在redhat9底下
開機訊息這裡是
VFS:Mounted root (ext3 filesystem)

還有在grub裡面加上 gentoo=nodevfs

沒用 @__@
dxcdxc
Posts: 200
Joined: Sat Sep 06, 2003 12:34 pm
Location: 台中/豐原
Contact:

Post by dxcdxc »

你的ROOT格式化成啥格式

看來好像指定了錯誤的分割區型別>>>
seifer
Posts: 248
Joined: Wed Dec 10, 2003 7:54 am
Location: 台灣/台南

Post by seifer »

不大可能喔
因為我只給他一個分割區
且一開始格式化的時候是
mke2fs -j /dev/hda10

這應該是格式化成ext3沒錯吧??
paar
Posts: 1154
Joined: Thu Jan 30, 2003 10:53 am
Location: 打狗市
Contact:

Post by paar »

編核心:
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.)

請先把紅色選上, 釐清問題.
叫我老帕好了!
Image
seifer
Posts: 248
Joined: Wed Dec 10, 2003 7:54 am
Location: 台灣/台南

Post by seifer »

我都有選 @___@

該不選的也有不選

然後

ext3 ext2都有選
ccpz
Posts: 167
Joined: Fri Aug 01, 2003 8:33 am
Location: 新竹

Post by ccpz »

我記得好像看過這種問題,不過不確定一不一樣
我是在光碟機中放Gentoo的光碟
就沒事了
你可以試試看
seifer
Posts: 248
Joined: Wed Dec 10, 2003 7:54 am
Location: 台灣/台南

Post by seifer »

沒錯

放了live CD就可以正常進入系統

不過每次都要這樣耶 @__@

好像是開始USB detection
就會去找LIVE CD

我的NB的dvdrom是usb介面
不知道如何關閉這樣的detection
paar
Posts: 1154
Joined: Thu Jan 30, 2003 10:53 am
Location: 打狗市
Contact:

Post by paar »

見鬼了..
哪個 OS 裝進硬碟後, 要靠放一片光碟在光碟機裡才能用的?
好像在打 game :p
叫我老帕好了!
Image
seifer
Posts: 248
Joined: Wed Dec 10, 2003 7:54 am
Location: 台灣/台南

Post by seifer »

我正在試著編各種核心
trial and error
不然我第一次裝gentoo時就可以 @@?

我覺得問題可能在
APM, USB, file system.....
也是看外國gentoo forum來的
Post Reply