Recommendations on cloning a bootable main disk
Bruce Labitt
bruce.labitt at myfairpoint.net
Sat Dec 1 21:05:49 EST 2018
Thanks for the instructions on the BIOS - umm, nothing was wrong.
Having the USB stick prior to entering the BIOS made the device show up.
OK, dd'd the disk. Took a long time, 94 minutes, but everything is
transferred, except for this email.
Next is to resize in gparted - which didn't complete.
I followed a youtube video at https://www.youtube.com/watch?v=cDgUwWkvuIY
Just to note,*sdc has never been mounted. *
The video is done in a virtual machine, but I followed the part showing
how to do the resizing. The linux-swap was turned off. The error is as
follows:
GParted 0.30.0 --enable-libparted-dmraid --enable-online-resize
Libparted 3.2
*Grow /dev/sdc2 from 29.99 GiB to 723.03 GiB* 00:00:00 ( ERROR )
calibrate /dev/sdc2 00:00:00 ( SUCCESS )
/path: /dev/sdc2 (partition)
start: 437226563
end: 500118191
size: 62891629 (29.99 GiB)/
grow partition from 29.99 GiB to 723.03 GiB 00:00:00 ( ERROR )
/old start: 437226563
old end: 500118191
old size: 62891629 (29.99 GiB)/
/requested start: 437226563
requested end: 1953523711
requested size: 1516297149 (723.03 GiB)/
libparted messages ( INFO )
/Unable to satisfy all constraints on the partition./
========================================
*Move /dev/sdc5 to the right and grow it from 29.99 GiB to 29.99 GiB*
========================================
*Move /dev/sdc2 to the right and shrink it from 723.03 GiB to 29.99 GiB*
========================================
*Grow /dev/sdc1 from 208.48 GiB to 901.52 GiB*
========================================
/dev/sdc1 is ext4 and what I want extended 208.48 GiB
/dev/sdc2 is the extended partition 29.99 GiB
/dev/sdc5 is the linux swap which was turned off 29.99 GiB and was
inside the extended partition
unallocated was 693.04 GiB
Partitions were dragged and moved per the basic instructions.
Can you give me a hint what went wrong? I'm kind of surprised that it
failed, essentially in the first step, growing the extended partition
after turning linux-swap off.
The problem might be that gparted still has a problem with leaving 1MiB
at the end for the duplicate boot information. I found a comment in
2017 for gparted: http://gparted-forum.surf4.info/viewtopic.php?id=17646
And: https://bugzilla.gnome.org/show_bug.cgi?id=738144
Is there a practical work around to my reported error?
Thanks,
Bruce
On 12/1/18 4:39 PM, Dan Jenkins wrote:
> On some of the BIOSes, unless you have the USB drive connected, before
> you go into the BIOS, it will not appear as a boot option.
>
> Also, depending on the USB flash drive model, it may appear:
> 1) as a removable device (aka a floppy drive),
> 2) a hard drive (appearing as second choice under hard disk drives;
> you would need to change the 1st drive to USB and the 2nd drive to
> your current boot drive), or
> 3) as a CDROM drive.
>
> Also, if you have a UEFI BIOS, you may need to switch it to Legacy,
> instead of UEFI.
>
> Lastly, if you have a UEFI BIOS, you need a UEFI compatible boot device.
> In the case of Clonezilla, you need to download an AMD664 alternative
> version (Ubuntu-based), rather than the default Debian-based. (We have
> both the UEFI and Legacy versions of Clonezilla to try when we run into
> such issues.)
>
> And, rarely, I encounter computers that simply cannot boot USB flash
> drives, but those tend to be much older ones.
>
> _______________________________________________
> gnhlug-discuss mailing list
> gnhlug-discuss at mail.gnhlug.org
> http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.gnhlug.org/pipermail/gnhlug-discuss/attachments/20181201/7816c9e3/attachment-0001.html
More information about the gnhlug-discuss
mailing list