[plug] grub2 and the mystery of the moving hard drives

Robert Parker rlp1938 at gmail.com
Wed Apr 25 01:19:01 WST 2012


On Tue, Apr 24, 2012 at 9:28 PM, Brad Campbell <brad at fnarfbargle.com> wrote:

> On 24/04/12 18:37, wolfbite wrote:
>
>> HATE UUID (but can understand why for big servers and corporations
>>
>> small servers & users, use LABELS sooooo much easier and dont have to
>> worry about order.
>>
>> quick google
>> http://www.linuxquestions.org/**questions/linux-software-2/**
>> using-labels-in-grub2-how-**819474/<http://www.linuxquestions.org/questions/linux-software-2/using-labels-in-grub2-how-819474/>
>>
>
> Yes but.. that does not address the problem I was solving unless I've
> missed the part where it compiles a label search into the Grub2 Stage 1.5/2
> and has it search for the label for grub root.
>
> I just see where it issues set root='(hd0,1)', which is useless when your
> bios drive order moves around (and why I solved it the way I did).
>
> Happy to be re-educated though.
>
> Personally I use UUID over labels as when swapping drives around different
> machines there is just no way to get things mixed up.
>
> That and it means I don't have to think about what to call the drive.


Agreed. I had a tech replace a power supply on my behalf a few months ago.
When he reconnected the drives he swapped sda/sdb. The system just went
right on working including my Win partition now booting on sdb1.

grub is just smart enough to sort it all out via UUID.

bob

>
>
> ______________________________**_________________
> PLUG discussion list: plug at plug.org.au
> http://lists.plug.org.au/**mailman/listinfo/plug<http://lists.plug.org.au/mailman/listinfo/plug>
> Committee e-mail: committee at plug.org.au
> PLUG Membership: http://www.plug.org.au/**membership<http://www.plug.org.au/membership>
>



-- 
The healthy eating pyramid as published by the USDA and it's satellites all
over the world is purposely designed to bring about an epidemic of obesity,
hypertension and diabetes. It is wildly successful in this aim.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.plug.org.au/pipermail/plug/attachments/20120425/1d8981d5/attachment.html>


More information about the plug mailing list