Author Topic: More remasterme problems  (Read 2542 times)

Offline gezza

  • Hero Member
  • *****
  • Posts: 515
More remasterme problems
« on: June 06, 2010, 02:17:45 AM »
Hi guy's
I have a system with 7.5GB used 12GB free and the system requires 5GB of free space.
All seems fine so why does remasterme fail: See Next---
ws1 Documents]# remasterme --nodir=^/mnt --nodir=^/home  --lzma
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/sda1              22G  7.8G   13G  39% /
/dev/sda3              22G  7.7G   14G  37% /home
You try to remaster 15 Gigabyte install.
***I would have thought this should be 8GB install
You need at least 5 Gigabyte freespace
The free space avaialable for remaster 12 Gigabyte
mylivecd, version 0.9.1, 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: chkconfig --del atd
running: chkconfig --del crond
running: chkconfig --del syslog
Warning: syslog is needed by script(s) in runlevel 3: iplog(start) iplog(stop)
Warning: syslog is needed by script(s) in runlevel 4: iplog(start) iplog(stop)
Warning: syslog is needed by script(s) in runlevel 5: iplog(start) iplog(stop)
running: chkconfig --del kheader
running: chkconfig --del xinetd


Creating initrd:                                   [100.00% 00:00:02/00:00:02]^[                        [5^================================================[100.00% 00:00:05/00:00:05]
Setting filesystem parameters:                     [100.00% 00:00:30/00:00:30]
Creating compressed image:                         [100.00% 00:37:58/00:37:58]
Creating isolinux boot:                            [100.00% 00:00:01/00:00:01]
Creating final iso:                                [100.00% 00:00:00/00:00:00]
ls: cannot access pclinuxos-2010.iso: No such file or directory               
Embedding MD5 checksum:
[                                                                            ]Ar                        gument "" isn't numeric in division (/) at /usr/sbi[  0.00% 00:00:00/00:00:00]Er                        ror - Unable to open file pclinuxos-2010.iso

Illegal division by zero at /usr/sbin/mylivecd
This happens unless I keep the installed size to below 6GB.
Gezza

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15847
  • LXDE! Coffee, Bacon and Cheesecake!
Re: More remasterme problems
« Reply #1 on: June 06, 2010, 04:25:43 AM »
The system needs /home. You can't use the option --nodir=^/home.

First use this command:
Code: [Select]
umount -a
This command unmounts all partitions except those you are working from.

Then use this as your build command:
Code: [Select]
mylivecd --nodir=^/home/your-name name-you-want.iso
To exclude your personal home directory, you need to specify your /home/username. Excluding all of /home will fail. As mylivecd uses lzma compression by default now, the --lzma is not needed.
 
There are only two elements needed in a remastering command now, the command mylivecd and the name of your iso. If you need to exclude your personal /home directory, do it as outlined above.

Offline johnmart

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1105
  • Make Love Not War
Re: More remasterme problems
« Reply #2 on: June 06, 2010, 10:08:20 PM »
Hi Gezza,
I do a similar remaster as you. I have a Vbox drive in /home that I don't want in my remaster. But leaving out /home/myself results in an ugly (IMO) desktop. So I create a guest user, enable autologin for guest & ^nodir other users.
Just did a remaster with a similar command to Neal's using my guest action & got a beauty!
hope it's a help.
Have fun!
Acer Aspire, Intel core2 2.20GHz, ‎Graphics nVidia ‎G98M [GeForce G 105M], 2gb ram, Wireless Intel Link 5100

Why, any 5 year old child could understand this.
Somebody bring me a 5 year old.
Groucho

Offline gezza

  • Hero Member
  • *****
  • Posts: 515
Re: More remasterme problems
« Reply #3 on: June 07, 2010, 01:58:26 AM »
Hi there, johnmart
Many thanks for that reply, it does sound that it gets round my problem
Gezza

Offline johnmart

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1105
  • Make Love Not War
Re: More remasterme problems
« Reply #4 on: June 07, 2010, 09:38:58 PM »
Glad to hear it Gezza--maybe edit thread title <solved> --  ;D ;D
seeya
John
Acer Aspire, Intel core2 2.20GHz, ‎Graphics nVidia ‎G98M [GeForce G 105M], 2gb ram, Wireless Intel Link 5100

Why, any 5 year old child could understand this.
Somebody bring me a 5 year old.
Groucho

Offline gezza

  • Hero Member
  • *****
  • Posts: 515
Re: More remasterme problems
« Reply #5 on: June 08, 2010, 01:07:05 AM »
Hi johnmart
Well I have tried your method and on this machine I still get the same results.
a divide by zero.
So Your method does not work for me.
I have noticed that even when I create a second user say a guest, remasterme still says the /home folder is the same size. In my case 500MB
I am told that I am remastering some 10GB os software and I will need some 3Gb of space on a drive that has 30Gb free.
I still do not understand why the mylivecd cannot find the iso it is supposed to have created in /root. If it did not create it why on earth not?
I have not solved this problem yet, so any other thoughts greatfully received.
By the way i just used 'remasterme'
Gezza

Offline djohnston

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6227
  • I don't do Windows
Re: More remasterme problems
« Reply #6 on: June 08, 2010, 01:22:06 AM »
You haven't tried the method Neal outlined? Note, he recommends using mylivecd , not remasterme .

The system needs /home. You can't use the option --nodir=^/home.

First use this command:
Code: [Select]
umount -a
This command unmounts all partitions except those you are working from.

Then use this as your build command:
Code: [Select]
mylivecd --nodir=^/home/your-name name-you-want.iso
To exclude your personal home directory, you need to specify your /home/username. Excluding all of /home will fail. As mylivecd uses lzma compression by default now, the --lzma is not needed.
 
There are only two elements needed in a remastering command now, the command mylivecd and the name of your iso. If you need to exclude your personal /home directory, do it as outlined above.

Bare metal                           VBox
AMD Athlon 7750 Dual-Core    Single core
4GiB RAM                              1GiB RAM
nVidia GeForce FX 5200          64MB video
LXDE 32bit                            KDE 64bit

Registered Linux User #416378

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15847
  • LXDE! Coffee, Bacon and Cheesecake!
Re: More remasterme problems
« Reply #7 on: June 08, 2010, 02:00:04 AM »
gezza,
Use the command I posted previously. There have been changes in the mylivecd program that make using that script an advantage for you.
Quote
mylivecd --nodir=^/home/your-name name-of-your.iso

Note that it is basically a simple script with a command,
Quote
mylivecd

and an object of that command,
Quote
name of your ISO

These two together will create your ISO.
 
As you seemed to want to not include your /home directory,
Quote
--nodir=^/home/your-name

is added as an option to the command.

Offline johnmart

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1105
  • Make Love Not War
Re: More remasterme problems
« Reply #8 on: June 08, 2010, 05:38:21 AM »
Hi gezza,
I didn't read your IP carefully enough to understand your problem clearly.
Actually "my method" was just an addition to Neal's advice as you were trying to leave your user off the remaster.
I think you need free space on your / partition for a temporary copy of your iso.
According to your mylivecd feedback in your original post your remaster is 15gb so requires at least that much free space on /. If you left off youruser, you still are short free space on / for the temp iso.
You should find some specific info on necessary freespace in the sticky threads at the beginning of this section.
Remember the new remaster command is mylivecd (plus options, like Neal said)--many threads refer to the old version.


Acer Aspire, Intel core2 2.20GHz, ‎Graphics nVidia ‎G98M [GeForce G 105M], 2gb ram, Wireless Intel Link 5100

Why, any 5 year old child could understand this.
Somebody bring me a 5 year old.
Groucho

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15847
  • LXDE! Coffee, Bacon and Cheesecake!
Re: More remasterme problems
« Reply #9 on: June 08, 2010, 06:03:06 AM »
A few tips:
1) Add the total amounts for all partitions under "Used." If they exceed 10GB, you need to move your files to a backup partition or CD/DVD(s) or exclude some directories and / or sub-directories from your remaster.
2) If you have had a previous remaster failure, check /tmp for anything left over and remove anything that was left.
3) Make sure that you have installed draklive-install.
4) Run bleachbit and bleachbit-root. Cleaning up your system helps reduce its size.
5) Open PCC > System > Manage system services by enabling or disabling them and uncheck the Start on boot for anacron, atd, crond, syslog and kheader. These services are not needed on a liveCD and will be re-enabled on first boot after installation.

« Last Edit: June 08, 2010, 11:13:13 AM by Neal »

Offline melodie

  • Hero Member
  • *****
  • Posts: 5942
  • XMMP=Jabber, free instant messaging protocol !
    • PCLinuxOS Fr
Re: More remasterme problems
« Reply #10 on: June 08, 2010, 10:43:59 AM »
A few tips:
...
5) Open PCC > System > Manage system services by enabling or disabling them and uncheck the Start on boot for anacron, atd, crond, syslog and kheader. These services are not needed on a liveCD and will be re-enabled on first boot after installation.



Hi,

For this one Texstar said that is was now done automatically by mylivecd (on one of the mailing lists).

melodie at swissjabber dot ch - IRC #pclinuxos-fr sur freenode

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15847
  • LXDE! Coffee, Bacon and Cheesecake!
Re: More remasterme problems
« Reply #11 on: June 08, 2010, 11:12:10 AM »
A few tips:
...
5) Open PCC > System > Manage system services by enabling or disabling them and uncheck the Start on boot for anacron, atd, crond, syslog and kheader. These services are not needed on a liveCD and will be re-enabled on first boot after installation.



Hi,

For this one Texstar said that is was now done automatically by mylivecd (on one of the mailing lists).

Thanks, Melodie. I had forgotten. ::) ::) ::)
 

Offline melodie

  • Hero Member
  • *****
  • Posts: 5942
  • XMMP=Jabber, free instant messaging protocol !
    • PCLinuxOS Fr
Re: More remasterme problems
« Reply #12 on: June 08, 2010, 11:54:09 AM »
A few tips:
...
5) Open PCC > System > Manage system services by enabling or disabling them and uncheck the Start on boot for anacron, atd, crond, syslog and kheader. These services are not needed on a liveCD and will be re-enabled on first boot after installation.



Hi,

For this one Texstar said that is was now done automatically by mylivecd (on one of the mailing lists).

Thanks, Melodie. I had forgotten. ::) ::) ::)
 

No problem. You're a geek, not a bot ! ;D

melodie at swissjabber dot ch - IRC #pclinuxos-fr sur freenode

Offline djohnston

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6227
  • I don't do Windows
Re: More remasterme problems
« Reply #13 on: June 08, 2010, 08:11:42 PM »
No problem. You're a geek, not a bot ! ;D

That's a good line. And so apropos.
Bare metal                           VBox
AMD Athlon 7750 Dual-Core    Single core
4GiB RAM                              1GiB RAM
nVidia GeForce FX 5200          64MB video
LXDE 32bit                            KDE 64bit

Registered Linux User #416378

Offline gezza

  • Hero Member
  • *****
  • Posts: 515
Re: More remasterme problems
« Reply #14 on: June 09, 2010, 05:16:08 PM »
Hi to all,
I have reduced my install file to bring the backup size to below 9GB as recommended but now I have lost almaos of the icons in the task bar and most programs are not displaying information correctly!!!!
What do I need to replace to get these back or do I do a reinstall?
Many thanks.
Gezza