Install Ubuntu on USB hard drive

sudo qemu -hda /dev/sdc -cdrom kubuntu-10.04-desktop-i386.iso -boot order=d

That’s it.

(you can also try VirtualBox)

Except that I get an error: “Executing ‘grub-install /dev/sda’ failed. This is a fatal error.”

After this Ubiquity crashes.

Related posts:

This entry was posted in *buntu and tagged , , , , . Bookmark the permalink.

10 Responses to Install Ubuntu on USB hard drive

  1. cmd says:

    that’s hardly an easy or great way to install ubuntu on a usb hard drive

  2. Thanks for pointing that out. Any better ideas?

  3. walker says:

    i just saw on the one hand “hda”, on the other hand “sda”. maybe it’s that?

  4. qemu –help

    -fda/-fdb file use ‘file’ as floppy disk 0/1 image
    -hda/-hdb file use ‘file’ as IDE hard disk 0/1 image
    -hdc/-hdd file use ‘file’ as IDE hard disk 2/3 image

    that’s where hda comes from.

    /dev/sdc is the usb image on the host computer
    /dev/sda is the only hard drive Ubuntu live session sees.

  5. Alan Pope says:

    Burn the ISO to a CD or USB stick and boot from that, then run the installer as normal and install onto another USB stick?

    That’s how I did it.

  6. Ron says:

    Why not just use unetbootin ???

  7. Alan Pope says:

    Unetbootin will give you a live USB stick, but it’s not quite the same as having a full install on a stick.

  8. @Alan: That’s the first thing I tried – but the installed didn’t let me select the drive to install to, it only showed hda, the internal hard disk. Is ubiquity supposed to support USB drives..?

  9. Niko says:

    I have kubuntu running from usb hard drive, I installed it like Alan did.

  10. Pingback: Weekly Digest for December 13th | Risto H. Kurppa

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>