You are not logged in.
Hi
There are many entries in my arch's grub boot loader:
Arch Linux pkg-linux kernel
*Arch Linux pkg-linux kernel (fallback initramfs)
Arch Linux
Advanced options for Arch Linux
Linux Mint 15
Advanaced options for Linux Mint 15
Microsoft Windows 7 Professional
But I also want to keep following three entries:
Arch Linux
Linux Mint 15
Microsoft Windows 7 Professional
How can I remove remaining entries from grub menu?
Regards
Last edited by zetrotrack000 (2014-03-11 20:01:45)
Offline
https://wiki.archlinux.org/index.php/Gr … g_grub.cfg
Have you tried recreating your grub recently with 'grub-mkconfig -o /boot/grub/grub.cfg'?
Are all these other systems still installed on your computer?
Offline
Hi
I think at least two of the entries (I'd say the ones w/ pkg-linux) are due to a bug in grub. Or better said in grub-mkconfig.
https://bbs.archlinux.org/viewtopic.php?id=174600
Don't know wether it's already fixed in grub or if it will be fixed at all... I had these entries appearing here not really long ago too.
See the bugreport at the end of the linked thread for a workaround.(Edit: In case they reappear when isssuing grub-mkconfig.)
Last edited by rebootl (2014-03-10 22:09:27)
Personal website: reboot.li
GitHub: github.com/rebootl
Offline
Grub2 menu entries are created by a set of scripts in /etc/grub.d
Your first 2 entries are standard for arch and are generated by the 10_archlinux script. The 10_archlinux script is distributed by arch. It exists because the standard 10_linux script does not always create reliable menu entries for arch.
Your other linux entries are generated by the 10_linux script which is distributed by grub upstream.
Your windows entry is generated by the os-prober script. That can just be left alone.
To sort out the redundant linux entries you could try disabling either of the linux scripts and regenerating the menu.
Alternatively, you could disable both linux scripts and define your menu entries manually in the 40_custom script. The syntax for custom menu entries is similar to that of grub legacy. See the grub wiki article for info.
Hope this helps!
Last edited by Chazza (2014-03-10 22:45:18)
Offline
Offline
By following the link provided by 'rebootl', I have managed to get rid of following entries:
Advanced options for Arch Linux
Advanaced options for Linux Mint 15
As 'Chazza' mentioned, I tried to edit the scripts /etc/grub.d but then mkconfig gives error, so I believe I am not editting these files properly.
Offline
By following link provided by 'teateawhy' now only one entry is left which I want to remove;
Arch Linux pkg-linux kernel (fallback initramfs)
Offline
why don't you just edit /boot/grub/grub.cfg?
Jaki koniec świata.Ziemia to nie cały świat ,a tylko mały Wąchock we wszechświecie.
Offline
Grub has become ridiculously complex, at least three places from where you can edit it's config... ?!?
The best thing you can do is ditch it.
Edit:
1) A config file for the program that generates the real config.
2) n-x scripts that generate the config.
3) The config file itself.
Last edited by rebootl (2014-03-11 18:51:09)
Personal website: reboot.li
GitHub: github.com/rebootl
Offline
Grub has become ridiculously complex, at least three places from where you can edit it's config... ?!?
The best thing you can do is ditch it.
Edit:
1) A config file for the program that generates the real config.
2) n-x scripts that generate the config.
3) The config file itself.
By totally agreeing with you, I have moved to syslinux. Its a cool and easy bootloader with nice theme
However, there is a problem which I will ask in separate thread.
Offline
Moving to syslinux too. Works great.
While I'm not yet entirely happy with the theme, that's really a minor issue compared to above.
Edit: Or maybe I'll go back to Grub legacy, which was perfectly fine for my needs.
Last edited by rebootl (2014-03-11 20:21:57)
Personal website: reboot.li
GitHub: github.com/rebootl
Offline
While I'm not yet entirely happy with the theme, that's really a minor issue compared to above.
I am using the theme which appears when we first insert the installation media, the following one;
https://lh6.googleusercontent.com/-Yz-C … slinux.png
Its very pretty.
Offline
Ah yes! That's it, I found it now.
Thanks
It's pretty.
Personal website: reboot.li
GitHub: github.com/rebootl
Offline
Here is the link to actual config file of syslinux.cfg;
https://projects.archlinux.org/archiso. … g/syslinux
It also contains actual splash.png
Offline