Skip to content

Latest commit

 

History

History
92 lines (75 loc) · 3.4 KB

README.md

File metadata and controls

92 lines (75 loc) · 3.4 KB

Surface_Go_Dualboot

Disclaimer:

I AM NOT RESPONSIBLE if your Surface Go bricks, explodes, if you break into NSA, FBI, CIA, NASA databases, cause a nuclear meltdown or show any other "bad behavior" after using this guide.
(Just to be sure people understand how terminal commands are powerful and not reading twice before executing is dangerous.)


Requirements:

  • 1x Type-C to USB A adapter
  • 1x 8Go+ USB Key
    OR
  • 1x 8Go+ Type-C USB Key
  • Manjaro ISO
  • Rufus

A second usb key with the kernel binaries might be handy as you might not have Wi-Fi at first boot.
I also used my phone as an USB tether device, so I could have internet with the initial wifi drivers ;)

I) Before Linux install :

  1. Disable bitlocker / encryption (windows settings)
  2. Shrink your main Win 10 partition so you can get ~25G for the distro + 8G for swap
  3. Plug in your USB drive
  4. Launch rufus Select your Manjaro ISO file Replace MBR with GPT partition table in Rufus and click start.
    Use the dd method when asked
  5. Shutdown your Surface go.
  6. Reboot while holding Volume Up + Power buttons
  7. Get to "Boot" and disable SecureBoot
  8. Put the USB boot entry before the Windows boot entry
  9. Save & Exit

Now you should get to the grub menu on your usb key.

II) Linux install :

  1. Select your locals (timezone, language, keyboard, etc) & launch Manjaro
  2. Do the same steps in the installer ...
  3. Select manually partition when asked
  4. Select the 260 Mo partition (must be the first)
    Set /boot/efi as the mount point.
    Save and exit
  5. Select the partition you created in I) step 2 on Windows
    Click create
  6. Set the size to 8GB (or 4GB if you have the 4GB variant)
    Change the ext4 format to linuxswap.
    Click save and exit.
  7. Create a partition with the remaining space.
    Set / as the mount point.
    Save and exit.
  8. Check and double check, f* it TRIPLE check that you're not erasing anything you shouldn't.
  9. Let it install & reboot.

III) After Linux install :

  1. Reboot on your Bootable USB Key
  2. Select "Detect EFI partitions"
  3. Select the Manjaro boot entry (ending with grubx64)
  4. Repeat steps III)

IV) Jakeday Kernel install :

  1. Open a terminal
    Recommended: sudo pacman -Syu
  2. git clone https://github.com/dmhacker/arch-linux-surface.git ~/surface-kernel
  3. cd ~/surface-kernel
  4. sudo sh setup.sh
  5. sudo sh configure.sh
  6. cd build-{VERSION} (replace {VERSION} with the actual version)
  7. sudo chown -R user:user . (replace user with your username)
  8. MAKEFLAGS="-j$nproc" makepkg -sc
  9. Repeat steps III)

V) Grub process :

  1. Open a terminal
  2. Type efibootmgr
    Take note of Manjaro and EFI USB entries' IDs (the 4-digit number on the left)
    For me, Manjaro: 0002, Windows: 0000, EFI USB: 2001 and EFI Network: 2002
  3. Recommended : efibootmgr -o {EFI USB ID},{ManjaroID},{WindowsID},{EFI Network ID}
    Example : efibootmgr -o 2001,0002,0000,2002
  4. grub-mkconfig -o /boot/grub/grub.cfg
  5. ENJOY!

Special thanks to :