Results 1 to 8 of 8

Thread: Create multi-partition bootable external hard drive

  1. #1
    Join Date
    Aug 2008
    Beans
    166

    Create multi-partition bootable external hard drive

    I would like to be able to boot into any of my bootable images (ubuntu, kubuntu, ubuntu-alternate, knoppix, etc...), all from the same external hard drive.

    I have iso's of several bootable images (ubuntu,kubuntul,ubuntu-alternate, knoppix, etc). I would like to somehow put them all on one external USB drive. Boot into it on any computer. Then choose which image to boot from at startup.

    I thought I could make several partitions on the drive. Then copy each individual image to its own partition with dd.

    # dd if=/pathtoimage/file.iso of=/dev/devicenode1 bs=1M [substitute devicenode1,2,3, whatever for the correct partition]

    Then if there was some utility that I could install to the external drive, I could tell it at boot time which partition to boot from.

    Of course I don't want to limit myself to just doing it this way if there's something better out there.

    Can someone please help?

  2. #2
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: Create multi-partition bootable external hard drive

    this is to put several ISO on one flash drive.

    MultiBoot USB with Grub2 (boot directly from iso files)
    Basically you just install grub2, create a folder for the isos and edit a grub.cfg to loop mount the isos.
    HOWTO: Booting LiveCD ISOs from USB flash drive with Grub2
    http://ubuntuforums.org/showthread.php?t=1288604
    Install grub2 to USB -general info
    http://members.iinet.net/~herman546/....html#GRUB_USB

    This will boot an ISO from a hard drive.
    Direct boot on hard drive:
    http://ubuntuforums.org/showthread.php?t=1549847
    Boot ISO from harddrive. To install it would have to be different partition
    [SOLVED] Using grub 2 to boot an iso off hard drive
    http://ubuntuforums.org/showthread.php?t=1535864

    This is a script to install many ISOs. Some that will not loopmount by installing a kernel and boot image.
    MultiBootUSB - Install and boot multiple Linux from Pendrive / Flash drive / USB disk
    http://ubuntuforums.org/showthread.php?t=1518273
    http://blog.p-mt.net/archives/644

    Another - multibooting multiboot055.sh:
    http://ubuntuforums.org/showthread.php?t=1071869
    http://multicd.tuxfamily.org/
    UEFI boot install & repair info - Regularly Updated :
    https://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  3. #3
    Join Date
    Aug 2008
    Beans
    166

    Re: Create multi-partition bootable external hard drive

    Those links are great, but they only work for bootable live CD iso's that grub 2 supports.

    I should have written out what I'm trying to do more clearly.

    I've got all these bootable CDs and DVDs that I use all the time. I'd like to somehow get the information from these into one small external USB hard drive that I can just carry around with me. Then when I need to, I can somehow boot off the drive and select what I want to boot into?
    Last edited by unckybob; September 11th, 2010 at 06:39 AM.

  4. #4
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: Create multi-partition bootable external hard drive

    I have not done it but if you dig into the multibootUSB script, it copies kernel and initrd or whatever is required to boot for those that grub2 does not directly boot.
    UEFI boot install & repair info - Regularly Updated :
    https://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  5. #5
    Join Date
    Jun 2007
    Location
    Hikkaduwa, Sri Lanka
    Beans
    3,449
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Re: Create multi-partition bootable external hard drive

    Quote Originally Posted by oldfred View Post
    I have not done it but if you dig into the multibootUSB script, it copies kernel and initrd or whatever is required to boot for those that grub2 does not directly boot.
    +1

    I'm not sure if MultiBootUSB will work with an external hard drive but you should be able to install what you want on a flash drive and then copy over to hard drive once grub2 is installed.

  6. #6
    Join Date
    Nov 2009
    Location
    Bari, Italy
    Beans
    27
    Distro
    Ubuntu

    Re: Create multi-partition bootable external hard drive

    When you loopback an iso image (for example with MultiBootUSB) are you able to write files in it? (for example saving documents.. using it as a normal operating system..)

  7. #7
    Join Date
    Jun 2007
    Location
    Hikkaduwa, Sri Lanka
    Beans
    3,449
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Re: Create multi-partition bootable external hard drive

    Quote Originally Posted by atti84it View Post
    When you loopback an iso image (for example with MultiBootUSB) are you able to write files in it? (for example saving documents.. using it as a normal operating system..)
    It gets complicated.
    The 'buntus use casper-rw, (file or partition), for persistence and do not work so well sharing a persistence file.
    Puppies persistence works ok and I think will work with different versions.
    I could not get persistence working with Fedora.

    Persistence is discussed a bit in the MultiBootUSB thread.

  8. #8
    Join Date
    Nov 2009
    Location
    Bari, Italy
    Beans
    27
    Distro
    Ubuntu

    Re: Create multi-partition bootable external hard drive

    Thanks a lof for the answer!!

Bookmarks

Posting Permissions

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