Good morning,
I use clonezilla server for restore images on Lenovo machines via PXE boot.
Since the most recent versions of ubuntu (recent kernel), the only hard drive is not detected in /dev/sda if the machine have a SDcard reader, hard drive is then detected in /dev/sdb and clonezilla shows me an error hard disk sda found.
I looking for a way for the single hard drive of each machine is still always detected in /dev/sda, not in /dev/sdb.
Knowing that the machines do not always have the same brand of hard drive.
Currently I have to disable the SDcard reader in the bios to have the hard disk in sda and clonezilla server can restore images.
I almost find anything about this problem.
Thanks you by advance
Philippe
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Yes, this is really annoying.
Thanks for reporting this issue.
Are you doing the multicast restoring?
If not, maybe in the future we should find a way to use device name based on the serial number, not Linux block device name.
Steven.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
So you use unicast, but it's unattended mode? Or you can accept to choose the destination disk?
If so, check this: http://clonezilla.org/advanced/researved-word-ocs-sr.php
The "ask_user" could be used for the destination device.
In your case, if you need an unattended mode, I believe a script could be developed for this, and you can use the clonezilla live's boot parameters to start the script for that. This is the idea now I have.
For a general method, I still need more scenarios and info so that we might come out another reserved name for this puppose...
Steven.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I thought. There is no you there a way to disable management "Attached SCSI removable disk" or "usb" because I have no need it for image restore.
For do it, must I to recompile the kernel ?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The effort to recompile the kernel will be endless... For a new kernel release one you might have to do that again. It will be easier to change that in Clonezilla, i.e. if we could have a better way to deal with this.
I am thinking something like "ask_user", let's called it "1st_hd", and it could auto detect the 1st hard drive, as the destination disk. This is just an idea...
For the time being, a customized script might be easier.
Steven.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Good morning,
I use clonezilla server for restore images on Lenovo machines via PXE boot.
Since the most recent versions of ubuntu (recent kernel), the only hard drive is not detected in /dev/sda if the machine have a SDcard reader, hard drive is then detected in /dev/sdb and clonezilla shows me an error hard disk sda found.
I looking for a way for the single hard drive of each machine is still always detected in /dev/sda, not in /dev/sdb.
Knowing that the machines do not always have the same brand of hard drive.
Currently I have to disable the SDcard reader in the bios to have the hard disk in sda and clonezilla server can restore images.
I almost find anything about this problem.
Thanks you by advance
Philippe
Yes, this is really annoying.
Thanks for reporting this issue.
Are you doing the multicast restoring?
If not, maybe in the future we should find a way to use device name based on the serial number, not Linux block device name.
Steven.
No I use the unicast restore.
I can not use the serial number as it is every time new machines.
I must find a way to make it always attached SCSI disk which is detected as /dev/sda.
Currently I have this:
Dmesg | grep "Attached SCSI"
sd 4:0:0:0: [sda] Attached SCSI removable disk
sd 1:0:0:0: [sdb] Attached SCSI disk
Last edit: philos 2014-01-15
So you use unicast, but it's unattended mode? Or you can accept to choose the destination disk?
If so, check this:
http://clonezilla.org/advanced/researved-word-ocs-sr.php
The "ask_user" could be used for the destination device.
In your case, if you need an unattended mode, I believe a script could be developed for this, and you can use the clonezilla live's boot parameters to start the script for that. This is the idea now I have.
For a general method, I still need more scenarios and info so that we might come out another reserved name for this puppose...
Steven.
Yes I use unattended mode.
I thought. There is no you there a way to disable management "Attached SCSI removable disk" or "usb" because I have no need it for image restore.
For do it, must I to recompile the kernel ?
The effort to recompile the kernel will be endless... For a new kernel release one you might have to do that again. It will be easier to change that in Clonezilla, i.e. if we could have a better way to deal with this.
I am thinking something like "ask_user", let's called it "1st_hd", and it could auto detect the 1st hard drive, as the destination disk. This is just an idea...
For the time being, a customized script might be easier.
Steven.