Solved Grub - Modifying OS sequence, Deleting/Removing entries

Solved issue


I think you will find that is your ?seagate? 2TB ?
Yes. It must be but how do I find where debian is installed. I've looked but cannot see/find it anywhere. Maybe it's in some sort of hidden location? I am thinking that I will Nuke it so hopefully this will properly delete Debian and when I update grub this should then get rid of Debian.
 
I think you will find that is your ?seagate? 2TB ?
OK. Found the little sucker - sb11. OK to Nuke?
1763337413081.png
 
Why is it 181.58GB ?

Its size is only thing stopping me saying...Yes, nuke it

There is obviously more on there than debian
 
I like the screenshot from Gparted ....at least it makes sense....shows Debian as being 11.43GB
Being an unused OS that makes some sense

sda10 and sda12
sda10, grub, 10.7mb ..... I would leave that there for now. Maybe after you have this all sorted out you can disconnect that 2TB drive and make sure your grub is not relying on that 10.7mb to operate.....then give it the flick

sda12, Linux swap .... if you have sufficient ram to not need swap (greater than 16GB) then you could nuke it.
I increased my ram to 32GB and do not have a swap partition etc
The argument/debate goes on (and on ) re the need/dont need re swap

if you find yourself unsure, leave it there. At approx 11Mb it's not taking up much space
 
I like the screenshot from Gparted ....at least it makes sense....shows Debian as being 11.43GB
Being an unused OS that makes some sense


sda10, grub, 10.7mb ..... I would leave that there for now. Maybe after you have this all sorted out you can disconnect that 2TB drive and make sure your grub is not relying on that 10.7mb to operate.....then give it the flick

sda12, Linux swap .... if you have sufficient ram to not need swap (greater than 16GB) then you could nuke it.
I increased my ram to 32GB and do not have a swap partition etc
The argument/debate goes on (and on ) re the need/dont need re swap

if you find yourself unsure, leave it there. At approx 11Mb it's not taking up much space
Ok. I will Nuke sda11 and leave sda10 and sda12 as is then see if my boot menu gets rid of debian - I reckon it won't. I am tempted to Nuke 10 and 12 them as well but will do sda11 first. I don't see why I will still need 10 and 12 but as you say...one step at a time.
wish me luck :)
 
OK. Have Nuked sda11 and updated grub. Debian still appears in the menu despite not showing up via os-prober. Next step - Nuke sda 10 and sda 12. I realise there is a risk that both Mint and Ubunto might be also looking for these and the whole boot system might then be stuffed but I have lots of backups for everything and worst case I will just reinstall Mint and Ubuntu without a debian install that rudely did it's own thing and probably dragged Mint and Ubuntu along for the ride.
 
Debian still appears in the menu despite not showing up via os-prober
I believe that is telling you, the OS is gone
 
I believe that is telling you, the OS is gone
Yes. It's definitely gone. When I select debian and enter it tells me 'nothing to see here'. I also Nuked sda 10 and 11. Rebooted, updated grub and the menu still shows a non working selection for debian. Mint and Ubuntu load as normal. I selected 'e' in the boot menu and it shows some interesting stuff which I don't understand. I can edit stuff in there but don't know what it will do.
The entry 'set root = 'hd0,gpt11' and references to the bios look interesting. Might check the bios again to make sure nothing has changed. After that, dunno. Maybe just wipe the 500gb SSD clean and reinstall Mint and Ubunto?

1763343310960.jpeg


1763343347532.jpeg
 
Oh dear, I am a bit late to the party, lol.

John, if you would, try running, if you would

Code:
sudo update-initramfs -u -k all

# followed by

sudo update-grub

and come back with the output it provides.

Then reboot and see if anything changes.

TIA

Chris
 
Oh dear, I am a bit late to the party, lol.

John, if you would, try running, if you would

Code:
sudo update-initramfs -u -k all

# followed by

sudo update-grub

and come back with the output it provides.

Then reboot and see if anything changes.

TIA

Chris
No worries, Chris just off for some lunch then will do above.
 
I forget some days that you're an Aussie

Oi Oi Oi

Have some good tucker...brain food
 
Oh dear, I am a bit late to the party, lol.

John, if you would, try running, if you would

Code:
sudo update-initramfs -u -k all

# followed by

sudo update-grub

and come back with the output it provides.

Then reboot and see if anything changes.

TIA

Chris
Refuelled Oi Oi Oi
Here is the output.
Code:
johnj@johnj-HP-Pavilion-Power-Laptop-15-cb0xx:~$ sudo update-initramfs -u -k all
[sudo] password for johnj:         
update-initramfs: Generating /boot/initrd.img-6.14.0-35-generic
update-initramfs: Generating /boot/initrd.img-6.14.0-34-generic
update-initramfs: Generating /boot/initrd.img-6.14.0-33-generic
update-initramfs: Generating /boot/initrd.img-6.14.0-32-generic
update-initramfs: Generating /boot/initrd.img-6.14.0-29-generic
johnj@johnj-HP-Pavilion-Power-Laptop-15-cb0xx:~$
Will now update grub then reboot
 
Ta for that, but bah humbug.

I will put my Wizard's thinking cap on and come back if/when the lightbulb flashes over my head.
 


Follow Linux.org


Top