PDA

View Full Version : Remastersys fstab....


pantapei
17-07-2012, 14:20
Salve a tutti... :D
per conto di terzi devo realizzare una mini versione di ubuntu ..senza shell solo terminale e qualche altro pacchetto..da far girare in live con caricamento in ram..toram..e che faccia l automount di un disco esterno usb ..

Sono partito dalla minimal...ho installato remastersys per creare l iso live

Per il boot della live in ram

Ho aggiunto all' isolinux.cfg....e sembra andare

label ubnentry02
menu label toram
kernel /casper/vmlinuz
append initrd=/casper/initrd.gz boot=casper TORAM=yes noeject noprompt --
-------------------------------------------------------
Ma adesso c è un problema....che considerate le mie scarse conoscenze di linux..è insormontabile..

Remastersys modifica il file fstab..e cosi' il disco esterno usb non viene piu' montato automaticamente...cosa assolutamente necessaria...

-------------------------------------------------------
Sul forum della remastersys...
I have a partition (ext4) for which I used an entry in fstab to automount. But this is not working after creating the LiveSystem. The part. is not mounting itself, it needs to be clicked in Dolphin. Why? How can I set the LiveSystem to use my fstab or to automount that part.?

Risposta
2 - this is part of ubuntu casper live boot so you will have to modify the casper scripts before remastering


e quindi.?? :lol:
--------------------------------------------------
Ho provato una soluzione alternativa... ad aggiungere al /etc/rc.local

mount -t ext3 /dev/sdb1 /media/Files

https://lists.ubuntu.com/archives/ubuntu-it/2007-May/022213.html

Ma non va.... :cry:

Grazie :ciao:

eaman
17-07-2012, 23:49
Prova a fare uno script da eseguire in runlevel 2 che monti questo hd, tipo


mkdir /mnt/disco
mount /dev/sdb1 /mnt/disco

in /etc/rc2.d/S80monta

pantapei
19-07-2012, 10:22
Sono riuscito a montare il disco all avvio...con /etc/rc.local ...
In virtuale con virtualbox non andava..

Ma adesso mi servirebbe uni scipt o un qualcosa del genere per smontarlo allo spegnimento...:(

Grazie