You are not logged in.

#1 2015-04-13 01:19:42

a-jamesregan
Member
Registered: 2015-04-13
Posts: 6

[SOLVED] mount: unknown filesystem type 'ext2'

I probably have the most complicated first-time arch setup that you'll ever hear a n00b post.  XD

I just finished setting up an encrypted arch box with a usb boot drive (it contains the key-file), but when I go to boot, the system reports the following:

mount: unknown filesystem type 'ext2'

Of all the things to break!  Ext2???!

This is for the default boot mode, when boot into the fallback initramfs mode, the arch box boots up fine (although it takes 2 whole minutes).  I think that the issue is that I'm missing a module in my mkinitcpio.conf file.

/etc/fstab file:

UUID=1245ASDF  /  btrfs  discard,autodefrag,compress=lzo,rw,relatime,ssd,space_cache  0 0

UUID=2245ASDF  /boot  ext2  rw,noatime  0 2

UUID=3245ASDF  none  swap  defaults  0 0

/etc/mkinitcpio.conf file:

HOOKS="base btrfs udev autodetect modconf block encrypt lvm2 filesystems keyboard fsck"

/etc/default/grub file:

GRUB_CMDLINE_LINUX="cryptdevice=/dev/sda:enc cryptkey=/dev/sdb2:ext2:/keyfile crypto=sha512:twofish-xts-plain64:512:0:"

Last edited by a-jamesregan (2015-04-13 19:15:48)

Offline

#2 2015-04-13 01:30:57

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [SOLVED] mount: unknown filesystem type 'ext2'

a-jamesregan wrote:

I think that the issue is that I'm missing a module in my mkinitcpio.conf file.

I agree.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2015-04-13 10:26:06

a-jamesregan
Member
Registered: 2015-04-13
Posts: 6

Re: [SOLVED] mount: unknown filesystem type 'ext2'

Wow, there was literally a note about the exact issue I was having on the wiki...

https://wiki.archlinux.org/index.php/Mkinitcpio#MODULES

Note: If using reiser4, it must be added to the modules list. Additionally, if you will be needing any file system during the boot process that is not live when you run mkinitcpio — for example, if your LUKS encryption key file is on an ext2 file system but no ext2 file systems are mounted when you run mkinitcpio — that file system module must also be added to the MODULES list. See Dm-crypt/System configuration#cryptkey for more details.

PS: How do I mark an issue as solved?

Last edited by a-jamesregan (2015-04-13 10:28:20)

Offline

#4 2015-04-13 10:30:15

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,092

Re: [SOLVED] mount: unknown filesystem type 'ext2'

Click edit on your first post


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

Board footer

Powered by FluxBB