PDA

View Full Version : [SOLVED] Grub2 and UUID



seb2020
August 30th, 2010, 10:29 AM
Hi everybody,

I have a question : I use ubuntu 10.4. I have two partition. One fort Windows XP and one fort ubuntu. I do not want to use UUID in my grub.cfg

How I can make that ?

Thanks !

oldfred
August 30th, 2010, 10:21 PM
Why?

UUID's are the more reliable way to know which partition you are booting. Grub's menu actually use hdX,Y as the default and then a search on drive by UUID.

General info:
http://www.gnu.org/software/grub/manual/
The Grub 2 Guide (formerly Grub 2 Basics)
http://ubuntuforums.org/showthread.php?t=1195275
https://help.ubuntu.com/community/Grub2#Reinstalling%20GRUB%202
https://help.ubuntu.com/community/Grub2

seb2020
September 1st, 2010, 06:47 AM
Yes, but I use a sort of ghost (http://en.wikipedia.org/wiki/Ghost_%28software%29)

So, when I redeploy my image on a new computer, the UUID change ! I do not want to reinstall Grub on every computer. Have you got a solution for that ?

I have a partition fort windows and an other for linux

dino99
September 1st, 2010, 10:04 AM
reinstalling grub-pc is very easy (uuids are the default)

but look at link below to use labels

http://www.google.fr/search?as_q=grub2%2Blabel&hl=fr&num=10&btnG=Recherche+Google&as_epq=&as_oq=&as_eq=&lr=lang_en&cr=&as_ft=i&as_filetype=&as_qdr=y&as_occt=any&as_dt=i&as_sitesearch=&as_rights=&safe=images

seb2020
September 1st, 2010, 01:36 PM
I have resolve my problem by decomenting #GRUB_DISABLE_LINUX_UUID="true"

and regenerating the grub config file

Thanks