You are not logged in.

#1 2012-01-25 12:57:35

cbo
Member
Registered: 2011-07-05
Posts: 7

Can't boot off btrfs root partition (unknown filesystem type)

Hi there, I'm trying to install arch onto a btrfs / (but with /boot ext4) and it's getting stuck when trying to boot from it, giving the error "mount: unknown filesystem type 'btrfs'".

I followed the guide here http://technologeekery.blogspot.com/201 … btrfs.html and, as far as I can tell, everything installed fine. I added the modules and hooks and ran mkinitcpio with the latest kernel version.

One thing to keep in mind is I'm also using LUKS encryption though that shouldn't be causing any problems. I also installed the btrfs hook from the AUR as referenced by the arch wiki page and redid mkinitcpio with the btrfs_advanced hook but I still ended up with the same error.

Any help with this would be greatly appreciated, thanks!

Offline

#2 2012-01-25 13:16:45

Awebb
Member
Registered: 2010-05-06
Posts: 6,285

Re: Can't boot off btrfs root partition (unknown filesystem type)

Did you turn on btrfs support in your /etc/rc.conf?

https://wiki.archlinux.org/index.php/Btrfs

Offline

#3 2012-01-25 19:19:09

cbo
Member
Registered: 2011-07-05
Posts: 7

Re: Can't boot off btrfs root partition (unknown filesystem type)

You mean the USEBTRFS line? Yes I enabled that

Offline

#4 2012-01-25 20:57:44

foggy
Member
Registered: 2012-01-25
Posts: 31

Re: Can't boot off btrfs root partition (unknown filesystem type)

Maybe you need to load the btrfs module in the MODULES section of /etc/mkinitcpio.conf

Offline

#5 2012-01-25 22:25:41

cbo
Member
Registered: 2011-07-05
Posts: 7

Re: Can't boot off btrfs root partition (unknown filesystem type)

As it turns out, at some point I forgot to mount sda1 to /mnt/boot (the installation us mounted at /mnt when using the live CD) so the new initramfs images were being made in a new boot folder on sda2. I've got the new image in the proper partition now however I've got a new error. When grub starts to boot arch, I get "kmod_search_moddep: could not open moddep file '/lib/modules/3.1.9-2-ARCH/modules.dep.bin'"

The kernel installed is 3.2.1-2 so I tried copy/pasting that kernel's folder to make a 3.1.9-2-ARCH folder but no difference

Last edited by cbo (2012-01-25 22:51:24)

Offline

Board footer

Powered by FluxBB