Results 1 to 10 of 12
I've compiled a custim kernel and when i try booting it ,it says
" udev:waiting for device /dev/sda to appear "
and then after 10 seconds it drops into ramfs ...
- 01-17-2011 #1Just Joined!
- Join Date
- Mar 2009
- Posts
- 24
Custom kernel doesnt boot
I've compiled a custim kernel and when i try booting it ,it says
" udev:waiting for device /dev/sda to appear "
and then after 10 seconds it drops into ramfs shell .
Anybody had this issue before ? SUGGESTIONS WILL BE VALUABLE
- 01-18-2011 #2
What's exactly command line argument for kernel ?May be try passing root=<your_root_device> from grub
- Lakshmipathi.G
-------------------
FOSS India Award winning ext3fs Undelete tool and tutorials www.giis.co.in
First they criticize you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
-------------------
- 01-18-2011 #3Just Joined!
- Join Date
- Mar 2009
- Posts
- 24
I have that in the kernel parameters . Isn't this something related with the kernel i compiled . The distro kernel just works fine
- 01-18-2011 #4
Post the grub.conf contents here and also how you configured the kernel? used defconfig or edited by hand or menuconfig method ?
- Lakshmipathi.G
-------------------
FOSS India Award winning ext3fs Undelete tool and tutorials www.giis.co.in
First they criticize you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
-------------------
- 01-18-2011 #5Just Joined!
- Join Date
- Mar 2009
- Posts
- 24
I did a menu config .
Here's my grub.lst
Code:timeout 5 default 0 color light-blue/black light-cyan/blue # boot sections follow # each is implicitly numbered from 0 in the order of appearance below # # TIP: If you want a 1024x768 framebuffer, add "vga=773" to your kernel line. # #-* # (0) Arch Linux title Arch Linux root (hd0,0) kernel /boot/vmlinuz26 root=/dev/disk/by-uuid/cbf7976e-d756-48f0-a105-df3e9a935c79 ro initrd /boot/kernel26.img # (1) Arch Linux title Arch Linux Fallback root (hd0,0) kernel /boot/vmlinuz26 root=/dev/disk/by-uuid/cbf7976e-d756-48f0-a105-df3e9a935c79 ro initrd /boot/kernel26-fallback.img # (2) My Linux title Test Linuxs root (hd0,0) kernel /boot/vmlinuz261 root=/dev/disk/by-uuid/cbf7976e-d756-48f0-a105-df3e9a935c79 ro initrd /boot/kernel261.img
- 01-18-2011 #6
I"m not wrong .. your new kernel doesn't recognize the uuid part.
So I would suggest you pass the root file system device on it directly. If you root device is sda1 then usekernel /boot/vmlinuz261roroot=/dev/disk/by-uuid/cbf7976e-d756-48f0-a105-df3e9a935c79
initrd /boot/kernel261.img
kernel /boot/vmlinuz261 root=/dev/sda1 ro
initrd /boot/kernel261.img- Lakshmipathi.G
-------------------
FOSS India Award winning ext3fs Undelete tool and tutorials www.giis.co.in
First they criticize you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
-------------------
- 01-18-2011 #7Just Joined!
- Join Date
- Mar 2009
- Posts
- 24
I did try that as well , Nothing changes . It still cannot find the disk
- 01-18-2011 #8
Are you sure sda1 is your root partition? Above was just an example. Check with fdisk for correct root fs. and you didn't answer my previous question
how you configured the kernel? used defconfig or edited by hand or menuconfig method ?- Lakshmipathi.G
-------------------
FOSS India Award winning ext3fs Undelete tool and tutorials www.giis.co.in
First they criticize you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
-------------------
- 01-18-2011 #9Just Joined!
- Join Date
- Mar 2009
- Posts
- 24
Well sda1 is my root partition for sure . No doubt . Got the distro running on sda1 as root
fdisk says nothing different either
Did i miss a question ?
- 01-18-2011 #10- Lakshmipathi.G
-------------------
FOSS India Award winning ext3fs Undelete tool and tutorials www.giis.co.in
First they criticize you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
-------------------


Reply With Quote

