Basically. I have separate drive for my windowsOS/media etc. And one of my nvme drive now is completely empty.

Is there a way to install Linux onto that empty nvme with windows and then like turn the PC off remove my windows drive entirely, and then have it just boot with the linux drive without needing to do a whole bootable usb through the motherboard uefi?

I don’t have USB drives and they cost too much for something i never use.

Like if there was a linux installer that Ibcan run while logged in to windows that would be amazing…

  • yuman@programming.dev
    link
    fedilink
    arrow-up
    16
    ·
    1 day ago

    yeah. create a 8gb partition on the new drive, format it as fat32.

    copy the ISO’s contents (not the ISO, its contents) to the 8gb partition. shut down when done.

    optional, disconnect the windows drive so you don’t fuck it up.

    power on, press whatever the key is for the boot menu for your UEFI. it should list the installer as a boot option. hit that.

    final step, equally important. when the GRUB menu appears, press “e” on the menu item and find the linux kernel switches (where it says “quiet splash” etc) and add toram (debian/ubuntu) or rd.live.ram (fedora). this will boot the image to ram. so when you start the installer you can select wipe & use whole disk.

    suerte!

    edit: this assumes you’re doing it on a EFI/UEFI system, which is any board/laptop after 2012.