You are not logged in.
Pages: 1
When I boot arch using grub, I'm greeted by this message.
I've reinstalled grub, regenerated initramfs, regenerated /etc/fstab, reinstalled linux and yet no luck.
Last edited by arash28134 (2024-08-30 20:17:29)
All men's miseries derive from not being able to sit in a quiet room alone. - Blaise Pascal
Offline
Post your fstab as well as the output of blkid.
Offline
Post your fstab as well as the output of blkid.
blkid
/dev/sdd2: BLOCK_SIZE="512" UUID="01DAFAB09F407280" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="4d6cba9a-a499-4e55-9fee-c3398d204dac"
/dev/sdd3: BLOCK_SIZE="512" UUID="3022504D22501A64" TYPE="ntfs" PARTUUID="bb97a227-0062-4915-9282-8ffad2746d7e"
/dev/sdd1: UUID="8450-7900" BLOCK_SIZE="512" TYPE="vfat" PARTLABEL="EFI system partition" PARTUUID="eb350143-497f-4caf-b95a-ad503c5bdab4"
/dev/sdb1: UUID="a21d11d1-fcd3-4695-8703-e194391a0dc0" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="d004986a-01"
/dev/sde1: LABEL="ARCH_202408" UUID="94AA-62B4" BLOCK_SIZE="512" TYPE="vfat" PARTUUID="0007e637-01"
/dev/sdc2: UUID="87318ee2-bf9b-4be4-a245-68343e3431ae" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="9d532e34-0912-4b27-afc5-1695e6ba1c64"
/dev/sdc1: UUID="5B32-FF13" BLOCK_SIZE="512" TYPE="vfat" PARTUUID="56cd0e14-8188-440a-b475-7eeb23aac86f"
/dev/sda1: BLOCK_SIZE="512" UUID="01DAFAACBB227F10" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="aaf7f51b-41ff-41f7-8c93-dd267d6d9aa6"fstab
# Static information about the filesystems.
# See fstab(5) for details.
# <file system> <dir> <type> <options> <dump> <pass>
# /dev/sdc2
UUID=87318ee2-bf9b-4be4-a245-68343e3431ae / ext4 rw,relatime 0 1
# /dev/sdc1
UUID=C0C4-5375 /boot vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,utf8,errors=remount-ro 0 2
# /dev/sdc2
UUID=87318ee2-bf9b-4be4-a245-68343e3431ae / ext4 rw,relatime 0 1
# /dev/sdc1
UUID=CE01-8214 /boot vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,utf8,errors=remount-ro 0 2
# /dev/sdc2
UUID=87318ee2-bf9b-4be4-a245-68343e3431ae / ext4 rw,relatime 0 1
# /dev/sdc1
UUID=5B32-FF13 /boot vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,utf8,errors=remount-ro 0 2(/dev/sdc1 contains grub and /dev/sdc2 is the rest of the operating system)
Last edited by arash28134 (2024-08-30 18:02:34)
All men's miseries derive from not being able to sit in a quiet room alone. - Blaise Pascal
Offline
you seem to have executed
genfstab
multiple times
Offline
you seem to have executed
genfstab
multiple times
Yes because for some reason I thought fstab was getting removed. What should I do?
All men's miseries derive from not being able to sit in a quiet room alone. - Blaise Pascal
Offline
Try just to keep the last 2 entry. Remove other entry and reboot.
Offline
Try just to keep the last 2 entry. Remove other entry and reboot.
removed /etc/fstab and ran genfstab again and it's fixed. Thanks! ![]()
All men's miseries derive from not being able to sit in a quiet room alone. - Blaise Pascal
Offline
For future reference, you might want to look up what >> does in bash.
Offline
Yes because for some reason I thought fstab was getting removed.
there's a difference between a single redirect > and a double redirect >>
the single redirect creates a new file or completely overwrites an existing one
the double redirect appends to an existing file
why the double redirect is used:
/etc/fstab is such an important file that an empty default one is already created during initial pacstrap
calling genfstab with the appending doubke redirect means to append the output of genfstab to the existing empty fstab template
doing so multiple times will append multiple double entries which can end up in a bad fstab like yours
as for why the guide does it this I'm not sure as it's written for a new install with an empty fstab anyway - so a simple overwriting single redirect would do the job just fine
maybe it's just to keep the few template lines atvtge top - maybe there's another more specific reason
tldr: you always want a fstab with each mountpoint only show up once
Offline
Pages: 1