PCLinuxOS-Forums
News: ...FLASH!!! ...New PCLinuxOS Testing board now open. Register today! Be an active contributor to the PCLinuxOS future! ... Read all about it now, on THIS forum!!!..
 
*
Welcome, Guest. Please login or register. May 27, 2012, 01:40:26 PM


Login with username, password and session length


Pages: [1] 2   Go Down
  Print  
Author Topic: MyLiveCd isn't numeric in division and How to code iso into sda2 (Solved)  (Read 1111 times)
Davidsr
Jr. Member
**
Offline Offline

Posts: 12


« on: August 27, 2011, 12:15:35 PM »

Hi from a old timer and yet still trying to use Linux. Regarding PCLinuxos mylivecd, I have cleared via
BleachBit & Bleachbit-Root and then received this-isn't numeric in division (/) at /usr/sbin/mylivecd line
244--so to me it appears I am trying to make a cd/dvd that the sda1 hasn't enough size to handle-but to me there is enough space?. So my question to you-If I am correct about this, could you please provide me the coding to sent the mylivecd .iso
to my other HDD sda2, where I have 97% of this HDD not used.
df shows the following and umount -a doesn't clear the tmpfs, states all 3 are needed/in use;

Filesystem     Size   Used    Avail   Used%   Mounted
/dev/sda1      111g    5.8g    94g     6%      /
/dev/sda2      111g    2.4g    109g    3%      /home
tmpfs          505m    112      505m   1%      /dev/shm

Thank you.



Logged
menotu
PCLinuxOS Tester
Super Villain
*******
Offline Offline

Posts: 11991

┌∩┐(◕_◕)┌∩┐


« Reply #1 on: August 27, 2011, 12:24:51 PM »

Hi Davidsr

What is the actual command you are using - can you please post it in full

Might be able to "remove" folders that aren't required in the LiveCD.
Logged

If you can keep you head while all around you are losing theirs, then you have misunderstood the situation.

PCLinuxOS 32bit & 64bit; 3.2.17bfs kernel, KDE 4.8.3; nvidia 295.53, Athlon 64 X2 4200+; 4GB Ram; NVidia GeForce 8400GS 1GB; x.org 1.10.4 ; 500GB/320GB
Davidsr
Jr. Member
**
Offline Offline

Posts: 12


« Reply #2 on: August 28, 2011, 04:26:16 PM »

menotu, thank you for your reply;  in addition I tried again using the --lzma and mylivecd failed again, also I have read many many postings and saw what one stated that 2.9gb was max for use of mylivecd? yet in another the guy did make mylivecd work on a 5gb
/, what I don't understand after researching my File System Properties is a difference in size of df as 5.8gb and using File System Properties that shows a 9.7gb size. I remember that after Bleachroot it showed my Root size was 700Mb yet I have / installed in the first HDD with Avail of 99g and /Home in the 2nd HDD. Again Thanks, heres what I did;
[davidsr@localhost ~]$ su
]Password:
[root@localhost ~]# df
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda1             111G  5.8G   99G   6% /
/dev/sdb1             111G  2.4G  108G   3% /home
[root@localhost ~]# umount -a
umount: /home: device is busy.
        (In some cases useful info about processes that use
         the device is found by lsof(Cool or fuser(1))
umount: /: device is busy.
        (In some cases useful info about processes that use
         the device is found by lsof(Cool or fuser(1))
[root@localhost ~]# mylivecd livecdaugust.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: chkconfig --del atd
running: /sbin/chkconfig --list
running: chkconfig --del crond
running: /sbin/chkconfig --list
running: chkconfig --del syslog
Warning: syslog is needed by script(s) in runlevel 2: shorewall(start)
Warning: syslog is needed by script(s) in runlevel 3: shorewall(start)
Warning: syslog is needed by script(s) in runlevel 4: shorewall(start)
Warning: syslog is needed by script(s) in runlevel 5: shorewall(start)
running: /sbin/chkconfig --list
running: chkconfig --del kheader
running: /sbin/chkconfig --list
running: chkconfig --del xinetd


Creating initrd:                                   [100.00% 00:00:09/00:00:09]
Setting filesystem parameters:                     [100.00% 00:00:03/00:00:03]
Creating compressed image:                         [100.00% 04:05:44/04:05:44]
Creating isolinux boot:                            [100.00% 00:00:01/00:00:01]
Creating final iso:                                [100.00% 00:00:00/00:00:00]
                                                                             
Restoring Services on the installed system

running: chkconfig --add atd
running: chkconfig --add crond
Warning: syslog is needed by crond in runlevel 2
Warning: syslog is needed by crond in runlevel 3
Warning: syslog is needed by crond in runlevel 4
Warning: syslog is needed by crond in runlevel 5
Warning: syslog is needed by crond in runlevel 2
Warning: syslog is needed by crond in runlevel 3
Warning: syslog is needed by crond in runlevel 4
Warning: syslog is needed by crond in runlevel 5
Warning: syslog is needed by crond in runlevel 2
Warning: syslog is needed by crond in runlevel 3
Warning: syslog is needed by crond in runlevel 4
Warning: syslog is needed by crond in runlevel 5
Warning: syslog is needed by crond in runlevel 2
Warning: syslog is needed by crond in runlevel 3
Warning: syslog is needed by crond in runlevel 4
Warning: syslog is needed by crond in runlevel 5
running: chkconfig --add syslog
running: chkconfig --add kheader
running: chkconfig --add xinetd
ls: cannot access livecdaugust.iso: No such file or directory
Argument "" isn't numeric in division (/) at /usr/sbin/mylivecd line 244.

Created 'livecdaugust.iso' (0,000 bytes) in 04:06:03

[root@localhost ~]#

My Machine:PCLinuxOS 2011; 2.6.32.11-pclos2; nvidia geforce Ti200, Athlon XP+ 2Gb; 1GB Ram;111GB/111GB HDDs
Logged
Old-Polack
Administrator
Hero Member
*****
Offline Offline

Posts: 9695


----IOFLU----


« Reply #3 on: August 28, 2011, 04:35:03 PM »

Davidsr:

Your kernel is too old. Install one of the 2.6.38.8 kernels, then try again.
Logged

Old-Polack

Of what use be there for joy, if not for the sharing thereof?



Lest we forget...
darkages
Sr. Member
****
Offline Offline

Posts: 263


Windows? Naah. Now, clowns… that's another story.


« Reply #4 on: August 28, 2011, 04:38:20 PM »

Filesystem            Size  Used Avail Use% Mounted on
/dev/sda1             111G  5.8G   99G   6% /
/dev/sdb1             111G  2.4G 108G   3% /home
Davidsr,
5.8 + 2.4
Looks to me like you are trying to remaster greater than 8 GB
Logged

The clowns? Oh, yeah, the clowns. We fight them too; entire armies, spilling out of Volkswagens. We do our best to fight them off, but they keep sending `em in.
Old-Polack
Administrator
Hero Member
*****
Offline Offline

Posts: 9695


----IOFLU----


« Reply #5 on: August 28, 2011, 04:45:03 PM »

Filesystem            Size  Used Avail Use% Mounted on
/dev/sda1             111G  5.8G   99G   6% /
/dev/sdb1             111G  2.4G 108G   3% /home
Davidsr,
5.8 + 2.4
Looks to me like you are trying to remaster greater than 8 GB

One can remaster up to ~12 GB if one intends to burn the .iso to a DVD disk. The heavy compression used should reduce the image created to ~4 GB.
Logged

Old-Polack

Of what use be there for joy, if not for the sharing thereof?



Lest we forget...
Just18
PCLinuxOS Tester
Hero Member
*******
Offline Offline

Posts: 4634


MLUs Forever!


« Reply #6 on: August 28, 2011, 06:00:56 PM »

 
Quote
this-isn't numeric in division (/) at /usr/sbin/mylivecd line 244

this error appears if the livecd.sqfs file for the ISO is >~4GB ...... ~4GB is the limit of any single file within an ISO.

As o-p pointed out, use a newer kernel and better compression to reduce the size of the livecd.sqfs file and all should complete.
Logged

MLUs rule the roost!

Linux XPS 3.2.17-pclos1.pae.bfs  32 bit
Intel(R) Core(TM)2 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 ‎DVB-T 2 USB DTT
AS
Global Moderator
Hero Member
*****
Offline Offline

Posts: 4139

Have a nice ... night!


« Reply #7 on: August 29, 2011, 02:17:10 PM »

Quote
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda1             111G  5.8G   99G   6% /
/dev/sdb1             111G  2.4G  108G   3% /home

Usually 5.8+2.4 = 8.2 Gb when compressed result in approx. 1/3 of the average size, however things could be different if i.e. the home folder content is already compressed, like could be in case of jpeg photos: in such case the result will be 1/3 of the '/' filesystem (approx 2.0 Gb) + nearly the original size of /home (2.4 Gb), thus exceeding the maximum 4 Gb allowed from mylivecd.

Compression ratio depends from source files types.

Davidsr,
you could try to temporarily exclude the /home filesystem, and retry to build your iso only from your '/' filesystem,
using the option --nodir, and eventually backup separately the /home folder.
Quote
mylivecd --nodir ^/home livecdaugust.iso


AS
Logged
Davidsr
Jr. Member
**
Offline Offline

Posts: 12


« Reply #8 on: August 29, 2011, 03:43:05 PM »

 Grin dud my brain!!! Thank you all. Old-Polack I read this morning about the kernel from the help file of mylivecd, I just though that the install cd had a newer kernel, then I read about the default kernel that goes into a cd unless the person adds the newer kernal. My machine has been on oh 4 hours now doing a mylivecd --nodir^/home livecd august.iso

Again my thanks to all. oh I hope I typed right with a space than --???
Logged
hasmak
Full Member
***
Offline Offline

Posts: 57


« Reply #9 on: August 29, 2011, 11:53:33 PM »

Davidsr
You might want to have a look at this thread
http://www.pclinuxos.com/forum/index.php/topic,94643.0.html
and
http://www.pclinuxos.com/forum/index.php/topic,96165.0.html
Cheers
Logged

PCLOS 2011 LXDE
Davidsr
Jr. Member
**
Offline Offline

Posts: 12


« Reply #10 on: August 30, 2011, 10:31:58 AM »

Again, thanks to all for your replies. Newest update, BTY, I also am trying mylivecd cause of several view points-1. can I get it to work on my machine, 2. I'm 65 years old and have the time to try, 3. I am a previously programmer in ZBasic and lately I'm bored so back to work with the OS I have found to enjoy.
I have updated the kernel to 2.6.38.8-pclos3 and have attempted to make a .iso and its keeps failing, my / root is on sda1 and /Home is on a different HDD sdb1, these are the only two partitions I set up. Now I agree with the size limition of about 4gb, however I have gone thru a lot of directories and still (except for one) haven't figure out why I am unable to make mylivecd work-? is it a lot of empty space that or on my HDD???.
I have a question about the directory /var/cache, which holds the .rpm packages. Why store them? I haven't asked to download these rpm's and should they be deleted/removed? If so How? I see #rpm -e ,but I am concern that it will also remove the applications that I wish to keep (or is this just in some other OS's that remove the applications, and PCLOS doesn't?), but I have 2Gb's of rpm packages in this directory.
Also, BleachBit doesn't delete files that are locked, causes Error 13, but the archieves hold the rpm's files and other files that I wonder should be allowed to be deleted?
Or am I the one who is Lost In Space???
Again, Thanks.
Logged
Old-Polack
Administrator
Hero Member
*****
Offline Offline

Posts: 9695


----IOFLU----


« Reply #11 on: August 30, 2011, 11:03:46 AM »

Again, thanks to all for your replies. Newest update, BTY, I also am trying mylivecd cause of several view points-1. can I get it to work on my machine, 2. I'm 65 years old and have the time to try, 3. I am a previously programmer in ZBasic and lately I'm bored so back to work with the OS I have found to enjoy.
I have updated the kernel to 2.6.38.8-pclos3 and have attempted to make a .iso and its keeps failing, my / root is on sda1 and /Home is on a different HDD sdb1, these are the only two partitions I set up. Now I agree with the size limition of about 4gb, however I have gone thru a lot of directories and still (except for one) haven't figure out why I am unable to make mylivecd work-? is it a lot of empty space that or on my HDD???.
I have a question about the directory /var/cache, which holds the .rpm packages. Why store them? I haven't asked to download these rpm's and should they be deleted/removed? If so How? I see #rpm -e ,but I am concern that it will also remove the applications that I wish to keep (or is this just in some other OS's that remove the applications, and PCLOS doesn't?), but I have 2Gb's of rpm packages in this directory.
Also, BleachBit doesn't delete files that are locked, causes Error 13, but the archieves hold the rpm's files and other files that I wonder should be allowed to be deleted?
Or am I the one who is Lost In Space???
Again, Thanks.


There is no reason to store them after installation, unless you want them for use with another installation and don't want to download them again. In Synaptic, Settings --> Preferences you can choose to save them or delete them, as shown below.



If, after making that selection, you install any application, large or small, the cache will be automatically cleared of all previously saved packages.

Rpm -e will uninstall the application, and not remove the saved packages.
Logged

Old-Polack

Of what use be there for joy, if not for the sharing thereof?



Lest we forget...
Davidsr
Jr. Member
**
Offline Offline

Posts: 12


« Reply #12 on: August 30, 2011, 09:12:48 PM »

 Cry
please review the following, can you tell me where my iso is stored? The *.iso doesn't show when doing a search.
Thanks
[davidsr@localhost ~]$ su
Password:
[root@localhost ~]# mylivecd --xz --nodir ^/home/ august30th2011.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:10/00:00:10]
Setting filesystem parameters:                     [100.00% 00:00:17/00:00:17]
Creating compressed image:                         [100.00% 01:16:40/01:16:40]
Creating isolinux boot:                            [100.00% 00:00:01/00:00:01]
Creating final iso:                                [100.00% 00:01:41/00:01:41]
                                                                             
Restoring Services on the installed system


Created 'august30th2011.iso' (1503,117,312 bytes) in 01:18:53

[root@localhost ~]#

I added this;
1.39989Gb
 
 
 
Logged
Davidsr
Jr. Member
**
Offline Offline

Posts: 12


« Reply #13 on: August 30, 2011, 11:24:45 PM »

 Smiley Thank You All!!! While unable to locate my successful .iso (see above), I attemped another run by using mylivecd --xz --tmp=/home/davidsr/ --md5sum --ufs unionfs /livecd/whatever.iso  and found this took a very long time on my 1MB ram machine, so I closed out the Terminal and rebooted (twice) then went back into BleackBit & BleachBit-Root (will post a message about BleachBit later) and started over with a Reboot twice again, so I have had 6 reboots trying to learn mylivecd. So I decided to search again for my original .iso and since I used the code of-- nodir the Home--, I looked thru the Root directories and found my .iso-I have no idea why the OS Search still didn't show this .iso . The file was 1.4Gb so a DVD was made, took the DVD to my other computer (newer) and turned on the machine and up pops the PCLinuxOS reading the DVD, since there's no HOME the OS stated many things and then I grew worried about this wording--Problem with configuration server (/usr/lib/gconf-sanity-check-2 exited with status 256) with only a Closed Button, yet the arrow still was in a circle, so I click on the Closed Button and Saw the OS without its Home-mylivecd and the DVD worked!!! But I had everything located in HOME, so even with a router connection the Browser and email application didn't work, thats not a problem, I tickled the DVD works. In my opinion its the machine ram/memory not recognizing/seeing the .iso file. Tomorrow-HOME will be added-I hope? There both still under 10Gb!
Logged
Neal ManBear
Administrator
Super Villain
*****
Offline Offline

Posts: 15203


LXDE! Coffee, Bacon and Cheesecake!


« Reply #14 on: August 31, 2011, 01:54:57 AM »

Davidsr,
You posted the same question about your ISO location in 2 threads. Don't do that. Double posting is unnecessary and against forum policy.
I answered your question in the other thread.
Logged

Pages: [1] 2   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM