Re: grub2 mystery

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

 



On 12.06.2012 15:23, Timothy Murphy wrote:
> I have a large number of entries in /boot/grub2/grub.cfg under Fedora-17, eg
> -------------------------------------
>         menuentry 'Fedora Linux, with Linux 3.3.2-6.fc16.i686' --class 
> fedora --class gnu-linux --class gnu --class os $menuentry_id_option 
> 'gnulinux-3.3.2-6.fc16.i686-advanced-185af560-81d0-46b8-acf0-9ab09e7cd0e2' {
>                 load_video
>                 set gfxpayload=keep
>                 insmod gzio
>                 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'  ce1365ea-11ec-49e1-85d9-f25a292c9274
>                 else
>                   search --no-floppy --fs-uuid --set=root 
> ce1365ea-11ec-49e1-85d9-f25a292c9274
>                 fi
>                 echo    'Loading Linux 3.3.2-6.fc16.i686 ...'
>                 linux   /vmlinuz-3.3.2-6.fc16.i686 
> root=UUID=185af560-81d0-46b8-acf0-9ab09e7cd0e2 ro rd.md=0 rd.lvm=0 rd.dm=0 
> SYSFONT=True  KEYTABLE=uk rd.luks=0 LANG=en_US.UTF-8 rhgb quiet
>                 echo    'Loading initial ramdisk ...'
>                 initrd  /initramfs-3.3.2-6.fc16.i686.img
>         }
> -------------------------------------
>
> However, these do not appear in the list I get when booting,
> even though I have said "sudo grub2-mkconfig -o /boot/grub2/grub.cfg"
> several times.
>
> Is there something further I should do?
> I've run "sudo os-prober" but this just adds one old Fedora-16 kernel.
>
>
>
What is exactly not shown on grub's boot menu? As you can see, there are
tons of "if" statements in grub configuration file. Depending on your
specific conditions some entries may not appear.

If you like an order, you can remove old and unused kernels. After
several updates I had about 6 but used only one - recent. Now I have two
menu entries in grub and shorter config file.


Mateusz Marzantowicz

-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
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