You are not logged in.

#1 2016-03-09 12:03:42

anthillsocial
Member
Registered: 2013-02-18
Posts: 129

Grub hangs with pure btrfs installation

I'm attempting a new partitionless BTRFS installation. I set things up using the following set of commands and everything runs smoothly:

    $ mkfs.btrfs -L "btrfs" /dev/sdX
      $ mount -o defaults,relatime,autodefrag /dev/sdX /mnt
      $ btrfs subvolume create root
      $ umount /mnt
      $ mount -o defaults,relatime,subvol=root /dev/sdX/mnt
      $ pacstrap /mnt base base-devel
      $ genfstab -U -p /mnt >> /mnt/etc/fstab
      $ arch-chroot /mnt /bin/bash
      $ pacman -S grub
      $ grub-install --recheck /dev/sdX
      $ grub-mkconfig -o /boot/grub/grub.cfg  

However, when I attempt to boot I just get the following screen with a flashing cursor:

GRUB _

I've set my Asrock Z97E-ITX/ac motherboard:
  - Disabled UEFI boot modes and enable legacy boot.
  - Disabled 'secure boot'.

Any ideas?

Offline

#2 2016-03-09 16:45:52

anthillsocial
Member
Registered: 2013-02-18
Posts: 129

Re: Grub hangs with pure btrfs installation

I've also tried to boot with syslinux:

pacman -S syslinux
cp -r /usr/lib/syslinux/bios/*.c32 /boot/syslinux
extlinux --install /boot/syslinux

Then I edit "/boot/syslinux/syslinux.cfg"

APPEND root=LABEL=btrfs  rw rootflags=subvol=root 

But I get "Failed to load ldlinux.c32"

Ideas!??

Offline

#3 2016-03-09 22:40:06

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,680
Website

Re: Grub hangs with pure btrfs installation

Try it without creating a "root" subvolume, just use the top-level subvolume for the root partition -- this worked for me.

Offline

Board footer

Powered by FluxBB