From: Steven S. <st...@nc...> - 2015-01-01 03:23:19
|
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: clo...@li... > 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 > > Clo...@li... > > 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 > Clo...@li... > 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 |