LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-06-2008, 09:04 AM   #1
mikedavid00
LQ Newbie
 
Registered: Jan 2008
Posts: 10

Rep: Reputation: 0
Looking for easy way to make file changes and boot off USB


Hi,

It's hard to explain what I'm trying to do.

Firstly, I'd like to work in the linux shell environment. No desktop needed.

I'm trying to do this:

Put Linux on a USB drive that reads AND *writes* to the file system on the USB drive. *NOT* load the whole OS into ram0 like most LiveCD distros do with no access to the origional file system.

I notice that most file systems are compressed in a single file, and then uncompressed later into memory.

I need to have the ability to:

-insert a USB drive into my PC
-run the OS with Qemu
-make changes to the start-up/coinfig files *outside* the Qemu environment (ie Just using WordPad in Windows to edit .conf files.. I'm at work).
-Reboot the with Qemu and see the changes.

The chellenges I'm facing is that everything seems to be in an .iso and LiveCD format when it comes to a smaller distrobutions. I'm realising I have no direct access to files in etc, bin, sbin, etc. I only have what is in memory which doesn't do me any good if I can not easily save the changes.

So is there a way I can just install Linux on the USB drive and see the etc, root, bin, through windows explorer when I insert the USB drive on my pc?

I'm at work and only have access to an xp machine.

Thanks!
 
Old 02-07-2008, 05:52 PM   #2
leonscape
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 48
Depending on the size of the Distro this is quite possible, as I already have it. Mainly as an emergency (on a 4gb device).

The easiest way is to install on a normal disk partition, and then copy that onto the usb, install grub on the usb, and your away. vfat support is usually compiled into the kernel and as this is what usb drives use, both windows and linux can read it.
 
Old 02-07-2008, 06:28 PM   #3
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,187

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
It really depends on the size of your USB drive.

I've got a 250Gb USB drive with a full, bootable, Fedora 8 on it installed from the Live CD (since the DVD install fails, I think, to install the USB drivers in the initial RAM disk). Note: That parenthetical remark is conjecture - all I really know is that the USB drive won't boot unless Fedora is installed from the Live CD. There is a comment in the release notes that a program in the live-tools package needs to be run to make a USB drive bootable.

I also have an old 80Gb 2.5" HD I pulled from a laptop and put into an "I/O Magic" USB enclosure that has a bootable Fedora on it.
<edit>The nice thing about the laptop USB drive enclosure id that it's powered from the USB port, so no external power supply is needed.</edit>

For both of the USB installations I use the FOSS video drivers so the drive can be used on different system with few problems.

Last edited by PTrenholme; 02-07-2008 at 06:31 PM.
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How do i make a .img file into a bootable usb in windows xp so i can install fedora7 cwere4 Linux - Newbie 4 06-25-2007 11:49 AM
Easy 2 do Boot Knoppix from Any USB stick jrczz Linux - Distributions 0 10-25-2006 09:57 PM
how to write a batch file to make a program run during boot up in windows??? b0nd Programming 7 09-04-2006 06:16 AM
mepisers which file do i edit to make things start at boot? wellington MEPIS 4 03-04-2006 02:09 PM
This should be easy for those in the know - how do i make the following on boot? RH7 Anastrophe Linux - Networking 2 02-04-2004 02:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:43 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