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, 04:39:03 PM


Login with username, password and session length


Pages: [1]   Go Down
  Print  
Author Topic: [Solved] Error using an external drive to hold iso  (Read 351 times)
OldGuy
Hero Member
*****
Online Online

Posts: 521


"All that is not given, is lost." Hasari Pal


« on: September 04, 2011, 09: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
Logged
johnmart
PCLinuxOS Tester
Hero Member
*******
Offline Offline

Posts: 741


Make Love Not War


« Reply #1 on: September 04, 2011, 11: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.  Grin
Logged

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
djohnston
PCLinuxOS Tester
Hero Member
*******
Offline Offline

Posts: 5710


I don't do Windows


« Reply #2 on: September 05, 2011, 12:00:55 AM »

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).

Logged

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
OldGuy
Hero Member
*****
Online Online

Posts: 521


"All that is not given, is lost." Hasari Pal


« Reply #3 on: September 05, 2011, 10: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. 
Logged
johnmart
PCLinuxOS Tester
Hero Member
*******
Offline Offline

Posts: 741


Make Love Not War


« Reply #4 on: September 05, 2011, 07: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  Grin
Logged

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
Pages: [1]   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