Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just 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

  2. #2
    Linux Guru Lakshmipathi's Avatar
    Join Date
    Sep 2006
    Location
    3rd rock from sun - Often seen near moon
    Posts
    1,757
    What's exactly command line argument for kernel ?May be try passing root=<your_root_device> from grub
    First they ignore you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
    -----
    FOSS India Award winning ext3fs Undelete tool www.giis.co.in. Online Linux Terminal http://www.webminal.org

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

  4. #4
    Linux Guru Lakshmipathi's Avatar
    Join Date
    Sep 2006
    Location
    3rd rock from sun - Often seen near moon
    Posts
    1,757
    Post the grub.conf contents here and also how you configured the kernel? used defconfig or edited by hand or menuconfig method ?
    First they ignore you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
    -----
    FOSS India Award winning ext3fs Undelete tool www.giis.co.in. Online Linux Terminal http://www.webminal.org

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

  6. #6
    Linux Guru Lakshmipathi's Avatar
    Join Date
    Sep 2006
    Location
    3rd rock from sun - Often seen near moon
    Posts
    1,757
    I"m not wrong .. your new kernel doesn't recognize the uuid part.
    kernel /boot/vmlinuz261
    root=/dev/disk/by-uuid/cbf7976e-d756-48f0-a105-df3e9a935c79
    ro
    initrd /boot/kernel261.img
    So I would suggest you pass the root file system device on it directly. If you root device is sda1 then use
    kernel /boot/vmlinuz261 root=/dev/sda1 ro
    initrd /boot/kernel261.img
    First they ignore you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
    -----
    FOSS India Award winning ext3fs Undelete tool www.giis.co.in. Online Linux Terminal http://www.webminal.org

  7. #7
    Just Joined!
    Join Date
    Mar 2009
    Posts
    24
    I did try that as well , Nothing changes . It still cannot find the disk

  8. #8
    Linux Guru Lakshmipathi's Avatar
    Join Date
    Sep 2006
    Location
    3rd rock from sun - Often seen near moon
    Posts
    1,757
    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 ?
    First they ignore you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
    -----
    FOSS India Award winning ext3fs Undelete tool www.giis.co.in. Online Linux Terminal http://www.webminal.org

  9. #9
    Just 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 ?

  10. #10
    Linux Guru Lakshmipathi's Avatar
    Join Date
    Sep 2006
    Location
    3rd rock from sun - Often seen near moon
    Posts
    1,757
    Quote Originally Posted by shivanth View Post
    Did i miss a question ?
    Yes.Please read my above post again.
    First they ignore you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
    -----
    FOSS India Award winning ext3fs Undelete tool www.giis.co.in. Online Linux Terminal http://www.webminal.org

Page 1 of 2 1 2 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •