473,385 Members | 1,356 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Install and run a distro FROM a usb stick.

How does one install an OS on a usb stick and run it from there?
Many distros refer to a usb version but only as a means to install on an HD.
I have 4Gb stick and am looking at Minix.
Sep 24 '10 #1

✓ answered by Nepomuk

Hi pwilliams!

In the Minix FAQ, it says:
3.1. How do I boot the USB image?

Write the usb image file to the usb device sector-by-sector. In other words, don't write it to a FAT filesystem on the usb device, but write the file to it starting at the 0th sector. This will, of course, effectively wipe all other information that was on the usb device.

Then you can boot from the usb device if your BIOS supports that.
This should work for a USB stick as well. To write to a device like that, you will use the dd command. That will look something like this:
Expand|Select|Wrap|Line Numbers
  1. dd if=minix-image bs=1024 of=/dev/sdb1
No guaranty for that command, but the idea should be correct. Oh, and it will require a partition on the USB stick and will delete everything, that's on it.

With other OSes, you often have other options - check pendrivelinux.com for information for various Linux distributions for example.

Greetings,
Nepomuk

2 2188
Nepomuk
3,112 Expert 2GB
Hi pwilliams!

In the Minix FAQ, it says:
3.1. How do I boot the USB image?

Write the usb image file to the usb device sector-by-sector. In other words, don't write it to a FAT filesystem on the usb device, but write the file to it starting at the 0th sector. This will, of course, effectively wipe all other information that was on the usb device.

Then you can boot from the usb device if your BIOS supports that.
This should work for a USB stick as well. To write to a device like that, you will use the dd command. That will look something like this:
Expand|Select|Wrap|Line Numbers
  1. dd if=minix-image bs=1024 of=/dev/sdb1
No guaranty for that command, but the idea should be correct. Oh, and it will require a partition on the USB stick and will delete everything, that's on it.

With other OSes, you often have other options - check pendrivelinux.com for information for various Linux distributions for example.

Greetings,
Nepomuk
Oct 11 '10 #2
Many thanks Nepomuk for your lucid and comprehensive guidance.

All the best,
pwilliams.
Oct 11 '10 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: StinkFinger | last post by:
After updating my RC3 of 4.3.6 to the final I started getting errors about "unable to load php_pdf.dll", even though it was there and the paths were correct. The size of the dll in the distro was...
12
by: Chung Leong | last post by:
I've been trying to set up a LAMP server for experimental purpose. Our production environment is WAMP (Windows Apache2 MSSQL PHP) but out of curiosity I would like to see if we can operate our...
2
by: jeuxal_com | last post by:
Hi, I need to add a python program (web updater+extras) with a window application. The same thing as the Online Lord of the Ring game lotrtcg.decipher.com. When you install their application,...
2
by: Josh Close | last post by:
I saw a question in a PHP list about the differences between php and perl, and what the advantages between the two are, but I think I was the only person that mentioned anything about python in the...
8
by: Ron Stephens | last post by:
Can anyone give me a brief comparison of the purposes of these two projects (AnyGUI and pyGUI)? In other words, how are the motivations and goals for each project different? Ron Stephens
0
by: Thomas W | last post by:
Will there be a WSGI-server like BaseHTTPServer etc in the standard distro? I think that would increase the adoptation of the WSGI-standard. A new web-framework for python pops up every other week...
4
by: D | last post by:
I'm sure this is an easy question for most here, but it's throwing me for a loop at the moment - I need to upgrade RHEL 3 with the latest version of Python. I downloaded the source and installed,...
8
by: lawrence k | last post by:
I've installed Apache 1.3.36 on my Redhat EL 3 machine. Now I'm trying to install PHP 5.1.4. I can not get the ./configure command to work. I keep getting this error: configure: error: Invalid...
10
by: John Salerno | last post by:
Is there a way to 'install' and use Python on a memory stick, just as you would on any computer? I use Windows, and I know the installation does things with the registry, so probably I couldn't use...
3
by: Tina I | last post by:
Another noob question: I have written my first linux application that might actually be of interest to others. Just for fun I also wrote an install script that put the files in the common...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.