Partitions not detected properly - partprobe required
A partition and disk imaging/cloning program
Brought to you by:
steven_shiau
Trying to clone HP Compaq Elite 8300. Disk partions show up during boot as "sda: sda1 sda2 sda3 asd4" and in "fdisk -l" but do not appear in /dev and consequently in the UI. It is necessary to go to the command line and run "partprobe".
Reproducible on 1.2.12-67 and 2.0.1-5 and clonezilla-live-20121126-quantal.iso
Could you please describe the steps you have done? In very detail so that we know how to reproduce the issue, and fix it.
Steven.
Steps to reproduce (using 2.0.1-5-amd64)
Boot ISO
Choose default language
Don't touch keymap
Start Clonezilla
device-image
local_dev
press enter after 5 seconds
pick USB drive from list (only one item in list)
Choose top level directory
View disk space usage - Press return to continue
Beginner Mode
savedisk
Choose default image name (press return)
Two drives show in list sda: 500Gb HDD, sdb: 20Gb SSD - Choose sda by pressing space bar and return
Skip checking/repairing source file system
Yes, check the saved image
View command line Press "Enter" to continue
Error message in red "No input device!" (This is a rotten error message) - Press "Enter" to continue
Choose (2) command line prompt
sudo -i
ls /dev/sd*
shows:
/dev/sda (500Gb disk)
/dev/sdb (SSD)
/dev/sdc (USB Disk)
/dev/sdc1 (partition on USB disk)
partprobe complains about /dev/sr1, but does work.
ls /dev/sd*
now shows
/dev/sda /dev/sda1 /dev/sda2 /dev/sda3 /dev/sda4 /dev/sdb /dev/sdc1
There are no partitions on /dev/sdb, it's a cache drive
Exit command line to restart process above.
This time it works
So it's not always reproducible?
In that case, maybe it's because the Linux kernel does not detect your hardware very well.
Steven.
How did you get that from what I wrote? It's always reproducible: it never works. The steps I gave are just a basic use of clonezilla. I can always fix it by running the partprobe command. But I don't expect to have to break out to the command line.
I did not see you run "partprobe", only those "ls /dev/sd*" command, and you mentioned
" This time it works" so I thought it's not always reproducible.
I think maybe this issue is about kernel/hardware detection. Could you give Clonezilla live
20121126-quantal a try?
Steven.
OK, to be safer it's better to add "partprobe" after the USB device is inserted.
I will add that in the next release.
Steven.
Fixed in Clonezilla live 2.0.1-12.
Steven.