Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 May 2024 01:14:03 -0400
From:      Steven Friedrich <freebsdlouisville@gmail.com>
To:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   using gpt labels in /etc/fstab
Message-ID:  <06315a8d-a7f3-4bf0-b7f4-343fc083e507@gmail.com>

next in thread | raw e-mail | index | archive | help
I have installed 14.1rc1 on a usb flash drive.

Here are my labels:

gpart show -l da0
=>      40  60628912  da0  GPT  (29G)
                40    532480    1  efi  (260M)
        5 32520     32768    2  swap  (16M)
      565288  60063664    3  rc1  (29G)
My fstab:

cat /etc/fstab
# Device                                        Mountpoint FStype  
Options Dump    Pass#
gpt/rc1 /               ufs     rw      1       1
gpt/efi /boot/efi       msdosfs rw      1       1

gpt/rc1 mounts during boot.  gpt/efi fails.

I WAS able to mount it manually with:

mount -t msdosfs /dev/gpt/efi /boot/efi

So to boot, I had to modify fstab:

cat /etc/fstab
# Device                                        Mountpoint FStype  
Options Dump    Pass#
gpt/rc1 /               ufs     rw      1       1
/dev/gpt/efi /boot/efi       msdosfs rw      1       1

Very odd that gpt/efi has to be referenced as /dev/gpt/efi.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?06315a8d-a7f3-4bf0-b7f4-343fc083e507>