diff --git a/installer/installer.sh b/installer/installer.sh index 118e87c..b1675fc 100755 --- a/installer/installer.sh +++ b/installer/installer.sh @@ -364,7 +364,7 @@ chmod 0750 $MOUNTPOINT/root UDEV_ROOT=$MOUNTPOINT/dev /lib/udev/devices/MAKEDEV dcop_write $"Binding system dirs to new mountpoint..." 73 -echo $"Binding /dev to new mountpoint" +echo $"Binding /dev, /proc and /sys to new mountpoint" mount -o bind /dev $MOUNTPOINT/dev || { echo $"Error: could not bind /dev to new mountpoint; aborting." >&2 abort @@ -373,6 +373,10 @@ mount -o bind /proc $MOUNTPOINT/proc || { echo $"Error: could not bind /proc to new mountpoint; aborting." >&2 abort } +mount -o bind /sys $MOUNTPOINT/sys || { + echo $"Error: could not bind /sys to new mountpoint; aborting." >&2 + abort +} # set root partition in fstab # must be done before mkinitrd @@ -655,6 +659,7 @@ rm -f $MOUNTPOINT/root/.DCOPserver* $MOUNTPOINT/root/.ICEauthority umount $MOUNTPOINT/dev umount $MOUNTPOINT/proc +umount $MOUNTPOINT/sys [ "$INSTALL_HOME_DEVICE" ] && umount $MOUNTPOINT/home # NOTE: move INPUT_FILE instead of copying to prevent mambawelcome from starting from diff --git a/installer/po/it.po b/installer/po/it.po index cc1cf30..8ac13b7 100644 --- a/installer/po/it.po +++ b/installer/po/it.po @@ -683,8 +683,8 @@ msgstr "Errore: non posso eseguire MAKEDEV; uscita." msgid "Binding system dirs to new mountpoint..." msgstr "Collego i percorsi di sistema al nuovo punto di mount..." #: installer.sh:226 -msgid "Binding /dev to new mountpoint" -msgstr "Collego /dev al nuovo punto di mount" +msgid "Binding /dev, /proc and /sys to new mountpoint" +msgstr "Collego /dev, /proc e /sys al nuovo punto di mount" #: installer.sh:228 msgid "Error: could not bind /dev to new mountpoint; aborting." msgstr "Errore: non posso legare /dev al nuovo punto di mount; uscita."