[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #41301] Cannot boot a btrfs root partition with autogenerated grub.
From: |
John Audia |
Subject: |
[bug #41301] Cannot boot a btrfs root partition with autogenerated grub.cfg |
Date: |
Wed, 22 Jan 2014 11:59:34 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/32.0.1700.77 Safari/537.36 |
URL:
<http://savannah.gnu.org/bugs/?41301>
Summary: Cannot boot a btrfs root partition with
autogenerated grub.cfg
Project: GNU GRUB
Submitted by: graysky
Submitted on: Wed 22 Jan 2014 11:59:33 AM GMT
Category: Booting
Severity: Major
Priority: 5 - Normal
Item Group: Software Error
Status: None
Privacy: Public
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release:
Release: 2.02~beta1
Reproducibility: Every Time
Planned Release: None
_______________________________________________________
Details:
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.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Wed 22 Jan 2014 11:59:33 AM GMT Name: grub.cfg-1-2.02.beta2-1 Size:
7kB By: graysky
<http://savannah.gnu.org/bugs/download.php?file_id=30338>
-------------------------------------------------------
Date: Wed 22 Jan 2014 11:59:33 AM GMT Name: grub.cfg-1-2.00.1282.g5ae5c54-1
Size: 6kB By: graysky
<http://savannah.gnu.org/bugs/download.php?file_id=30339>
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?41301>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [bug #41301] Cannot boot a btrfs root partition with autogenerated grub.cfg,
John Audia <=