Results 1 to 2 of 2

Thread: Installing from hard drive

  1. #1
    Join Date
    Apr 2010
    Ubuntu 10.04 Lucid Lynx

    Installing from hard drive

    Something I do with computers I set up from time to time is create my own recovery partition. I find this is particularly useful on a test box or one I'm setting up to give to someone. I've been able to do this with Windows a couple different ways, and while I'm sure it's very doable with Ubuntu... I'm just not quite sure how. Right now my drive for this is I want to install Ubuntu on some old machines that don't boot USB, and I'm out of CDs, but I do have my trusty USB to IDE/SATA adapter. I can partition and preload whatever I need.

    Typically I'll make a 1GB partition at the end of the drive and drop in whatever OS source or other utilities I intend for it to have, and set it all up with grub4dos in the MBR. In fact, I often keep grub4dos boot files in there as well.

    I tried copying the files from the CD to such a partition, and while I was able to boot to it and start the installation, it failed saying it couldn't find the CD. I also tried something with unetbootin to treat the hard drive like a flash drive... I don't remember which option I picked, but whatever it was, it didn't work.

    So, what can I do with this?

  2. #2
    Join Date
    Jun 2009
    SW Forida
    Ubuntu 16.04 Xenial Xerus

    Re: Installing from hard drive

    I did this but on a USB flash drive and it works. I would think you can loop mount and install as long as the partition you install from is not mounted.

    Basically you just install grub2, create a folder for the isos and edit a grub.cfg to loop mount the isos.

    Direct boot on hard drive:
    Boot ISO from harddrive. To install it would have to be different partition
    [SOLVED] Using grub 2 to boot an iso off hard drive

    If the ISO file is on the computer to be upgraded, you could avoid wasting a CD by mounting the ISO as a drive with a command like:
    sudo mount -o loop ~/Desktop/ubuntu-10.04-alternate-i386.iso /media/cdrom0
    For more info on UEFI boot install & repair - Regularly Updated :
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

Tags for this Thread


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts