Author Topic: mylivecd ..... does everything except produce an iso! SOLVED  (Read 2706 times)

Offline hightower

  • Full Member
  • ***
  • Posts: 98
Re: mylivecd ..... does everything except produce an iso!
« Reply #15 on: April 26, 2010, 03:19:55 PM »
You might consider adding Filelight to get a quick visual of what is taking up so much space. 
hightower
--------------------------------------------------------------------------------------------------------

Offline Duvid

  • Sr. Member
  • ****
  • Posts: 270
Re: mylivecd ..... does everything except produce an iso!
« Reply #16 on: April 26, 2010, 03:21:49 PM »
Bleachbit is very helpful. I once broke the rule and logged in as root, where I was working out of for a portion of the day. Didn't realize until I couldn't to do a remaster, how much stuff I had left behind, until I went in as root again. You can also use Bleachbit root

Offline j-retired

  • Hero Member
  • *****
  • Posts: 984
  • To find out what 'busy' is, then try retiring!
Re: mylivecd ..... does everything except produce an iso!
« Reply #17 on: April 26, 2010, 03:35:07 PM »
I had a close look - most of it was failed attempts at mylivecd.  I've wiped them, and we're back to 4.6Gb.  That sound better!  :-[

I don't know why they went to / though - shouldn't they have gone to 'home?

j
« Last Edit: April 26, 2010, 03:36:40 PM by j-retired »

Offline Duvid

  • Sr. Member
  • ****
  • Posts: 270
Re: mylivecd ..... does everything except produce an iso!
« Reply #18 on: April 26, 2010, 06:24:55 PM »
mylivecd will create the iso  in /root and place the completed iso in /home.

Offline kjpetrie

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 4037
Re: mylivecd ..... does everything except produce an iso!
« Reply #19 on: April 27, 2010, 03:32:14 AM »
Type "mylivecd --help" to see how to change its behaviour.
-----------
KJP
-----------------------------------------------------------
PClos64 RC1 on Intel D945GCLF2 motherboard (Atom 330), 2GB DDR2 RAM, Maxtor STM325031, HL-DT-ST DVDRAM GSA-H42N, Amilo LSL 3220T monitor. Also Acer 5810TG (with custom kernel) and Asus eeePC 2G surf

Offline melodie

  • Hero Member
  • *****
  • Posts: 5946
  • Internet Relay Chat sur Freenode
    • PCLinuxOS Fr
Re: mylivecd ..... does everything except produce an iso!
« Reply #20 on: April 27, 2010, 02:04:06 PM »
df gives this:

[john@localhost ~]$ df
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda2              97G   36G   56G  39% /
/dev/sda6             128G   12G  117G   9% /home
tmpfs                 1.7G   12K  1.7G   1% /dev/shm
/dev/sda1             235G   19G  216G   9% /media/disk
[john@localhost ~]$

To my untutored eye this seems OK....?

j


Hi, according to last year's Texstar's howto Master the remaster (Master the Remaster at mypclinuxos.com forum) this seems not ok to me.

Would you try to comment the line tmpfs in /etc/fstab, save the change, reboot, and retry the remasterme command ?

You should not have  /media/disk mounted either I think. Another question could be  : how did you manage to have 36 Go used in / ? I'm one of the most greedy women when it comes to installing apps, and I barely reach 6 Go...

Code: [Select]
/dev/sda1             6,3G  4,6G  1,5G  76% /
Did you happen to download any personal data files to /root or anywhere as root in your operating system ? (Seen that once on #pclinuxos-support I think...)

melodie at #lpic-fr on irc.freenode.net

Offline YouCanToo

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 5383
  • Location: Lebanon, OR., USA
    • Spreading the word.......
Re: mylivecd ..... does everything except produce an iso!
« Reply #21 on: April 27, 2010, 03:04:15 PM »
df gives this:

[john@localhost ~]$ df
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda2              97G   36G   56G  39% /
/dev/sda6             128G   12G  117G   9% /home
tmpfs                 1.7G   12K  1.7G   1% /dev/shm
/dev/sda1             235G   19G  216G   9% /media/disk
[john@localhost ~]$

To my untutored eye this seems OK....?

j


Hi, according to last year's Texstar's howto Master the remaster (Master the Remaster at mypclinuxos.com forum) this seems not ok to me.

Would you try to comment the line tmpfs in /etc/fstab, save the change, reboot, and retry the remasterme command ?

You should not have  /media/disk mounted either I think. Another question could be  : how did you manage to have 36 Go used in / ? I'm one of the most greedy women when it comes to installing apps, and I barely reach 6 Go...

Code: [Select]
/dev/sda1             6,3G  4,6G  1,5G  76% /
Did you happen to download any personal data files to /root or anywhere as root in your operating system ? (Seen that once on #pclinuxos-support I think...)




It could also be that his /var/log folder is getting full of compressed backup log files. I would look there and see what it shows. If you want to remove them,  open a konsole widow as the root user enter

rm -f /var/log/*.gz
rm -f /var/log/*/*.gz

This will remove all the compressed log files (*.gz) in /var/log and also in any folder with in the /var/log directory

One of the folks here got to the point that they couldn't log in and it was because the log files ate so much room that they ran out disk space.

At least check it out. You have nothing to lose by doing so, but you will gain disk space by removing the compressed log files.




Be sure to visit the NEW Knowledge Base


Linux is user-friendly- it's just picky who its friends are!

Offline melodie

  • Hero Member
  • *****
  • Posts: 5946
  • Internet Relay Chat sur Freenode
    • PCLinuxOS Fr
Re: mylivecd ..... does everything except produce an iso!
« Reply #22 on: April 27, 2010, 03:15:17 PM »
If you want to remove them,  open a konsole widow as the root user enter

rm -f /var/log/*.gz
rm -f /var/log/*/*.gz

This will remove all the compressed log files (*.gz) in /var/log and also in any folder with in the /var/log directory

One of the folks here got to the point that they couldn't log in and it was because the log files ate so much room that they ran out disk space.

At least check it out. You have nothing to lose by doing so, but you will gain disk space by removing the compressed log files.

Hi YouCanToo,

I think someone has suggested to use bleachbit to clean the system. The user menu and the root menu are very good tools, and allow erasing not only old log files, but all unwanted locales as well, and backup files and so on. You just have to visit the options in left column, and tick whatever you want to get rid of. Some comments allow you to know what you are doing, the preferences menu allow you to choose the languages you want to keep.

melodie at #lpic-fr on irc.freenode.net

Offline j-retired

  • Hero Member
  • *****
  • Posts: 984
  • To find out what 'busy' is, then try retiring!
Re: mylivecd ..... does everything except produce an iso!
« Reply #23 on: April 27, 2010, 05:01:53 PM »
df gives this:

[john@localhost ~]$ df
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda2              97G   36G   56G  39% /
/dev/sda6             128G   12G  117G   9% /home
tmpfs                 1.7G   12K  1.7G   1% /dev/shm
/dev/sda1             235G   19G  216G   9% /media/disk
[john@localhost ~]$

To my untutored eye this seems OK....?

j


Hi, according to last year's Texstar's howto Master the remaster (Master the Remaster at mypclinuxos.com forum) this seems not ok to me.

Would you try to comment the line tmpfs in /etc/fstab, save the change, reboot, and retry the remasterme command ?

You should not have  /media/disk mounted either I think. Another question could be  : how did you manage to have 36 Go used in / ? I'm one of the most greedy women when it comes to installing apps, and I barely reach 6 Go...

Code: [Select]
/dev/sda1             6,3G  4,6G  1,5G  76% /
Did you happen to download any personal data files to /root or anywhere as root in your operating system ? (Seen that once on #pclinuxos-support I think...)




Excess baggage in / due to failed attempts!  Removed, back to about 4G. Line you suggest commented out. Tried again - just the same. I'm rapidly approaching re-install, aren't I?

j
« Last Edit: April 27, 2010, 05:04:25 PM by j-retired »

Offline Was_Just19

  • Hero Member
  • *****
  • Posts: 6849
  • MLU
Re: mylivecd ..... does everything except produce an iso!
« Reply #24 on: April 27, 2010, 05:29:11 PM »
Quote
Excess baggage in / due to failed attempts!  Removed, back to about 4G. Line you suggest commented out. Tried again - just the same. I'm rapidly approaching re-install, aren't I?

The space requirements for a remaster are probably larger than you realise.

I never allow the remastering process to use the  /  partition .....  always point the temp and working directories to a partition with lots of space (usually Data partition) and that ensures my  /  partition does not get filled up.

Offline kjpetrie

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 4037
Re: mylivecd ..... does everything except produce an iso!
« Reply #25 on: April 27, 2010, 05:29:58 PM »
There's no reason to think there's anything wrong with your system.

You do need to get the command right before it will work, however, and clear out or exclude anything you don't need in the final remaster.

Here, for instance, is the command I use:
Code: [Select]

mylivecd --nodir ^/root/temp,^/root/tmp,^/home,^/mnt,^/media,^/tmp,^/proc,^/dev,^/sys,^/var/lib/drakbackup,^/var/cache/apt/archives --ufs unionfs --root / --tmp /home/xxx/Desktop/temp/ --workdir /home/xxx/Desktop/workdir/ --lzma --md5sum  /home/xxx/ISO/pclos2010-kjp.iso

It's not perfect. For instance, although it will boot as a livecd, because it lacks some basic directory paths, it is impossible to install new packages into the livecd until it has been installed - so make sure draklive-install is there before you remaster!

With the working directory on the desktop it's very easy to extract the files to a USB stick to make a liveusb as well.
-----------
KJP
-----------------------------------------------------------
PClos64 RC1 on Intel D945GCLF2 motherboard (Atom 330), 2GB DDR2 RAM, Maxtor STM325031, HL-DT-ST DVDRAM GSA-H42N, Amilo LSL 3220T monitor. Also Acer 5810TG (with custom kernel) and Asus eeePC 2G surf

Offline melodie

  • Hero Member
  • *****
  • Posts: 5946
  • Internet Relay Chat sur Freenode
    • PCLinuxOS Fr
Re: mylivecd ..... does everything except produce an iso!
« Reply #26 on: April 27, 2010, 05:32:49 PM »
Line you suggest commented out. Tried again - just the same. I'm rapidly approaching re-install, aren't I?

j

Did you reboot after commenting out the line in fstab ? I ask you because I neglected to add that the tmpfs can't be unmounted while the OS is running. A reboot is necessary...
melodie at #lpic-fr on irc.freenode.net

Offline j-retired

  • Hero Member
  • *****
  • Posts: 984
  • To find out what 'busy' is, then try retiring!
Re: mylivecd ..... does everything except produce an iso!
« Reply #27 on: April 28, 2010, 04:52:52 PM »
Hi again.
Yes I did reboot.  I ran your script as below.... after creating the appropriate directories.

[root@localhost ~]# mylivecd --nodir ^/root/temp,^/root/tmp,^/home,^/mnt,^/media,^/tmp,^/proc,^/dev,^/sys,^/var/lib/drakbackup,^/var/cache/apt/archives --ufs unionfs --root / --tmp /home/john/Desktop/temp/ --workdir /home/john/Desktop/workdir/ --lzma --md5sum  /home/john/ISO/pclos2010-kjp.iso
Subroutine run_program::formatError redefined at /usr/lib/libDrakX/common.pm line 8
mylivecd, version 0.9.0, http://pclinuxos.com/
Copyright (C) 2010, Texstar <texstar at gmail.com>

This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.

WARNING: The temporary directory '/home/john/Desktop/workdir/' will not be removed at exit, please do so manually

Creating initrd:                                   [100.00% 00:00:06/00:00:06]
Setting filesystem parameters:                     [100.00% 00:01:21/00:01:21]
Creating compressed image:                         [100.00% 00:21:44/00:21:44]
Creating isolinux boot:                            [100.00% 00:00:00/00:00:00]
Creating final iso:                                [100.00% 00:00:00/00:00:00]
ls: cannot access /home/john/ISO/pclos2010-kjp.iso: No such file or directory
Embedding MD5 checksum:
[                                                                            ]Argument "" isn't numeric in division (/) at /usr/sbi[  0.00% 00:00:00/00:00:00]Error - Unable to open file /home/john/ISO/pclos2010-kjp.iso

Illegal division by zero at /usr/sbin/mylivecd line 288.


 ??? ??? ??? ??? ??? ??? ??? ??? ???

Ain't life obstinate!

ty, j

Offline j-retired

  • Hero Member
  • *****
  • Posts: 984
  • To find out what 'busy' is, then try retiring!
Re: mylivecd ..... does everything except produce an iso!
« Reply #28 on: April 28, 2010, 05:56:27 PM »
Update:  I didn't see the "ISO" directory. I created that, ran again and I've got an ISO at last!!
I don't understand many of the commands in your scrip, but it worked, so thanks for your trouble.

 :) :) :)

j

Offline Joble

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 6804
  • USA - Mountain Time
Re: mylivecd ..... does everything except produce an iso!
« Reply #29 on: April 28, 2010, 05:58:36 PM »
the ISO directory is where this command:
/home/john/Desktop/workdir/ --lzma --md5sum  /home/john/ISO/pclos2010-kjp.iso
wanted to put it.

Congratulations!  Wow, finally.   ;D
Search First.
Forum Rules
Hero means I talk a lot, nothing more, nothing less!
Have an Awesome Day!
Healthy System