boot custom kernel and /etc/fstab
Noah
admin2 at enabled.com
Tue Nov 2 19:44:22 UTC 2004
On Tue, 02 Nov 2004 14:32:37 -0500, Yasushi Okubo wrote
> Do you have a raid array ? If so, the driver may need to be compiledfor your custom kernel. It is better to check your /etc/module.conffor what type of drivers are expected for your nomal kernel.
Hi,
I dont have a raid array. but I did comment out the scsi_hostadapter ata_piix in the /etc/modules.conf file since it was creating issues when installing some other kernels. am I doing the right thing here?
here is a copy of my /etc/modules.conf --- to get an idea of what I did.
--- snip ----
alias eth0 tg3
#alias scsi_hostadapter ata_piix
alias sound-slot-0 i810_audio
post-install sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -L >/dev/null 2>&1 || :
pre-remove sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -S >/dev/null 2>&1 || :
alias sound-slot-1 rme96xx
post-install sound-slot-1 /bin/aumix-minimal -f /etc/.aumixrc -L >/dev/null 2>&1 || :
pre-remove sound-slot-1 /bin/aumix-minimal -f /etc/.aumixrc -S >/dev/null 2>&1 || :
alias usb-controller usb-uhci
alias usb-controller1 ehci-hcd
--- snip ---
>
> Noah wrote:
> On Tue, 2 Nov 2004 19:10:32 +0000, Stuart Sears
wrote
On Tuesday 02 Nov 2004 18:39, Noah
wrote:
using: Redhat-enterprise WS version
3
I just built a custom kernel using the 2.4.21-20.EL source rpm. it
simply
does not boot and claims a VFS error and is unable to open root
device
"LABEL=/"
have you tried putting the actual device node instead of the
LABEL=/
option?
e.g. kernel /whatever ro root=/dev/hda2
(or whichever /dev/hdaX your / Filesystem is) df will tell you this
( I assume you can still boot with an old
kernel?)
e.g: [stuart at laptop stuart]$ df Filesystem 1K-blocks
Used Available Use% Mounted on /dev/hda7 6048320
4815104 925976 84% / none 517712 0
517712 0% /dev/shm /dev/hda8 21204420 3317020
16810244 17% /home /dev/sda1 241263968 62852732
166155652 28%
/mnt/disk
so in my case
root=/dev/hda7
Stuart,
thanks for the quick reply. I am going to assume that /dev/sda2 is my
root
filesystem -
right?
--- snip
---
$ df
-k
Filesystem 1K-blocks Used Available Use% Mounted
on
/dev/sda2 151723100 3861340 140154580 3%
/
/dev/sda1 101089 35938 59932 38%
/boot
none 512700 0 512700 0%
/dev/shm
--- snip
---
cheers,
Noah
Stuart
--
Stuart Sears RHCE,
RHCX
Quidquid latine dictum sit, altum
viditur
--
redhat-list mailing
list
unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
More information about the redhat-list
mailing list