Rescueboot: need root-partition rw

JKolk at splendid.de JKolk at splendid.de
Tue Apr 20 17:16:45 CEST 2004






Thomas Lange <lange at informatik.Uni-Koeln.DE> wrote on 20.04.2004 16:41:49:

> >>>>> On Tue, 20 Apr 2004 16:28:34 +0200, JKolk at splendid.de said:
>
>     > After login you find the harddisk-partitions mounted to
/tmp/target.
>     > The partitions are mounted rw except the root-partition in
/tmp/target
>     > itself, it's mounted ro. Why?
>
> Because this is defined in the script lib/fai-mount-disk in
> fstab_mount(). There I do a
>
>         mount -o ro /dev/$fstabpart $FAI_ROOT
>
> so /tmp/target is mounted ro. Normally, all other partitions should
> also be mounted ro, because it's a rescue system. But it seems to be a
> little bug, so they are mounted as defined in fstab.
>
> But you can use a simple hook to remount the partition rw. Just use
> this command:
>
> rwmount $FAI_ROOT
>
> --
> regards Thomas

Hi Thomas,
thanks for your quick answere.

Changing
mount -o ro /dev/$fstabpart $FAI_ROOT
to
mount -o rw /dev/$fstabpart $FAI_ROOT

doesn't change the behavior: /tmp/target still read-only in rescuemode:
myhost:~# mount
     ....
/dev/sda1 on /tmp/target type ext3 (ro)
/dev/sda7 on /tmp/target/home type ext3 (rw,nosuid)
/dev/sda6 on /tmp/target/usr type ext3 (rw)
/dev/sda8 on /tmp/target/var type ext3 (rw)

But "rwmount /tmp/target" helps.

Best regards, Jürgen





More information about the linux-fai mailing list