using labels in grub2. How?
I want to generate a grub.conf that will search for my /dev/sda1 based on the filesystem label, not the UUID.
I did change /etc/default/grub to so that GRUB_DISABLE_LINUX_UUID="true" and I regenerated grub.cfg. But I want to go one step further and change the search statements. I notice they still reference the old UUID. I also know grub2 can search by label. Can anyone tell me how to do this? Thanks. EDIT: I could use some help understanding this page: http://www.gnu.org/software/grub/man...ub.html#search Quote:
Code:
search --no-floppy --label MyLabel --set root |
See answer here:
http://forums.linuxmint.com/viewtopic.php?f=46&t=38599 and support here: http://wiki.archlinux.org/index.php/GRUB2 But I still need to figure out how to do this via the intended grub.d files rather than manually editing grub.cfg. Any help? |
Quote:
http://ubuntuforums.org/showpost.php...1&postcount=19 Updated URL: http://ubuntuforums.org/showthread.p...64#post9585964 |
All times are GMT -5. The time now is 09:07 PM. |