mirror of
https://github.com/CopterExpress/clover.git
synced 2026-05-26 11:43:25 +00:00
One more fix to working with fstab
This commit is contained in:
@@ -48,7 +48,7 @@ sed -i "19a${MAGIC_SCRIPT}" /etc/rc.local
|
|||||||
# It needs for autosizer.sh & maybe that is correct
|
# It needs for autosizer.sh & maybe that is correct
|
||||||
echo_stamp "Change boot partition"
|
echo_stamp "Change boot partition"
|
||||||
sed -i 's/root=[^ ]*/root=\/dev\/mmcblk0p2/' /boot/cmdline.txt
|
sed -i 's/root=[^ ]*/root=\/dev\/mmcblk0p2/' /boot/cmdline.txt
|
||||||
sed -i 's/.* \/boot\/firmware vfat defaults 0 2$/\/dev\/mmcblk0p1 \/boot/firmware vfat defaults 0 2/' /etc/fstab
|
sed -i 's/.* \/boot\/firmware vfat defaults 0 2$/\/dev\/mmcblk0p1 \/boot\/firmware vfat defaults 0 2/' /etc/fstab
|
||||||
sed -i 's/.* \/ ext4 defaults,noatime 0 1$/\/dev\/mmcblk0p2 \/ ext4 defaults,noatime 0 1/' /etc/fstab
|
sed -i 's/.* \/ ext4 defaults,noatime 0 1$/\/dev\/mmcblk0p2 \/ ext4 defaults,noatime 0 1/' /etc/fstab
|
||||||
cat /boot/cmdline.txt
|
cat /boot/cmdline.txt
|
||||||
cat /etc/fstab
|
cat /etc/fstab
|
||||||
|
|||||||
Reference in New Issue
Block a user