LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 02-09-2016, 01:23 PM   #1
mia_tech
Member
 
Registered: Dec 2007
Location: FL, USA
Distribution: CentOS 5.3, Ubuntu 9.04
Posts: 245

Rep: Reputation: 16
need understanding file structure of usb multi boot linux live


I'm always making multiboot usb, so I can have all my t00ls/dignostics/pentesting/live distro/antivirus in one usb. So far I've found that using either xboot or yumi in Windows creates my multiboots no problems. However, I tried yumi in Linux, and it's a hit and miss. I've also tried multibootSys and others. And I really would like to not depend on a program to create multiboot usb. Therefore, I'm would like to get understanding of the boot process into every live distro, so I can write my own script and make them. My question here is: Could someone help explaining the file sctructure of either a multiboot or single boot usb flash drive. For example. The drives needs to have a MBR, of course, and set to active and boot. After that the either the grub or what ever boot manager takes control. Then I think there's the menu.lst file listing of all their distro and path... Usually, there are a few lines for every distro in this menu file. What are the necessary ones? and is it pointing the kernel for that distro? could someone with detail info on this process elaborate

Last edited by mia_tech; 02-09-2016 at 01:36 PM.
 
Old 02-09-2016, 04:58 PM   #2
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,980

Rep: Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624
A lot of useful info here. http://www.easy2boot.com/ if you want a massive multiboot. I think it is based on grub4dos so you could actually use it.


No, a usb flash or hard drive doesn't need a mbr. There are basically three ways. MBR. Compatible mbr/uefi and gpt.

Iso images are not created the same. There is so much variation in how they are made and meant to be use that no one single method can be used usually. Simple dd or 7z commands can create a lot of them. You already know that creators exist for some that work great for single use.

Only needs to be active if you have more than one partition usually. (some OS's may require this)

Starting with a system group you may find it easier to create usb's.

Last edited by jefro; 02-09-2016 at 09:25 PM.
 
Old 02-09-2016, 05:21 PM   #3
TxLonghorn
Member
 
Registered: Feb 2004
Location: Austin Texas
Distribution: Mandrake 9.2
Posts: 702

Rep: Reputation: 231Reputation: 231Reputation: 231
How to create a USB which boots multiple .iso files using Grub2
 
Old 02-09-2016, 07:15 PM   #4
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,502

Rep: Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489
No they don't need to be set active/bootable as that is limited to windows.

What I generally do is install Grub to the MBR of the flash drive, then manually create a grub.cfg file (or menu.lst if using Grub Legacy).
With Grub2, you can boot 'some' iso files directly without doing anything else. Most of the major Ubuntus will work, many other systems will not. The directories and files on the iso are very different as pointed out above so there is no simple template to use. If you can't boot the iso file directly, you can extract the iso and copy it to a partition on the flash drive and create an appropriate entry for it in the Grub menu. This has worked for every Linux I have tried although it is more cumbersome that booting an iso directly. Using these methods I have put 26 Linux Live systems and bootable tools on a 16GB flash drive. I wrote some instructions for myself after finishing which are three pages long. If you want something that will create a multi-boot with a few mouse clicks, good luck. Too many variations and constant changes in Linux systems and tools for that to work for long.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Understanding Linux Directory Structure LXer Syndicated Linux News 0 11-28-2011 08:00 AM
LXer: Understanding the File System and Structure in Linux LXer Syndicated Linux News 0 09-15-2011 09:40 AM
Live Linux CD that supports USB multi card readers? Galane Linux - Newbie 4 12-26-2009 11:30 PM
LXer: The Dao of ULTILEX (or how to create your own set of multi-boot live Linux dist LXer Syndicated Linux News 0 04-26-2009 01:01 AM
Creating a multi boot CD with live linux distributions pnbalaji Linux - General 1 02-16-2008 11:52 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:00 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration