-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

στις 31/05/2010 05:24 μμ, O/H Steven Shiau έγραψε:
>> > So now I have another question: how can i use ocs_prerun boot parameter(s)
>> > when booting to ram? As far as i can tell, i have to "rebuild"
>> > filesystem.squashfs to achieve that... Is this true? Is there another way 
>> > to
>> > do that?
>> >
>> >    
> Sorry, I do not understand. Why you need to rebuild filesystem.squashfs 
> when you want to use ocs_prerun boot parameters?
> 
> Steven.

ok, let me make myself clear

I have a script I want to be executed using ocs_prerun, let's call it
myscript. So I burn a modified clonezilla ISO, adding myscript to the root of
this ISO. Then, when I boot normally, i pass
"ocs_prerun=/live/image/myscript" to the command line and myscript is executed
successfully

When booting to RAM, /live/image/myscript does not exist (since /live/image
does not list the contents of the CD), so my customization is useless/void

I see no other way but to rebuild filesystem.squashfs and add myscript to the
/ (root) of the "virtual" filesystem. Then "ocs_prerun=/myscript" would always
be found

- -- 
Regards
  Spiros

- --
gpg key URL: http://members.hellug.gr/sng/gpg-all.html
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iF4EAREIAAYFAkwEGHsACgkQGnm65yv0bnprDgD/fhOZu7h/MFlbhSgOZI4wVWUF
V1+lHXVTTa8xfBAn9owA/0K4aqONFHSScae9HgNt6U3/Fa2cjs4nzRn3TeaDFkX6
=UK6F
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------

_______________________________________________
Clonezilla-live mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/clonezilla-live

Reply via email to