Author Topic: [Solved] Error using an external drive to hold iso  (Read 602 times)

Offline OldGuy

  • Hero Member
  • *****
  • Posts: 665
  • "All that is not given, is lost." Hasari Pal
[Solved] Error using an external drive to hold iso
« on: September 04, 2011, 08:37:12 PM »
I'm trying a new mylivecd command, my external disk is IOMEGA_HDD and I want to use that
for the iso, and got an error somewhere in the command below:

mylivecd --gzip --nodir ^/media/IOMEGA_HDD,^/home/rose/Music,^/home/rose/Pictures ^/media/IOMEGA_HDD/test.iso

CLI Output is below:

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:06/00:00:06]
Setting filesystem parameters:                     [100.00% 00:00:12/00:00:12]
Creating compressed image:                         [100.00% 00:09:48/00:09:48]
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 ^/media/IOMEGA_HDD/test.iso: No such file or directory
Argument "" isn't numeric in division (/) at /usr/sbin/mylivecd line 244.

Created '^/media/IOMEGA_HDD/test.iso' (0,000 bytes) in 00:10:08

Any tips or advice would be welcomed
« Last Edit: September 05, 2011, 08:59:10 AM by OldGuy »

Offline johnmart

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1095
  • Make Love Not War
Re: Error using an external drive to hold iso
« Reply #1 on: September 04, 2011, 10:52:25 PM »
I think there is an error in your command line:

mylivecd --gzip --nodir ^/media/IOMEGA_HDD,^/home/rose/Music,^/home/rose/Pictures ^/media/IOMEGA_HDD/test.iso

remove the caret preceding /IOMEGA.....
Give that a try.
Oh, of course it would need to be mounted.  ;D
« Last Edit: September 04, 2011, 10:59:49 PM by johnmart »
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 djohnston

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6224
  • I don't do Windows
Re: Error using an external drive to hold iso
« Reply #2 on: September 04, 2011, 11:00:55 PM »
I think there is an error in your command line:

mylivecd --gzip --nodir ^/media/IOMEGA_HDD,^/home/rose/Music,^/home/rose/Pictures ^/media/IOMEGA_HDD/test.iso

remove the caret preceding /IOMEGA.....
Give that a try.

Definitely. You're trying to write the iso to /media/IOMEGA_HDD/test.iso, but you specified it as ^/media/IOMEGA_HDD/test.iso (last entry on the command line).

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 OldGuy

  • Hero Member
  • *****
  • Posts: 665
  • "All that is not given, is lost." Hasari Pal
Re: [Solved] Error using an external drive to hold iso
« Reply #3 on: September 05, 2011, 09:02:27 AM »
Thanks for the replies, sure enough removing the caret allows the function to complete.  Which raises the question on where and when to use ^ in ones parameter string.  I'll have to do some more reading to clear that up in my mind. 

Offline johnmart

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1095
  • Make Love Not War
Re: [Solved] Error using an external drive to hold iso
« Reply #4 on: September 05, 2011, 06:07:53 PM »
I don't use many options with mylivecd, but in my experience the ^ is used with the option to exclude files & directories from the remaster.
checkout mylivecd --help
Have fun  ;D
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