Author Topic: MyLiveCd isn't numeric in division and How to code iso into sda2 (Solved)  (Read 1933 times)

Offline Davidsr

  • Jr. Member
  • **
  • Posts: 12
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.



« Last Edit: August 30, 2011, 10:26:34 PM by Davidsr »

Offline menotu

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 15515
  • ┌∩┐(◕_◕)┌∩┐
Re: MyLiveCd isn't numeric in division and How to code iso into sda2
« Reply #1 on: August 27, 2011, 11:24:51 AM »
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.
PCLinuxOS 32bit KDE 4.10.4; kernel-3.4.11-pclos1.bfs & 64bit 3.4.38bfs; NVidia GeForce 8400GS 1GB 310.19 driver

Sony Vaio SVE1513A4ESI Laptop, Intel Core i5, 2.6GHz, 6GB RAM, 750GB, 15.6" Intel HD Graphics 4000

Offline Davidsr

  • Jr. Member
  • **
  • Posts: 12
Re: MyLiveCd isn't numeric in division and How to code iso into sda2
« Reply #2 on: August 28, 2011, 03: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(8) or fuser(1))
umount: /: device is busy.
        (In some cases useful info about processes that use
         the device is found by lsof(8) 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

Offline Old-Polack

  • Administrator
  • Super Villain
  • *****
  • Posts: 11688
  • ----IOFLU----
Re: MyLiveCd isn't numeric in division and How to code iso into sda2
« Reply #3 on: August 28, 2011, 03:35:03 PM »
Davidsr:

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

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



Lest we forget...

Offline and then..

  • Sr. Member
  • ****
  • Posts: 463
Re: MyLiveCd isn't numeric in division and How to code iso into sda2
« Reply #4 on: August 28, 2011, 03: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

Offline Old-Polack

  • Administrator
  • Super Villain
  • *****
  • Posts: 11688
  • ----IOFLU----
Re: MyLiveCd isn't numeric in division and How to code iso into sda2
« Reply #5 on: August 28, 2011, 03: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.
Old-Polack

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



Lest we forget...

Offline Just17

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 11064
  • MLUs Forever!
Re: MyLiveCd isn't numeric in division and How to code iso into sda2
« Reply #6 on: August 28, 2011, 05: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.
MLUs rule the roost!

Linux XPS 3.4.48-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 AS

  • Hero Member
  • *****
  • Posts: 4098
  • Have a nice ... night!
Re: MyLiveCd isn't numeric in division and How to code iso into sda2
« Reply #7 on: August 29, 2011, 01: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

Offline Davidsr

  • Jr. Member
  • **
  • Posts: 12
Re: MyLiveCd isn't numeric in division and How to code iso into sda2
« Reply #8 on: August 29, 2011, 02:43:05 PM »
 ;D 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 --???

Offline hasmak

  • Full Member
  • ***
  • Posts: 53
PCLOS 2011 LXDE

Offline Davidsr

  • Jr. Member
  • **
  • Posts: 12
Re: MyLiveCd isn't numeric in division and How to code iso into sda2
« Reply #10 on: August 30, 2011, 09: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.

Offline Old-Polack

  • Administrator
  • Super Villain
  • *****
  • Posts: 11688
  • ----IOFLU----
Re: MyLiveCd isn't numeric in division and How to code iso into sda2
« Reply #11 on: August 30, 2011, 10: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.
Old-Polack

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



Lest we forget...

Offline Davidsr

  • Jr. Member
  • **
  • Posts: 12
Re: MyLiveCd isn't numeric in division and How to code iso into sda2
« Reply #12 on: August 30, 2011, 08:12:48 PM »
 :'(
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
 
 
 

Offline Davidsr

  • Jr. Member
  • **
  • Posts: 12
 :) 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!

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15829
  • LXDE! Coffee, Bacon and Cheesecake!
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.