Results 1 to 3 of 3

Thread: How can I make GRUB2 use UUID's instead of "/dev/..."?

  1. #1
    Join Date
    Sep 2009
    Location
    Golden Valley, Arizona
    Beans
    152
    Distro
    Ubuntu 10.04 Lucid Lynx

    How can I make GRUB2 use UUID's instead of "/dev/..."?

    I'm installing Ubuntu 10.04.1 to my flash drive as I speak (had to wipe it out in a rare case that I needed the extra ~5GB it was using to hold some important info) and the last time it was installed GRUB2 wouldn't work right because it would use stuff like "/dev/sda1" instead of UUIDs so whenever it was used in any other computer it would fail to boot, I never took the time to properly fix it and just did a search and replace in all of the GRUB2 configuration files for "/dev/sda1" to be replaced with the UUID of the drive and for awhile it worked but after awhile failed again. So now that I have the time to do this properly, how can I properly set up GRUB2 to use UUIDs so no matter what computer it's in it will work?
    MB: MSI 890GXM-G65 - CPU: AMD Phenom II X4 965 Black Edition, Quad Core @ 3.4GHz - RAM: A-DATA 2GiB DDR3 1600 RAM, x2 = 4GiB @ 1333MHz - GPU: Nvidia GeForce 9800GTX+, 512MiB GDDR3 - HDD: Seagate Barracuda 7200.12, 500GiB @ 7200RPMs - 2 in RAID0

  2. #2
    Join Date
    Sep 2009
    Location
    Golden Valley, Arizona
    Beans
    152
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: How can I make GRUB2 use UUID's instead of "/dev/..."?

    Bump.
    Found out how to do it using the 40_custom config file but that won't automatically update with kernel updates as far as I can tell.
    MB: MSI 890GXM-G65 - CPU: AMD Phenom II X4 965 Black Edition, Quad Core @ 3.4GHz - RAM: A-DATA 2GiB DDR3 1600 RAM, x2 = 4GiB @ 1333MHz - GPU: Nvidia GeForce 9800GTX+, 512MiB GDDR3 - HDD: Seagate Barracuda 7200.12, 500GiB @ 7200RPMs - 2 in RAID0

  3. #3
    Join Date
    Sep 2009
    Location
    Golden Valley, Arizona
    Beans
    152
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: How can I make GRUB2 use UUID's instead of "/dev/..."?

    And just found out this is a bug over a year old. ( https://bugs.launchpad.net/ubuntu/+s...b2/+bug/496435 )God I wish their was a portable version of Windows so I could stop dealing with this bs. x.x Am just going to switch to the original GRUB and see if that works.
    MB: MSI 890GXM-G65 - CPU: AMD Phenom II X4 965 Black Edition, Quad Core @ 3.4GHz - RAM: A-DATA 2GiB DDR3 1600 RAM, x2 = 4GiB @ 1333MHz - GPU: Nvidia GeForce 9800GTX+, 512MiB GDDR3 - HDD: Seagate Barracuda 7200.12, 500GiB @ 7200RPMs - 2 in RAID0

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •