-1

Why has nobody for so many decades thought of a way to install ubuntu when in windows without a USB needed?

Like now I dont have any usb sticks available I want to install ubuntu to a hard drive and I can not, the closest I got is using a program called HDD raw copy tool but this just burns a live disk image to the hard drive (so its not persistent e.g if I install something and reboot it is lost ) and it has the "install ubuntu" icon on the desktop...

John
  • 9

3 Answers3

1

Boot Ubuntu on Windows UEFI computer without USB or DVD

  • Use Windows Disk Management to create 4GB FAT32 partition.

  • Copy/Paste contents of ISO file to new partition.

  • Reboot pressing F12 and select UEFI Ubuntu.

C.S.Cameron
  • 20,530
  • 12
  • 78
  • 125
0
  • Maybe you can borrow a USB pendrive (the easy solution).

  • Maybe you can connect your internal drive to another computer (for example via an external box or adapter). In that case you can install an installed Ubuntu Server directly from a compressed image file. This is the same method as used to install an operating system into Raspberry Pi and similar computers.

    This link describes the method, not only how to install the server, but also how to make it into a desktop system (in that example Lubuntu).

sudodus
  • 47,684
0

You can install Grub2Win on your Windows installation. Put the required .iso ( example Kubuntu 22.04.iso ) you want to install in the root of the drive ( C:\Kubuntu 22.04.iso ). Add booting from .iso in Grub2Win, and make it your default bootloader.

Your Grub.cfg should have the following entries :

    #
    #  Menu Entry 1       Windows EFI Boot Manager
    #
    menuentry   'Windows EFI Boot Manager                         Hotkey=w'  --hotkey=w    --class windows   --class icon-windows  {
         set efibootmgr=/efi/Microsoft/Boot/bootmgfw.efi
         getpartition  file  $efibootmgr  root
         if [ ! -z $reviewpause ] ; then
         echo GNU Grub will load the Windows EFI Boot Manager at disk address $root
             g2wsleep  
         fi
         echo GNU Grub is now loading the Windows EFI Boot Manager
         chainloader $efibootmgr
         savelast 1 'Windows EFI Boot Manager'
    }
#
#  Menu Entry For Custom Code 2       Boot Kubuntu ISO file
#
# Menu Comment 'Boot Kubuntu ISO file                          Hotkey=x'   --hotkey=x    --class isoboot   --class icon-isoboot
#
     source $prefix/windata/customconfigs/BootKubuntuISOfile.cfg

Save changes and on reboot choose the .iso.

Or see How can I install Ubuntu without CD and USB? for another approach, using UNetbootin.

Joepie Es
  • 1,570