The project of writing a hint for Grub and UEFI has morphed into, at least for me and my laptop, a non-trivial exercise. The problem is that HP hard codes the path to the Windows boot loader and over writes any changes I make to the boot order of the OS Boot Manager. As a result, I cannot, as things stand now, test the hint procedures on my own machine.

I bought an iMac a couple of days ago, so my iTunes issue is resolved. Ultimately, I want my laptop to be completely linux, but I obviously don't want to nuke, except for windows, what I already have.

I have an Ubuntu install image on a flash drive, but I want to put Grub on one and use EFI. I know how to install a grub image there and I'm going to compile modules into the image so Grub doesn't have to look for them. When I get this done and can boot with that new flash drive I want to remove windows and the HP stuff.

My plan is this: delete *all* the non-linux files and directories from my EFI partition, reset the boot order and then cross my fingers and restart. If this works, then it's "trash windows" time. When that happens, I will be moving partitions around.

First of all, does anyone have any comments or guidance on deleting the files and directories from the EFI partition and then booting? I think it's pretty straight forward and, from everything I've read, *conceptually* I should get the results that I want. I just want to be as prepared as I can be.

Secondly: I have let grub-mkconfig write the current configuration files for grub until I can find the minimum number of modules I need to manually generate a grub.cfg. The current grub.cfg uses UUID's for the partitions. I can't find any info on the question I'm about to ask.

When a partition is created on a gpt disk, does it retain it's UUID even if the partition moves or gets resized? If it keeps the UUID, then rebooting after I rearrange the furniture on my hard drive becomes merely a matter of setting root in the grub command line and pointing "configfile" to the appropriate place. Otherwise, I'll have to issue all the commands to grub to boot the LFS I want.

Comments?  Guidance? Gotchas?

Thanks,
Dan

--
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style

Reply via email to