[opensuse] Best procedure to clone GPT disk into a larger disk?
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, I have a 0.5TB rotating rust disk currently having Windows 10 (GPT and EFI) which I want to migrate to a 1TB SSD disk. My idea is to do a 'dd' of it. But then, once I make that boot, I want to enlarge the partition table and adds partitions for Linux and thus have double boot system. What is the procedure for that "enlarging" of a GPT disk? Does GPT hold structures at the end of the layout that have to be moved? Of course, I'm also googling "enlarging GPT disk, linux" and found hits, but seem to be about enlarging a partition, not the disk. Should perhaps I use clonezilla instead of dd? Will it handle that case automatically? - -- Cheers Carlos E. R. (from 42.2 x86_64 "Malachite" at Telcontar) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAltkQeUACgkQtTMYHG2NR9VqGACgjIm20HNCMT5OXxD+19KBvfNe 8swAn2a/77mbAo0nSAF1COj6ZWu68lu7 =Qwk3 -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Le 03/08/2018 à 13:52, Carlos E. R. a écrit :
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hi,
I have a 0.5TB rotating rust disk currently having Windows 10 (GPT and EFI) which I want to migrate to a 1TB SSD disk.
use clonezilla, it's a win. jdd -- http://dodin.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 2018-08-03 14:21, jdd@dodin.org wrote:
Le 03/08/2018 à 13:52, Carlos E. R. a écrit :
Hi,
I have a 0.5TB rotating rust disk currently having Windows 10 (GPT and EFI) which I want to migrate to a 1TB SSD disk.
use clonezilla, it's a win.
Seems I need "Tuxboot" to install it (my stick has an old version of clonezilla). But openSUSE search page is down, gives me "failed to allocate memory" error. Somebody knows what repo has "Tuxboot"? -- Cheers / Saludos, Carlos E. R. (from 42.3 x86_64 "Malachite" at Telcontar)
On 2018-08-03 14:44, Carlos E. R. wrote:
On 2018-08-03 14:21, jdd@dodin.org wrote:
Le 03/08/2018 à 13:52, Carlos E. R. a écrit :
Hi,
I have a 0.5TB rotating rust disk currently having Windows 10 (GPT and EFI) which I want to migrate to a 1TB SSD disk.
use clonezilla, it's a win.
Seems I need "Tuxboot" to install it (my stick has an old version of clonezilla). But openSUSE search page is down, gives me "failed to allocate memory" error.
Somebody knows what repo has "Tuxboot"?
search finally worked. Two home repos: home:darkhado:openSUSE Community home:lemmy04 Community -- Cheers / Saludos, Carlos E. R. (from 42.3 x86_64 "Malachite" at Telcontar)
On 2018-08-03 15:43, Carlos E. R. wrote:
On 2018-08-03 14:44, Carlos E. R. wrote:
On 2018-08-03 14:21, jdd@dodin.org wrote:
Le 03/08/2018 à 13:52, Carlos E. R. a écrit :
Hi,
I have a 0.5TB rotating rust disk currently having Windows 10 (GPT and EFI) which I want to migrate to a 1TB SSD disk.
use clonezilla, it's a win.
Seems I need "Tuxboot" to install it (my stick has an old version of clonezilla). But openSUSE search page is down, gives me "failed to allocate memory" error.
Somebody knows what repo has "Tuxboot"?
search finally worked. Two home repos:
home:darkhado:openSUSE Community home:lemmy04 Community
Hum. New Lenovo yoga laptop refuses to boot clonezilla usb stick. Possibly efi support. Disabling secure boot in the machine does not help. I will have to use another machine. [...] Yep, running the procedure in the old laptop. -- Cheers / Saludos, Carlos E. R. (from 42.3 x86_64 "Malachite" at Telcontar)
Le 03/08/2018 à 20:55, Carlos E. R. a écrit :
New Lenovo yoga laptop refuses to boot clonezilla usb stick.
what do you mean as so? Recently I had to build manually a nvram entry in the UEFI firmware to boot the usb stick (leap 15) there is a menu part in the firmware to do so, if you can understand what ti write in the "file" box, that is the path of the boot64.efi (or so) boot file. To understand how the nvram is wrotten, write any blob in the file box, save, boot the main system and use efibootmgr -v to see what was really written jdd -- http://dodin.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 2018-08-03 21:37, jdd@dodin.org wrote:
Le 03/08/2018 à 20:55, Carlos E. R. a écrit :
New Lenovo yoga laptop refuses to boot clonezilla usb stick.
what do you mean as so?
It simply does not list the USB stick that contains clonezilla as a bootable option even if I disable secure booting. I had to use another laptop to run clonezilla - fortunately both source and destination disks are external at this moment. -- Cheers / Saludos, Carlos E. R. (from 42.3 x86_64 "Malachite" at Telcontar)
Le 04/08/2018 à 00:30, Carlos E. R. a écrit :
On 2018-08-03 21:37, jdd@dodin.org wrote:
Le 03/08/2018 à 20:55, Carlos E. R. a écrit :
New Lenovo yoga laptop refuses to boot clonezilla usb stick.
what do you mean as so?
It simply does not list the USB stick that contains clonezilla as a bootable option even if I disable secure booting.
well, so it deserve what I explained in the quoted mail. Build a nvram entry I had to use another
laptop to run clonezilla - fortunately both source and destination disks are external at this moment.
cool jdd -- http://dodin.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 2018-08-04 00:30, Carlos E. R. wrote:
On 2018-08-03 21:37, jdd@dodin.org wrote:
Le 03/08/2018 à 20:55, Carlos E. R. a écrit :
New Lenovo yoga laptop refuses to boot clonezilla usb stick.
what do you mean as so?
It simply does not list the USB stick that contains clonezilla as a bootable option even if I disable secure booting. I had to use another laptop to run clonezilla - fortunately both source and destination disks are external at this moment.
But the clonezilla stick has no EFI partition. It does have an EFI directory in the single fat partition, though. Maybe I'll investigate that a day that I feel bored :-) Meanwhile... Clonezilla apparently created an exact image; the UUIDS are the same, even the disk identifier - as I wanted. However, it was gparted, when I run it later, who corrected the partition table allowing me to create a partition in the remainder of the disk. Thus dd would also have worked, except that it doesn't skip empty space. Now next step is to place that external disk inside and find out if Windows boots. If it doesn't, I'll do it with dd. [...] Well, it booted fine - just tried to repair itself first, no need :-) Now, to install Linux in the remainder. -- Cheers / Saludos, Carlos E. R. (from 42.3 x86_64 "Malachite" at Telcontar)
jdd@dodin.org wrote:
want to migrate to a 1TB SSD disk.
after format of new disk , how about command :: " tar clf - . | ( umask 0; cd /mnt; tar xvf - ) " ...... regards -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 2018-08-03 16:17, ellanios82 wrote:
jdd@dodin.org wrote:
want to migrate to a 1TB SSD disk.
after format of new disk , how about command ::
" tar clf - . | ( umask 0; cd /mnt; tar xvf - ) "
NOT a file copy. I need a bit by bit clone, an image clone. -- Cheers / Saludos, Carlos E. R. (from 42.3 x86_64 "Malachite" at Telcontar)
Hello, On Fri, 03 Aug 2018, Carlos E. R. wrote:
On 2018-08-03 16:17, ellanios82 wrote:
jdd@dodin.org wrote:
want to migrate to a 1TB SSD disk.
after format of new disk , how about command ::
" tar clf - . | ( umask 0; cd /mnt; tar xvf - ) "
NOT a file copy. I need a bit by bit clone, an image clone.
Why? Could be, that Win10 needs it, and Win needs a bcdedit-massaging afterwards, but I did clone a WinXP from an very old HDD to a newer HDD using Knoppix and tar, just as I would have copied a Linux (with a little grub/fstab massaging). -dnh -- Fi-fa-Fußballweltmeisterschaft hört sich genauso albern an wie Bi-Ba-Butzemann. Und: Ballacks Wade interessiert mich einen Schweinefurz. -- Claus Maier -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 2018-08-03 22:26, David Haller wrote:
Hello,
On Fri, 03 Aug 2018, Carlos E. R. wrote:
On 2018-08-03 16:17, ellanios82 wrote:
jdd@dodin.org wrote:
want to migrate to a 1TB SSD disk.
after format of new disk , how about command ::
" tar clf - . | ( umask 0; cd /mnt; tar xvf - ) "
NOT a file copy. I need a bit by bit clone, an image clone.
Why?
Could be, that Win10 needs it, and Win needs a bcdedit-massaging afterwards, but I did clone a WinXP from an very old HDD to a newer HDD using Knoppix and tar, just as I would have copied a Linux (with a little grub/fstab massaging).
Because Linux can not handle NTFS permissions properly and write them in the destination, for instance. Nor can it handle modern undocumented ntfs file compression. Nor can it duplicate boot code, or handle unmovable files. -- Cheers / Saludos, Carlos E. R. (from 42.3 x86_64 "Malachite" at Telcontar)
On 2018-08-04 00:33, Carlos E. R. wrote:
On 2018-08-03 22:26, David Haller wrote:
Hello,
On Fri, 03 Aug 2018, Carlos E. R. wrote:
On 2018-08-03 16:17, ellanios82 wrote:
jdd@dodin.org wrote:
want to migrate to a 1TB SSD disk.
after format of new disk , how about command ::
" tar clf - . | ( umask 0; cd /mnt; tar xvf - ) "
NOT a file copy. I need a bit by bit clone, an image clone.
Why?
Could be, that Win10 needs it, and Win needs a bcdedit-massaging afterwards, but I did clone a WinXP from an very old HDD to a newer HDD using Knoppix and tar, just as I would have copied a Linux (with a little grub/fstab massaging).
Because Linux can not handle NTFS permissions properly and write them in the destination, for instance. Nor can it handle modern undocumented ntfs file compression. Nor can it duplicate boot code, or handle unmovable files.
I refer to this: <https://groups.google.com/d/msg/alt.os.linux/Yo0rZo62xNg/pNAL6M3nAQAJ> alt.os.linux › Losing permissions on backup drive › Paul -- Cheers / Saludos, Carlos E. R. (from 42.3 x86_64 "Malachite" at Telcontar)
Carlos E. R. wrote:
Hi,
I have a 0.5TB rotating rust disk currently having Windows 10 (GPT and EFI) which I want to migrate to a 1TB SSD disk.
My idea is to do a 'dd' of it. But then, once I make that boot, I want to enlarge the partition table and adds partitions for Linux and thus have double boot system.
What is the procedure for that "enlarging" of a GPT disk? Does GPT hold structures at the end of the layout that have to be moved?
I would expect that to be fixed the first time you run parted. It would be easy to test though. -- Per Jessen, Zürich (29.9°C) http://www.hostsuisse.com/ - dedicated server rental in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 08/03/2018 04:52 AM, Carlos E. R. wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hi,
I have a 0.5TB rotating rust disk currently having Windows 10 (GPT and EFI) which I want to migrate to a 1TB SSD disk.
My idea is to do a 'dd' of it. But then, once I make that boot, I want to enlarge the partition table and adds partitions for Linux and thus have double boot system.
What is the procedure for that "enlarging" of a GPT disk? Does GPT hold structures at the end of the layout that have to be moved?
Of course, I'm also googling "enlarging GPT disk, linux" and found hits, but seem to be about enlarging a partition, not the disk.
Should perhaps I use clonezilla instead of dd? Will it handle that case automatically?
- -- Cheers
Carlos E. R. (from 42.2 x86_64 "Malachite" at Telcontar)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v2
iEYEARECAAYFAltkQeUACgkQtTMYHG2NR9VqGACgjIm20HNCMT5OXxD+19KBvfNe 8swAn2a/77mbAo0nSAF1COj6ZWu68lu7 =Qwk3 -----END PGP SIGNATURE-----
Whenever I wanted to move Windows to a different disk I used the Windows backup facility, including the one that allows you to boot the backup and restore it to a new disk. I hope I am not way off base in making this suggestion, since users of this list are usually way ahead of me. Don -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 El 2018-08-03 a las 15:44 -0700, don fisher escribió:
On 08/03/2018 04:52 AM, Carlos E. R. wrote:
Hi,
I have a 0.5TB rotating rust disk currently having Windows 10 (GPT and EFI) which I want to migrate to a 1TB SSD disk.
My idea is to do a 'dd' of it. But then, once I make that boot, I want to enlarge the partition table and adds partitions for Linux and thus have double boot system.
What is the procedure for that "enlarging" of a GPT disk? Does GPT hold structures at the end of the layout that have to be moved?
Of course, I'm also googling "enlarging GPT disk, linux" and found hits, but seem to be about enlarging a partition, not the disk.
Should perhaps I use clonezilla instead of dd? Will it handle that case automatically?
Whenever I wanted to move Windows to a different disk I used the Windows backup facility, including the one that allows you to boot the backup and restore it to a new disk. I hope I am not way off base in making this suggestion, since users of this list are usually way ahead of me.
That requires a working Windows. It doesn't. I did the clone with Clonezilla, and at least the manufacturer windows rescue partition boots. The main one doesn't, but that is expected over USB. - -- Cheers Carlos E. R. (from openSUSE 42.3 x86_64 "Malachite" (Minas Tirith)) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iF4EAREIAAYFAltk9YwACgkQja8UbcUWM1y+zwD+JgJaEHNQ1jVYvu9scI9zlPOh Q97PpIst8kXcjDFdiJ4A/2tzr1J2du0j1j+Rd5jxD3pq8DlAQ8NXgpK0IK7xQxid =SYs1 -----END PGP SIGNATURE-----
On 08/03/2018 06:52 AM, Carlos E. R. wrote:
Hi,
I have a 0.5TB rotating rust disk currently having Windows 10 (GPT and EFI) which I want to migrate to a 1TB SSD disk.
Super easy. Use the Windows backup/create image and write your current w10 drive out to a spare rust disk that can hold it. Take your .5T rust w10 out, put your SSD in, pop your w10 recovery USB (that you were prompted to make when you created the image) and at the 1st windows screen choose restore system image -- it will roll your image your wrote out, set everything up on the new SSD and on reboot, just go to disk manager and tell windows to use the whole of the new SSD -- done. If you have funky partitions that prevent the resize to the whole SSD -- they make a free utility to move it to the end so you can resize to your full ssd. I would take that route instead of dd for a native win10 install. I've done 2 that way and it was painless. I have a USB->SATA adapter, so I just hand an old 1T rust drive off the side of the laptop to hold the image created, then swap laptop drives for the new SSD and then boot the recovery. No issues going rust to SSD. -- David C. Rankin, J.D.,P.E.
On 2018-08-04 08:57, David C. Rankin wrote:
On 08/03/2018 06:52 AM, Carlos E. R. wrote:
Hi,
I have a 0.5TB rotating rust disk currently having Windows 10 (GPT and EFI) which I want to migrate to a 1TB SSD disk.
Super easy. Use the Windows backup/create image and write your current w10 drive out to a spare rust disk that can hold it.
Windows doesn't boot. The disk is currently external, and refuses to boot Windows. So this road is out. And I also wanted to clone the manufacturer partitions. It is already done with clonezilla and gparted. After placing the new SSD disk inside the computer, it booted Windows just fine :-) -- Cheers / Saludos, Carlos E. R. (from 42.3 x86_64 "Malachite" at Telcontar)
participants (7)
-
Carlos E. R.
-
David C. Rankin
-
David Haller
-
don fisher
-
ellanios82
-
jdd@dodin.org
-
Per Jessen