Author Topic: MyliveCD Terminal Output  (Read 679 times)

Offline Was_Just19

  • Hero Member
  • *****
  • Posts: 6852
  • MLU
MyliveCD Terminal Output
« on: September 28, 2010, 01:58:41 PM »
Just started a remaster today and noticed the following output


Code: [Select]
remasterme
This script tries to remaster your current install.
The iso will be created as pclinuxos-2010.iso
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda6              21G  7.6G   12G  40% /
/dev/sda7              31G   16G   16G  50% /home
tmpfs                 6.0G  2.2M  6.0G   1% /dev/shm
You try to remaster 22 Gigabyte install
You need at least 7 Gigabyte freespace
The free space avaialable for remaster 11 Gigabyte
mylivecd, version 0.9.3, http://pclinuxos.com/

This it seems is because the calculations are performed on the mounted partitions, and not on what I was actually including in the remaster.

For instance, I excluded entirely the contents of the /home partition.
I also excluded the contents of tmpfs.

So the total being remastered was less than 7.6GBs ....  the root partition used size, less the normal omissions of the script, and not 22GBs as reported in the terminal.

The final ISO was 2.3GB in size.

Lastly, as the script finished thie error message appeared

Code: [Select]
Created 'pclinuxos-2010.iso' (2496,323,584 bytes) in 01:07:46
                                                                                              
/usr/bin/remasterme: line 26: xos-2010.iso: command not found

The above did not of course affect the creation of the ISO, but I did cancel the first attempt because I thought I had made an error in the command.

regards.

Offline travisN000

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1758
Re: MyliveCD Terminal Output
« Reply #1 on: October 16, 2010, 09:22:14 AM »
Try the following script (..a zenity based front end to mylivecd) and see what you think...  It uses a different method to do the size calculations.  This won't affect the output from mylivecd, but it should give better estimates regarding needed space and iso size.


http://dl.dropbox.com/u/2425248/mkremaster2.3.1-fixed


Note that you must have mylivecd, zenity, and gtkdialog installed... I think all are included by default

Offline Was_Just19

  • Hero Member
  • *****
  • Posts: 6852
  • MLU
Re: MyliveCD Terminal Output
« Reply #2 on: October 16, 2010, 10:09:08 AM »
Try the following script (..a zenity based front end to mylivecd) and see what you think...  It uses a different method to do the size calculations.  This won't affect the output from mylivecd, but it should give better estimates regarding needed space and iso size.


http://dl.dropbox.com/u/2425248/mkremaster2.3.1-fixed


Note that you must have mylivecd, zenity, and gtkdialog installed... I think all are included by default


I gave it a quick run-through but did not have good results.

First I refuse Advanced options and got      space required 152,576M; ISO size 62,556M

I later said yes to Advanced options, but changed nothing, although I did notice /mnt & /tmp were excluded and got a much reduced space requirement, but the ISO was still going to be 27,770M

Seems there is a difference between refusing the Advanced options and accepting but making no changes to them.

Probably I was doing something wrong, and I feel I am not the one who would use this anyway, as I just edit the present remaster script to suit my install.

My idea of posting above was that maybe the size calc might be changed to make allowances for the actual command and not just the connected devices.

It seems this script would require a bit more attention than I can give it presently.  :(
« Last Edit: October 16, 2010, 10:10:43 AM by Just19 »

Offline travisN000

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1758
Re: MyliveCD Terminal Output
« Reply #3 on: October 16, 2010, 10:52:13 AM »
..sorry about that...

Last time I used the script it was working...  I'll have to take a look at it when time permits and update it yet again.

One of the "features" that made it useful, is that after a successful iso creation it would give you the option to create your own custom script based on your selections (.it will still prompt for temp directory and iso name/location so that the custom script is portable to other installs / configurations).

Essentially what the size calculation did is add the size of all excluded items and subtract it from the total system size..  unfortunately some update to the OS seems to have broken it (..perhaps bash ?).  :-\
« Last Edit: October 16, 2010, 10:58:22 AM by travisn000 »

Offline Was_Just19

  • Hero Member
  • *****
  • Posts: 6852
  • MLU
Re: MyliveCD Terminal Output
« Reply #4 on: October 16, 2010, 10:59:11 AM »
..sorry about that...

Last time I used the script it was working...  I'll have to take a look at it when time permits and update it yet again.

One of the "features" that made it useful, is that after a successful iso creation it would give you the option to create your own custom script based on your selections (.it will still prompt for temp directory and iso name/location so that the custom script is portable to other installs / configurations).

Essentially what the size calculation did is add the size of all excluded items and subtract it from the total system size..  unfortunately some update to the OS seems to have broken it (..perhaps bash ?).  :-\

NP .......  just glad it was no all me   ;D