- Mitglied seit
- 5 Aug 2011
- Beiträge
- 23
- Punkte für Reaktionen
- 0
- Punkte
- 0
He liebe Community,
ich habe folgendes Problem. Beim Einbinden der Partitionen werden diese flasch verlinkt... Ich binde die Partitionen wie folgt ein.
ich nutze in freetz die Scripte autorun.sh und autoend.sh
darin mount ich die Partition dev/sda2 auf /var/media/ftp/uStor01/debian/dev/sda2 (also auf die Debian dev/sdad2)
dann mounte ich über chroot /var/media/ftp/uStor01/debian mount -a (habe die einträge in fstab eingetragen)
es kommt beim starten der box folgendes:
darin werden alle Partitionen auf die 3,9GB große sda1 gemountet.
sda1 binde ich nicht explizit ein...
mount liefert folgenden Ausdruck:
=> dev/sda1 ist nicht gemountet.
nach einem umount-a und einem anschließenden mount -a kommt der richtige Eintrag heraus....
Wie kann ich das gleich beim starten haben, ohne den umweg über umount?
Was mache ich falsch?
Danke für eure Mühe
Grüßle nasebär
ich habe folgendes Problem. Beim Einbinden der Partitionen werden diese flasch verlinkt... Ich binde die Partitionen wie folgt ein.
ich nutze in freetz die Scripte autorun.sh und autoend.sh
darin mount ich die Partition dev/sda2 auf /var/media/ftp/uStor01/debian/dev/sda2 (also auf die Debian dev/sdad2)
dann mounte ich über chroot /var/media/ftp/uStor01/debian mount -a (habe die einträge in fstab eingetragen)
es kommt beim starten der box folgendes:
Code:
root@fritz:/# df -hT
Filesystem Type Size Used Avail Use% Mounted on
rootfs rootfs 4.9G 770M 3.9G 17% /
/dev/sda2 ext3 4.9G 770M 3.9G 17% /mnt/Daten
/dev/sda3 ext3 4.9G 770M 3.9G 17% /mnt/Privat
/dev/sda4 ext3 4.9G 770M 3.9G 17% /mnt/Multimedia
sda1 binde ich nicht explizit ein...
mount liefert folgenden Ausdruck:
Code:
root@fritz:/# mount
proc on /proc type proc (rw,noexec,nosuid,nodev)
udev on /dev type tmpfs (rw,mode=0755)
rootfs on / type rootfs (rw)
/dev/sda2 on /mnt/Daten type ext3 (rw)
/dev/sda3 on /mnt/Privat type ext3 (rw)
/dev/sda4 on /mnt/Multimedia type ext3 (rw)
=> dev/sda1 ist nicht gemountet.
nach einem umount-a und einem anschließenden mount -a kommt der richtige Eintrag heraus....
Code:
umount -a
umount: /dev/sda4: not mounted
umount: /dev/sda3: not mounted
umount: /dev/sda2: not mounted
umount: rootfs: not found
umount: /: not mounted
umount: /dev: device is busy
Code:
mount -a
Code:
root@fritz:/# df -hT
Filesystem Type Size Used Avail Use% Mounted on
rootfs rootfs 4.9G 770M 3.9G 17% /
/dev/sda2 ext3 145G 188M 137G 1% /mnt/Daten
/dev/sda3 ext3 154G 188M 146G 1% /mnt/Privat
/dev/sda4 ext3 193G 188M 183G 1% /mnt/Multimedia
Code:
root@fritz:/# mount
proc on /proc type proc (rw,noexec,nosuid,nodev)
udev on /dev type tmpfs (rw,mode=0755)
rootfs on / type rootfs (rw)
/dev/sda2 on /mnt/Daten type ext3 (rw)
/dev/sda3 on /mnt/Privat type ext3 (rw)
/dev/sda4 on /mnt/Multimedia type ext3 (rw)
Was mache ich falsch?
Danke für eure Mühe
Grüßle nasebär