i added my network to /etc/network/interfaces, restarted the networking service but couldnt ping still, il show you what i appended to my interfaces file
ok i done it, i had to mount my samba share to /home/partimg for it to work, also i didnt have to specify the -d i could just run this when i cd'd in the dir
sudo cnvt-ocs-dev testing-img sda nvme0n1
but i get these errors but it says it has renamed so im bit confused (i attach pic)
also looking in the samba share the image folder i see no "sda" i see "nvme0n1"
"it deletes them as when i go back in the testing image folder there gone but its renamed all the sda to nvme0n1" -> It just renames the files, not deleting them.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
sorry steven, from what im looking at it does and no idea why... i attach below, ive instaleld ubuntu 24.04 on a vm and installed clonezilla on it via apt-get to do the conversion from sda to nvme and i mounted my samba share to the vm
ok so its a problem with windows samba server as when i copy the image folder locally to the vm it works and it deletes no files... do you think this can be looked into please steven ?
tbh steven its fine as ive made a ubuntu server now and ive installed on it samba server and clonezilla so i dont have to copy my image from the samba server (windows) to the clonezilla server so i could do the convertion of the image
could you please let me know what disks you support with the cnvt-ocs-dev command?
also when i run the cnvt-ocs-dev command then i have to enter yes to confirm/continue, can i force it to say yes to do this automatically?
Last edit: robina80 2025-05-25
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
hi all,
i saved an image using "savedisk" and the hard drive in the machine was a sdX not a nvme one
instead of "restoredisk" (which works restoring to nvme targets) i select "restorepartitions" and i get my sdX partitions to select from
now when i select them all and get to the next stage, instead of restoring the target to the nvme it wants to delete the clonezilla sdX
is there anyway to restore the parts to the nvme ie the pc
thanks,
rob
You can use this command to convert the image for the destination disk/partition name:
https://drbl.org/management/techrpt.php?c=cnvt-ocs-dev&t=To%20change%20the%20device%20name%20in%20saved%20clonezilla%20image
so to convert my image from sda to nvme would this work
cnvt-ocs-dev -d /path/to/image win11-09052025-img sda nvme
about the image location as its on a "samba_server" do i have to put the location of the samba_server or /home/partimag
im going to make a copy of my image before and rename the copy, can i just rename the dir folder of the image or do i need to change any files etc
thanks,
rob
cant mount the samba share and i need to mount it to run the "cnvt-ocs-dev" command
i added my network to /etc/network/interfaces, restarted the networking service but couldnt ping still, il show you what i appended to my interfaces file
iface eth0 inet static
address 10.1.1.125
netmask 255.0.0.0
gateway 10.1.1.1
changed the ips to match my network
service networking restart
tried to ping my samba_server and i couldnt ping it
also this vm i have hooked up to the right network where it can see my samba_server
EDIT - stupid me i forgot to add above the auto so now it works i can ping the samba share
auto eth0
iface eth0 inet static
address 10.1.1.125
netmask 255.0.0.0
gateway 10.1.1.1
Last edit: robina80 2025-05-21
ok i done it, i had to mount my samba share to /home/partimg for it to work, also i didnt have to specify the -d i could just run this when i cd'd in the dir
sudo cnvt-ocs-dev testing-img sda nvme0n1
but i get these errors but it says it has renamed so im bit confused (i attach pic)
also looking in the samba share the image folder i see no "sda" i see "nvme0n1"
Last edit: robina80 2025-05-21
ok this is very weird, so when i copy/rename my image
sudo cp -rfp win11-19052025-img testing-img
i then access my samba share and open up the testing image and all the files are there that its complaining about but as soon as i run
sudo cnvt-ocs-dev -d /home/partimag testing-img sda nvme0n1
it deletes them as when i go back in the testing image folder there gone but its renamed all the sda to nvme0n1
what is happening please and why is this happening
thanks,
rob
"it deletes them as when i go back in the testing image folder there gone but its renamed all the sda to nvme0n1" -> It just renames the files, not deleting them.
sorry steven, from what im looking at it does and no idea why... i attach below, ive instaleld ubuntu 24.04 on a vm and installed clonezilla on it via apt-get to do the conversion from sda to nvme and i mounted my samba share to the vm
Last edit: robina80 2025-05-23
ok so its a problem with windows samba server as when i copy the image folder locally to the vm it works and it deletes no files... do you think this can be looked into please steven ?
Last edit: robina80 2025-05-23
No idea actually. If the permission is correct, then it should work like what you had.
We do not have any issue using cnvt-ocs-dev.
tbh steven its fine as ive made a ubuntu server now and ive installed on it samba server and clonezilla so i dont have to copy my image from the samba server (windows) to the clonezilla server so i could do the convertion of the image
could you please let me know what disks you support with the cnvt-ocs-dev command?
also when i run the cnvt-ocs-dev command then i have to enter yes to confirm/continue, can i force it to say yes to do this automatically?
Last edit: robina80 2025-05-25
ok done option -b for no user prompts