Author Topic: Trying to remaster my install to be able to use it to install on [SOLVED]  (Read 1365 times)

Offline frazelle09

  • Hero Member
  • *****
  • Posts: 1476
  • Open my what?
    • Fundacion Anisa, A.C.
another compu.

i'm not sure if i can use this program to do this or not.  i suspect the live cd would be more like a number of live dvds.  My df command returns the following:

Code: [Select]
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda1              12G  7.0G  4.3G  62% /
tmpfs                1008M     0 1008M   0% /dev/shm
/dev/sda6             443G   72G  372G  17% /home
none                 1008M   30M  978M   3% /tmp

Would this program be capable of creating a series of install DVDs?  i don't need my /home directory included so i could use that partition to create the DVDs.

Any ideas?

Have a great evening!  :)
« Last Edit: April 21, 2011, 11:12:51 PM by frazelle09 »
"The earth is one country and mankind its citizens."
Baha'u'llah
"La tierra es un solo pais y la humanidad sus ciudadanos."


Offline Was_Just19

  • Hero Member
  • *****
  • Posts: 6852
  • MLU
i'm not sure if i can use this program to do this or not.  i suspect the live cd would be more like a number of live dvds.  My df command returns the following:

Code: [Select]
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda1              12G  7.0G  4.3G  62% /
tmpfs                1008M     0 1008M   0% /dev/shm
/dev/sda6             443G   72G  372G  17% /home
none                 1008M   30M  978M   3% /tmp

Would this program be capable of creating a series of install DVDs?  i don't need my /home directory included so i could use that partition to create the DVDs.

Any ideas?

Have a great evening!  :)

The application creates one ISO which will fit on a DVD ....  or maybe a CD if small enough.
It will not produce a series of ISOs .....  just one.

If you do not intend to include the /home  contents then they can be omitted.
If that is done, then you will be only producing an ISO with the / partitions contents - 7GBs - which when compressed by the application will easily fit on a DVD.

Otherwise you can selectively omit directories from the /home partition should you want to leave one user available on the ISO.

For information about the options to the command please run

mylivecd  --help

in a terminal

Offline frazelle09

  • Hero Member
  • *****
  • Posts: 1476
  • Open my what?
    • Fundacion Anisa, A.C.
i would like to keep a /home directory, but without anything in it if possible or just a "Guest" account.  For the time being, this is what i tried, but got "Too many command-line arguments." ???

Code: [Select]
mylivecd –tmp=/home/frazelle09/Documents/.tmp --nodir ^/home/frazelle09/Documents,^/home/frazelle09/Documents/.tmp, /home/frazelle09/Documents/test2.iso
Am i missing a comma or carat or something?

Have a great evening!  :)
"The earth is one country and mankind its citizens."
Baha'u'llah
"La tierra es un solo pais y la humanidad sus ciudadanos."


Offline Was_Just19

  • Hero Member
  • *****
  • Posts: 6852
  • MLU
I would try ....

Create a Guest account amd adjust its properties to what you might want others to see ....  wallpaper etc.
In the command, omit the frazzle09 account completely and any other accounts you do not want included in the ISO. That should omit almost all of the 72GB used.

The first comman option (tmp=) has incorrect syntax. It is not necessary to specify the tmp location, and if not done the default location is automatically omitted.

With the Guest account created something like this might work for you ......

Code: [Select]
mylivecd   --nodir ^/home/frazelle09    /home/frazelle09/Documents/test2.iso
Not sure I thought of everything, but someone else will correct it if necessary  ;)

regards
« Last Edit: April 20, 2011, 01:04:40 AM by Just19 »

Offline frazelle09

  • Hero Member
  • *****
  • Posts: 1476
  • Open my what?
    • Fundacion Anisa, A.C.
Just19!  Thanks for the great suggestion!  i'll let you know how it goes.

Have a great day!  :)
"The earth is one country and mankind its citizens."
Baha'u'llah
"La tierra es un solo pais y la humanidad sus ciudadanos."


Offline frazelle09

  • Hero Member
  • *****
  • Posts: 1476
  • Open my what?
    • Fundacion Anisa, A.C.
i created a Guest account and ran the following script...

Code: [Select]
mylivecd --tmp=/home/frazelle09/Documents/.tmp --nodir ^/home/, /home/frazelle09/Documents/test2.iso
It seemed to create alright, after about an hour and a half, however when i run the 1.2 Gb DVD on my laptop, i get an error msg:

Code: [Select]
ERROR:  Unable to mount loope filesystem,
    Commands were:
    losetup /dev/lop0 initrd/cdrom/livecd.sqfs
    mount -r -t squashfs /dev/loop0 initrd/loopfs
    Most likely cause is bad burn or bad download.

So i checked the media, and it's o.k.

P.D.  Well, one of the things it looks like i should have done differently is instead of --nodir ^/home/, it should have been --nodir ^/home/frazelle09 to exclude just this "full" directory and leave "Guest" as the only option.

Any idea as to what else is going on?

Have a great afternoon!  :)
« Last Edit: April 20, 2011, 04:18:34 PM by frazelle09 »
"The earth is one country and mankind its citizens."
Baha'u'llah
"La tierra es un solo pais y la humanidad sus ciudadanos."


Offline Was_Just19

  • Hero Member
  • *****
  • Posts: 6852
  • MLU
Try it on another PC if possible.

Did the build throw any errors?

Hopefully this had no effect

Quote
--nodir ^/home/,

Offline frazelle09

  • Hero Member
  • *****
  • Posts: 1476
  • Open my what?
    • Fundacion Anisa, A.C.
We tried it on another lappy with the same results.  The "," evidently did not have a deleterious effect.

Another thread appears to exhibit the same or similar problem...

http://www.pclinuxos.com/forum/index.php/topic,71759.15.html

When i get back, maybe i'll see if the livecd.sqfs will fit on a USB i have around here somewhere and try the experiment, too.

Have a great afternoon!  :)
"The earth is one country and mankind its citizens."
Baha'u'llah
"La tierra es un solo pais y la humanidad sus ciudadanos."


Offline frazelle09

  • Hero Member
  • *****
  • Posts: 1476
  • Open my what?
    • Fundacion Anisa, A.C.
Copied livecd.sqf to a USB and used the bidirectional approach>  DVD + USB but got the same reply.

Maybe something will happen by tomorrow morning.  Have a great evening!  :)
"The earth is one country and mankind its citizens."
Baha'u'llah
"La tierra es un solo pais y la humanidad sus ciudadanos."


Offline frazelle09

  • Hero Member
  • *****
  • Posts: 1476
  • Open my what?
    • Fundacion Anisa, A.C.
Just19

Also tried your command line...

Code: [Select]
mylivecd   --nodir ^/home/frazelle09    /home/frazelle09/Documents/test2.iso
but all i got, after what seemed like a couple of hours of intense CPU activity was

Code: [Select]
Creating initrd:                                   [100.00% 00:00:07/00:00:07]
Setting filesystem parameters:                     [100.00% 00:01:35/00:01:35]
Creating compressed image:                         [100.00% 00:54:20/00:55:03]chmod: cannot access `/tmp/mylivecd.10011/livecd/livecd.sqfs': No such file or directory======================== ]
DIE
FATAL: Execution of 'chmod 644 /tmp/mylivecd.10011/livecd/livecd.sqfs' failed

which, if i remember correctly, means that i don't have enought space on my "/" to create my DVD (which is the reason i included the "--tmp=" section above.

So, that was a no-go, too.

Have a wonderful morning!  :)
"The earth is one country and mankind its citizens."
Baha'u'llah
"La tierra es un solo pais y la humanidad sus ciudadanos."


Offline Was_Just19

  • Hero Member
  • *****
  • Posts: 6852
  • MLU
Just19

Also tried your command line...

Code: [Select]
mylivecd   --nodir ^/home/frazelle09    /home/frazelle09/Documents/test2.iso
but all i got, after what seemed like a couple of hours of intense CPU activity was

Code: [Select]
Creating initrd:                                   [100.00% 00:00:07/00:00:07]
Setting filesystem parameters:                     [100.00% 00:01:35/00:01:35]
Creating compressed image:                         [100.00% 00:54:20/00:55:03]chmod: cannot access `/tmp/mylivecd.10011/livecd/livecd.sqfs': No such file or directory======================== ]
DIE
FATAL: Execution of 'chmod 644 /tmp/mylivecd.10011/livecd/livecd.sqfs' failed

which, if i remember correctly, means that i don't have enought space on my "/" to create my DVD (which is the reason i included the "--tmp=" section above.

So, that was a no-go, too.

Have a wonderful morning!  :)

Yes ......  sorry about that .......  I failed to take into account the small remaining space on the root partition  :(

So you need to specify the tmp location.

You could try using --gzip  compression option, which should create the ISO quicker, but it would be larger than using the default  xz  compression, which is highly compressed but takes a very long time to do.

regards.

Offline frazelle09

  • Hero Member
  • *****
  • Posts: 1476
  • Open my what?
    • Fundacion Anisa, A.C.
Well, the following created a 2.2 Gb. iso just fine

Code: [Select]
mylivecd --tmp=/home/frazelle09/Documents/tmp --gzip --nodir ^/home/frazelle09 /home/frazelle09/Documents/test2.iso
although the resulting iso thinks there is something/some user called frazelle09 as well as Guest.  It's a little strange.  If i'm going to use this iso to install PCL on another computer, how do i go about it, since there is no "Install PCLinuxOS" icon on the Desktop?

Thanks a lot for all your patient help and have a great evening!  :)
"The earth is one country and mankind its citizens."
Baha'u'llah
"La tierra es un solo pais y la humanidad sus ciudadanos."


Offline pirate

  • Hero Member
  • *****
  • Posts: 523
  • aka-pirate
from terminal as root _____draklive-install_____enter  
« Last Edit: April 21, 2011, 10:49:19 PM by pirate »
The best way to save face is keep the bottom half shut.

Offline frazelle09

  • Hero Member
  • *****
  • Posts: 1476
  • Open my what?
    • Fundacion Anisa, A.C.
Thanks, pirate!  i'll see if i can make that an icon on the Guest's Desktop.

i'll mark this as solved now and have a wonderful evening!  :)
"The earth is one country and mankind its citizens."
Baha'u'llah
"La tierra es un solo pais y la humanidad sus ciudadanos."


Offline Was_Just19

  • Hero Member
  • *****
  • Posts: 6852
  • MLU
The only means I am aware of to get rid of the frazelle09 user name showing in the remaster, is to completely delete the frazelleop account .......  which would mean destroying your original.

Else use the first remaster to do a "remastering install" and in there remove the fraz account, install drak-livecd and put a shortcut to the installer on the Guest user Desktop.

You can then make further changes to that 'remastering install' prior to remastering it for distribution.

You really should go through it very carefull, to ensure nothing of yours remains anywhere.

Glad to see all now works ......  have fun  ;D

regards