Wednesday, September 18, 2019

system installation - Install Ubuntu on second hard drive without CD/DVD



I'm trying to install Ubuntu but I don't have a CD/DVD burner or large flash drive. I do have access to a second computer and I've hooked up the hard drive to it. How can I install Ubuntu on that hard drive? It seems that this should be easy but I can't find a way to do it.



I've worked out some way which might work for you:



On your Vista computer:




  1. Download and install UNetBootin


  2. Download a Super GRUB2 Disk ISO file. Choose [coreboot] if you aren't sure which ISO you need.

  3. Install the SG2D ISO to your 1GB USB stick usign UNetBootin.

  4. Put the Ubuntu ISO in the root of your USB drive, so you can find it easily afterwards.

  5. Edit the file (usb stick)/boot/grub/grub.cfg

  6. Paste the following at the end of the file:



    menuentry "Ubuntu ISO" {
    iso_path=/ubuntu.iso #Replace with ISO name
    export iso_path
    search --set --file $iso_path

    loopback loop $iso_path
    root=(loop)
    configfile /boot/grub/loopback.cfg
    loopback --delete loop
    }

  7. Save and eject the USB stick.



On your installation machine (With reinserted HDD):





  1. Boot from USB stick.

  2. You should see the menu option "Ubuntu ISO" in the appearing menu.

  3. Select it and ensure it boots (Try without installing)

  4. Install Ubuntu on the HDD.


No comments:

Post a Comment

11.10 - Can't boot from USB after installing Ubuntu

I bought a Samsung series 5 notebook and a very strange thing happened: I installed Ubuntu 11.10 from a usb pen drive but when I restarted (...