You are not logged in.

#1 2025-07-14 20:32:10

soulsender
Member
Registered: 2025-07-14
Posts: 1

/boot/initramfs-linux.img and fallback not writable

similar issue to this post: https://bbs.archlinux.org/viewtopic.php?id=283716

however, remounting /boot as `rw` doesn't work with `sudo mount -o rw /boot`, I had to arch-chroot into the system from a live boot

solution: mount into the installation iso


# make the rescue dir
mkdir /rescue

# mount the disks
mount /dev/sda1 /rescue
mount /dev/sda2 /rescue/boot

# bind hardware devices
mount -t proc proc /rescue/proc
mount -t sysfs sys /rescue/sys
mount -o bind /dev /rescue/dev
mount -t devpts pts /rescue/dev/pts

# chroot
arch-chroot /rescue

# then in the chroot
mkinitcpio -p linux


also is there seriously no markdown on this forum??

Offline

#2 2025-07-14 20:57:22

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,723

Re: /boot/initramfs-linux.img and fallback not writable

Is there a support question in here somewhere? At this point, I don't see anything we could do for troubleshooting.

Offline

#3 2025-07-14 21:29:57

cryptearth
Member
Registered: 2024-02-03
Posts: 2,090

Re: /boot/initramfs-linux.img and fallback not writable

soulsender wrote:

# make the rescue dir
mkdir /rescue

# mount the disks
mount /dev/sda1 /rescue
mount /dev/sda2 /rescue/boot

why? just use /mnt instead

# bind hardware devices
mount -t proc proc /rescue/proc
mount -t sysfs sys /rescue/sys
mount -o bind /dev /rescue/dev
mount -t devpts pts /rescue/dev/pts

arch-chroot does all that for you already: https://gitlab.archlinux.org/archlinux/ … =heads#L27

also is there seriously no markdown on this forum??

sure there is - but it's an older style called BBCode

overall you may want to take a look at the guide - https://wiki.archlinux.org/title/Instal … uide#Fstab
as to me it reads like you messed up the install already and your fstab contains something strange resulting in /boot mounting read-only or not at all
jzst as a wild guess: have you done the manual way or are you new to arch and yolo'ed your way through by blinfly used archinstall w/o understanding the manual install first?

Last edited by cryptearth (2025-07-14 21:35:12)

Offline

Board footer

Powered by FluxBB