Hi,
Before you run sshfs, I believe you'd better to let network startup.
Therefore it's recommended to make it like:
ocs_prerun1="dhclient -v eth0" ocs_prerun2="sleep 2" ocs_prerun3="sshfs 
-o nonempty -p 22 clone@x.x.x.x:/images /home/partimag"

Steven.

On 03/18/2011 04:30 AM, LEFIEUX Morgan wrote:
> Hi,
>
> i'm trying to use these livecd boot parameters to automate the
> restoration of partitions from a SSH server:
>
> append initrd=clonezilla/initrd.img boot=live live-config noswap
> nolocales edd=on nomodeset ocs_prerun="sshfs -o nonempty -p 22
> clone@x.x.x.x:/images /home/partimag" ocs_live_run="ocs-sr -g auto -e1
> auto -e2 -c -r -j2 -cs -p true restoreparts ask_user sda1"
> ocs_live_extra_param=""
> ocs_live_keymap="/usr/share/keymaps/i386/azerty/fr-latin9.kmap.gz"
> ocs_live_batch="no" ocs_lang="fr_FR.UTF-8" ocs_numlk="on" vga=791
> nosplash fetch=http://x.x.x.x/pub/iso/clonezilla/filesystem.squashfs
>
> clonezilla starts but doesn't ask for the password when trying to mount
> the remote directory with SSHFS and then fails. It only prints
> "Connection reset by peer"
> If i do all the steps normally using the GUI dialog, it works.
>
> Is there a mean to let the user type the password when using ocs_prerun= ?
>
> Thanks
>
> ------------------------------------------------------------------------------
> Colocation vs. Managed Hosting
> A question and answer guide to determining the best fit
> for your organization - today and in the future.
> http://p.sf.net/sfu/internap-sfd2d
> _______________________________________________
> Clonezilla-live mailing list
> Clonezilla-live@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/clonezilla-live

-- 
Steven Shiau<steven _at_ nchc org tw>  <steven _at_ stevenshiau org>
National Center for High-performance Computing, Taiwan.
http://www.nchc.org.tw
Public Key Server PGP Key ID: 1024D/9762755A
Fingerprint: A2A1 08B7 C22C 3D06 34DB  F4BC 08B3 E3D7 9762 755A


------------------------------------------------------------------------------
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
_______________________________________________
Clonezilla-live mailing list
Clonezilla-live@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/clonezilla-live

Reply via email to