Hi Steven,
        I've found that it works perfectly on NFS restores too. I've only seen 
it exhibited on a USB restore. I apologize I didn't get a chance to confirm for 
you from your previous email as other projects came up. I did just test your 
method leaving the -p true and instead adding the reboot parameter as an 
ocs_postrun command. Having done that it appears to work properly. Thanks for 
your time on this little quirk!


-----Original Message-----
From: Steven Shiau [mailto:shiau.ste...@gmail.com] On Behalf Of Steven Shiau
Sent: Sunday, January 11, 2015 12:43 AM
To: Conan Malady; clonezilla-live@lists.sourceforge.net
Subject: Re: [Clonezilla-live] ntfsfix -d on USB stick restore not working when 
-p reboot is set. Works properly with -p true set instead.

Hi Conan,
Just did a test with Clonezilla live 20150106-utopic-amd64 to restore an MS 
Windows image like this:
APPEND initrd=Clonezilla-live-initrd.img boot=live username=user 
hostname=utopic config quiet union=overlayfs noswap edd=on nomodeset nodmraid 
locales=en_US.UTF-8 keyboard-layouts=NONE ocs_live_run="ocs-sr -g auto -e1 auto 
-e2 --batch -r -j2 -p true restoredisk my-win7-img sda"
ocs_live_batch=no vga=788 ip=  splash i915.blacklist=yes radeonhd.blacklist=yes 
nouveau.blacklist=yes vmwgfx.enable_fbdev=1 noprompt ocs_prerun="mount -t nfs 
192.168.120.254:/home/partimag /home/partimag" ocs_postrun1="ntfsfix -d 
/dev/sda2" ocs_postrun2="sleep 3" ocs_postrun3="reboot"

It works well here, i.e. all are unattended, and the machine is rebooted in the 
end. You can refer to the above configurations.

Steven.
On 01/02/2015 01:23 AM, Conan Malady wrote:
> Hi Steven,
> I believe I had tried that too with no change.  I'll 100% confirm on 
> Monday when I have a chance to look again.
>
>
> -------- Original message --------
> From: Steven Shiau
> Date:12/31/2014 9:24 PM (GMT-06:00)
> To: clonezilla-live@lists.sourceforge.net
> Subject: Re: [Clonezilla-live] ntfsfix -d on USB stick restore not 
> working when -p reboot is set. Works properly with -p true set instead.
>
> Hi Conan,
> OK.
> So keep your boot parameters (the one with -p true), and add 
> ocs_postrun3="reboot"
> solve your problem?
>
> Steven.
> On 01/01/2015 10:58 AM, Conan Malady wrote:
> > It just doesn't seem to run at all. No error message but check disk 
> > happens every time after the job on first boot.  The clone job works 
> > perfect just the check disk happens when the ntfsfix should normally 
> > fix it.
> >
> > Conan
> >
> >
> > -------- Original message --------
> > From: Steven Shiau
> > Date:12/31/2014 8:55 PM (GMT-06:00)
> > To: clonezilla-live@lists.sourceforge.net
> > Subject: Re: [Clonezilla-live] ntfsfix -d on USB stick restore not 
> > working when -p reboot is set. Works properly with -p true set instead.
> >
> > What was the error messages when you use that?
> > Or it just reboot before ocs_postrun* is run?
> > If so, yes, that's natural.
> > The ocs_postrun* command is run after ocs_live_run is done, 
> > therefore if you want to reboot, you can add ocs_postrun3="reboot".
> >
> > Steven.
> >
> > On 01/01/2015 01:25 AM, Conan Malady wrote:
> > >
> > > I’m using clonezilla-live-20141208-utopic-amd64 to do a restore 
> > > from a USB stick to sda. This works perfectly minus ntfsfix –d 
> > > isn’t working properly when set to –p reboot. Verified that was 
> > > the source of the issue this morning. Here is my code:
> > >
> > >
> > >
> > > label Clonezilla-live
> > >
> > >                 MENU DEFAULT
> > >
> > > MENU LABEL Image System
> > >
> > > KERNEL /live/vmlinuz
> > >
> > > APPEND initrd=/live/initrd.img boot=live union=aufs config noswap 
> > > nolocales edd=on nomodeset ocs_live_run="ocs-live-restore"
> > > ocs_live_extra_param="--batch -p true -e1 auto -e2 -k1 -r -icds 
> > > restoredisk IMAGE sda" keyboard-layouts="NONE" ocs_live_batch="yes"
> > > locales="" vga=788 nosplash noprompt echo_ocs_prerun="no"
> > > ocs_prerun="mount /dev/sdb2 /home/partimag" ocs_postrun1="ntfsfix 
> > > -d /dev/sda1" ocs_postrun2="ntfsfix -d /dev/sda2"
> > >
> > >
> > >
> > > As you can see I have it currently set to –p true because of this. 
> > > Not a huge deal but would have ideally liked to been able to use 
> > > –p reboot like I use in my PXE environment. Am I missing something 
> > > or is this a genuine bug?
> > >
> > >
> > >
> > > Thanks,
> > >
> > > Conan
> > >
> > >
> > >
> > >
> >
> ----------------------------------------------------------------------
> --------
> > > Dive into the World of Parallel Programming! The Go Parallel 
> > > Website, sponsored by Intel and developed in partnership with 
> > > Slashdot Media,
> > is your
> > > hub for all things parallel software development, from weekly 
> > > thought leadership blogs to news, videos, case studies, tutorials and 
> > > more.
> > Take a
> > > look and join the conversation now.
> > http://goparallel.sourceforge.net 
> > <http://goparallel.sourceforge.net>
> > >
> > >
> > > _______________________________________________
> > > Clonezilla-live mailing list
> > > Clonezilla-live@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/clonezilla-live
> >
> > --
> > Steven Shiau <steven _at_ stevenshiau org> Public Key Server PGP Key 
> > ID: 4096R/47CF935C
> > Fingerprint: 0240 1FEB 695D 7112 62F0  8796 11C1 12DA 47CF 935C
> >
> >
> >
> ----------------------------------------------------------------------
> --------
> > Dive into the World of Parallel Programming! The Go Parallel 
> > Website, sponsored by Intel and developed in partnership with 
> > Slashdot Media, is your hub for all things parallel software 
> > development, from weekly thought leadership blogs to news, videos, 
> > case studies, tutorials and more.
> Take a
> > look and join the conversation now.
> http://goparallel.sourceforge.net <http://goparallel.sourceforge.net>
> > _______________________________________________
> > Clonezilla-live mailing list
> > Clonezilla-live@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/clonezilla-live
>
> --
> Steven Shiau <steven _at_ stevenshiau org> Public Key Server PGP Key 
> ID: 4096R/47CF935C
> Fingerprint: 0240 1FEB 695D 7112 62F0  8796 11C1 12DA 47CF 935C
>
>
> ----------------------------------------------------------------------
> -------- Dive into the World of Parallel Programming! The Go Parallel 
> Website, sponsored by Intel and developed in partnership with Slashdot 
> Media, is your hub for all things parallel software development, from 
> weekly thought leadership blogs to news, videos, case studies, 
> tutorials and more. Take a look and join the conversation now. 
> http://goparallel.sourceforge.net 
> _______________________________________________
> Clonezilla-live mailing list
> Clonezilla-live@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/clonezilla-live

--
Steven Shiau <steven _at_ stevenshiau org> Public Key Server PGP Key ID: 
4096R/47CF935C
Fingerprint: 0240 1FEB 695D 7112 62F0  8796 11C1 12DA 47CF 935C


------------------------------------------------------------------------------
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
www.gigenet.com
_______________________________________________
Clonezilla-live mailing list
Clonezilla-live@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/clonezilla-live

Reply via email to