I can get the correct setup of an image and running my script from a USB drive but I can't get the same setup on a DVD. I tried to create my own image using what is provided with ocs-iso from the USB drive and it said it was going to be about 1gig but my 8 gig drive with at least 6 gigs free on it ran out of space and it failed.
All I want to do is to have the image already on the DVD along with my script so that it just boots up and asks the user if they are sure. I'm going to use the same image for all the computers and I want to make it as easy as possible for the user. I've tried different ways to try and set this up but have failed. It works good on the USB drive I assumed it would easily translate.
Any help is appreciated, thanks.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
What's the working dir when you run ocs-iso ? You have to make sue the working dir where you run ocs-iso is big enough to store the created iso and some temp files.
Please type:
1. pwd
2. df -ah
and post the results.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I can get the correct setup of an image and running my script from a USB drive but I can't get the same setup on a DVD. I tried to create my own image using what is provided with ocs-iso from the USB drive and it said it was going to be about 1gig but my 8 gig drive with at least 6 gigs free on it ran out of space and it failed.
All I want to do is to have the image already on the DVD along with my script so that it just boots up and asks the user if they are sure. I'm going to use the same image for all the computers and I want to make it as easy as possible for the user. I've tried different ways to try and set this up but have failed. It works good on the USB drive I assumed it would easily translate.
Any help is appreciated, thanks.
What's the error messages when you run ocs-iso to create such an iso file ?
this is everything after running the command "/opt/drbl/sbin/ocs-iso -g en_US.UTF-8 -k NONE -s -c -m ./custom-ocs"
As I said, should have plenty of room and I added the isolinux onto the drive so it could access those files to create the disk.
mkisofs is /usr/bin/mkisofs
[1;33mFound a Clonezilla live media... Will use that as a template...
[0;39mCreating clonezilla Live CD ISO file...
The output file name is: clonezilla-live-20090209.iso.
Copying the system files to working dir... This might take a few minutes... done!
Estimated target ISO file "clonezilla-live-20090209.iso" size: 973 MB
[1;33mThe target ISO file is too large to fit in a CD disk.
[0;39mAre you sure you want to continue ?
[y/N] OK, let's do it!
Trying to find the boot params from template live cd...
Adding isolinux menus for Clonezilla live...
I: -input-charset not specified, using utf-8 (detected in locale settings)
Using COPYING000.;1 for /COPYING (copying)
Size of boot image is 4 sectors -> No emulation
1.01% done, estimate finish Mon Feb 9 15:24:55 2009
2.01% done, estimate finish Mon Feb 9 15:25:44 2009
3.01% done, estimate finish Mon Feb 9 15:26:34 2009
4.02% done, estimate finish Mon Feb 9 15:26:34 2009
5.02% done, estimate finish Mon Feb 9 15:26:34 2009
6.03% done, estimate finish Mon Feb 9 15:26:34 2009
7.03% done, estimate finish Mon Feb 9 15:26:34 2009
8.04% done, estimate finish Mon Feb 9 15:26:34 2009
9.04% done, estimate finish Mon Feb 9 15:26:34 2009
10.04% done, estimate finish Mon Feb 9 15:26:34 2009
11.05% done, estimate finish Mon Feb 9 15:26:34 2009
12.05% done, estimate finish Mon Feb 9 15:26:34 2009
13.05% done, estimate finish Mon Feb 9 15:26:34 2009
14.06% done, estimate finish Mon Feb 9 15:26:41 2009
15.06% done, estimate finish Mon Feb 9 15:26:41 2009
16.07% done, estimate finish Mon Feb 9 15:26:40 2009
17.07% done, estimate finish Mon Feb 9 15:26:40 2009
18.08% done, estimate finish Mon Feb 9 15:26:40 2009
19.08% done, estimate finish Mon Feb 9 15:26:39 2009
20.08% done, estimate finish Mon Feb 9 15:26:39 2009
21.09% done, estimate finish Mon Feb 9 15:26:39 2009
22.09% done, estimate finish Mon Feb 9 15:26:39 2009
23.09% done, estimate finish Mon Feb 9 15:26:38 2009
24.10% done, estimate finish Mon Feb 9 15:26:38 2009
25.10% done, estimate finish Mon Feb 9 15:26:38 2009
26.11% done, estimate finish Mon Feb 9 15:26:38 2009
27.11% done, estimate finish Mon Feb 9 15:26:38 2009
28.12% done, estimate finish Mon Feb 9 15:26:38 2009
29.12% done, estimate finish Mon Feb 9 15:26:44 2009
30.12% done, estimate finish Mon Feb 9 15:26:44 2009
31.13% done, estimate finish Mon Feb 9 15:26:44 2009
32.13% done, estimate finish Mon Feb 9 15:26:43 2009
33.13% done, estimate finish Mon Feb 9 15:26:43 2009
34.14% done, estimate finish Mon Feb 9 15:26:43 2009
35.14% done, estimate finish Mon Feb 9 15:26:43 2009
36.15% done, estimate finish Mon Feb 9 15:26:42 2009
37.15% done, estimate finish Mon Feb 9 15:26:42 2009
38.16% done, estimate finish Mon Feb 9 15:26:42 2009
39.16% done, estimate finish Mon Feb 9 15:26:44 2009
40.16% done, estimate finish Mon Feb 9 15:26:44 2009
41.17% done, estimate finish Mon Feb 9 15:26:44 2009
42.17% done, estimate finish Mon Feb 9 15:26:44 2009
43.17% done, estimate finish Mon Feb 9 15:26:43 2009
44.18% done, estimate finish Mon Feb 9 15:26:43 2009
45.18% done, estimate finish Mon Feb 9 15:26:43 2009
cat: write error: No space left on device
[1;31mSomething went wrong!
[0;39mrm: cannot remove `/live/image/Clonezilla-Live-Version': Read-only file system
rm: cannot remove `/live/image/copying': Read-only file system
rm: cannot remove `/live/image/packages.txt': Read-only file system
rm: cannot remove `/live/image/parameters.txt': Read-only file system
rm: cannot remove `/live/image/home/partimag/workstation-img/disk': Read-only file system
rm: cannot remove `/live/image/home/partimag/workstation-img/Info-dmi.txt': Read-only file system
rm: cannot remove `/live/image/home/partimag/workstation-img/Info-lshw.txt': Read-only file system
rm: cannot remove `/live/image/home/partimag/workstation-img/Info-packages.txt': Read-only file system
rm: cannot remove `/live/image/home/partimag/workstation-img/lvm_logv.list': Read-only file system
rm: cannot remove `/live/iremoved `clonezilla-live-20090209.iso'
Program terminated!
What's the working dir when you run ocs-iso ? You have to make sue the working dir where you run ocs-iso is big enough to store the created iso and some temp files.
Please type:
1. pwd
2. df -ah
and post the results.
Yeah that explained everything. I was able to put the image on the same USB drive by booting into RAM and remounting the drive. thanks