Upgrading from F16 to F17. F17 boot fails because dracut can't find the root partition, which is listed by uuid. This is the same uuid used in F16, and when I run blkid at the dracut prompt : there it is!
And yes, I've checked character by character.
I changed fstab to use /dev/sda2, but that doesn't help. How do I edit grub2 to point to /dev/sda2 so at least I can boot?
And anyone know why dracut is having such a problem with uuid?
sean
Not sure how to do this, since it won't boot. I'll try to email out of a Live boot.
sean
On 08/26/2012 05:00 AM, Heinz Diehl wrote:
On 26.08.2012, sean darcy wrote:
And anyone know why dracut is having such a problem with uuid?
I've never encountered a single problem with dracut and uuids. Can you please post your /boot/grub2/grub.cfg and the output of "blkid /dev/your/root/partition"?
On 26.08.2012, sean darcy wrote:
Not sure how to do this, since it won't boot. I'll try to email out of a Live boot.
You can e.g. use sysresccd. Download an image here:
You could e.g. run isohybrid on the image and copy it to an USB memory stick and boot from it afterwards:
isohybrid image.iso cat image.iso > /dev/sdX
And you are ready to go.
On 08/26/2012 02:10 PM, Heinz Diehl wrote:
On 26.08.2012, sean darcy wrote:
Not sure how to do this, since it won't boot. I'll try to email out of a Live boot.
You can e.g. use sysresccd. Download an image here:
You could e.g. run isohybrid on the image and copy it to an USB memory stick and boot from it afterwards:
isohybrid image.iso cat image.iso > /dev/sdX
And you are ready to go.
Did it slightly differently. Booted up the F17 Live cd. Then ran blkid and cat'd grub.cfg. But will download sysresccd. Looks like a better way.
[liveuser@localhost ~]$ blkid /dev/sda2 /dev/sda2: LABEL="root" UUID="89afb6ff-4fb2-4602-94b5-99dbf022b100" TYPE="ext4"
cat /run/media/liveuser/boot/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="${saved_entry}"
if [ x"${feature_menuentry_id}" = xy ]; then menuentry_id_option="--id" else menuentry_id_option="" fi
export menuentry_id_option
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 { if [ x$feature_all_video_module = xy ]; then insmod all_video else insmod efi_gop insmod efi_uga insmod ieee1275_fb insmod vbe insmod vga insmod video_bochs insmod video_cirrus fi }
if [ x$feature_default_font_path = xy ] ; then font=unicode else insmod part_msdos insmod ext2 set root='hd0,msdos2' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 --hint='hd0,msdos2' 89afb6ff-4fb2-4602-94b5-99dbf022b100 else search --no-floppy --fs-uuid --set=root 89afb6ff-4fb2-4602-94b5-99dbf022b100 fi font="/usr/share/grub/unicode.pf2" fi
if loadfont $font ; then set gfxmode=auto load_video insmod gfxterm set locale_dir=$prefix/locale set lang=en_US insmod gettext fi terminal_output gfxterm set timeout=5 ### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/10_linux ### menuentry 'Fedora' --class fedora --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-89afb6ff-4fb2-4602-94b5-99dbf022b100' { load_video set gfxpayload=keep insmod gzio insmod part_msdos insmod ext2 set root='hd0,msdos1' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 --hint='hd0,msdos1' 8a6ce784-d86f-4450-89f1-1aaea04e6bc9 else search --no-floppy --fs-uuid --set=root 8a6ce784-d86f-4450-89f1-1aaea04e6bc9 fi echo 'Loading Linux 3.5.2-3.fc17.x86_64 ...' linux /vmlinuz-3.5.2-3.fc17.x86_64 root=UUID=89afb6ff-4fb2-4602-94b5-99dbf022b100 ro rd.md=0 rd.lvm=0 rd.dm=0 SYSFONT=latarcyrheb-sun16 KEYTABLE=us rd.luks=0 LANG=en_US.UTF-8 echo 'Loading initial ramdisk ...' initrd /initramfs-3.5.2-3.fc17.x86_64.img } submenu 'Advanced options for Fedora' $menuentry_id_option 'gnulinux-advanced-89afb6ff-4fb2-4602-94b5-99dbf022b100' { menuentry 'Fedora, with Linux 3.5.2-3.fc17.x86_64' --class fedora --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.5.2-3.fc17.x86_64-advanced-89afb6ff-4fb2-4602-94b5-99dbf022b100' { load_video set gfxpayload=keep insmod gzio insmod part_msdos insmod ext2 set root='hd0,msdos1' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 --hint='hd0,msdos1' 8a6ce784-d86f-4450-89f1-1aaea04e6bc9 else search --no-floppy --fs-uuid --set=root 8a6ce784-d86f-4450-89f1-1aaea04e6bc9 fi echo 'Loading Linux 3.5.2-3.fc17.x86_64 ...' linux /vmlinuz-3.5.2-3.fc17.x86_64 root=UUID=89afb6ff-4fb2-4602-94b5-99dbf022b100 ro rd.md=0 rd.lvm=0 rd.dm=0 SYSFONT=latarcyrheb-sun16 KEYTABLE=us rd.luks=0 LANG=en_US.UTF-8 echo 'Loading initial ramdisk ...' initrd /initramfs-3.5.2-3.fc17.x86_64.img } menuentry 'Fedora, with Linux 3.5.2-3.fc17.x86_64 (recovery mode)' --class fedora --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.5.2-3.fc17.x86_64-recovery-89afb6ff-4fb2-4602-94b5-99dbf022b100' { load_video set gfxpayload=keep insmod gzio insmod part_msdos insmod ext2 set root='hd0,msdos1' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 --hint='hd0,msdos1' 8a6ce784-d86f-4450-89f1-1aaea04e6bc9 else search --no-floppy --fs-uuid --set=root 8a6ce784-d86f-4450-89f1-1aaea04e6bc9 fi echo 'Loading Linux 3.5.2-3.fc17.x86_64 ...' linux /vmlinuz-3.5.2-3.fc17.x86_64 root=UUID=89afb6ff-4fb2-4602-94b5-99dbf022b100 ro single rd.md=0 rd.lvm=0 rd.dm=0 SYSFONT=latarcyrheb-sun16 KEYTABLE=us rd.luks=0 LANG=en_US.UTF-8 echo 'Loading initial ramdisk ...' initrd /initramfs-3.5.2-3.fc17.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/20_ppc_terminfo ### ### END /etc/grub.d/20_ppc_terminfo ###
### 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 ${config_directory}/custom.cfg ]; then source ${config_directory}/custom.cfg elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then source $prefix/custom.cfg; fi ### END /etc/grub.d/41_custom ### [root@jay-samsung sdb1]# cat output [liveuser@localhost ~]$ blkid /dev/sda2 /dev/sda2: LABEL="root" UUID="89afb6ff-4fb2-4602-94b5-99dbf022b100" TYPE="ext4"
cat /run/media/liveuser/boot/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="${saved_entry}"
if [ x"${feature_menuentry_id}" = xy ]; then menuentry_id_option="--id" else menuentry_id_option="" fi
export menuentry_id_option
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 { if [ x$feature_all_video_module = xy ]; then insmod all_video else insmod efi_gop insmod efi_uga insmod ieee1275_fb insmod vbe insmod vga insmod video_bochs insmod video_cirrus fi }
if [ x$feature_default_font_path = xy ] ; then font=unicode else insmod part_msdos insmod ext2 set root='hd0,msdos2' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 --hint='hd0,msdos2' 89afb6ff-4fb2-4602-94b5-99dbf022b100 else search --no-floppy --fs-uuid --set=root 89afb6ff-4fb2-4602-94b5-99dbf022b100 fi font="/usr/share/grub/unicode.pf2" fi
if loadfont $font ; then set gfxmode=auto load_video insmod gfxterm set locale_dir=$prefix/locale set lang=en_US insmod gettext fi terminal_output gfxterm set timeout=5 ### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/10_linux ### menuentry 'Fedora' --class fedora --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-89afb6ff-4fb2-4602-94b5-99dbf022b100' { load_video set gfxpayload=keep insmod gzio insmod part_msdos insmod ext2 set root='hd0,msdos1' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 --hint='hd0,msdos1' 8a6ce784-d86f-4450-89f1-1aaea04e6bc9 else search --no-floppy --fs-uuid --set=root 8a6ce784-d86f-4450-89f1-1aaea04e6bc9 fi echo 'Loading Linux 3.5.2-3.fc17.x86_64 ...' linux /vmlinuz-3.5.2-3.fc17.x86_64 root=UUID=89afb6ff-4fb2-4602-94b5-99dbf022b100 ro rd.md=0 rd.lvm=0 rd.dm=0 SYSFONT=latarcyrheb-sun16 KEYTABLE=us rd.luks=0 LANG=en_US.UTF-8 echo 'Loading initial ramdisk ...' initrd /initramfs-3.5.2-3.fc17.x86_64.img } submenu 'Advanced options for Fedora' $menuentry_id_option 'gnulinux-advanced-89afb6ff-4fb2-4602-94b5-99dbf022b100' { menuentry 'Fedora, with Linux 3.5.2-3.fc17.x86_64' --class fedora --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.5.2-3.fc17.x86_64-advanced-89afb6ff-4fb2-4602-94b5-99dbf022b100' { load_video set gfxpayload=keep insmod gzio insmod part_msdos insmod ext2 set root='hd0,msdos1' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 --hint='hd0,msdos1' 8a6ce784-d86f-4450-89f1-1aaea04e6bc9 else search --no-floppy --fs-uuid --set=root 8a6ce784-d86f-4450-89f1-1aaea04e6bc9 fi echo 'Loading Linux 3.5.2-3.fc17.x86_64 ...' linux /vmlinuz-3.5.2-3.fc17.x86_64 root=UUID=89afb6ff-4fb2-4602-94b5-99dbf022b100 ro rd.md=0 rd.lvm=0 rd.dm=0 SYSFONT=latarcyrheb-sun16 KEYTABLE=us rd.luks=0 LANG=en_US.UTF-8 echo 'Loading initial ramdisk ...' initrd /initramfs-3.5.2-3.fc17.x86_64.img } menuentry 'Fedora, with Linux 3.5.2-3.fc17.x86_64 (recovery mode)' --class fedora --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.5.2-3.fc17.x86_64-recovery-89afb6ff-4fb2-4602-94b5-99dbf022b100' { load_video set gfxpayload=keep insmod gzio insmod part_msdos insmod ext2 set root='hd0,msdos1' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 --hint='hd0,msdos1' 8a6ce784-d86f-4450-89f1-1aaea04e6bc9 else search --no-floppy --fs-uuid --set=root 8a6ce784-d86f-4450-89f1-1aaea04e6bc9 fi echo 'Loading Linux 3.5.2-3.fc17.x86_64 ...' linux /vmlinuz-3.5.2-3.fc17.x86_64 root=UUID=89afb6ff-4fb2-4602-94b5-99dbf022b100 ro single rd.md=0 rd.lvm=0 rd.dm=0 SYSFONT=latarcyrheb-sun16 KEYTABLE=us rd.luks=0 LANG=en_US.UTF-8 echo 'Loading initial ramdisk ...' initrd /initramfs-3.5.2-3.fc17.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/20_ppc_terminfo ### ### END /etc/grub.d/20_ppc_terminfo ###
### 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 ${config_directory}/custom.cfg ]; then source ${config_directory}/custom.cfg elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then source $prefix/custom.cfg; fi ### END /etc/grub.d/41_custom ###
sean
On 26.08.2012, sean darcy wrote:
[liveuser@localhost ~]$ blkid /dev/sda2 /dev/sda2: LABEL="root" UUID="89afb6ff-4fb2-4602-94b5-99dbf022b100" TYPE="ext4"
I can't find something wrong in your grub.cfg. What do you see when you try to boot, are there any errors / is there any related output on the screen when it fails?
Have you looked into device.map, if your devices are listed correct?
If you want to boot from absolute device, write "root=/dev/sda2" into your grub.cfg.
If this is not working either and nobody has a clue what's going on, I would try to reinstall grub2 via grub2-install, after booting from an external media. You can avoid chrooting by using the --root-device parameter. Mount your root-partition on /mnt:
grub2-install --root-directory=/mnt /dev/sda
I'm not quite shure it is a problem with dracut, but without any further information it will be impossible to be more precise.
On 08/26/2012 04:45 PM, Heinz Diehl wrote:
On 26.08.2012, sean darcy wrote:
[liveuser@localhost ~]$ blkid /dev/sda2 /dev/sda2: LABEL="root" UUID="89afb6ff-4fb2-4602-94b5-99dbf022b100" TYPE="ext4"
I can't find something wrong in your grub.cfg. What do you see when you try to boot, are there any errors / is there any related output on the screen when it fails?
Have you looked into device.map, if your devices are listed correct?
If you want to boot from absolute device, write "root=/dev/sda2" into your grub.cfg.
If this is not working either and nobody has a clue what's going on, I would try to reinstall grub2 via grub2-install, after booting from an external media. You can avoid chrooting by using the --root-device parameter. Mount your root-partition on /mnt:
grub2-install --root-directory=/mnt /dev/sda
I'm not quite shure it is a problem with dracut, but without any further information it will be impossible to be more precise.
Trying to do grub2-install from the F17 Live CD. I think I need to mount both / and /boot. Then I'd use --boot-directory to point to /boot. But I'm puzzled about how to specify /root. --root-directory is now deprecated in favor of --efi-directory. But that's specific for UEFI, whatever that is.
sean
On 08/26/2012 04:45 PM, Heinz Diehl wrote:
On 26.08.2012, sean darcy wrote:
[liveuser@localhost ~]$ blkid /dev/sda2 /dev/sda2: LABEL="root" UUID="89afb6ff-4fb2-4602-94b5-99dbf022b100" TYPE="ext4"
I can't find something wrong in your grub.cfg. What do you see when you try to boot, are there any errors / is there any related output on the screen when it fails?
Have you looked into device.map, if your devices are listed correct?
If you want to boot from absolute device, write "root=/dev/sda2" into your grub.cfg.
If this is not working either and nobody has a clue what's going on, I would try to reinstall grub2 via grub2-install, after booting from an external media. You can avoid chrooting by using the --root-device parameter. Mount your root-partition on /mnt:
grub2-install --root-directory=/mnt /dev/sda
I'm not quite shure it is a problem with dracut, but without any further information it will be impossible to be more precise.
FWIW, On boot here's the final screen.
dracut-018-98.git20120813.fc17 starts dracut removes cryptluks dracut removes lvm udevd starts dract starts plymouth dracut removes DM RAID dracut removes MD RAID ata_id[273]: unable to open '$devnode' ata_id[275]: unable to open '$devnode' dracut unable to process initqueue dracut warning: /dev/disk/by-uuid/89af.... does not exist
dropping to debug shell
sean
On 08/26/2012 05:55 PM, sean darcy wrote:
On 08/26/2012 04:45 PM, Heinz Diehl wrote:
On 26.08.2012, sean darcy wrote:
[liveuser@localhost ~]$ blkid /dev/sda2 /dev/sda2: LABEL="root" UUID="89afb6ff-4fb2-4602-94b5-99dbf022b100" TYPE="ext4"
I can't find something wrong in your grub.cfg. What do you see when you try to boot, are there any errors / is there any related output on the screen when it fails?
Have you looked into device.map, if your devices are listed correct?
If you want to boot from absolute device, write "root=/dev/sda2" into your grub.cfg.
If this is not working either and nobody has a clue what's going on, I would try to reinstall grub2 via grub2-install, after booting from an external media. You can avoid chrooting by using the --root-device parameter. Mount your root-partition on /mnt:
grub2-install --root-directory=/mnt /dev/sda
I'm not quite shure it is a problem with dracut, but without any further information it will be impossible to be more precise.
Trying to do grub2-install from the F17 Live CD. I think I need to mount both / and /boot. Then I'd use --boot-directory to point to /boot. But I'm puzzled about how to specify /root. --root-directory is now deprecated in favor of --efi-directory. But that's specific for UEFI, whatever that is.
sean
Used the net.iso disk to chroot into the install. Then tried grub2-install. That completed successfully. Then rebooted. Same problem.
Really odd.
Do I replace the uuid with /dev/sda2 everyplace it appears in grub.cfg?
sean
On 08/26/2012 08:07 PM, sean darcy wrote:
On 08/26/2012 05:55 PM, sean darcy wrote:
On 08/26/2012 04:45 PM, Heinz Diehl wrote:
On 26.08.2012, sean darcy wrote:
[liveuser@localhost ~]$ blkid /dev/sda2 /dev/sda2: LABEL="root" UUID="89afb6ff-4fb2-4602-94b5-99dbf022b100" TYPE="ext4"
I can't find something wrong in your grub.cfg. What do you see when you try to boot, are there any errors / is there any related output on the screen when it fails?
Have you looked into device.map, if your devices are listed correct?
If you want to boot from absolute device, write "root=/dev/sda2" into your grub.cfg.
If this is not working either and nobody has a clue what's going on, I would try to reinstall grub2 via grub2-install, after booting from an external media. You can avoid chrooting by using the --root-device parameter. Mount your root-partition on /mnt:
grub2-install --root-directory=/mnt /dev/sda
I'm not quite shure it is a problem with dracut, but without any further information it will be impossible to be more precise.
Trying to do grub2-install from the F17 Live CD. I think I need to mount both / and /boot. Then I'd use --boot-directory to point to /boot. But I'm puzzled about how to specify /root. --root-directory is now deprecated in favor of --efi-directory. But that's specific for UEFI, whatever that is.
sean
Used the net.iso disk to chroot into the install. Then tried grub2-install. That completed successfully. Then rebooted. Same problem.
Really odd.
Do I replace the uuid with /dev/sda2 everyplace it appears in grub.cfg?
sean
Can you boot from an older kernel? If yes, then yum -y re-install kernel-....... (i.e. the one you are unable to boot up).
On 27.08.2012, sean darcy wrote:
ata_id[273]: unable to open '$devnode' ata_id[275]: unable to open '$devnode' dracut unable to process initqueue dracut warning: /dev/disk/by-uuid/89af.... does not exist
Looks like this bug: https://bugzilla.redhat.com/show_bug.cgi?format=multiple&id=827997
You could try to force-install a new fresh kernel (rpm -Uvh --force kernel.rpm) and recreating grub.cfg afterwards. Seems to be a problem with one of the Fedora kernels.
On 08/27/2012 11:03 AM, Heinz Diehl wrote:
On 27.08.2012, sean darcy wrote:
ata_id[273]: unable to open '$devnode' ata_id[275]: unable to open '$devnode' dracut unable to process initqueue dracut warning: /dev/disk/by-uuid/89af.... does not exist
Looks like this bug: https://bugzilla.redhat.com/show_bug.cgi?format=multiple&id=827997
You could try to force-install a new fresh kernel (rpm -Uvh --force kernel.rpm) and recreating grub.cfg afterwards. Seems to be a problem with one of the Fedora kernels.
Finally got it to boot. Used /dev/sda2 instead of UUID. BTW, using root=LABEL gives same devnode error.
I'll try to force-install kernel.rpm. But which kernel? Does it matter? The most recent F17 kernel on koji is 3.5.2-3, which is that same kernel now installed!
sean
On 08/27/2012 10:35 AM, sean darcy uttered this comment:
On 08/27/2012 11:03 AM, Heinz Diehl wrote:
On 27.08.2012, sean darcy wrote:
ata_id[273]: unable to open '$devnode' ata_id[275]: unable to open '$devnode' dracut unable to process initqueue dracut warning: /dev/disk/by-uuid/89af.... does not exist
Looks like this bug: https://bugzilla.redhat.com/show_bug.cgi?format=multiple&id=827997
You could try to force-install a new fresh kernel (rpm -Uvh --force kernel.rpm) and recreating grub.cfg afterwards. Seems to be a problem with one of the Fedora kernels.
Finally got it to boot. Used /dev/sda2 instead of UUID. BTW, using root=LABEL gives same devnode error.
I'll try to force-install kernel.rpm. But which kernel? Does it matter? The most recent F17 kernel on koji is 3.5.2-3, which is that same kernel now installed!
IIRC, if you specify "LABEL=" and "UUID=", the device must match both (it's a logical AND). You said that the UUID was correct, so odds are the label isn't correct. Check via "e2label /dev/sda2".
My $0.02: choose either "LABEL=" or "UUID=", but not both. Or skip it all and use the device. Chances are that the UUID will be more unique so I'd use that. ---------------------------------------------------------------------- - Rick Stevens, Systems Engineer, AllDigital ricks@alldigital.com - - AIM/Skype: therps2 ICQ: 22643734 Yahoo: origrps2 - - - - When in doubt, mumble. - ----------------------------------------------------------------------
On 08/27/2012 01:40 PM, Rick Stevens wrote:
On 08/27/2012 10:35 AM, sean darcy uttered this comment:
On 08/27/2012 11:03 AM, Heinz Diehl wrote:
On 27.08.2012, sean darcy wrote:
ata_id[273]: unable to open '$devnode' ata_id[275]: unable to open '$devnode' dracut unable to process initqueue dracut warning: /dev/disk/by-uuid/89af.... does not exist
Looks like this bug: https://bugzilla.redhat.com/show_bug.cgi?format=multiple&id=827997
You could try to force-install a new fresh kernel (rpm -Uvh --force kernel.rpm) and recreating grub.cfg afterwards. Seems to be a problem with one of the Fedora kernels.
Finally got it to boot. Used /dev/sda2 instead of UUID. BTW, using root=LABEL gives same devnode error.
I'll try to force-install kernel.rpm. But which kernel? Does it matter? The most recent F17 kernel on koji is 3.5.2-3, which is that same kernel now installed!
IIRC, if you specify "LABEL=" and "UUID=", the device must match both (it's a logical AND). You said that the UUID was correct, so odds are the label isn't correct. Check via "e2label /dev/sda2".
My $0.02: choose either "LABEL=" or "UUID=", but not both. Or skip it all and use the device. Chances are that the UUID will be more unique so I'd use that.
- Rick Stevens, Systems Engineer, AllDigital ricks@alldigital.com -
- AIM/Skype: therps2 ICQ: 22643734 Yahoo: origrps2 -
-
When in doubt, mumble. -
I may have been confusing - I used LABEL _instead of_ UUID. The label came from blkid. I think LABEL is subject to the same bug as UUID.
sean
On 27.08.2012, sean darcy wrote:
Finally got it to boot. Used /dev/sda2 instead of UUID. BTW, using root=LABEL gives same devnode error.
Nice to hear!
I'll try to force-install kernel.rpm. But which kernel? Does it matter? The most recent F17 kernel on koji is 3.5.2-3, which is that same kernel now installed!
Now that it works, I would strongly suggest that you don't overwrite your actually working configuration and kernel. There's clearly something wrong, because booting via uuid has been working all the time.
You could make a copy og grub.cfg and your initramfs and store it in a safe place, add the correct uuid in grub.cfg again and recreate the initramfs with "dracut -f" and try to reboot. If it fails, you can copy back your working config and initramfs.
I have never used any Fedora kernels any longer than for installation and have no clue if you can install the same versions in parallel. Most probably you'll have to rename one of them and recompile it. Otherwise, you could just compile your own kernel (e.g. actual stable from kernel.org), it will live peacefully together with your installed Fedora kernel.
In case you are not familiar with compiling your own kernel, you could do it this way:
1. download actual stable from kernel.org and unpack it into /usr/src. 2. Take the .config of your installed Fedora kernel (from /boot) and copy it into your sourcetree as ".config". 3. "make oldconfig" 4. "make -jx" (where the x is the number of your available CPU-cores/threads) 5. "make modules_install" 6. "make install" 7. That's it - reboot now.
On 08/27/2012 10:51 AM, sean darcy uttered this comment:
On 08/27/2012 01:40 PM, Rick Stevens wrote:
On 08/27/2012 10:35 AM, sean darcy uttered this comment:
On 08/27/2012 11:03 AM, Heinz Diehl wrote:
On 27.08.2012, sean darcy wrote:
ata_id[273]: unable to open '$devnode' ata_id[275]: unable to open '$devnode' dracut unable to process initqueue dracut warning: /dev/disk/by-uuid/89af.... does not exist
Looks like this bug: https://bugzilla.redhat.com/show_bug.cgi?format=multiple&id=827997
You could try to force-install a new fresh kernel (rpm -Uvh --force kernel.rpm) and recreating grub.cfg afterwards. Seems to be a problem with one of the Fedora kernels.
Finally got it to boot. Used /dev/sda2 instead of UUID. BTW, using root=LABEL gives same devnode error.
I'll try to force-install kernel.rpm. But which kernel? Does it matter? The most recent F17 kernel on koji is 3.5.2-3, which is that same kernel now installed!
IIRC, if you specify "LABEL=" and "UUID=", the device must match both (it's a logical AND). You said that the UUID was correct, so odds are the label isn't correct. Check via "e2label /dev/sda2".
My $0.02: choose either "LABEL=" or "UUID=", but not both. Or skip it all and use the device. Chances are that the UUID will be more unique so I'd use that.
I may have been confusing - I used LABEL _instead of_ UUID. The label came from blkid. I think LABEL is subject to the same bug as UUID.
I misread your post. I thought your grub2 stanza had both specified, but it was the output of your blkid command. Sorry. I have to be more careful. ---------------------------------------------------------------------- - Rick Stevens, Systems Engineer, AllDigital ricks@alldigital.com - - AIM/Skype: therps2 ICQ: 22643734 Yahoo: origrps2 - - - - "Hello. My PID is Inigo Montoya. You `kill -9'-ed my parent - - process. Prepare to vi." - ----------------------------------------------------------------------
On 08/27/2012 01:53 PM, Heinz Diehl wrote:
On 27.08.2012, sean darcy wrote:
Finally got it to boot. Used /dev/sda2 instead of UUID. BTW, using root=LABEL gives same devnode error.
Nice to hear!
I'll try to force-install kernel.rpm. But which kernel? Does it matter? The most recent F17 kernel on koji is 3.5.2-3, which is that same kernel now installed!
Now that it works, I would strongly suggest that you don't overwrite your actually working configuration and kernel. There's clearly something wrong, because booting via uuid has been working all the time.
You could make a copy og grub.cfg and your initramfs and store it in a safe place, add the correct uuid in grub.cfg again and recreate the initramfs with "dracut -f" and try to reboot. If it fails, you can copy back your working config and initramfs.
I have never used any Fedora kernels any longer than for installation and have no clue if you can install the same versions in parallel. Most probably you'll have to rename one of them and recompile it. Otherwise, you could just compile your own kernel (e.g. actual stable from kernel.org), it will live peacefully together with your installed Fedora kernel.
In case you are not familiar with compiling your own kernel, you could do it this way:
- download actual stable from kernel.org and unpack it into /usr/src.
- Take the .config of your installed Fedora kernel (from /boot) and
copy it into your sourcetree as ".config". 3. "make oldconfig" 4. "make -jx" (where the x is the number of your available CPU-cores/threads) 5. "make modules_install" 6. "make install" 7. That's it - reboot now.
TaDa! it works.
I did force install of kernel-3.5.2-3. Then grub2-install. Then grub2-mkconfig. Same problem. Each time I needed to edit the grub stanza to replace UUID with /dev/sda2.
Then tried dracut -f .
That worked.
You can see the dracut generated initramfs is slightly smaller the tmp/initramfs that was bundled with the kernel:
ls -l initramfs-3.5.2-3.fc17.x86_64.img tmp/initramfs-3.5.2-3.fc17.x86_64.img -rw-r--r--. 1 root root 19584183 Aug 27 16:01 initramfs-3.5.2-3.fc17.x86_64.img -rw-r--r--. 1 root root 19614729 Aug 27 15:08 tmp/initramfs-3.5.2-3.fc17.x86_64.img
Thanks for all the help. I never would have figured this one out.
sean