My computer ran Debian 9 until, some weeks ago, I made space for a separate partition and put Linux Mint in it. Both distributions ran well. Today, Mint refuses to boot while Debian is running as always. I now plan to wipe out Mint and turn my system back into a Debian-only one. I understand that GRUB must be edited but I do not know how to do that. The file /etc/default/grub in Debian is:
GRUB_DEFAULT=0
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet"
GRUB_CMDLINE_LINUX=""
Mint comes up as the first option and Debian is the fourth. Perhaps I should list my partitions.
sda1 is /
sda2 is extended
sda5 is swap
sda6 is /home
sda7 contains Linux Mint.
Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
Question about GRUB
Re: Question about GRUB
It didn't work, Wizard. Rebooting stopped with "error: no such partition". Luckily the CD from which I had installed Debian has a rescue option which re-installs GRUB.
- sunrat
- Administrator
- Posts: 6460
- Joined: 2006-08-29 09:12
- Location: Melbourne, Australia
- Has thanked: 116 times
- Been thanked: 472 times
Re: Question about GRUB
Sounds like you were booting from Mint's GRUB. You could alternatively have booted Debian with boot select menu and run assuming GRUB was installed to MBR. No external media necessary!
You could even have run that from Debian before removing Mint.
Code: Select all
grub-install /dev/sda && update-grub
You could even have run that from Debian before removing Mint.
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ” Remember to BACKUP!
Those who have lost data
...and those who have not lost data YET ” Remember to BACKUP!
Re: Question about GRUB
Sunrat, I ought to have specified that I rebooted after Mint had been removed.
Thank you for making me aware of grub-install.
Thank you for making me aware of grub-install.