You are not logged in.

#1 2023-01-17 05:05:22

Lebellelenous
Member
Registered: 2023-01-17
Posts: 25

Can’t mount /boot on boot

I updated my install about a week ago and got this error message, I checked the journal and it told me something about the partition being in vfat, I can no longer log into the emergency shell because it appears that my keyboard has stopped working, I also posted something on the arch subreddit and got the response to check my fstab but no follow up, so my fstab is at https://paste.c-net.org/GenocideTopeka

Offline

#2 2023-01-17 06:42:57

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 9,003
Website

Re: Can’t mount /boot on boot

I think your problem is the same as this thread so follow the advice given there (chroot in with the /boot partition correctly mounted and reinstall the kernel).

Your /etc/fstab does have a line for the /boot partition though so I'm not sure why you've encountered this. Is the (filesystem) UUID for /dev/sda1 correct?

Last edited by Head_on_a_Stick (2023-01-17 06:45:12)


Jin, Jîyan, Azadî

Offline

#3 2023-01-17 07:11:41

Lebellelenous
Member
Registered: 2023-01-17
Posts: 25

Re: Can’t mount /boot on boot

Just to be clear I need to mount my /dev/sda2 to /mnt/boot and then do what?

Offline

#4 2023-01-17 07:16:09

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 9,003
Website

Re: Can’t mount /boot on boot

Which guide did you follow when installing Arch?

You need to mount your root partiiton under /mnt then mount your /boot partition under /mnt/boot then use

# arch-chroot /mnt

Then update the kernel from there.

And please be sure to answer all questions. You might end up linked in the "Grrr" thread otherwise...


Jin, Jîyan, Azadî

Offline

#5 2023-01-17 07:36:59

Lebellelenous
Member
Registered: 2023-01-17
Posts: 25

Re: Can’t mount /boot on boot

I’m getting a new error once I’ve mounted /dev/sda1 to /mnt /dev/sda2 to /mnt/boot and /dev/sda3 to /mnt/home

The output of pacstrap -DK base linux linux-firmware
Is at
https://paste.c-net.org/RhetoricForgets

Edit: the UUID’s match and I used the arch-install scripts to install

Last edited by Lebellelenous (2023-01-17 07:39:56)

Offline

#6 2023-01-17 07:53:39

d.ALT
Member
Registered: 2019-05-10
Posts: 959

Re: Can’t mount /boot on boot

Lebellelenous wrote:
# /dev/sda2
UUID=b2d57fe6-b4eb-4b64-99c0-cbacee83a0d3	/         	ext4      	rw,relatime	0 1

# /dev/sda1
UUID=369F-2AA9      	/boot     	vfat      	rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,utf8,errors=remount-ro	0 2

# /dev/sda3
UUID=46cd394e-0218-4289-86e6-6345c068c23a	/home     	ext4      	rw,relatime	0 2
Lebellelenous wrote:

I’m getting a new error once I’ve mounted /dev/sda1 to /mnt /dev/sda2 to /mnt/boot and /dev/sda3 to /mnt/home

Please, be aware of what you're doing with your partition(s) and where you are mounting 'em!!!


<49,17,III,I>    Fama di loro il mondo esser non lassa;
<50,17,III,I>    misericordia e giustizia li sdegna:
<51,17,III,I>    non ragioniam di lor, ma guarda e passa.

Offline

#7 2023-01-17 08:03:59

Lebellelenous
Member
Registered: 2023-01-17
Posts: 25

Re: Can’t mount /boot on boot

I think it was a typo but I unmounted and remounted the partitions and ran

pacstrap /mnt base linux linux-firmware

I got it to boot however it said that job control was turned off and I can’t type into the terminal it spits me out into

Edit: while checking the files in the instillation media it gave me the error while chrooting of bin/bash not available and there is no /bin file on /dev/sda2

Edit 2: ls of /mnt: https://paste.c-net.org/HappenHearings

Edit 3: I fucked up my system didn’t I?

Last edited by Lebellelenous (2023-01-17 08:18:25)

Offline

#8 2023-01-17 08:49:06

d.ALT
Member
Registered: 2019-05-10
Posts: 959

Re: Can’t mount /boot on boot

  1. double-check: sanity of your USB pen and verifiy the Installation Medium

    • please also consider running a manual fsck onto your sda1 and sda2 and sda3

  2. If everything's fine, then boot the ArchLinux ISO

  3. mount partitions (ROOT ---> /mnt, BOOT ---> /mnt/boot, HOME ---> /mnt/home) and do NOT chroot

  4. # pacman --root /mnt --cachedir /mnt/var/cache/pacman/pkg -Syu
  5. tell us what's happening (post here errors - if any - from the above command)


<49,17,III,I>    Fama di loro il mondo esser non lassa;
<50,17,III,I>    misericordia e giustizia li sdegna:
<51,17,III,I>    non ragioniam di lor, ma guarda e passa.

Offline

#9 2023-01-17 13:25:41

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,403

Re: Can’t mount /boot on boot

/bin is supposed to be a symlink to /usr/bin

Before running "pacman … -Syu", please check

sudo LC_ALL=C pacman --root /mnt -Qkk | grep -v ', 0 altered files'

There're multiple damaged files in a previous output, but most seem to relate to Qt6 - so maybe we should check how bad it currently is.

Edit: there's also

-rw-r--r--   1 root root 11198656 Jan 17 07:40 vmlinuz-linux

so most likely at some point this morning you cross-mounted the root and boot partition and installed the kernel.

Last edited by seth (2023-01-17 13:27:03)

Offline

#10 2023-01-17 13:36:45

d.ALT
Member
Registered: 2019-05-10
Posts: 959

Re: Can’t mount /boot on boot

seth wrote:

Before running "pacman … -Syu", please check

sudo LC_ALL=C pacman --root /mnt -Qkk | grep -v ', 0 altered files'

Mmm... This is done because Pacman will not "auto-correct" problematic files while -Syu action? Re-instalaltion is needed here?


<49,17,III,I>    Fama di loro il mondo esser non lassa;
<50,17,III,I>    misericordia e giustizia li sdegna:
<51,17,III,I>    non ragioniam di lor, ma guarda e passa.

Offline

#11 2023-01-17 13:46:05

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,403

Re: Can’t mount /boot on boot

This is primarily done to get an idea about what might have happened, but yes: simply updating will not fix broken packages that are up-to-date.
Also there may be damages to the database.

Offline

#12 2023-01-17 17:46:19

Lebellelenous
Member
Registered: 2023-01-17
Posts: 25

Re: Can’t mount /boot on boot

d.ALT wrote:
  1. double-check: sanity of your USB pen and verifiy the Installation Medium

    • please also consider running a manual fsck onto your sda1 and sda2 and sda3

  2. If everything's fine, then boot the ArchLinux ISO

  3. mount partitions (ROOT ---> /mnt, BOOT ---> /mnt/boot, HOME ---> /mnt/home) and do NOT chroot

  4. # pacman --root /mnt --cachedir /mnt/var/cache/pacman/pkg -Syu
  5. tell us what's happening (post here errors - if any - from the above command)

The output is: https://paste.c-net.org/PromotedWatchings
Should I just tell pacman to ignore libcaps?

Edit 1: I have a separate home partition so I’m okay with reinstalling Arch as long as I am able to use that home partition with the new install (this makes sense logically in my head and I can’t think of a reason why it wouldn’t work, even if I have to not use the scripts to install)

Last edited by Lebellelenous (2023-01-17 20:46:04)

Offline

#13 2023-01-17 19:53:19

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,403

Re: Can’t mount /boot on boot

https://paste.c-net.org/PromotedWatchings wrote:

There's no such file here sad

seth wrote:

sudo LC_ALL=C pacman --root /mnt -Qkk | grep -v ', 0 altered files'

Offline

#14 2023-01-17 19:59:35

Lebellelenous
Member
Registered: 2023-01-17
Posts: 25

Re: Can’t mount /boot on boot

That link is for the other command, and for the one that you quoted all i get is no such file or directory errors (it’s still running, when it finishes I’ll edit this and add the link)

Updated link: https://paste.c-net.org/PromotedWatching

Edit 1: the output of the command you listed: https://paste.c-net.org/VineyardSnowing

Last edited by Lebellelenous (2023-01-17 20:05:02)

Offline

#15 2023-01-17 20:05:33

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,403

Re: Can’t mount /boot on boot

The paste still only includes

:: Synchronizing package databases...
 core downloading...
 extra downloading...
 community downloading...
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...
:: installing libpcap (1.10.3-1) breaks dependency 'libpcap=1.10.2' required by lib32-libpcap

which isn't nearly the output of a system update.

idk how you copy & paste stuff there, but

sudo LC_ALL=C pacman --root /mnt -Qkk 2>&1 | grep -v ', 0 altered files' | tee /tmp/pacman_qkk.log
cat /tmp/pacman_qkk.log | curl -F 'file=@-' 0x0.st

Edit: though from a brief look on the stdout, there's probably not a single intact package on the system.
https://wiki.archlinux.org/title/Pacman … l_packages

Any idea what happened there?
You might want to start w/ https://wiki.archlinux.org/title/SMART

smartctl -a /dev/sda

Last edited by seth (2023-01-17 20:08:59)

Offline

#16 2023-01-17 20:11:36

Lebellelenous
Member
Registered: 2023-01-17
Posts: 25

Re: Can’t mount /boot on boot

After running the command listed in your previous reply, http://0x0.st/ohKD.txt is the output

Edit: the one before last

Last edited by Lebellelenous (2023-01-17 20:13:30)

Offline

#17 2023-01-17 20:13:50

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,403

Re: Can’t mount /boot on boot

"st" - also this looks like you cut the output short.
Doesn't matter, there's almost nothing left of your installation.
See my previous post and ESPECIALLY asses the sanity of the drive before you continue to use it.
In doubt post the smartctl output.

Offline

#18 2023-01-17 20:17:01

Lebellelenous
Member
Registered: 2023-01-17
Posts: 25

Re: Can’t mount /boot on boot

Assess sanity? This drive is barely a year old, I didn’t think that an ssd could deteriorate that quickly

Offline

#19 2023-01-17 20:19:17

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,403

Re: Can’t mount /boot on boot

Unless you know what could have caused this we better look…
Other causes would be over-aggressive trimming strategies or other issues w/ the filesystem (though less likely w/ ext4)
But something *has* happened and it shredded most files on at least that partition.

Offline

#20 2023-01-17 20:20:45

Lebellelenous
Member
Registered: 2023-01-17
Posts: 25

Re: Can’t mount /boot on boot

The output of smartctl -a /dev/sda is at https://paste.c-net.org/FreightSealed

Edit: It appears that all data on the /home partition (/dev/sda3) is good and intact

Last edited by Lebellelenous (2023-01-17 20:21:34)

Offline

#21 2023-01-17 20:25:16

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,403

Re: Can’t mount /boot on boot

Doesn't look concerning.
Do you have any idea what could have caused the massive data loss on the root partition?
Power cut?

The necessary step however would be https://wiki.archlinux.org/title/Pacman … l_packages

Offline

#22 2023-01-17 20:29:58

Lebellelenous
Member
Registered: 2023-01-17
Posts: 25

Re: Can’t mount /boot on boot

I do live in a developing neighborhood and the power goes out from time to time, but not recently

Edit: it’s okay to run the command from the link provided as is?

Last edited by Lebellelenous (2023-01-17 20:31:00)

Offline

#23 2023-01-17 20:45:22

Lebellelenous
Member
Registered: 2023-01-17
Posts: 25

Re: Can’t mount /boot on boot

seth wrote:

The necessary step however would be https://wiki.archlinux.org/title/Pacman … l_packages


I can run

pacman -Qqn | pacman -S - 

as is?

Last edited by Lebellelenous (2023-01-17 20:46:52)

Offline

#24 2023-01-17 20:59:50

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,403

Re: Can’t mount /boot on boot

No, since you'll likely be doing this from the install iso, you'll have to use

pacman --root /mnt -Qqn | pacman --root /mnt --cachedir /mnt/var/cache/pacman/pkg -S -

Offline

#25 2023-01-17 21:07:07

Lebellelenous
Member
Registered: 2023-01-17
Posts: 25

Re: Can’t mount /boot on boot

Alright, I feel like we’re getting closer I’m now getting an error about dependencies

Error: https://paste.c-net.org/SlammedGoodbye

Edit: I’m going to try to have pacman ignore those packages and retry

Edit 2: it appears as of 3:14 PM UTC 6 that it is going to download and install all of the missing packages

Last edited by Lebellelenous (2023-01-17 21:14:48)

Offline

Board footer

Powered by FluxBB