Encrypted root partition (USB drive) read-only?

Raspberry Pi 2

Encrypted root partition (USB drive) read-only?

Postby MarkJT » Sun Nov 29, 2020 4:02 pm

Hi all,

I've been running some RasPi Arch ARM home servers for a while. My setup includes an encrypted root partition on an external USB thumb drive.

A recent update has caused me some trouble booting: after entering the encryption password, the output reads:

$this->bbcode_second_pass_code('', ':: performing fsck on '/dev/mapper/root'
fsck.ext4: Operation not permitted while trying to open /dev/mapper/root
You must have r/w access to the filesystem or be root
ERROR: fsck failed on '/dev/mapper/root'
:: mounting '/dev/mapper/root' on real root
INFO: recovery required on readonly filesystem
write access unavailable, cannot proceed (try mounting with noload)
mount: /new_root: cannot mount /dev/mapper/root read-only.
You are now being dropped into an emergency shell.
sh: can't access tty; job control turned off')

I've checked my /boot/cmdline.txt and 'rw' comes before 'rootwait'

When attempting to look into my external USB encrypted root partition on another device, the output of mounting reads:

$this->bbcode_second_pass_code('', 'mount: /mnt/temp: cannot mount /dev/mapper/cryptusb read-only.')

But will mount with:

$this->bbcode_second_pass_code('', 'mount -ro,noload /dev/mapper/cryptusb /mnt/temp')

So it appears that there's some issue with journaling on this block device?

I'm a bit out of my depth here, but if anyone would help point me in the right direction for what to investigate, I'd appreciate that.

Thanks.
MarkJT
 
Posts: 1
Joined: Sat Nov 10, 2018 3:29 pm

Return to Broadcom

Who is online

Users browsing this forum: No registered users and 8 guests