FS#66166 - [arch-install-scripts] genfstab doesn't resolve directories correctly when using mount -o bind
Attached to Project:
Arch Linux
Opened by Franz Trischberger (fft2000) - Wednesday, 08 April 2020, 06:19 GMT
Last edited by Jelle van der Waa (jelly) - Monday, 18 September 2023, 17:53 GMT
Opened by Franz Trischberger (fft2000) - Wednesday, 08 April 2020, 06:19 GMT
Last edited by Jelle van der Waa (jelly) - Monday, 18 September 2023, 17:53 GMT
|
Details
I installed arch alongside Gentoo on my laptop.
The Gentoo partition contains my /home that I want to reuse in arch. arch is on sda7, gentoo (including the /home) is on sda6. Therefor I did == mount /dev/sda7 /mnt mount /dev/sda6 /mnt/media/sda6 mount -o bind /mnt/media/sda6/home /mnt/home == This resulted in /home being not mounted after a reboot because the source for the bind mount was not resolved correctly: == # /dev/sda7 UUID=13f863fd-fd2e-4aa3-90a1-42c92a29dd24 / ext4 rw,relatime 0 1 # /dev/sda6 UUID=fabfc099-6cf9-4de0-a9bf-2854965d0b72 /media/sda6 ext4 rw,relatime 0 2 # /mnt/media/sda6/home /mnt/media/sda6/home /home none rw,bind 0 == The last line of course should be /media/sda6/home, the leading /mnt is wrong. Of course I finally found the error and manually corrected it so the system runs as expected now, but genfstab could try better to catch that case. |
This task depends upon
Closed by Jelle van der Waa (jelly)
Monday, 18 September 2023, 17:53 GMT
Reason for closing: Moved
Additional comments about closing: https://gitlab.archlinux.org/archlinux/a rch-install-scripts/issues/62
Monday, 18 September 2023, 17:53 GMT
Reason for closing: Moved
Additional comments about closing: https://gitlab.archlinux.org/archlinux/a rch-install-scripts/issues/62

This is an automated comment as this bug is open for more then 2
years. Please reply if you still experience this bug otherwise
this issue will be closed after 1 month.