Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Distributions > Linux Mint
User Name
Linux Mint This forum is for the discussion of Linux Mint.


  Search this Thread
Old 09-17-2012, 04:23 PM   #1
Registered: Dec 2007
Posts: 131

Rep: Reputation: 15
Wrong UUID at boot

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 ?
Old 09-17-2012, 06:26 PM   #2
LQ Guru
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 7,226

Rep: Reputation: 1350Reputation: 1350Reputation: 1350Reputation: 1350Reputation: 1350Reputation: 1350Reputation: 1350Reputation: 1350Reputation: 1350Reputation: 1350
You haven't given enough useful information for anyone to help. The best place to start would be to go to the site below and download and run the bootinfoscript from a Linux install or Live CD. Post the results.txt file here as it will show detailed drive/partition, OS and boot file information.
Old 09-17-2012, 06:59 PM   #3
Registered: Aug 2002
Posts: 15,738

Rep: Reputation: 1753Reputation: 1753Reputation: 1753Reputation: 1753Reputation: 1753Reputation: 1753Reputation: 1753Reputation: 1753Reputation: 1753Reputation: 1753Reputation: 1753
UUIDs are unique numbers created when a file system is formatted. When you installed a new system the UUID on sdb1 is now different then what it was for the old drive assume that it was formatted.

What file system are you using for the new sdb1?

It is probably easier for you to boot a live CD and assuming a ext3/4 run the tune2fs command to change the new to the old. You can also run the blkid command to see the new UUID and change grub accordingly.
Old 09-18-2012, 01:20 AM   #4
Registered: Dec 2007
Posts: 131

Original Poster
Rep: Reputation: 15
When giving following commands 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.

cd /
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
raid disk with wrong UUID zolfo Linux - Server 0 09-04-2012 04:31 AM
mdadm: /dev/sdb1 has wrong uuid ysjdx Linux - Server 0 12-04-2011 11:02 AM
Change UUID - Edit UUID using the dd command GMHilltop Linux - Newbie 10 10-28-2010 07:39 PM
Volume has problems including no uuid in /dev/disk/by-uuid abejarano Linux - Hardware 3 12-31-2008 08:41 PM
UUID: wrong values in Ubuntu /etc/fstab files grautu Ubuntu 7 05-05-2007 04:28 PM

All times are GMT -5. The time now is 03:14 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration