[arch-general] Quick btrfs-root question
I apologize if I've missed it somewhere, but does grub support booting from a multi-device btrfs root sub-volume without a separate /boot? According to the wiki I think it's supposed to work, but when I chroot to that root, and run grub-install, it returns: Path `/boot/grub' is not readable by GRUB on boot. Installation is impossible. Aborting. I left the chroot, and installed grub to that disk from my old root, but it won't boot from my new volume. Does anyone have some advice, or should I just move to a separate /boot? Thanks, =-Jameson
On Tue, 2012-07-31 at 21:50 -0400, Jameson wrote:
I apologize if I've missed it somewhere, but does grub support booting from a multi-device btrfs root sub-volume without a separate /boot? According to the wiki I think it's supposed to work, but when I chroot to that root, and run grub-install, it returns: Path `/boot/grub' is not readable by GRUB on boot. Installation is impossible. Aborting.
I left the chroot, and installed grub to that disk from my old root, but it won't boot from my new volume. Does anyone have some advice, or should I just move to a separate /boot?
Thanks, =-Jameson
Hi, I have just finished an installation of archlinux onto a btrfs partition (although it is not a multi-device btrfs partition) with /boot in a separated subvolume. For my case the grub2 works well. Before your running of grub-install, have you checked if /root is accessible from your chroot environment? Regards, Zhengyu
On Wed, Aug 1, 2012 at 4:48 AM, Zhengyu Xu <xzy3186@gmail.com> wrote:
On Tue, 2012-07-31 at 21:50 -0400, Jameson wrote:
I apologize if I've missed it somewhere, but does grub support booting from a multi-device btrfs root sub-volume without a separate /boot? According to the wiki I think it's supposed to work, but when I chroot to that root, and run grub-install, it returns: Path `/boot/grub' is not readable by GRUB on boot. Installation is impossible. Aborting.
I left the chroot, and installed grub to that disk from my old root, but it won't boot from my new volume. Does anyone have some advice, or should I just move to a separate /boot?
Thanks, =-Jameson
I have a btrfs partition (no seperate /boot) and I recommend using syslinux. You won't even have to upgrade to Grub2. -- Caution: breathing may be hazardous to your health. #include <stdio.h> int main(){printf("%s","\x4c\x65\x6f\x6e\x69\x64\x61\x73");}
On Wed, Aug 1, 2012 at 3:11 AM, Leonidas Spyropoulos <artafinde@gmail.com> wrote:
On Wed, Aug 1, 2012 at 4:48 AM, Zhengyu Xu <xzy3186@gmail.com> wrote:
On Tue, 2012-07-31 at 21:50 -0400, Jameson wrote:
I apologize if I've missed it somewhere, but does grub support booting from a multi-device btrfs root sub-volume without a separate /boot?
I left the chroot, and installed grub to that disk from my old root, but it won't boot from my new volume. Does anyone have some advice, or should I just move to a separate /boot?
Thanks, =-Jameson
I have a btrfs partition (no seperate /boot) and I recommend using syslinux. You won't even have to upgrade to Grub2.
Well, I'm trying to migrate an existing install that is already booting from grub(2). I could have sworn that I read that syslinux didn't support booting from a non-separate /boot btrfs partition. I suspect it's the multi-device part that's the issue. I'm just going to try, again with a separate /boot partition, and see how it goes.
participants (3)
-
Jameson
-
Leonidas Spyropoulos
-
Zhengyu Xu