Results 1 to 7 of 7

Thread: Multiboot USB...

  1. #1
    Join Date
    Apr 2007
    Beans
    53

    Multiboot USB...

    Hey all? Big one for you...

    I have a 16GB USB Flash drive.

    I want:
    Ubuntu 10.04 installed on it
    The ability to choose, at boot, whether I boot Ubuntu, or some rescue utilities that i will also put on there
    Ideally I would like to be able to keep them in iso format simulate a cd on the fly...

    But all my attempts have not panned out, resulting in either kernel panic after some editing of the grub files () or simply nothing...

    What is the best way of accomplishing this?
    Using what?
    Grub2? Grub4DOS?
    Which should I install first ?
    Which one chainloads the other more easily???

    I am going half crazy over all this... It shouldn't be this hard... Oh well. I've got time.

    Any help is going to be appreciated. .
    Thanks!
    Linux is fun
    But there's no support
    Oh well; It's free !

  2. #2
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: Multiboot USB...

    With a 16GB flash you just do a standard full install of Ubuntu as if it is a second drive. Just be sure to install grub using the advanced button to the USB drive.

    Then you can install as many ISO as you want and loop mount them.

    http://members.iinet.net.au/~herman546/p24/022f.png
    Dual boot 2 drives, windows & Lucid 10.04
    http://members.iinet.net.au/~herman546/p24.html

    Standard full install to flash or SSD:
    Ubuntu Karmic Koala Encrypted Flash Memory Installation
    http://members.iinet.net/~herman546/p19.html
    Use ext2 or ext4 without journal
    tune2fs -O ^has_journal /dev/sda1
    No swap or set swapiness
    After installing, change the fstab so that everything gets mounted with noatime.
    change to noop i/o scheduler

    Then you can install ISOs. You already have grub2 installed and just need to copy the ISO to a location and modify grub.cfg to loopmount them.

    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


    A few ISOs do not loop mount. If you only wanted a USB flash with ISO this script automates it. But you can look at script to see how to mount any of the ones it will set up.
    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

    If you put them in a different partition then it is more like a hard drive.
    Direct boot on hard drive:
    http://ubuntuforums.org/showthread.php?t=1549847
    [SOLVED] Using grub 2 to boot an iso off hard drive
    http://ubuntuforums.org/showthread.p...&highlight=ISO
    For more info on UEFI boot install & repair - Regularly Updated :
    http://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
    Apr 2007
    Beans
    53

    Re: Multiboot USB...

    Thanks for the quick answer! Believe it or not, i had actually read through pretty much all of the pages you lniked to... Still can't get it to work though...

    I think the best possible setup would be this one:
    Ubuntu on partition (grub2 on flash drive)
    Unetbootin on other partition

    Grub2 calls on Unetbootin when I ask it to, otherwise boots into Ubuntu...

    Is it possible to boot Unetbootin from within Grub2?
    What does the menuentry look like?

    Thanks
    Linux is fun
    But there's no support
    Oh well; It's free !

  4. #4
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: Multiboot USB...

    Not sure you can boot Unetbootin from grub2, although it seems grub2 can boot just about anything.

    I installed several Ubuntus, gparted, system rescue, parted magic and one or two other ISOs to my 4GB flash drive which I also use to install since it is real easy just to copy the ISO to the flash, update grub.cfg and install.

    I then installed Ubuntu to a 16GB flash with two partitions, root & /home. It had enough room left I realized I could add the ISOs to that flash drive also but have not yet.

    What issues are you having? A few seem to have flash drives that just do not seem to want to work. I used no name MicroCenter generic flash drives and they work. Does the grub2 install and let you boot the flash?
    For more info on UEFI boot install & repair - Regularly Updated :
    http://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
    Apr 2007
    Beans
    53

    Arrow Re: Multiboot USB...

    UPDATE:

    I now have a working setup... Sort of.

    5GB storage on first partition of drive.
    Ubuntu installed on second partition of drive.
    And Grub4DOS on last partition of drive, calling different live ISOs on that partition...

    I've gotten Parted Magic, Offline NT Password and Registry Editor, Ophcrack, UBCD, and F-Secure AV to work...

    Now I'm experiencing problems with Knoppix, BitDefender Rescue CD (which is based on Knoppix, so not relly surprising...), Kon-Boot, and Backtrack 3.

    I really want the BitDefender...
    And Kon-Boot would be cool too, but something tells me that Grub doesn't like the idea of booting a floppy from an ISO...

    Backtrack has a problem with being not contiguous, so I should be able to fix that...

    But anyone have ideas for BitDefender and Kon-Boot?
    And do you have any more "Rescue CD"-type ISOs that you particularly like?
    Linux is fun
    But there's no support
    Oh well; It's free !

  6. #6
    Join Date
    Jun 2007
    Location
    Hikkaduwa, Sri Lanka
    Beans
    2,917
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: Multiboot USB...

    For automated grub2 iso install check:
    http://ubuntuforums.org/showthread.php?t=1518273


    Oops, I think Old Fred mentioned this one already.

  7. #7
    Join Date
    Apr 2007
    Beans
    53

    Re: Multiboot USB...

    Hey guys!
    I finally got it right!

    I think I'm gonna do a tutorial soon on Multibooting a USB with ISOs and Ubuntu using Grub2 and Grub4DOS.
    It's not that hard, but it's also not very well documented...

    Thanks for all your help!
    Linux is fun
    But there's no support
    Oh well; It's free !

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
  •