bugGNU GRUB - Bugs: bug #48265, Add automatic support for PARTUUID...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #48265: Add automatic support for PARTUUID Linux root command-line options

Submitted by:  Nicholas Vinson <username234>
Submitted on:  Sat 18 Jun 2016 08:25:10 PM UTC  
 
Category: ConfigurationSeverity: Major
Priority: 3 - LowItem Group: Feature Request
Status: NonePrivacy: Public
Assigned to: NoneOriginator Name: 
Open/Closed: OpenRelease: 
Release: otherReproducibility: Every Time
Planned Release: 2.03+

Sun 19 Jun 2016 05:50:40 AM UTC, comment #1:

Please send patch to grub-devel, savannah bug tracker is not really suitable for patch review.

Andrei Borzenkov <arvidjaar>
Project Member
Sat 18 Jun 2016 08:25:10 PM UTC, original submission:

This is a request to update grub-probe and 10_linux to support the Linux kernel's root=PARTUUID=... parameter.

Currently, grub-mkconfig passes the Linux kernel's device name in the root parameter when booting a Linux system without an initramfs. However, if the devices get reordered then the system will fail to boot. Current workarounds for this is to either generate an initramfs that can mount the rootfs via UUID, or to manually generate or update grub.cfg.

This patch updates grub-probe so that it can return the PARTUUID of MBR and GPT volumes and enables 10_linux to pass the PARTUUID via the kernel's root option. This allows systems to automatically use PARTUUID (root=PARTUUID=...) when an initramfs isn't present.

I have attached the a patch with the requested change and an example grub.cfg.

Nicholas Vinson <username234>

 

Attached Files
file #37525:  grub.cfg added by username234 (9KiB - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by phcoder (Updated the item)
  • -unavailable- added by arvidjaar (Posted a comment)
  • -unavailable- added by username234 (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 11 Oct 2016 12:37:44 PM UTCphcoderPriority5 - Normal=>3 - Low
      Planned ReleaseNone=>2.03+
    Sat 18 Jun 2016 09:08:38 PM UTCusername234Attached File-=>Added 2.02_beta3-part-uuid.patch, #37524
      Attached File-=>Added grub.cfg, #37525

    Back to the top


    Powered by Savane 3.1-cleanup1