Author Topic: SOLVED : Argument "" isn't numeric in division (/)  (Read 1704 times)

Offline raed

  • Full Member
  • ***
  • Posts: 200
SOLVED : Argument "" isn't numeric in division (/)
« on: July 06, 2012, 06:04:11 PM »
hi

i want to use mylivecd .. it's really will help me . here is what i did :

1- after installing pclinuxos - update it - restart - install program that i need
2- install draklive-install
3- run BleachBit + BleachBit as root to Remove unnecessary files
4- open terminal - login as root "su"
5- print "umount -a"
6- print "mylivecd pclinuxosk.iso"

full output

Code: [Select]
[root@localhost ~]# mylivecd pclinuxosk.iso
mylivecd, version 0.9.5, 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: messagebus(start) messagebus(stop)
Warning: syslog is needed by script(s) in runlevel 3: nscd(start) messagebus(start) messagebus(stop)
Warning: syslog is needed by script(s) in runlevel 4: nscd(start) messagebus(start) messagebus(stop)
Warning: syslog is needed by script(s) in runlevel 5: nscd(start) messagebus(start) messagebus(stop)
Warning: syslog is needed by script(s) in runlevel 7: messagebus(start) messagebus(stop)
running: /sbin/chkconfig --list
running: chkconfig --del kheader
running: /sbin/chkconfig --list
running: chkconfig --del xinetd


Creating initrd:                                   [100.00% 00:00:03/00:00:03]
Setting filesystem parameters:                     [100.00% 00:00:01/00:00:01]
Creating compressed image:                         [100.00% 00:29:59/00:29:59]
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

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
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 pclinuxosk.iso: No such file or directory
Argument "" isn't numeric in division (/) at /usr/sbin/mylivecd line 248.

Created 'pclinuxosk.iso' (0,000 bytes) in 00:30:04

[root@localhost ~]#

i saw djohnston answer in another topic

Quote
Argument "" isn't numeric in division (/) at /usr/sbin/mylivecd line 248. is telling you that there's too much data to fit on a 4.3GB DVD. According to AS, the maximum disk size you can get to a single layer DVD is somewhere between 10 and 12GB of data on disk. You might try excluding more directories.


What should I do now ?
how can i fix it

df output :

Code: [Select]
[root@localhost ~]# df
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda5              98G  8.6G   85G  10% /

any idea
« Last Edit: July 07, 2012, 08:28:49 AM by raed »

Offline johnmart

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1105
  • Make Love Not War
Re: Argument "" isn't numeric in division (/)
« Reply #1 on: July 06, 2012, 07:39:25 PM »
Hi raed. as djohnston's quote said;
" You might try excluding more directories."
You can use a command-line option to exclude diectories that contain large files; movies, music, iso's etc.
Here's an example taken from the mylivecd help file.

mylivecd --nodir ^/usr/src/RPM,^/root/tmp livecd.iso

you can add other options after the --nodir string.
hth
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 raed

  • Full Member
  • ***
  • Posts: 200
Re: Argument "" isn't numeric in division (/)
« Reply #2 on: July 06, 2012, 09:07:01 PM »
be patient with me

simple i need that iso i can burn it to dvd when i install it give me pclinuxos with my settings Especially sound settings

"mylivecd --nodir ^/usr/src/RPM,^/root/tmp livecd.iso"

is it save my customization ?
this command will save "livecd.iso" in "/root/tmp" is that right ?

you say i can add other options after the --nodir string like what for example .

Offline raed

  • Full Member
  • ***
  • Posts: 200
Re: Argument "" isn't numeric in division (/)
« Reply #3 on: July 06, 2012, 09:10:17 PM »
/usr/sbin/mylivecd --splash=silent livecd.iso

what does it mean "--splash=silent" ?

Offline djohnston

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6227
  • I don't do Windows
Re: Argument "" isn't numeric in division (/)
« Reply #4 on: July 06, 2012, 09:15:23 PM »
"mylivecd --nodir ^/usr/src/RPM,^/root/tmp livecd.iso"

is it save my customization ?

If your customizations are in your home folder, then yes. You have not excluded your home folder from the remaster.

this command will save "livecd.iso" in "/root/tmp" is that right ?

The iso will be saved in whatever directory you are in when you run the script. If you are in the /root directory when you run mylivecd, the iso will be saved in the /root directory. If you want it saved in /root/tmp, then run mylivecd like this:

mylivecd --nodir ^/usr/src/RPM,^/root/tmp /root/tmp/livecd.iso

you say i can add other options after the --nodir string like what for example .

Too many to list here. For a list of all options, enter:

mylivecd --help
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 raed

  • Full Member
  • ***
  • Posts: 200
Re: Argument "" isn't numeric in division (/)
« Reply #5 on: July 06, 2012, 09:30:20 PM »
mylivecd --nodir ^/usr/src/RPM,^/root/tmp /root/tmp/livecd.iso

I understand now , I'm going to try it

Offline raed

  • Full Member
  • ***
  • Posts: 200
Re: Argument "" isn't numeric in division (/)
« Reply #6 on: July 06, 2012, 10:43:49 PM »
Code: [Select]
[root@localhost media]# mylivecd --nodir ^/usr/src/RPM,^/root/tmp /root/livecd.iso
mylivecd, version 0.9.5, 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:03/00:00:03]
Setting filesystem parameters:                     [100.00% 00:00:01/00:00:01]
Creating compressed image:                         [100.00% 00:30:11/00:30:11]
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 /root/livecd.iso: No such file or directory
Argument "" isn't numeric in division (/) at /usr/sbin/mylivecd line 248.

Created '/root/livecd.iso' (0,000 bytes) in 00:30:16

[root@localhost media]#

same problem ?

Offline raed

  • Full Member
  • ***
  • Posts: 200
Re: Argument "" isn't numeric in division (/)
« Reply #7 on: July 07, 2012, 01:16:08 AM »
is this important step ?

Code: [Select]
root@localhost ~]# umount -a
umount: /: device is busy.
        (In some cases useful info about processes that use
         the device is found by lsof(8) or fuser(1))

!!

i skipped that

Offline djohnston

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6227
  • I don't do Windows
Re: Argument "" isn't numeric in division (/)
« Reply #8 on: July 07, 2012, 02:20:43 AM »
same problem ?

Yes. Post result of

df -H

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 raed

  • Full Member
  • ***
  • Posts: 200
Re: Argument "" isn't numeric in division (/)
« Reply #9 on: July 07, 2012, 02:38:19 AM »
Code: [Select]
[root@localhost ~]# df -H
Filesystem             Size   Used  Avail Use% Mounted on
/dev/sda5              106G   8.6G    92G   9% /

before i see your replay i repeat print

Code: [Select]
mylivecd --nodir ^/usr/scr/RPM,^/root/tmp pclinuxos.iso
after using BleachBit + BleachBit as root

output

Code: [Select]
[root@localhost ~]# mylivecd --nodir ^/usr/scr/RPM,^/root/tmp pclinuxos.iso
mylivecd, version 0.9.5, 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:06/00:00:06]
Creating compressed image:                         [100.00% 00:23:59/00:23:59]
Creating isolinux boot:                            [100.00% 00:00:00/00:00:00]
Creating final iso:                                [100.00% 00:00:55/00:00:55]

Restoring Services on the installed system


Created 'pclinuxos.iso' (3297,882,112 bytes) in 00:25:05


is everything OK ? i can't see iso file in home or root !!

Offline smudger

  • Full Member
  • ***
  • Posts: 50
  • Just resting my beautiful eyes ! ! !
Re: Argument "" isn't numeric in division (/)
« Reply #10 on: July 07, 2012, 03:24:51 AM »

raed:

Code: [Select]
mylivecd --nodir ^/usr/scr/RPM,^/root/tmp pclinuxos.iso

I notice from your syntax that you have used ^/usr/scr/RPM please change the scr to src
otherwise this directory will be missed from your .iso

Quote
i can't see iso file in home or root !!

Have you tried (as root):
locate pclinuxos.iso or whereis pclinuxos.iso

this should give you the full path to where your pclinuxos.iso file has been placed

You could append a path to the pclinuxos.iso file in your original syntax, for better usability.
Smudger

Intel (R) Pentium (R) 3.0 Ghz Dual Core, 2 GiB Ram,180 GiB HDD Running PCLinuxOS 2012-02 KDE Fully Updated

+ Blood, Sweat and Tears (Application, Determination and Perseverance)

Online Bald Brick

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6372
  • I'm going South
Re: Argument "" isn't numeric in division (/)
« Reply #11 on: July 07, 2012, 03:28:36 AM »
is everything OK ? i can't see iso file in home or root !!

Look in the root user's home folder, /root, not in the global root folder, / (which Dolphin calls "Root").

(You have to be root to access /root.)


Feed the trolls!
They need it!

AMD Athlon 7450 Dual-Core Processor, 7.80 GiB RAM, Nvidia GeForce GT 120/PCIe/SSE2, OpenGL/ES-version: 3.3 0 NVIDIA 295.40, SBx00 Azalia (Intel HDA) soundcard, ‎Logitech B500 webcam, SAA7146 DVB card, HDDs: Seagate 250824AS, Western Digital WD10EAVS-00D

Offline raed

  • Full Member
  • ***
  • Posts: 200
Re: Argument "" isn't numeric in division (/)
« Reply #12 on: July 07, 2012, 03:30:14 AM »
Do I repeat the process with change the scr to src

Code: [Select]
[root@localhost ~]# locate pclinuxos.iso
/root/pclinuxos.iso

 ??? that means there is iso file in /root ? but in dolphin i can't see it so how can i copy it or burn it ?

Offline raed

  • Full Member
  • ***
  • Posts: 200
Re: Argument "" isn't numeric in division (/)
« Reply #13 on: July 07, 2012, 03:34:22 AM »
is everything OK ? i can't see iso file in home or root !!

Look in the root user's home folder, /root, not in the global root folder, / (which Dolphin calls "Root").

(You have to be root to access /root.)




i understand now  :)
i copy it now  :)
cp /root/pclinuxos.iso /home/raed

now i see the iso file

is there anything else or just burn it ? how can i use it ?
install it from dvd like install pclinuxos

Online Bald Brick

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6372
  • I'm going South
Re: Argument "" isn't numeric in division (/)
« Reply #14 on: July 07, 2012, 04:02:17 AM »
is everything OK ? i can't see iso file in home or root !!

Look in the root user's home folder, /root, not in the global root folder, / (which Dolphin calls "Root").

(You have to be root to access /root.)




i understand now  :)
i copy it now  :)
cp /root/pclinuxos.iso /home/raed

now i see the iso file

is there anything else or just burn it ? how can i use it ?
install it from dvd like install pclinuxos


Just click its icon (or double-click it if that's how you've set up your system). As you seem to be running KDE, that should by default open K3b ready to burn it. After that the easiest way of installing it would be from the live DVD that K3b creates.
Feed the trolls!
They need it!

AMD Athlon 7450 Dual-Core Processor, 7.80 GiB RAM, Nvidia GeForce GT 120/PCIe/SSE2, OpenGL/ES-version: 3.3 0 NVIDIA 295.40, SBx00 Azalia (Intel HDA) soundcard, ‎Logitech B500 webcam, SAA7146 DVB card, HDDs: Seagate 250824AS, Western Digital WD10EAVS-00D