dual boot

Table of Contents

1. dual boot

1.1. Windows

1.1.1. Reparar la partición de arranque

  diskpart
  DISKPART> select disk 0
  DISKPART> create partition efi
  DISKPART> format [quick] fs=fat32
  DISKPART> assign letter=B:
  DISKPART> exit
  bcdboot C:\Windows /s B: /f [ALL|UEFI|BIOS]

1.2. Linux

https://bugs.launchpad.net/systemback/+bug/1649056

  1. Enter live mode
  2. Unmount all partitions on media with umount /media/*
  3. Make a ext4 partition named SB@ with label also SB@. Set the boot flag of that partition with GParted,
  for example.
  4. Recreate the structure of the disk using hard links with a device name that systemback recognizes,
  as /dev/sdd. I have /dev/nvme0n1 as the actual disk and 7 partitions nvme0n1p1, nvme0n1p2, ...
  so the commands are:
  ln /dev/nvme0n1 /dev/sdd; for((i=1;i<=7;i++)) do ln /dev/nvme0n1p$i /dev/sdd$i; done
  5. Then run systemback. You should be able to select the new ext4 partition to install the system.
  Step 3 may not be needed, but Systemback didn't see the free space on the disk so I made the SB@ partition

1.3. Ver “Don’t Dual Boot, Do this instead | MacOS Big Sur and Windows 10 KVM SINGLE GPU OVMF Passthrough” en YouTube

1.4. Windows messing with bootloaders

No bootable device found
Windows overrides the nvram
Live usb, mount your ssd, chroot to that folder, use refind-install (arch package)
https://youtu.be/vDNL1z3SVb8?list=PLyVQIUns7rp-LWs6hneyYF2htuOLSpi5T&t=149

Author: Julian Lopez Carballal

Created: 2024-10-21 Mon 09:46