-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
14 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,17 @@ | ||
grub-mkconfig_lib-patch | ||
======================= | ||
|
||
a simple patch to make update-grub in ubuntu use partition labels instead of UUID | ||
A simple patch to make update-grub in ubuntu use partition labels instead of UUID | ||
|
||
I sometimes find myself changing my partitions once too often. Depending on UUID sometimes caused conflicts after cloning partitions, or confusion when booting on either the clone or orignal partition. | ||
|
||
So I came to depend on labelling my partitions, and using the labels to find the correct partition to use. | ||
|
||
This simple patch makes update-grub create the grub.cfg using labels instead of UUID during searching for the root partition to boot. | ||
|
||
## Install ## | ||
|
||
sudo patch -p0 -i `pwd`/grub-use-labels.patch -d /usr/share/grub | ||
|
||
|
||
|