Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 11
Hi I am a new to linux and not having idea how to build kernel. I was having linux UBUNTU 2.6.29 kernel installed in my machine. So, after some time ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jul 2010
    Posts
    23

    ALERT! /dev/disk/by-uuid/3 does not exist. Dropping to a shell.


    Hi

    I am a new to linux and not having idea how to build kernel. I was having linux UBUNTU 2.6.29 kernel installed in my machine. So, after some time I had to build linux 2.6.33.2. So, I've built the new kernel but after that if I reboot I am getting below message -

    segmentaion fault
    segmentaion fault
    segmentaion fault
    segmentaion fault
    segmentaion fault
    segmentaion fault
    segmentaion fault
    segmentaion fault
    check root= bootarg cat /proc/cmdline
    or missing modules,devices: cat /proc/modules ls /dev
    segmentation failt
    segmentation failt
    segmentation failt
    ALERT! /dev/disk/by-uuid/c9286697-1ad7-429e-8e5f-4dadcfffd625 does not exist. Dropping to a shell!!!

    busybox v1.1.3 Built-in shell(ash)

    (initramfs)


    I've checked UUID in fstab and grub/menu.lst file, but not having UUID error.

    One more thing I have two hard drive /dev/sda1 and /dev/sdb1 but my boot partition is /dev/sda1.

    Manually I also changed /etc/fstab UUID to /dev/sda1, but not able to resolve it.

    I am able to still boot-up from my old kernel 2.6.29

    output of blkid
    /dev/sda5: TYPE="swap" UUID="7b6ce491-f6f3-49f5-bcbc-3bc544e1d9e2"
    /dev/sda1: UUID="c9286697-1ad7-429e-8e5f-4dadcfffd625" TYPE="ext3"
    /dev/sdb1: UUID="1b7f677c-8e16-4690-b662-64481caffdf2" TYPE="ext3" SEC_TYPE="ext2"
    /dev/sdb5: TYPE="swap" UUID="2352e0b4-7667-443e-8713-00ae121b12b3"

    and entry in my fstab
    # /etc/fstab: static file system information.
    #
    # <file system> <mount point> <type> <options> <dump> <pass>
    proc /proc proc defaults 0 0
    # /dev/sda1
    UUID=c9286697-1ad7-429e-8e5f-4dadcfffd625 / ext3 relatime,errors=remount-ro 0 1
    # /dev/sda5
    UUID=7b6ce491-f6f3-49f5-bcbc-3bc544e1d9e2 none swap sw 0 0
    /dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0
    /dev/sdb1 /mnt/sdb1 ext3 defaults 0 0


    please guide me about the same.

    Thanks.

  2. #2
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    Which version of Ubuntu are you using? We need to know about Boot Loader too. Is it GRUB2 or GRUB Legacy?
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  3. #3
    Just Joined!
    Join Date
    Jul 2010
    Posts
    23
    Quote Originally Posted by devils casper View Post
    Which version of Ubuntu are you using? We need to know about Boot Loader too. Is it GRUB2 or GRUB Legacy?
    I am using UBUNTU 8.04 and
    grub (GNU GRUB 0.97)

  4. $spacer_open
    $spacer_close
  5. #4
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    Post the contents of /boot/grub/grub.conf file here.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  6. #5
    Just Joined!
    Join Date
    Jul 2010
    Posts
    23
    Quote Originally Posted by devils casper View Post
    Post the contents of /boot/grub/grub.conf file here.
    I search for the mentioned file but I am not having grub.conf anywhere in my PC.

  7. #6
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    My Mistake ! Its /boot/grub/menu.lst file.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  8. #7
    Just Joined!
    Join Date
    Jul 2010
    Posts
    23
    Quote Originally Posted by devils casper View Post
    My Mistake ! Its /boot/grub/menu.lst file.
    # menu.lst - See: grub(, info grub, update-grub(
    # grub-install(, grub-floppy(,
    # grub-md5-crypt, /usr/share/doc/grub
    # and /usr/share/doc/grub-doc/.

    ## default num
    # Set the default entry to the entry number NUM. Numbering starts from 0, and
    # the entry number 0 is the default if the command is not used.
    #
    # You can specify 'saved' instead of a number. In this case, the default entry
    # is the entry saved with the command 'savedefault'.
    # WARNING: If you are using dmraid do not use 'savedefault' or your
    # array will desync and will not let you boot your system.
    default 3

    ## timeout sec
    # Set a timeout, in SEC seconds, before automatically booting the default entry
    # (normally the first entry defined).
    timeout 12

    ## hiddenmenu
    # Hides the menu by default (press ESC to see the menu)
    #hiddenmenu
    # Pretty colours
    #color cyan/blue white/blue
    ## password ['--md5'] passwd
    # If used in the first section of a menu file, disable all interactive editing
    # control (menu entry editor and command-line) and entries protected by the
    # command 'lock'

    # e.g. password topsecret
    # password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
    # password topsecret

    #
    # examples
    #
    # title Windows 95/98/NT/2000
    # root (hd0,0)
    # makeactive
    # chainloader +1
    #
    # title Linux
    # root (hd0,1)
    # kernel /vmlinuz root=/dev/hda2 ro
    #

    #
    # Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST

    ### BEGIN AUTOMAGIC KERNELS LIST

    ## lines between the AUTOMAGIC KERNELS LIST markers will be modified

    ## by the debian update-grub script except for the default options below

    ## DO NOT UNCOMMENT THEM, Just edit them to your needs
    ## ## Start Default Options ##
    ## default kernel options
    ## default kernel options for automagic boot options
    ## If you want special options for specific kernels use kopt_x_y_z
    ## where x.y.z is kernel version. Minor versions can be omitted.
    ## e.g. kopt=root=/dev/hda1 ro
    ## kopt_2_6_8=root=/dev/hdc1 ro
    ## kopt_2_6_8_2_686=root=/dev/hdc2 ro

    kopt=root=UUID=c9286697-1ad7-429e-8e5f-4dadcfffd625 ro

    ## Setup crashdump menu entries
    ## e.g. crashdump=1
    # crashdump=0


    ## default grub root device
    ## e.g. groot=(hd0,0)
    # groot=(hd0,0)

    ## should update-grub create alternative automagic boot options
    ## e.g. alternative=true
    ## alternative=false
    # alternative=true


    ## should update-grub lock alternative automagic boot options
    ## e.g. lockalternative=true
    ## lockalternative=false
    # lockalternative=false


    ## additional options to use with the default boot option, but not with the
    ## alternatives
    ## e.g. defoptions=vga=791 resume=/dev/hda5
    # defoptions=quiet splash

    ## should update-grub lock old automagic boot options
    ## e.g. lockold=false
    ## lockold=true
    # lockold=false

    ## Xen hypervisor options to use with the default Xen boot option
    # xenhopt=

    ## Xen Linux kernel options to use with the default Xen boot option
    # xenkopt=console=tty0

    ## altoption boot targets option
    ## multiple altoptions lines are allowed

    ## e.g. altoptions=(extra menu suffix) extra boot options
    ## altoptions=(recovery) single
    # altoptions=(recovery mode) single

    ## controls how many kernels should be put into the menu.lst
    ## only counts the first occurence of a kernel, not the
    ## alternative kernel options
    ## e.g. howmany=all
    ## howmany=7
    # howmany=all


    ## should update-grub create memtest86 boot option
    ## e.g. memtest86=true
    ## memtest86=false
    # memtest86=true

    ## should update-grub adjust the value of the default booted system
    ## can be true or false
    # updatedefaultentry=false

    ## should update-grub add savedefault to the default options
    ## can be true or false
    # savedefault=false


    ## ## End Default Options ##
    title Ubuntu 8.04, kernel 2.6.33-2
    root (hd0,0)
    kernel /boot/vmlinuz-2.6.33.2 root=UUID=c9286697-1ad7-429e-8e5f-4dadcfffd625 ro quiet splash vmalloc=256M
    initrd /boot/initrd.img-2.6.33.2
    quiet


    title Ubuntu 8.04, kernel 2.6.24-16-generic
    root (hd0,0)
    kernel /boot/vmlinuz-2.6.24-16-generic root=UUID=c9286697-1ad7-429e-8e5f-4dadcfffd625 ro quiet splash
    initrd /boot/initrd.img-2.6.24-16-generic
    quiet

    title Ubuntu 8.04, kernel 2.6.24-16-generic (recovery mode)
    root (hd0,0)
    kernel /boot/vmlinuz-2.6.24-16-generic root=UUID=c9286697-1ad7-429e-8e5f-4dadcfffd625 ro single
    initrd /boot/initrd.img-2.6.24-16-generic

    title Ubuntu 8.04, memtest86+
    root (hd0,0)
    kernel /boot/memtest86+.bin
    quiet


    ### END DEBIAN AUTOMAGIC KERNELS LIST


    title Ubuntu 8.04, kernel 2.6.29
    root (hd0,0)
    kernel /boot/vmlinuz-2.6.29 root=UUID=c9286697-1ad7-429e-8e5f-4dadcfffd625 ro splash vmalloc=256M
    initrd /boot/initrd.img-2.6.29
    quiet

  9. #8
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    Have you tried this :
    Code:
    title Ubuntu 8.04, kernel 2.6.33-2
    root (hd0,0)
    kernel /boot/vmlinuz-2.6.33.2 root=/dev/sda1 ro
    initrd /boot/initrd.img-2.6.33.2
    ?
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  10. #9
    Just Joined!
    Join Date
    Jul 2010
    Posts
    23
    Quote Originally Posted by devils casper View Post
    Have you tried this :
    Code:
    title Ubuntu 8.04, kernel 2.6.33-2
    root (hd0,0)
    kernel /boot/vmlinuz-2.6.33.2 root=/dev/sda1 ro
    initrd /boot/initrd.img-2.6.33.2
    ?
    Yes I already tried to put it into fstab and grub/menu.lst. but no luck

  11. #10
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    If any new error (other than errors listed in Post #1 ) doens't appear on removing quiet and splash, something is wrong with kernel only. Try to recompile it. Follow instructions from here.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

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
  •