Author Topic: [solved]researching remaster pclos 2012  (Read 3956 times)

Offline AS

  • Hero Member
  • *****
  • Posts: 4111
  • Have a nice ... night!
Re: researching remaster pclos 2012
« Reply #15 on: February 13, 2012, 05:51:49 PM »
latest effort:
Code: [Select]
mylivecd --nodir ^/home/hal-crunch,^/home/hal-mepis,^/home/hal-another distro,^/home/isos --gzip pclos2012_jhw.iso
mylivecd, version 0.9.4, 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.

Disabling Services not needed on the LiveCD

running: /sbin/chkconfig --list
running: /sbin/chkconfig --list
running: /sbin/chkconfig --list
running: /sbin/chkconfig --list
running: /sbin/chkconfig --list


Creating initrd:                                   [100.00% 00:00:04/00:00:04]
Setting filesystem parameters:                     [100.00% 00:00:48/00:00:48]
Creating compressed image:                         [100.00% 00:06:17/00:06:17]
Creating isolinux boot:                            [100.00% 00:00:00/00:00:00]
Creating final iso:                                [100.00% 00:00:00/00:00:00]

Restoring Services on the installed system

ls: cannot access pclos2012_jhw.iso: No such file or directory
Argument "" isn't numeric in division (/) at /usr/sbin/mylivecd line 244.

Created 'pclos2012_jhw.iso' (0,000 bytes) in 00:07:13
I did a search to find pclos2012_jhw.iso and the search didn't turn up anything. Curious about last two lines just prior to last line.


The above error happen when the final ISO exceed the 4GiB. Approx. you can remaster a total of 10 or 11 GB uncompressed.

Online Just17

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 10668
  • MLUs Forever!
Re: researching remaster pclos 2012
« Reply #16 on: February 13, 2012, 06:02:27 PM »
Did you check the size of the livecd.sqfs file ? .........
Did a search for livecd.sqfs and none found.

might be useful to specify a 'working directory' on the next attempt so that the files are not deleted and you can examine them.

MLUs rule the roost!

Linux XPS 3.4.38-pclos1.bfs  64 bit
Intel Core2 Quad CPU Q9450 @ 2.66GHz
4 GB RAM
MCP51 High Def Audio
GeForce GTX 550 Ti
PHILIPS  ‎DVD+-RW DVD8701
‎Logitech ‎BT Mini-Receiver
Afatech DTT

Offline houndhen

  • Full Member
  • ***
  • Posts: 206
Re: researching remaster pclos 2012
« Reply #17 on: February 14, 2012, 06:12:31 AM »
Just about bed time last night I ran the 'df' command again and ..... wait for it.... I finally realized that my home folder was 99% full. So, later today I will use a live cd and add some unused space to that partition and will post back after. Hopefully it will be success.
Thanks,
Harold
PCLOS KDE

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15847
  • LXDE! Coffee, Bacon and Cheesecake!
Re: researching remaster pclos 2012
« Reply #18 on: February 14, 2012, 07:38:34 AM »
If you have a /data partition or space to create a /data partition, moving files/folders to it can free up space in your /home.     

Offline houndhen

  • Full Member
  • ***
  • Posts: 206
Re: researching remaster pclos 2012
« Reply #19 on: February 14, 2012, 01:01:17 PM »
If you have a /data partition or space to create a /data partition, moving files/folders to it can free up space in your /home.     
Thanks, I have some unused space that I can either put in the /home folder or create a /data folder.

I have run the script twice and it seems to hang around 13.5% completion. But even after closing konsole and deleting the data in the workdir the space used in the /home folder keeps growing. When I booted up for the day I ran 'df' and here is the result:
Code: [Select]
df
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda9             9.7G  3.4G  5.8G  37% /
/dev/sda7              60G   34G   23G  61% /home
Here is what happened when I ran mylivecd last time.
Code: [Select]
[hal-pclos@localhost ~]$ mylivecd --nodir ^/home/hal-crunch,^/home/hal-mepis,^/home/hal-ubuntu,^/home/isos --workdir /home/hal-pclos/Desktop/temp/ --gzip pclos2012_jhw.iso
mylivecd, version 0.9.4, 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/hal-pclos/Desktop/temp/' will not be removed at exit, please do so manuallyDIE
FATAL: You have to be root to execute this program
[hal-pclos@localhost ~]$ su
Password:
[root@localhost ~]# mylivecd --nodir ^/home/hal-crunch,^/home/hal-mepis,^/home/hal-ubuntu,^/home/isos --workdir /home/hal-pclos/Desktop/temp/ --gzip pclos2012_jhw.iso
mylivecd, version 0.9.4, 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/hal-pclos/Desktop/temp/' will not be removed at exit, please do so manually
Disabling Services not needed on the LiveCD

running: /sbin/chkconfig --list
running: /sbin/chkconfig --list
running: /sbin/chkconfig --list
running: /sbin/chkconfig --list
running: /sbin/chkconfig --list


Creating initrd:                                   [100.00% 00:00:03/00:00:03]
Setting filesystem parameters:                     [100.00% 00:00:35/00:00:35]
Creating compressed image:                         [ 13.51% 00:20:12/02:33:31]
[==========                                                                  ]

 I have rebooted since and 'df' gives me the output stated above. I don't understand why the /home space used keeps increasing even after I close konsole and delete the contents of the workdir.
Thanks,
Harold
PCLOS KDE

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15847
  • LXDE! Coffee, Bacon and Cheesecake!
Re: researching remaster pclos 2012
« Reply #20 on: February 14, 2012, 01:17:53 PM »
Did you run bleachbit to clean up?     

Offline houndhen

  • Full Member
  • ***
  • Posts: 206
Re: researching remaster pclos 2012
« Reply #21 on: February 14, 2012, 01:24:02 PM »
I did before I started this remaster project but haven't run it lately. I will run it again.
Thanks,
Harold
PCLOS KDE

Offline ff103

  • Hero Member
  • *****
  • Posts: 711
    • The City Of Paintsville, Ky.
Re: researching remaster pclos 2012
« Reply #22 on: February 14, 2012, 01:28:52 PM »
Hello houndhen: I kicked that can around for a while to and I found the easiest way for me was to create a guest account and then remaster from there. If /home/hal is to large(more than 4 gigs) you won't get a remaster. you can follow my thread here as to how I got it sorted out http://www.pclinuxos.com/forum/index.php/topic,101833.0.html
hope this helps.
If Firefighters died and went to hell, they would just put it out!

Offline houndhen

  • Full Member
  • ***
  • Posts: 206
Re: researching remaster pclos 2012
« Reply #23 on: February 14, 2012, 01:40:23 PM »
Hello houndhen: I kicked that can around for a while to and I found the easiest way for me was to create a guest account and then remaster from there. If /home/hal is to large(more than 4 gigs) you won't get a remaster. you can follow my thread here as to how I got it sorted out http://www.pclinuxos.com/forum/index.php/topic,101833.0.html
hope this helps.
Thanks for the info. Seems like I have been doing this a long time but I realize that I have just been trying for 2 or 3 days. I will check out your thread. I am learning some and any information that I can get right now is really appreciated.
Thanks,
Harold
PCLOS KDE

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15847
  • LXDE! Coffee, Bacon and Cheesecake!
Re: researching remaster pclos 2012
« Reply #24 on: February 14, 2012, 01:59:18 PM »
I did before I started this remaster project but haven't run it lately. I will run it again.
     
You should clean up before each remaster attempt. Run bleachbit and bleachbit-root. If you do not, those failed attempts can grow your system quite a lot.     

Offline houndhen

  • Full Member
  • ***
  • Posts: 206
Re: researching remaster pclos 2012
« Reply #25 on: February 14, 2012, 03:44:29 PM »
Hello houndhen: I kicked that can around for a while to and I found the easiest way for me was to create a guest account and then remaster from there. If /home/hal is to large(more than 4 gigs) you won't get a remaster. you can follow my thread here as to how I got it sorted out http://www.pclinuxos.com/forum/index.php/topic,101833.0.html
hope this helps.
I read you post. I created a guest user and had only one file in it. --nodir listed all the other folders in the /home foIder except the /guest folder. I took out the --gzip from my mylivecd command and it has been running over 40 minutes and seems to be stopped at 13.39% of creating the compressed iso file. Just opened another konsole window and ran 'df' and it says that the /home folder has 16gb unused. Prior to running mylivecd again, I ran bleachbit and bleachbit root.  ???
Thanks,
Harold
PCLOS KDE

Offline AS

  • Hero Member
  • *****
  • Posts: 4111
  • Have a nice ... night!
Re: researching remaster pclos 2012
« Reply #26 on: February 14, 2012, 03:47:54 PM »
houndhen,

as a test only, try this:

Code: [Select]
mylivecd  --gzip  --nodir  ^/home   test.iso

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15847
  • LXDE! Coffee, Bacon and Cheesecake!
Re: researching remaster pclos 2012
« Reply #27 on: February 14, 2012, 03:50:21 PM »
Post the result of the df command. You can use copy and paste.     

Offline houndhen

  • Full Member
  • ***
  • Posts: 206
Re: researching remaster pclos 2012
« Reply #28 on: February 14, 2012, 05:19:29 PM »
df before
Code: [Select]
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda9             9.7G  3.3G  5.9G  36% /
/dev/sda7              60G   35G   22G  61% /home
Ran BleachBit and BleachBit root before running mylivecd.
mylivecd results
Code: [Select]
mylivecd  --gzip  --nodir  ^/home   test.iso
mylivecd, version 0.9.4, 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.

Disabling Services not needed on the LiveCD

running: /sbin/chkconfig --list
running: /sbin/chkconfig --list
running: /sbin/chkconfig --list
running: /sbin/chkconfig --list
running: /sbin/chkconfig --list


Creating initrd:                                   [100.00% 00:00:04/00:00:04]
Setting filesystem parameters:                     [100.00% 00:00:57/00:00:57]
Creating compressed image:                         [100.00% 00:01:56/00:01:56]
Creating isolinux boot:                            [100.00% 00:00:00/00:00:00]
Creating final iso:                                [100.00% 00:00:28/00:00:28]
                                                                             
Restoring Services on the installed system


Created 'test.iso' (1213,720,576 bytes) in 00:03:27
df after
Code: [Select]
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda9             9.7G  4.5G  4.8G  49% /
/dev/sda7              60G   35G   22G  61% /home
Found test.iso at /root and changed ownership & permissions. I looked at my /home folder for pclos and it is 1.6gb. Maybe the / and my /home are too big together. What do you think?
Can I use the test iso?
If so, then how do I get a /home folder?
I thought I moved test.iso to my Desktop but now a search turns up nothing.
Thanks,
Harold
PCLOS KDE

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15847
  • LXDE! Coffee, Bacon and Cheesecake!
Re: researching remaster pclos 2012
« Reply #29 on: February 14, 2012, 05:23:31 PM »
Home will be there. Your problem with remastering was size. 35G home is way too big!