I am running LDME with 2 disks.
The disks are partitioned like:
sda1 swap
sda2 /home
sdb1 system (/)
It has been working OK but recently I had to change disk sdb and install a new system.
When I installed MATE/Cinnamon[64-bit] on sdb and rebooted ... GRUB complained ... no such device: UUID xxx-xxx where xxx-xxx is the UUID for the old sdb that I replaced.
I installed GRUB on sdb1.
How do get rid of this error ?
Wrong UUID at boot
Forum rules
LMDE 2 has reached end of support as of 1-1-2019
LMDE 2 has reached end of support as of 1-1-2019
Wrong UUID at boot
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: Wrong UUID at boot
hi zkab, it looks like you are using the old grub, hence it still has the old UUID. You should have installed the new grub to sdb rather than sdb1. Try from a live CD or USB
note - there's a gap between =/mnt and /dev, and no partition number after sdb. Re-boot into Mint then
regards
Code: Select all
sudo mount /dev/sdb1 /mnt
Code: Select all
sudo grub-install --root-directory=/mnt /dev/sdb
Code: Select all
sudo update-grub
Re: Wrong UUID at boot
Thanks ... what I did (before reading your post) was following:
mount -t ext4 /dev/sdb1 /mnt
mount -t proc proc /mnt/proc
mount -t sysfs sys /mnt/sys
mount -o bind /dev /mnt/dev
chroot /mnt /bin/bash
dpkg-reconfigure grub-pc
and then I was able to install grub (I installed it on both /dev/sda and /dev/sdb to be sure) and after that the system booted OK.
mount -t ext4 /dev/sdb1 /mnt
mount -t proc proc /mnt/proc
mount -t sysfs sys /mnt/sys
mount -o bind /dev /mnt/dev
chroot /mnt /bin/bash
dpkg-reconfigure grub-pc
and then I was able to install grub (I installed it on both /dev/sda and /dev/sdb to be sure) and after that the system booted OK.