You are not logged in.

#1 2012-09-25 23:13:43

Paloran
Member
Registered: 2011-10-17
Posts: 24

[SOLVED] Fsck: fsck.vfat:not found after fresh installation with UEFI

Hi,
I've tried to install Arch Linux with UEFI on my new Thinkpad T420. I've followed the instructions in the beginners guide. Everything went okay, until the point on which I tried to boot for the first time. The rEFInd Bootmanager showed up, but then came the following error:

::performing fsck on '/dev/sda1'
fsck: fsck.vfat: not found
fsck: error 2 while executing fsck.vfat for /dev/sda1
ERROR: fsck failed on 'dev/sda1'
:: mounting 'dev/sda1' on real root
mount: unknown filesystem type 'vfat'
You are now being dropped inte an emergency shell.

I've double checked if dosfstools is installed, it is. I'm not shure if i have the same problem as here https://bbs.archlinux.org/viewtopic.php?id=146925 . If i have it would be nice if someone here can please explain me how to edit binaries or something else.

Sorry for my english, i'm from Germany

//edit: changed subject from lowercase to uppercase

Last edited by Paloran (2012-09-26 11:17:05)

Offline

#2 2012-09-25 23:31:21

altercation
Member
From: Seattle
Registered: 2011-05-15
Posts: 136
Website

Re: [SOLVED] Fsck: fsck.vfat:not found after fresh installation with UEFI

Off the top of my head, are you sure that your drive is still identified as /dev/sda post-reboot? That can change. I prefer to use drive/partition labels (you could use UUIDs as well). Also, FWIW, shameless plug for testing out my modular install framework: I install it on my ThinkPad x220 and I'm sure it can work on your ThinkPad without too much modification (if any): https://bbs.archlinux.org/viewtopic.php?id=149597


Ethan Schoonover
Precision Colors - http://ethanschoonover.com/solarized

Offline

#3 2012-09-26 09:13:20

Paloran
Member
Registered: 2011-10-17
Posts: 24

Re: [SOLVED] Fsck: fsck.vfat:not found after fresh installation with UEFI

How do i check if the drive is identified as /dev/sda post-reboot? Gdisk or fdisk are not found in the emergency shell.

Do your installation framework supports UEFI?

Offline

#4 2012-09-26 09:30:14

DSpider
Member
From: Romania
Registered: 2009-08-23
Posts: 2,273

Re: [SOLVED] Fsck: fsck.vfat:not found after fresh installation with UEFI

Post your fstab.


"How to Succeed with Linux"

I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).

Offline

#5 2012-09-26 09:54:33

Paloran
Member
Registered: 2011-10-17
Posts: 24

Re: [SOLVED] Fsck: fsck.vfat:not found after fresh installation with UEFI

Here is my fstab:

tmpfs		/tmp 		tmpfs	nodev,nosiud			0 0
/dev/sda1	/boot/efi	vfat	defaults			0 1
/dev/sda2 	/		ext4	defaults,noatime,discard	0 1
/dev/sda3	none		swap	defaults			0 0
/dev/sda4	/home		ext4	defaults,noatime,discard	0 2

I'm using a SSD, therefore I have changed the options a little bit.

Offline

#6 2012-09-26 09:57:02

DSpider
Member
From: Romania
Registered: 2009-08-23
Posts: 2,273

Re: [SOLVED] Fsck: fsck.vfat:not found after fresh installation with UEFI

"1" should only be used on the last field for the root partition. Everything else should have either "2" or "0". See "Field definitions" from the fstab wiki page.

Also: https://bbs.archlinux.org/viewtopic.php?id=144624

Last edited by DSpider (2012-09-26 10:00:15)


"How to Succeed with Linux"

I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).

Offline

#7 2012-09-26 09:58:32

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,784
Website

Re: [SOLVED] Fsck: fsck.vfat:not found after fresh installation with UEFI

Also, if you want to fsck vfat, you need the dosfstools package from extra.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#8 2012-09-26 10:02:59

DSpider
Member
From: Romania
Registered: 2009-08-23
Posts: 2,273

Re: [SOLVED] Fsck: fsck.vfat:not found after fresh installation with UEFI

Shit, I just realised that I posted in a lowercase thread... Doh!


"How to Succeed with Linux"

I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).

Offline

#9 2012-09-26 10:12:00

Paloran
Member
Registered: 2011-10-17
Posts: 24

Re: [SOLVED] Fsck: fsck.vfat:not found after fresh installation with UEFI

I have changed the 1 one in my fstab to a 2, but it hasn't changed anything. I'm still being dropped into an emergency shell.
And I've changed the title of thread, it's now in uppercase.

Last edited by Paloran (2012-09-26 10:14:56)

Offline

#10 2012-09-26 10:51:41

DSpider
Member
From: Romania
Registered: 2009-08-23
Posts: 2,273

Re: [SOLVED] Fsck: fsck.vfat:not found after fresh installation with UEFI

Heh. Try "0", then. After it starts, make sure that dosfstools is installed:

# pacman -S dosfstools

And don't forget to mark it as solved (by editing the first post).


"How to Succeed with Linux"

I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).

Offline

#11 2012-09-26 11:16:16

Paloran
Member
Registered: 2011-10-17
Posts: 24

Re: [SOLVED] Fsck: fsck.vfat:not found after fresh installation with UEFI

Thanks, it works now!!

Offline

Board footer

Powered by FluxBB