You are not logged in.

#1 2016-05-03 09:39:40

0x29a
Member
Registered: 2012-09-28
Posts: 101

[Solved] mount: unknown filesystem type 'ext4'

Hi there!
I've been remastering Arch installation iso lately. Just added some scripts and some additional software, and updated system too.
After Linux update, I've followed instructions as described in here.

Now, when I'm trying to mount partition within LiveCD, I get:

mount: unknown filesystem type 'ext4'

What's going on?
Thanks!

Last edited by 0x29a (2016-05-03 11:37:48)

Offline

#2 2016-05-03 09:44:15

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

Re: [Solved] mount: unknown filesystem type 'ext4'

What's your exact mount command?

Offline

#3 2016-05-03 10:11:27

0x29a
Member
Registered: 2012-09-28
Posts: 101

Re: [Solved] mount: unknown filesystem type 'ext4'

mount /dev/sda2 /mnt

Offline

#4 2016-05-03 10:30:58

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: [Solved] mount: unknown filesystem type 'ext4'

What's the output of

tune2fs -l /dev/sda2

Edit: Nevermind the above, apparently it doesn't list the filesystem type.

Post the output of

lsblk -f /dev/sda2

and

wipefs /dev/sda2

Last edited by x33a (2016-05-03 10:35:41)

Offline

#5 2016-05-03 11:12:53

0x29a
Member
Registered: 2012-09-28
Posts: 101

Re: [Solved] mount: unknown filesystem type 'ext4'

I don't know how to copy and paste from virtual machine, so here goes approximation of an output from running above commands:


NAME: sda2
FSTYPE: ext4 
UUID: //here goes long UUID, hex with hyphens 
Offset: 0x438
Type: ext4 [filesystem]
UUID: //again, long UUID string

Offline

#6 2016-05-03 11:21:14

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,330
Website

Re: [Solved] mount: unknown filesystem type 'ext4'

Have you built your own kernel?  Have you removed any base packages?

What are the outputs of the following commands:

lsmod | grep ext4
zgrep EXT4 /proc/config.gz

"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#7 2016-05-03 11:29:26

0x29a
Member
Registered: 2012-09-28
Posts: 101

Re: [Solved] mount: unknown filesystem type 'ext4'

Have you built your own kernel?  Have you removed any base packages?

Nope and nope. Just updated the kernel with other already installed packages via -Syu, and then added base-devel.

lsmod gives nothing, however zgrepping config.gz gives:

CONFIG_EXT4_FS=m

edit: some others too, but it seems that ext4 support is there. I don't understand why it's not getting loaded.

Last edited by 0x29a (2016-05-03 11:31:55)

Offline

#8 2016-05-03 11:31:18

surfatwork
Member
Registered: 2012-01-05
Posts: 137

Re: [Solved] mount: unknown filesystem type 'ext4'

I recall seeing this when I had updated the kernel (vmlinuz and init images), but forgot to copy them to the folder refind was booting the stub from i..e refind booted an out of date stub. Might be worth checking if you have forgotten something when you mastered the ISO

Last edited by surfatwork (2016-05-03 11:32:11)

Offline

#9 2016-05-03 11:35:07

0x29a
Member
Registered: 2012-09-28
Posts: 101

Re: [Solved] mount: unknown filesystem type 'ext4'

Hah, you may be right! checking it out right now

Edit: That was the problem, thanks for help everyone!

Last edited by 0x29a (2016-05-03 11:37:34)

Offline

Board footer

Powered by FluxBB