Re: grub2-mkconfig

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Feb 8, 2015 at 4:19 AM, Patrick Dupre <pdupre@xxxxxxx> wrote:

> ++ GRUB_CMDLINE_LINUX='rd.md=0 rd.lvm=0 rd.dm=0 SYSFONT=True  KEYTABLE=fr-latin9 rd.luks=0 LANG=en_US.UTF-8'

OK so the system GRUB is running in doesn't use LVM at all, apparently.


> + echo '### BEGIN /etc/grub.d/30_os-prober ###'

starting 30_os-prober section...


> Found Fedora release 16 (Verne) on /dev/sdb6
> menuentry 'Fedora release 16 (Verne) (on /dev/sdb6)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-98ed0361-1d1c-4062-9f75-dff4630c7f2a' {
>         insmod part_msdos
>         insmod ext2
>         set root='hd1,msdos6'
>         if [ x$feature_platform_search_hint = xy ]; then
>           search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos6 --hint-efi=hd1,msdos6 --hint-baremetal=ahci1,msdos6 --hint='hd1,msdos6'  98ed0361-1d1c-4062-9f75-dff4630c7f2a
>         else
>           search --no-floppy --fs-uuid --set=root 98ed0361-1d1c-4062-9f75-dff4630c7f2a
>         fi
>         linux16 /boot/vmlinuz-3.6.11-4.fc16.x86_64 root=/dev/sdb6 ro rd.md=0 rd.lvm=0 rd.dm=0 KEYTABLE=fr-latin9 SYSFONT=latarcyrheb-sun16 rd.luks=0 LANG=en_US.UTF-8
>         initrd16 /boot/initramfs-3.6.11-4.fc16.x86_64.img


root=/dev/sdb6 is incorrect, it should use UUID for this by default.
All Fedora 16 entries are like this.


> Found Fedora release 20 (Heisenbug) on /dev/mapper/VolGrpSys2-root
> menuentry 'Fedora release 20 (Heisenbug) (on /dev/mapper/VolGrpSys2-root)'

OK...

>                 linux16 /vmlinuz-3.17.8-200.fc20.x86_64 root=/dev/mapper/VolGrpSys0-root ro vconsole.font=latarcyrheb-sun16 rd.lvm.lv=VolGrpSys0/root LANG=en_US.UTF-8

What the hell? Every Fedora 20 entry says VolGrpSys2-root in the
description, but the kernel parameter line uses VolGrpSys0-root. This
is why I hate multibooting and find it fundamentally flawed and
perilous. Better to use VMs.

Anyway, you might get more information by editing
/etc/grub.d/30_os-prober and adding to the top:

set -v
set -x

And then rerun 'bash -x grub2-mkconfig'. The output will likely be a
lot longer. This very well could be a bug.


-- 
Chris Murphy
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org




[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux