You are not logged in.
Pages: 1
Hi,
Im doing upgrade with command pacman -Syu
after that I can't boot my archlinux
error msg :
mount: unknown filesystem type ‘vfat’
how can I repair my laptop?
Last edited by RyanHu (2022-06-19 12:26:20)
Offline
You forgot to mount the boot partition during the update or are not in fact booting from the boot partition but the root partition.
Compare "uname -a" and "pacman -Qs linux"
You can fix this offline, eg. from the install iso.
https://wiki.archlinux.org/title/Pacman … an_upgrade
Offline
You forgot to mount the boot partition during the update or are not in fact booting from the boot partition but the root partition.
Compare "uname -a" and "pacman -Qs linux"You can fix this offline, eg. from the install iso.
https://wiki.archlinux.org/title/Pacman … an_upgrade
THX for you help.
uname -a:
linux-5.16.14
pacman -Q linux:
linux-5.18.5
ls -alh /lib/modules:
linux-5.18.5
So, is that means my kernel version not equals for the boot version..?
I can downgrade my kernel version with pacman -U linux-5.16.14 to launch the system. But I back in the same situation when I upgrade linux kernel .
Offline
Make sure the /boot partition is correctly mounted before running the upgrade. If it isn't mount it manually then check /etc/fstab for errors.
Jin, Jîyan, Azadî
Offline
Make sure the /boot partition is correctly mounted before running the upgrade. If it isn't mount it manually then check /etc/fstab for errors.
fstab show errors.
/dev/nvme0n1p3
UUID=xxxxxxx / ext4 rw,relatime 0 1
/dev/nvme0n1p2
UUID=xxxxxxx /boot ext4 rw,relatime 0 2
/dev/nvme0n1p1
UUID=006c-B262 /boot/efi vfat rw,relatime,fmask=0022,dmask=437,iocharset=ascii,shortname=mixed,utf8,errors=remount-ro 0 2
/dev/nvme0n1p4
UUID=xxxxxxx /home ext4 rw,relatime 0 2
/dev/nvme0n1p5
UUID=xxxxxxx none swap defaults 0 0Last edited by RyanHu (2022-06-19 02:57:52)
Offline
If that's your literal fstab, it's broken as fuck.
If you just obfuscated the partition UUIDs for no reason (they're not private, the only point is to prevent collisions) it's still broken as fuck.
Post your *actual* fstab.
From the arch iso, mount nvme0n1p3, nvme0n1p2 and nvme0n1p1 and inspect each for kernel files (on nvme0n1p3 in the /boot path)
"file /path/to/vmlinuz-linux-whatever" will then tell you what exact kernel it is and the drive w/ the version you keep booting is your actual boot device.
Otherwise post your /proc/cmdline from the installed system (NOT when you booted the arch install iso)
Offline
If that's your literal fstab, it's broken as fuck.
If you just obfuscated the partition UUIDs for no reason (they're not private, the only point is to prevent collisions) it's still broken as fuck.
Post your *actual* fstab.From the arch iso, mount nvme0n1p3, nvme0n1p2 and nvme0n1p1 and inspect each for kernel files (on nvme0n1p3 in the /boot path)
"file /path/to/vmlinuz-linux-whatever" will then tell you what exact kernel it is and the drive w/ the version you keep booting is your actual boot device.Otherwise post your /proc/cmdline from the installed system (NOT when you booted the arch install iso)
OKay... ![]()
~ cat /etc/fstab 1 err 17:53:44
# Static information about the filesystems.
# See fstab(5) for details.
# <file system> <dir> <type> <options> <dump> <pass>
# /dev/nvme0n1p3
UUID=e0204aa6-b82c-4f3e-bafa-c7ebc461edc7 / ext4 rw,relatime 0 1
# /dev/nvme0n1p2
UUID=4914c679-d14c-41bd-8db5-8ee47d6c4bdd /boot ext4 rw,relatime 0 2
# /dev/nvme0n1p1
UUID=006C-B262 /boot/efi vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,utf8,errors=remount-ro 0 2
# /dev/nvme0n1p4
UUID=d2a39544-9f22-4613-be61-8ab0bae562ab /home ext4 rw,relatime 0 2
# /dev/nvme0n1p5
UUID=687e72d8-2ecc-43b5-85ea-e1d9e28f1644 none swap defaults 0 0 ~ sudo fdisk -l ok 17:56:00
Disk /dev/nvme0n1: 476.94 GiB, 512110190592 bytes, 1000215216 sectors
Disk model: PM8512GPTCB4B8TF-E13T4
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 6BBD7F4D-98A2-49F0-B63B-EDB873E84740
Device Start End Sectors Size Type
/dev/nvme0n1p1 2048 616447 614400 300M EFI System
/dev/nvme0n1p2 616448 2713599 2097152 1G Linux filesystem
/dev/nvme0n1p3 2713600 212428799 209715200 100G Linux root (x86-64)
/dev/nvme0n1p4 212428800 967403519 754974720 360G Linux filesystem
/dev/nvme0n1p5 967403520 1000215182 32811663 15.6G Linux swap ~ cat /proc/cmdline 1 err 17:58:31
BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=e0204aa6-b82c-4f3e-bafa-c7ebc461edc7 rw loglevel=3 quiet
file /boot/vmlinuz-linux:
/boot/vmlinuz-linux : Linux kernel x86 boot executable bzImage,version 5.18.5-arch1 (linux@archlinux) #1 SMP_DYNAMIC Thu ,16 Jun 2022 20:40:45 +0000 ,R0-rootFS ,swap_dev 0XA, Normal VGALast edited by RyanHu (2022-06-19 11:13:59)
Offline
~ cat /proc/cmdline BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=e0204aa6-b82c-4f3e-bafa-c7ebc461edc7 rw loglevel=3 quiet
Check your bootloader configuration. Looks like it's trying to boot from /boot/vmlinuz-linux on the root partition rather than the version on the /boot partition (for which the path would just be "/vmlinuz-linux").
If you can't fix things yourself you should post the method by which you configured the bootloader so we can correct you. Be sure to post the exact commands used.
Jin, Jîyan, Azadî
Offline
RyanHu wrote:~ cat /proc/cmdline BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=e0204aa6-b82c-4f3e-bafa-c7ebc461edc7 rw loglevel=3 quietCheck your bootloader configuration. Looks like it's trying to boot from /boot/vmlinuz-linux on the root partition rather than the version on the /boot partition (for which the path would just be "/vmlinuz-linux").
If you can't fix things yourself you should post the method by which you configured the bootloader so we can correct you. Be sure to post the exact commands used.
THX.
Issue has been solved.
I reformat the efi-partition..
Offline
There's no way in hell that "reformart the efi-partition" has solved any problems here.
Offline
There's no way in hell that "reformart the efi-partition" has solved any problems here.
Sorry for my English..
After upgrade kernel version to 5.18.5 , I do that:
In arch iso command line :\
lsblk mkfs.vfat -F32 /dev/nvme0n1p1
mount /dev/nvme0n1p1 /mnt/boot/efi
arch-chroot /mnt
grub-install –target=x86_64-efi –efi-directory=/boot/efi –bootloader-id=GRUB grub-mkconfig -o /boot/grub/grub.cfg
exit
rm -rf /mnt/etc/fstab
genfstab -U /mnt » /mnt/etc/fstabSuccessfully launched the system with new kernel~~~
Offline
grub-install –target=x86_64-efi –efi-directory=/boot/efi –bootloader-id=GRUB grub-mkconfig -o /boot/grub/grub.cfgwas the crucial step
genfstab -U /mnt » /mnt/etc/fstabalso means that you're now skipping the /boot partion, right?
Offline
grub-install –target=x86_64-efi –efi-directory=/boot/efi –bootloader-id=GRUB grub-mkconfig -o /boot/grub/grub.cfgwas the crucial step
genfstab -U /mnt » /mnt/etc/fstabalso means that you're now skipping the /boot partion, right?
/boot partion not skiped.
~ cat /etc/fstab
# /dev/nvme0n1p3
UUID=e0204aa6-b82c-4f3e-bafa-c7ebc461edc7 / ext4 rw,relatime 0 1
# /dev/nvme0n1p2
UUID=4914c679-d14c-41bd-8db5-8ee47d6c4bdd /boot ext4 rw,relatime 0 2
# /dev/nvme0n1p1
UUID=FED4-BE9B /boot/efi vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,utf8,errors=remount-ro 0 2
# /dev/nvme0n1p4
UUID=d2a39544-9f22-4613-be61-8ab0bae562ab /home ext4 rw,relatime 0 2
# /dev/nvme0n1p5
UUID=687e72d8-2ecc-43b5-85ea-e1d9e28f1644 none swap defaults 0 0
~ cat /proc/cmdline ok 13:15:01
BOOT_IMAGE=/vmlinuz-linux root=UUID=e0204aa6-b82c-4f3e-bafa-c7ebc461edc7 rw loglevel=3 quietLast edited by RyanHu (2022-06-20 05:18:02)
Offline
Just re-install Nvidia (with internet connection).
Offline
Pages: 1