473,662 Members | 2,575 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Install and run a distro FROM a usb stick.

21 New Member
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
2 2202
Nepomuk
3,112 Recognized Expert Specialist
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.c om for information for various Linux distributions for example.

Greetings,
Nepomuk
Oct 11 '10 #2
pwilliams
21 New Member
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
1422
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 72kb and all other versions were ~540kb. I replaced the dll with a version from the 4.3.4 distro and everything works just fine. Also, did the php_gd2.dll change drastically from 4.3.4 ? I am utilizing some very basic text functions that work...
12
11214
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 site with free software only. I have precise little time for this though, so I'm looking for something that installs everything with just a few clicks. I tried Debian, but even through I added PHP4 in dselect, it wasn't working in Apache. The...
2
2165
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, it create a subdirectory with very few python files*.dll,*.pyd,*.pyc.: _socket.pyd _sre.pyd
2
1442
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 discussion. This makes me wonder what the python group things about these other languages. Python vs. Perl. vs. PHP vs. C# (and other .NET languages) vs. Java vs. C vs. C++ vs. whatever other language you can think of.
8
2187
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
1275
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 and more and more support WSGI. Why not focus on getting an optimized, production-grade fully documented WSGI-server into the distro? Right now the BaseHTTPServer seems to be usable for development and testing, not production environment. Perhaps...
4
1778
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, but we're still having problems (i.e. some Python apps don't work, Add/Remove Applications console errors out and doesn't open, etc.). My guess is that it's using old libraries or otherwise conflicting with the old Python version, but I'm not...
8
6288
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 Apache directory - unable to find httpd.h under /usr/local/apache/include So then I run this command: find / -name httpd.h
10
3604
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 the executable file to install it. But is it possible to do it some other way, such as how you might build it yourself on Linux (although I don't know how to do that yet) and then just write and run scripts normally straight from your memory...
3
1164
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 directories for my distro (Debian). That is in /usr/local/. (This particular program can be run directly from the user's /home but as a learning experience I want to do it the 'coorect' way) Now, I don't know if that is the way to do it with python...
0
8432
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8857
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8546
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8633
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7367
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
4180
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4347
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2762
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1993
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.