drbl-sl fails to recognise ISO,
A partition and disk imaging/cloning program
Brought to you by:
steven_shiau
drbl-sl fails to recognise a legitimate ISO file in Ubuntu 15.04 with drbl installed via SF repo.
The following error:
sudo drbl-sl -v -i Downloads/clonezilla-live-2.3.2-22-amd64.iso
Downloads/clonezilla-live-2.3.2-22-amd64.iso is not an ISO 9660 CD-ROM filesystem data file!
Program terminated!
This can be fixed by adding "-k" to the find line in /usr/sbin/drbl-sl, before the -sL
What did you mean?
I can not reproduce this issue here:
$ sudo drbl-sl -v -i Downloads/clonezilla-live-2.3.2-22-amd64.iso
This ISO file Downloads/clonezilla-live-2.3.2-22-amd64.iso is for Clonezilla live.
***********.
This script will create the diskless server in the DRBL environment for this small live GNU/Linux: Clonezilla Live
Are you sure you want to continue? [Y/n]
OK, let's do it!
Mounting the iso file Downloads/clonezilla-live-2.3.2-22-amd64.iso at mounting point /tmp/drblsl_tmp.JdhcrR
mount: block device /home/steven/Downloads/clonezilla-live-2.3.2-22-amd64.iso is write-protected, mounting read-only
Finding the kernel and initrd from iso...
Found the kernel: /tmp/drblsl_tmp.JdhcrR//live/vmlinuz
Found the initrd: /tmp/drblsl_tmp.JdhcrR//live/initrd.img
Copying kernel /tmp/drblsl_tmp.JdhcrR//live/vmlinuz as /tftpboot/nbi_img/Clonezilla-live-vmlinuz...
Copying initrd /tmp/drblsl_tmp.JdhcrR//live/initrd.img as /tftpboot/nbi_img/Clonezilla-live-initrd.img...
Copying root image /tmp/drblsl_tmp.JdhcrR//live/filesystem.squashfs to /tftpboot/nbi_img... This might take several minutes...
sending incremental file list
sent 45 bytes received 12 bytes 114.00 bytes/sec
total size is 132870144 speedup is 2331055.16
First removing Clonezilla-live setting in /tftpboot/nbi_img/pxelinux.cfg/default...
Append the Clonezilla Live config in /tftpboot/nbi_img/pxelinux.cfg/default...
***********.
Now set the client machines to boot from PXE. (refer to http://drbl.org for more details)
Steven.
Are you using Ubuntu 15.04?
If not, maybe the problem is distro/version dependent.
Sorry my 'fix' is not very clear.
file' needs a-k' parameter in order tocorrectly detect ISO. This is strange behaviour for `file', which is why I
suspect its an Ubuntu 15.04 issue.
On 9 May 2015 at 16:32, Steven Shiau steven_shiau@users.sf.net wrote:
Related
Bugs:
#225Thanks. Yes, with the option "-k" of file command, this bug has been fixed in drbl 2.14.10 in the unstable branch.
Steven.