0

How do I remount / on my live CD to include /mnt/sda1/overlaytest as upperdir?

I tried:

 { mountpoint /mnt/sda1 && sudo mkdir /mnt/sda1/overlaytest &&
   mount -v -o remount -t overlay overlay -o lowerdir=/filesystem.squashfs,upperdir=/mnt/sda1/overlaytest:/cow/upper,workdir=/cow/work /; }

The output was:

/mnt/sda1/ is a mountpoint
mount: overlay mounted on /.

mount showed no change from the original:

/cow on / type overlay (rw,relatime,lowerdir=//filesystem.squashfs,upperdir=/cow/upper,workdir=/cow/work)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.