You are not logged in.
Hello there,
Bunsenlabs was installed in Sumsung HD322HJ.
After a hardware upgrade the Mobo ASUSTeK model: PRIME H310M-E/BR didn't recognized the HDD thus Helium was installed in the new HDD.
My issue, how do I delete the old menuentries from the disable HDD, which is present on my current Grub Menu?
The grub.cfg: https://pastebin.com/c5HiaVDt
My sys specs: https://pastebin.com/qt9uZN5n
PS: I always search before posting.
Last edited by lamarca (2019-04-29 16:34:35)
Offline
(NB instead of using pastebin for relatively short pieces of code, just use [ code ] tags in your post.)
Have you done sudo update-grub since you removed your old drive?
Do you still have old linux images on your new drive?
Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt «» BunsenLabs on DeviantArt
Offline
Hi,
Have you done sudo update-grub since you removed your old drive?
No. I have not.
Do you still have old linux images on your new drive?
Only the entries, dump.
As I am not familiar with the usual length of the output thus pastebin just in case.
Offline
Hi,
damo wrote:Have you done sudo update-grub since you removed your old drive?
No. I have not.
....
So that is the first thing to try
Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt «» BunsenLabs on DeviantArt
Offline
The dump is persistent.
$ date --utc
Sun 28 Apr 2019 10:36:08 AM UTC
-----------------------------------------------------
menuentry "BunsenLabs GNU/Linux (on /dev/sdb1)" {
menuentry "BunsenLabs GNU/Linux, with Linux 4.9.0-8-amd64 (on /dev/sdb1)" {
menuentry "BunsenLabs GNU/Linux, with Linux 4.9.0-8-amd64 (recovery mode) (on /dev/sdb1)" {
menuentry "BunsenLabs GNU/Linux, with Linux 4.9.0-7-amd64 (on /dev/sdb1)" {
menuentry "BunsenLabs GNU/Linux, with Linux 4.9.0-7-amd64 (recovery mode) (on /dev/sdb1)" {
menuentry "BunsenLabs GNU/Linux, with Linux 4.9.0-6-amd64 (on /dev/sdb1)" {
menuentry "BunsenLabs GNU/Linux, with Linux 4.9.0-6-amd64 (recovery mode) (on /dev/sdb1)" {
menuentry "BunsenLabs TTY (on /dev/sdb1)" {
menuentry 'High Contrast Text' {
-----------------------------------------------------
Offline
If you have uninstalled old kernels, and updated grub, and are still getting unwanted entries, then see if they still exist in /boot. Delete them, and update-grub again.
There is another method, which can be dangerous, which we can look at as a last resort!
Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt «» BunsenLabs on DeviantArt
Offline
All the entries belong to the current Helium.
Those dumps are like deleted posts only, not purged. Do I 'purge' them by hand on grub.cfg file?
Offline
All the entries belong to the current Helium.
So why do you want to remove them? If you don't want backup kernels then uninstall them, and update-grub again.
If you edit grub.cfg then please note:
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
You can remove the menuentries you don't want, but they will be replaced the next time grub is updated - unless you remove the executable bit from 30_os-prober.
sudo chmod -x /etc/grub.d/30_os-prober
This is the "dangerous" method! Back up grub.cfg, and remember to make 30_os-prober executable again before a dist-upgrade.
Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt «» BunsenLabs on DeviantArt
Offline
The file was restored after deleting the whole /etc/grub.d/30_otheros section
Offline
So why do you want to remove them?
They flood my grub menu
If you don't want backup kernels then uninstall them, and update-grub again.
Those kernels don't exist.
Edit: I will let you know a little later:)
Last edited by lamarca (2019-04-28 12:07:14)
Offline
Job well done, damo
Cheers
Offline