bugGNU GRUB - Bugs: bug #41301, Cannot boot a btrfs root partition...

 
 

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

bug #41301: Cannot boot a btrfs root partition with autogenerated grub.cfg

Submitted by:  John Audia <graysky>
Submitted on:  Wed 22 Jan 2014 11:59:33 AM UTC  
 
Category: BootingSeverity: Major
Priority: 5 - NormalItem Group: Software Error
Status: InvalidPrivacy: Public
Assigned to: NoneOriginator Name: 
Open/Closed: ClosedRelease: 
Release: 2.02~beta1Reproducibility: Every Time
Planned Release: None

Wed 29 Jan 2014 10:54:12 AM UTC, comment #3:

Disregard my previous question; I opened a new ticket here reporting the issue to keep things organized. Please close this ticket as the issue is not related to your code.

John Audia <graysky>
Wed 29 Jan 2014 10:41:04 AM UTC, comment #2:

Yes, the fault is not with upstream at all but with one of the Distro-specific scripts called "10_archlinux" BUT I do believe that a related issue is the fault of an upstream supplied script "10_linux" which is described in the linked Arch bug report.[1]

Shall I will open a new task in this bug tracker or will this post be sufficient?

1. https://bugs.archlinux.org/task/38455

John Audia <graysky>
Mon 27 Jan 2014 06:22:24 PM UTC, comment #1:

Please retry with upstream GRUB, apparently arch messed up with grub-mkconfig

Vladimir Serbinenko <phcoder>
Project Administrator
Wed 22 Jan 2014 11:59:33 AM UTC, original submission:

Using the autogenerated grub.cfg renders the system unable to boot to a btrfs root partition. Downgrading to version 2.00.1282.g5ae5c54 and regenerating grub.cfg restores the functionality. Both the non-functional and the functional grub.cfg is attached for comparison.

The message displayed when attempting to boot to the autogenerated entry:

"ERROR: Boot device mounted successfully but /sbin/init does not exist.
Bailling out, you are on your own. Good luck.

sh: can't access tty: job control turned off
[rootfs /]#"

I have also opened a task in the Arch Linux bug tracker, but wanted to give upstream a chance to see this as well (hence this ticket).

Link to Arch bug report: https://bugs.archlinux.org/task/38566

Steps to reproduce:
1) Install package on an EFI system that uses a btrfs root partition (I cannot try on an non-EFI system as I do not own one).
2) Mount /boot/efi to $esp.
3) grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=grub --recheck
4) chmod -x /etc/grub.d/10_linux ### this is known to produce bogus entries on Arch Linux, see flyspray #38455, https://bugs.archlinux.org/task/38455
5) grub-mkconfig -o /boot/grub/grub.cfg
6) Reboot and try to boot the system

My system is an EFI motherboard running Arch Linux x86_64 using all distro provided packages.

John Audia <graysky>

 

Attached Files
file #30338:  grub.cfg-1-2.02.beta2-1 added by graysky (7kB - application/octet-stream)
file #30339:  grub.cfg-1-2.00.1282.g5ae5c54-1 added by graysky (6kB - 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 (Posted a comment)
  • -unavailable- added by graysky (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
    Fri 28 Feb 2014 09:17:29 AM UTCphcoderStatusNone=>Invalid
      Open/ClosedOpen=>Closed
    Wed 22 Jan 2014 11:59:33 AM UTCgrayskyAttached File-=>Added grub.cfg-1-2.02.beta2-1, #30338
      Attached File-=>Added grub.cfg-1-2.00.1282.g5ae5c54-1, #30339

    Back to the top


    Powered by Savane 3.1-cleanup