You are not logged in.

#1 2017-10-09 17:51:24

heshakomeu
Member
Registered: 2017-09-14
Posts: 16

[SOLVED] rEFInd does not recognize vfat file system during boot

Hello!

I'm currently trying to get rEFInd working on my Arch Linux install. i got it installed successfully and have been tinkering with the kernel passthroughs in order to successfully boot into my installed Linux, but I run into the following error every time I select Linux from the rEFInd menu:

:: running early hook [udev]
starting version 234
:: running hook [udev]
:: Triggering uevents...
:: performing fsck on '/dev/sda2'
:: mounting '/dev/sda2' on real root
mount: /new_root: unknown filesystem type 'vfat'.
You are now being dropped into an emergency shell.
sh: can't access tty; job control turned off

blkid returns:

/dev/sda1: UUID="23c967f5-883a-4a0c-97fd-c48291bfc79d" TYPE="swap" PARTLABEL="Linux swap" PARTUUID="771d0c6f-f5bd-491b-a443-b5a9a508b1f2"
/dev/sda2: UUID="98A0-12C6" TYPE="vfat"PARTLABEL="EFI System" PARTUUID="f12806e3-9cb1-4ca4-9687-c474b69ad3ec"
/dev/sda3: UUID="254fb78d-e192-4305-83d9-89fd527d62b3: TYPE="ext4" PARTLABEL="Linux filesystem" PARTUUID="56344955-709f-4ed1-b161-50515703adba"
/dev/sdb1: LABEL="ARCH_201709" UUID="24F1-D508" TYPE="vfat" PARTUUID="02992cab-01"
/dev/loop0: TYPE="squashfs"

If I chroot into /mnt and then look in /boot, I see:

EFI   initramfs-linux-fallback.img   initramfs-linux.img   refind_linux.conf   vmlinuz-linux

From rEFInd's wiki page, everything seems to look good there.

refind_linux.conf is currently written as:

"Boot with standard options"  "root=PARTUUID=f12806e3-9cb1-4ca4-9687-c474b69ad3ec rw add_efi_memmap"
"Boot to single-user mode"    "root=PARTUUID=f12806e3-9cb1-4ca4-9687-c474b69ad3ec rw add_efi_memmap initrd=/boot/initramfs-linux-fallback.img"
"Boot with minimal options"   "root=PARTUUID=f12806e3-9cb1-4ca4-9687-c474b69ad3ec rw add_efi_memmap systemd.unit=multi-user.target"

I'm a little confused on where I went wrong and why it can't seem to recognize vfat as a file system, when it recognized my ESP during install. I'm sure it's very obvious but I'm just not seeing it. Any help is appreciated!

Last edited by heshakomeu (2017-11-30 07:40:02)

Offline

#2 2017-10-09 18:19:12

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,463

Re: [SOLVED] rEFInd does not recognize vfat file system during boot

Your "root=" parameter is wrong. That partuuid is not your root partition.

Online

#3 2017-10-09 19:22:53

heshakomeu
Member
Registered: 2017-09-14
Posts: 16

Re: [SOLVED] rEFInd does not recognize vfat file system during boot

Scimmia wrote:

Your "root=" parameter is wrong. That partuuid is not your root partition.

That's what I thought too. /dev/sda3 is where my main Linux filesystem is, so I figured that would be my root partition. I went and tested both PARTUUIDs listed for /dev/sda3 in the blkid outpout.

Changing the PARTUUID in the refind_linux.conf file to 254fb78d-e192-4305-83d9-89fd527d62b3 led to this happening when I tried to boot up:

:: running early hook [udev]
starting version 234
:: running hook [udev]
:: Triggering uevents...
Waiting 10 seconds for device /dev/disk/by-partuuid/254fb78d-e192-4305-83d9-89fd527d62b3 ...
ERROR: device 'PARTUUID=254fb78d-e192-4305-83d9-89fd527d62b3' not found. Skipping fsck.
:: mounting 'PARTUUID=254fb78d-e192-4305-83d9-89fd527d62b3' on real root
mount: /new_root: can't find PARTUUID=254fb78d-e192-4305-83d9-89fd527d62b3.
You are now being dropped into an emergency shell.
sh: can't access tty; job control turned off

And changing the PARTUUID in the refind_linux.conf file to 56344955-709f-4ed1-b161-50515703adba led to the same thing happening... a few minutes ago ago. I must have done a typo when doing it the first time. I'm in now and it works. Thank you so much for the help!

Offline

#4 2017-10-09 23:45:56

circleface
Member
Registered: 2012-05-26
Posts: 639

Re: [SOLVED] rEFInd does not recognize vfat file system during boot

Note also that you seemed to confuse the UUID with the PARTUUID on the root device.  But since it is working now, I guess you figured that out wink

Offline

#5 2017-10-09 23:53:20

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

Re: [SOLVED] rEFInd does not recognize vfat file system during boot

Please remember to mark your thread as [Solved] by editing your first post and prepending it to the title.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB