Sign-in / Sign-up
Your question

I want to boot multiple linux system off a 8g thumbdrive

Tags:
  • Linux
  • Boot
  • Ubuntu
Last response: in Open Source Software
September 29, 2011 12:38:11 AM

And I want to do it out of Ubuntu 11.04, Can anyone suggest a program other then multisystem (it don't work)

More about : boot multiple linux system thumbdrive

a b 5 Linux
September 29, 2011 5:53:11 PM

I doubt any major distros will want to fit on 1 8GB USB drive.
m
0
l
a b 5 Linux
September 29, 2011 9:14:43 PM

amdfangirl said:
I doubt any major distros will want to fit on 1 8GB USB drive.

Too true, but if you're adamant about it (and have found multiple distros that will all fit on an 8 gig flash drive), they all use/depend on GRUB(2) to boot, so you could at very least manually creat the file or files used to provide boot options. Let us know if you seriously want to continue tromping down this path (and even better, what your endgame is here)
m
0
l
Related resources
a b 5 Linux
September 29, 2011 9:29:32 PM

Can it be done? Yes. Will it be easy/work well? Probably not.
m
0
l
a b 5 Linux
September 30, 2011 5:36:13 AM

Well I guess Ubuntu with persistance mode enabled might work.

But it is so iffy security wise. You are live user root.

:/ 

Given how cheap these USB sticks are, there is no excuse for sticking a ton of them onto one.
m
0
l
a b 5 Linux
September 30, 2011 1:48:03 PM

Jbander said:
And I want to do it out of Ubuntu 11.04, Can anyone suggest a program other then multisystem (it don't work)

ULTILEX is as place to start
See http://ultilex.linux-bg.org/

Put it on a like one gig partition of its own, run the included script and voila -- you have access to multiple linux distros.

On the other partition, learn how to make a bootable USB stick using Linux at
http://www.pane-free.com/pg_2.html

This is the preferred, "CrunchBang Method" due to the fact UNetBootin oftentimes does not work as advertised.
m
0
l
October 1, 2011 12:49:16 AM

"To install on USB flash device, follow these steps (applied from Slax):

Copy all files and folders from the CD to the root folder of your USB flash device.
Execute "/boot/bootinst.sh" (for Linux), or "\boot\bootinst.bat" (for Windows).
That's all. You are ready to boot ULTILEX from your USB flash device! :) "

This part I don't understand, I have ultilex on my thumb drive, I'm trying to open the thumbdrive but I need Slax to open it but it's on the thumb drive, please tell me what I'm missing ,I'm in Ubuntu 11.04.
m
0
l
a b 5 Linux
October 1, 2011 3:09:24 AM

You've copied all of the content from the CD onto the flash drive, correct? If so, navigate to the USB drive's root (likely /media/$YOUR_FLASHDRIVE_MANUFACTURER/ in Ubuntu) in a terminal and execute
  1. boot/bootinst.sh
  2. //hint: try tab completion, for example "bo[tab]bootin[tab]sh" should get you that path
m
0
l
October 1, 2011 5:17:43 AM

bmouring said:
You've copied all of the content from the CD onto the flash drive, correct? If so, navigate to the USB drive's root (likely /media/$YOUR_FLASHDRIVE_MANUFACTURER/ in Ubuntu) in a terminal and execute
  1. boot/bootinst.sh
  2. //hint: try tab completion, for example "bo[tab]bootin[tab]sh" should get you that path


I copied the content from my hardrive to my thumbdrive.
Is this what I put in terminal "/media/jon/boot/bootinst.sh"? Jon is the name of my thumbdrive. It says permission denied. As you can see I'm not to advanced in using Linux, I appreciate the help.


m
0
l
a b 5 Linux
October 1, 2011 4:43:29 PM

Jbander said:
I copied the content from my hardrive to my thumbdrive.
Is this what I put in terminal "/media/jon/boot/bootinst.sh"? Jon is the name of my thumbdrive. It says permission denied. As you can see I'm not to advanced in using Linux, I appreciate the help.

I gave the script a quick look-over, I would suggest
  1. cd /media/jon
  2. boot/booinst.sh
(this is due to how the determine which disk's MBR (or master boot record) is used for housing the bootloader (you want the bootloader to be installed on the flash drive)
m
0
l
October 1, 2011 7:54:58 PM

bmouring said:
I gave the script a quick look-over, I would suggest
  1. cd /media/jon
  2. boot/booinst.sh
(this is due to how the determine which disk's MBR (or master boot record) is used for housing the bootloader (you want the bootloader to be installed on the flash drive)
"

I get" no such file or directory" Is there a file I need on the thumbdrive that I can look for to see if I have what I need on the thumb drive so that I can boot it? I have two files that say boot on the thumbdrive, one in parenthesize
m
0
l
a b 5 Linux
October 2, 2011 2:47:23 PM

I'm 'on the road,' so am sorry not to have replied sooner.

ULTILEX is simple, but must be root; once files are installed on partition of USB stick, cd to the folder where the
script bootinst.sh is located. Once there, enter command
  1. ./bootinst.sh


edit: if the above does not work at first, change the script to executable

  1. chmod a+x ./bootinst.sh


then repeat the first.
m
0
l
a b 5 Linux
October 2, 2011 7:09:33 PM

chamaecyparis said:
I'm 'on the road,' so am sorry not to have replied sooner.

I have no such excuse, I'm just lazy :) 

JBander, let us know if you have any future problems/questions.
m
0
l
October 2, 2011 11:42:12 PM

869105,12,767765 said:
I'm 'on the road,' so am sorry not to have replied sooner.

ULTILEX is simple, but must be root; once files are installed on partition of USB stick, cd to the folder where the
script bootinst.sh is located. Once there, enter command
  1. ./bootinst.sh


edit: if the above does not work at first, change the script to executable

  1. chmod a+x ./bootinst.sh


then repeat the first.[/quotemsg

I'm amazed at peoples knowledge and their willingness to help. I'm having a great time with this and I sense we are getting closer. I hope you don't find this to troubling. Anyway I have in terminal , cd to media ,then I cd to Jon which is my thumbdrive, then cd to boot were the bootinst.sh file is. Then I typed ./bootinst.sh an i get " no such file or directory" .So I typed in "chmod a+x ./bootinst.sh"and get" chmod: cannot access `./bootinst.sh': No such file or directory" Can You explain to me in simple words what I had to of done to put ultilex in root. What I did is I downloaded ultilex to my hardrive and moved it to the thumbdrive , single partitioned formated to fat 32. Is ultilex where it is suppose to be?
Thanks guys.
m
0
l
a b 5 Linux
October 4, 2011 1:59:01 AM

Can you post the output of the following (with the thumbdrive "jon" plugged in)
  1. sudo find /media/jon -iregex ".*boot.*\.sh$" -exec ls -l {} \;

(This oneliner will try to find anything named close to that filename and let us know the permissions of anything it finds)


((more detailed description of oneliner:
find something
under the directory "/media/jon"
that matches thecase-insensitive regular expression ".*boot.*\.sh$"
(.(any non-EOL character)
*(0 or more times)
boot(the letters "boot")
.*(0 or more of any character)
\.(escape-period, in other words, an actual '.' character)
sh(the characters "sh")
$(the end of the line, the "enter" character)
On any filename that matches that iregex, execute the following command (replacing {} with the match's full path): ls -l {}))
m
0
l
October 4, 2011 6:12:25 AM

bmouring said:
Can you post the output of the following (with the thumbdrive "jon" plugged in)
  1. sudo find /media/jon -iregex ".*boot.*\.sh$" -exec ls -l {} \;

(This oneliner will try to find anything named close to that filename and let us know the permissions of anything it finds)


((more detailed description of oneliner:
find something
under the directory "/media/jon"
that matches thecase-insensitive regular expression ".*boot.*\.sh$"
(.(any non-EOL character)
*(0 or more times)
boot(the letters "boot")
.*(0 or more of any character)
\.(escape-period, in other words, an actual '.' character)
sh(the characters "sh")
$(the end of the line, the "enter" character)
On any filename that matches that iregex, execute the following command (replacing {} with the match's full path): ls -l {}))


-rw-r--r-- 1 jbander jbander 2251 2009-04-11 09:46 /media/jon/boot/bootinst.sh
m
0
l
a b 5 Linux
October 4, 2011 3:01:09 PM

Jbander said:
-rw-r--r-- 1 jbander jbander 2251 2009-04-11 09:46 /media/jon/boot/bootinst.sh


Move all ULTILEX files to /jon/boot/ then run the script; that is assuming "boot" is a label of a partition: if not, all files need to be in a top level before the script is run.


NOTE for previous post -- if all being run is Windows, and you are simply trying Linux via a USB stick, ignore all other that I said. I am not good at teaching beginners, but am best when a modicum of knowledge is already in place. sorry.
m
0
l
a b 5 Linux
October 4, 2011 4:45:13 PM

Jbander said:
-rw-r--r-- 1 jbander jbander 2251 2009-04-11 09:46 /media/jon/boot/bootinst.sh

1) it's not executable (should look like -rwxr-xr-x)
2) what directory are you in when you execute the shell schipt? (issue a pwd)
m
0
l
October 4, 2011 9:41:14 PM

bmouring said:
1) it's not executable (should look like -rwxr-xr-x)
2) what directory are you in when you execute the shell schipt? (issue a pwd)


Shell script ,I looked it up and I still don't know what or were it is but if you meant just going to terminal and and issue a pwd then it is "/home/jbander"
m
0
l
a b 5 Linux
October 5, 2011 8:12:53 AM

Jbander said:
Shell script ,I looked it up and I still don't know what or were it is but if you meant just going to terminal and and issue a pwd then it is "/home/jbander"

Ah, ok, so do the following:
1) Open a terminal
2) cd /media/jon/boot
3) sudo sh ./bootinst.sh

(the file bootinst.sh is a so-called shell script)
m
0
l
October 5, 2011 10:53:36 PM

869123,20,72012 said:
Ah, ok, so do the following:
1) Open a terminal
2) cd /media/jon/boot
3) sudo sh ./bootinst.sh

(the file bootinst.sh is a so-called shell script)[/quote

I get "./bootinst.sh: 27: Bad substitution"

Thanks for hanging in on this.
Jon
m
0
l
a b 5 Linux
October 6, 2011 3:31:57 AM

According to this article that error is due to using some shell other than /bin/bash. However, I would suggest changing back the symlink after you complete the install on your USB stick (other utilities may depend on the specific behavior of the shell that is linked to /bin/sh, likely dash but you can be sure by issuing ls -l /bin/sh)
m
0
l