Is there a file on the image folder that I can change to change the disk to sda? A USB I'm using is detected as a hard drive by the OS and always mounts itself first and would be assigned as sda, changing the local disk to sdb.
The problem is when I'm saving the image, it would be saved as sdb. But when restoring with drbl, because the image is saved for sdb, it wouldn't work through LAN boot as the computers only have 1 disk, which is sda.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks for the url, but I can't seem to enter the command on DRBL live boot.
My understanding was that I should be using DRBL live boot's terminal to enter the command, but any drbl commands I entered gives me a command not found error. Am I suppose to use something else to run the command?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Boot your PC with the latest Clonezilla Live USB drive and then select the Enter Shell (command line prompt). You can then type the following commands to change the device name in a saved image:
I managed to get the commands to execute but it doesn't appear to work for me as I'm trying to convert sdb(Disk 2) to sda(Disk 1), not sda to another device name.
Note: I'm converting from sda to sdb in this case as I deleted all the old images with sdb(Disk 2). But it should still be the same as I'm only trying to convert it to a different disk.
I ran the command cnvt-ocs-dev -d /home/partimag/"CloneZilla Images"/ LaptopImg sda sdb but it results with the error: /home/partimag/"CloneZilla Images"/LaptopImg/sda* NOT found!
This is the file structure in the folder:
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
It's a bug. The command cnvt-ocs-dev fails to deal with the dir name with a white space.
As a workround, you can rename "CloneZilla Images" as "CloneZilla_Images" then do it again.
Steven
Last edit: Steven Shiau 2020-11-01
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Please give the latest testing Clonezilla live 2.7.0-9 or 20201029-groovy a try: https://clonezilla.org/downloads.php
This issue should have been fixed.
Steven
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks for all the information Steven, I ended up just reimaging all of the computers with a different USB instead as I couldn't get it to work through the command line. I haven't tested the latest Clonezilla live so I'm not sure if it resolved the space issue.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Is there a file on the image folder that I can change to change the disk to sda? A USB I'm using is detected as a hard drive by the OS and always mounts itself first and would be assigned as sda, changing the local disk to sdb.
The problem is when I'm saving the image, it would be saved as sdb. But when restoring with drbl, because the image is saved for sdb, it wouldn't work through LAN boot as the computers only have 1 disk, which is sda.
Hi Wei
You might try this to change the device name in saved clonezilla image :
https://drbl.org/management/techrpt.php?c=cnvt-ocs-dev&t=To%20change%20the%20device%20name%20in%20saved%20clonezilla%20image
Chuck
Thanks for the url, but I can't seem to enter the command on DRBL live boot.
My understanding was that I should be using DRBL live boot's terminal to enter the command, but any drbl commands I entered gives me a command not found error. Am I suppose to use something else to run the command?
Hi Wei
Boot your PC with the latest Clonezilla Live USB drive and then select the Enter Shell (command line prompt). You can then type the following commands to change the device name in a saved image:
user@groovy:~$
user@groovy:~$ sudo -i
user@groovy:~# cnvt-ocs-dev
I managed to get the commands to execute but it doesn't appear to work for me as I'm trying to convert
sdb(Disk 2)tosda(Disk 1), notsdato anotherdevice name.Note: I'm converting from sda to sdb in this case as I deleted all the old images with sdb(Disk 2). But it should still be the same as I'm only trying to convert it to a different disk.
I ran the command
cnvt-ocs-dev -d /home/partimag/"CloneZilla Images"/ LaptopImg sda sdbbut it results with the error:/home/partimag/"CloneZilla Images"/LaptopImg/sda* NOT found!This is the file structure in the folder:

It's a bug. The command cnvt-ocs-dev fails to deal with the dir name with a white space.
As a workround, you can rename "CloneZilla Images" as "CloneZilla_Images" then do it again.
Steven
Last edit: Steven Shiau 2020-11-01
Please give the latest testing Clonezilla live 2.7.0-9 or 20201029-groovy a try:
https://clonezilla.org/downloads.php
This issue should have been fixed.
Steven
Thanks for all the information Steven, I ended up just reimaging all of the computers with a different USB instead as I couldn't get it to work through the command line. I haven't tested the latest Clonezilla live so I'm not sure if it resolved the space issue.
No problem. Thanks for your feedback and at least you found another solution to make it.
Steven