On Thu, Dec 05, 2024 at 08:24:05PM +0100, Hans wrote:
> Hi folks,
> 
> as promised I send you my experiences with cloning to NVME.
> 
> So, today I got my new notebook. As I never used UEFI, I disabled UEFI in 
> BIOS 
> (my first mistake!), then cloned everything to the new drive.
> 
> Firts reboot worked well, no problems. But then I realized, that if you want 
> NVME mode, you MUST use native UEFI in BIOS settings. 
> 
> However, doing so, neither Debian nor Windows will boot. Of course: There is 
> no EFI partition on my harddrive, as I never needed one (still).
> 

If you still have the drive you cloned from set it aside.

If you need dual boot, set UEFi up as the mode to boot into in firmware.

Use the Microsoft tools to create a Windows .iso file

Install Windows from a .iso file. Use Windows drive tools to shrink Windows
on the drive to make some space.

Then use something like gparted to move the Windows to the end of the drive.

Install Debian on the first half of the drive: allow os-prober to find
the Windows partition.

Then you've got dual boot. This is the routine I've been through a couple
of times with a refurbished laptop where the vendor has installed Windows
in legacy MBR mode.

Then copy your data across from the drive you set aside. It's a huge pain
but it's actually worth it IMHO.

All the very best, as ever,

Andy
(amaca...@debian.org)
> Now I am hasseling with the drive, as I want NVME-mode of course, because it 
> is faster. And of course, I do not want to reinstall everything!
> 
> I saw some documentations, how to get EFI on the drive, but it looks, you 
> need 
> a seperate partition with FAT to get EFI on, right?
> 
> However, I saw also the possibility to get EFI on my seperate /boot partition.
> 
> What can I do? I would like to keep the existing partitions.  However, I 
> could 
> shrink them. At the moment, my drive looks at this:
> 
> primary partition Windows-boot  ntfs
> primary partition Windows ntfs
> primary partition /boot /dev/sda3 ext4
> extended partition /dev/sda4 
> logical partition /dev/sda5 swap
> logical partition /dev/sda6 / ext4
> logical partition /dev/sda7 encrypted home
> logical partition /dev/sda8 encrypted usr
> logical partition /dev/sda9 encrypted var
> logical partition /dev/sda10 encrypted data
> 
> So I could shrinken some partitions and create a new logical one.
> 
> Other option would be, delete "swap" partition and make a new "EFI" partition.
> 
> What do you think, might be the best way? 
> 
> Some better ideas?
> 
> Thanks for reading this.
> 
> Best regards
> 
> Hans
>     
> 
> 
> 
> 

Reply via email to