Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 11
hi, im on a laptop with fedora16, which ran fine over half a year. today i booted it up and got the error above. i did not do any upgrades ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Oct 2012
    Posts
    8

    need help with f16, grub, dracut warning no root device


    hi, im on a laptop with fedora16, which ran fine over half a year. today i booted it up and got the error above. i did not do any upgrades or anything, at least not that i know of...i googled around and used this sscript to generate the output.

    sourceforge.net/projects/bootinfoscript

    the problem is that my system is looking for an UUID starting with 19A.... which is not in the list ... could anzone please help me?

    i do need help to get that szstem up again. here is the result:

    Boot Info Script 0.61 [1 April 2012]


    ============================= Boot Info Summary: ===============================

    => Grub2 (v1.99) is installed in the MBR of /dev/sda and looks at sector 2048
    of the same hard drive for core.img. core.img is at this location and
    looks for (,gpt2)/grub2 on this drive.

    sda1: __________________________________________________ ________________________

    File system: BIOS Boot partition
    Boot sector type: Grub2's core.img
    Boot sector info:

    sda2: __________________________________________________ ________________________

    File system: ext4
    Boot sector type: -
    Boot sector info:
    Operating System:
    Boot files: /grub2/grub.cfg /grub2/core.img

    sda3: __________________________________________________ ________________________

    File system:
    Boot sector type: Unknown
    Boot sector info:
    Mounting failed: mount: unknown filesystem type ''

    sda4: __________________________________________________ ________________________

    File system: swap
    Boot sector type: -
    Boot sector info:

    sda5: __________________________________________________ ________________________

    File system: ext4
    Boot sector type: -
    Boot sector info:
    Operating System:
    Boot files:

    ============================ Drive/Partition Info: =============================

    Drive: sda __________________________________________________ ___________________

    Disk /dev/sda: 500.1 GB, 500107862016 bytes
    255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes

    Partition Boot Start Sector End Sector # of Sectors Id System

    /dev/sda1 1 976,773,167 976,773,167 ee GPT


    GUID Partition Table detected.

    Partition Start Sector End Sector # of Sectors System
    /dev/sda1 2,048 4,095 2,048 BIOS Boot partition
    /dev/sda2 4,096 1,028,095 1,024,000 EFI System partition
    /dev/sda3 1,028,096 105,885,695 104,857,600 Data partition (Windows/Linux)
    /dev/sda4 105,885,696 117,878,783 11,993,088 Swap partition (Linux)
    /dev/sda5 117,878,784 976,773,119 858,894,336 Data partition (Windows/Linux)

    "blkid" output: __________________________________________________ ______________

    Device UUID TYPE LABEL

    /dev/loop0 squashfs
    /dev/sda2 b6184f71-8c7c-4452-9c89-0a3475b29dd3 ext4
    /dev/sda4 7a960625-d337-45b6-98da-b6c2ce25b7ac swap
    /dev/sda5 31b56f98-df6a-4099-a553-e4b23cff28f3 ext4

    ================================ Mount points: =================================

    Device Mount_Point Type Options

    /dev/loop0 /rofs squashfs (ro,noatime)
    /dev/sr0 /cdrom iso9660 (ro,noatime)


    ============================= sda2/grub2/grub.cfg: =============================

    --------------------------------------------------------------------------------
    #
    # DO NOT EDIT THIS FILE
    #
    # It is automatically generated by grub2-mkconfig using templates
    # from /etc/grub.d and settings from /etc/default/grub
    #

    ### BEGIN /etc/grub.d/00_header ###
    if [ -s $prefix/grubenv ]; then
    load_env
    fi
    set default="0"
    if [ "${prev_saved_entry}" ]; then
    set saved_entry="${prev_saved_entry}"
    save_env saved_entry
    set prev_saved_entry=
    save_env prev_saved_entry
    set boot_once=true
    fi

    function savedefault {
    if [ -z "${boot_once}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
    fi
    }

    function load_video {
    insmod vbe
    insmod vga
    insmod video_bochs
    insmod video_cirrus
    }

    set timeout=5
    ### END /etc/grub.d/00_header ###

    ### BEGIN /etc/grub.d/10_linux ###
    menuentry 'Fedora (3.4.9-2.fc16.x86_64)' --class fedora --class gnu-linux --class gnu --class os {
    load_video
    set gfxpayload=keep
    insmod gzio
    insmod part_gpt
    insmod ext2
    set root='(hd0,gpt2)'
    search --no-floppy --fs-uuid --set=root b6184f71-8c7c-4452-9c89-0a3475b29dd3
    echo 'Loading Fedora (3.4.9-2.fc16.x86_64)'
    linux /vmlinuz-3.4.9-2.fc16.x86_64 root=UUID=19630d66-dcfd-4b0b-a9ec-351b05e6c9ee ro rd.md=0 rd.lvm=0 rd.dm=0 KEYTABLE=us quiet SYSFONT=latarcyrheb-sun16 rhgb rd.luks=0 LANG=en_US.UTF-8
    echo 'Loading initial ramdisk ...'
    initrd /initramfs-3.4.9-2.fc16.x86_64.img
    }
    menuentry 'Fedora (3.4.7-1.fc16.x86_64)' --class fedora --class gnu-linux --class gnu --class os {
    load_video
    set gfxpayload=keep
    insmod gzio
    insmod part_gpt
    insmod ext2
    set root='(hd0,gpt2)'
    search --no-floppy --fs-uuid --set=root b6184f71-8c7c-4452-9c89-0a3475b29dd3
    echo 'Loading Fedora (3.4.7-1.fc16.x86_64)'
    linux /vmlinuz-3.4.7-1.fc16.x86_64 root=UUID=19630d66-dcfd-4b0b-a9ec-351b05e6c9ee ro rd.md=0 rd.lvm=0 rd.dm=0 KEYTABLE=us quiet SYSFONT=latarcyrheb-sun16 rhgb rd.luks=0 LANG=en_US.UTF-8
    echo 'Loading initial ramdisk ...'
    initrd /initramfs-3.4.7-1.fc16.x86_64.img
    }
    menuentry 'Fedora (3.3.8-1.fc16.x86_64)' --class fedora --class gnu-linux --class gnu --class os {
    load_video
    set gfxpayload=keep
    insmod gzio
    insmod part_gpt
    insmod ext2
    set root='(hd0,gpt2)'
    search --no-floppy --fs-uuid --set=root b6184f71-8c7c-4452-9c89-0a3475b29dd3
    echo 'Loading Fedora (3.3.8-1.fc16.x86_64)'
    linux /vmlinuz-3.3.8-1.fc16.x86_64 root=UUID=19630d66-dcfd-4b0b-a9ec-351b05e6c9ee ro rd.md=0 rd.lvm=0 rd.dm=0 KEYTABLE=us quiet SYSFONT=latarcyrheb-sun16 rhgb rd.luks=0 LANG=en_US.UTF-8
    echo 'Loading initial ramdisk ...'
    initrd /initramfs-3.3.8-1.fc16.x86_64.img
    }
    ### END /etc/grub.d/10_linux ###

    ### BEGIN /etc/grub.d/20_linux_xen ###
    ### END /etc/grub.d/20_linux_xen ###

    ### BEGIN /etc/grub.d/30_os-prober ###
    ### END /etc/grub.d/30_os-prober ###

    ### BEGIN /etc/grub.d/40_custom ###
    # This file provides an easy way to add custom menu entries. Simply type the
    # menu entries you want to add after this comment. Be careful not to change
    # the 'exec tail' line above.
    ### END /etc/grub.d/40_custom ###

    ### BEGIN /etc/grub.d/41_custom ###
    if [ -f $prefix/custom.cfg ]; then
    source $prefix/custom.cfg;
    fi
    ### END /etc/grub.d/41_custom ###

    ### BEGIN /etc/grub.d/90_persistent ###
    ### END /etc/grub.d/90_persistent ###
    --------------------------------------------------------------------------------

    =================== sda2: Location of files loaded by Grub: ====================

    GiB - GB File Fragment(s)

    0.027341843 = 0.029358080 grub2/core.img 1
    0.010748863 = 0.011541504 grub2/grub.cfg 2
    0.063186646 = 0.067846144 initramfs-3.3.8-1.fc16.x86_64.img 3
    0.145484924 = 0.156213248 initramfs-3.4.7-1.fc16.x86_64.img 2
    0.079322815 = 0.085172224 initramfs-3.4.9-2.fc16.x86_64.img 4
    0.045835495 = 0.049215488 initrd-plymouth.img 1
    0.031699181 = 0.034036736 vmlinuz-3.3.8-1.fc16.x86_64 1
    0.111823082 = 0.120069120 vmlinuz-3.4.7-1.fc16.x86_64 1
    0.024262428 = 0.026051584 vmlinuz-3.4.9-2.fc16.x86_64 1

    ======================== Unknown MBRs/Boot Sectors/etc: ========================

    Unknown BootLoader on sda3

    00000000 00 00 28 00 10 00 28 00 20 00 28 00 d6 58 02 00 |..(...(. .(..X..|
    00000010 46 02 04 00 00 00 00 00 00 00 00 00 00 00 6c 2a |F.............l*|
    00000020 01 00 28 00 11 00 28 00 20 02 28 00 00 00 a3 05 |..(...(. .(.....|
    00000030 71 04 04 00 00 00 00 00 00 00 00 00 09 02 10 62 |q..............b|
    00000040 02 00 28 00 12 00 28 00 20 04 28 00 6f 12 00 20 |..(...(. .(.o.. |
    00000050 00 00 05 00 00 00 00 00 00 00 00 00 00 20 26 82 |............. &.|
    00000060 03 00 28 00 13 00 28 00 20 06 28 00 41 30 00 20 |..(...(. .(.A0. |
    00000070 00 00 05 00 00 00 00 00 00 00 00 00 00 20 2c a9 |............. ,.|
    00000080 04 00 28 00 14 00 28 00 20 08 28 00 05 43 00 20 |..(...(. .(..C. |
    00000090 00 00 05 00 00 00 00 00 00 00 00 00 00 20 a9 c5 |............. ..|
    000000a0 05 00 28 00 15 00 28 00 20 0a 28 00 1f 72 00 20 |..(...(. .(..r. |
    000000b0 00 00 05 00 00 00 00 00 00 00 00 00 00 20 10 e5 |............. ..|
    000000c0 06 00 28 00 16 00 28 00 20 0c 28 00 00 80 00 20 |..(...(. .(.... |
    000000d0 00 00 05 00 00 00 00 00 00 00 00 00 00 20 ac c5 |............. ..|
    000000e0 07 00 28 00 17 00 28 00 20 0e 28 00 00 80 00 20 |..(...(. .(.... |
    000000f0 00 00 05 00 00 00 00 00 00 00 00 00 00 20 77 65 |............. we|
    00000100 08 00 28 00 18 00 28 00 20 10 28 00 00 80 00 20 |..(...(. .(.... |
    00000110 00 00 05 00 00 00 00 00 00 00 00 00 00 20 a7 c1 |............. ..|
    00000120 09 00 28 00 19 00 28 00 20 12 28 00 00 80 00 20 |..(...(. .(.... |
    00000130 00 00 05 00 00 00 00 00 00 00 00 00 00 20 7c 61 |............. |a|
    00000140 0a 00 28 00 1a 00 28 00 20 14 28 00 00 80 00 20 |..(...(. .(.... |
    00000150 00 00 05 00 00 00 00 00 00 00 00 00 00 20 12 c0 |............. ..|
    00000160 0b 00 28 00 1b 00 28 00 20 16 28 00 00 80 00 20 |..(...(. .(.... |
    00000170 00 00 05 00 00 00 00 00 00 00 00 00 00 20 c9 60 |............. .`|
    00000180 0c 00 28 00 1c 00 28 00 20 18 28 00 00 80 00 20 |..(...(. .(.... |
    00000190 00 00 05 00 00 00 00 00 00 00 00 00 00 20 cd c2 |............. ..|
    000001a0 0d 00 28 00 1d 00 28 00 20 1a 28 00 00 80 00 20 |..(...(. .(.... |
    000001b0 00 00 05 00 00 00 00 00 00 00 00 00 00 20 16 62 |............. .b|
    000001c0 0e 00 28 00 1e 00 28 00 20 1c 28 00 00 80 00 20 |..(...(. .(.... |
    000001d0 00 00 05 00 00 00 00 00 00 00 00 00 00 20 78 c3 |............. x.|
    000001e0 0f 00 28 00 1f 00 28 00 20 1e 28 00 00 80 00 20 |..(...(. .(.... |
    000001f0 00 00 05 00 00 00 00 00 00 00 00 00 00 20 a3 63 |............. .c|
    00000200


    =============================== StdErr Messages: ===============================

    lzma: Decoder error

  2. #2
    Linux Guru
    Join Date
    Oct 2007
    Location
    Tucson AZ
    Posts
    3,102
    You have updated your kernel at least two times as you can see by looking at the grub.cfg output. You have a /boot partition (sda1) and your filesystem for Fedora (sda2) both of which contain the core.img file and sda2 has all the other boot files. Interesting that the output above does not show any uuid for sda1 or sda3, don't know why? If you look at the Fedora entries, they all have the correct uuid on the "search --no floppy" line but the "linux..." line just below has a different uuid "1963...". Not sure where that came from. You might try changing the second uuid entry to the original one from the search line. Some distributions use the swap uuid on the second line. These are all guesses as I am not familiar with GPT and don't know what difference, if any that might make. Before doing any of these changes, I would suggest making a backup copy of the current grub.cfg file to your /home/user directory.

  3. #3
    Just Joined!
    Join Date
    Oct 2012
    Posts
    8
    thx, ill try to plaz around with it. im not an expert either, so im kinda lost
    thx anzways

  4. #4
    Just Joined!
    Join Date
    Oct 2012
    Posts
    8
    i have also tried a fedora rescue dvd, but that tells me there are no partitions ont the drive...not gettin this...anzone?

  5. #5
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    Have you tried to re-install GRUB using Fedora 16 LiveCD/USB?
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  6. #6
    Just Joined!
    Join Date
    Oct 2012
    Posts
    8
    hi,
    no i havent. i only booted up F16DvD to start the rescue system and hoped that would kinda fix it, but it told me there are no partitions...??


    if i do the f16 livecd, where can i reinstall the grub part?
    thx

  7. #7
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    Boot up from Fedora 16 LiveCD/USB and execute this in Terminal :
    Code:
    su -
    mount /dev/sda5 /mnt
    sudo grub-install --root-directory=/mnt /dev/sda
    umount /dev/sda5
    exit
    In case it doesn't work, post the output of fdisk -l command here.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  8. #8
    Just Joined!
    Join Date
    Oct 2012
    Posts
    8
    i dont have sudo, nor does it know the command grub-install. ideas?

  9. #9
    Just Joined!
    Join Date
    Oct 2012
    Posts
    8
    ok it was called grub2-install.
    installation finished. no errors reported.
    exit ^ reboot
    now i am at a GRUB prompt with dozen of possible commands
    -----------fdisk -l will follow

  10. #10
    Just Joined!
    Join Date
    Oct 2012
    Posts
    8
    -----------fdisk -l------------
    [liveuser@localhost ~]$ su
    [root@localhost liveuser]# fdisk -l

    WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.


    Disk /dev/sda: 500.1 GB, 500107862016 bytes
    255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x00000000

    Device Boot Start End Blocks Id System
    /dev/sda1 1 976773167 488386583+ ee GPT

    Disk /dev/mapper/live-rw: 4294 MB, 4294967296 bytes
    255 heads, 63 sectors/track, 522 cylinders, total 8388608 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x00000000

    Disk /dev/mapper/live-rw doesn't contain a valid partition table

    Disk /dev/mapper/live-osimg-min: 4294 MB, 4294967296 bytes
    255 heads, 63 sectors/track, 522 cylinders, total 8388608 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x00000000

    Disk /dev/mapper/live-osimg-min doesn't contain a valid partition table
    [root@localhost liveuser]#

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
  •