Wrong UUID at boot

Questions about Grub, the liveCD and the installer
Forum rules

Wrong UUID at boot

Postby zkab on Mon Sep 17, 2012 2:44 pm

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 ?
zkab
Level 2
Level 2
 
Posts: 76
Joined: Wed Jun 22, 2011 7:46 pm

Linux Mint is funded by ads and donations.
 

Re: Wrong UUID at boot

Postby HughT on Thu Sep 20, 2012 10:27 am

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
Code: Select all
sudo mount /dev/sdb1 /mnt

Code: Select all
sudo grub-install --root-directory=/mnt /dev/sdb
note - there's a gap between =/mnt and /dev, and no partition number after sdb. Re-boot into Mint then
Code: Select all
sudo update-grub
regards
Please Edit your post title and add [SOLVED] once your question is resolved.
HughT
Level 5
Level 5
 
Posts: 629
Joined: Thu Oct 20, 2011 1:54 pm
Location: England

Re: Wrong UUID at boot

Postby zkab on Thu Sep 20, 2012 10:33 am

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.
zkab
Level 2
Level 2
 
Posts: 76
Joined: Wed Jun 22, 2011 7:46 pm


Return to Installation & Boot

Who is online

Users browsing this forum: No registered users and 1 guest