LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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 01-23-2009, 09:20 AM   #1
collen
Member
 
Registered: Jun 2003
Location: /
Distribution: Fedora/Debian
Posts: 86

Rep: Reputation: 15
Boot linux of usb with write support ?!


Hi, i've read all about installing linux on usb sticks

but they all talk about live-cd's (fedora eg)
now i would like to install linux on my usb,
but to be able to write to it as well.

coz' once in a while i would like to ugrade/update it, and install
extra software, write and save scrips ect ect..

but how how how can i do that, simply formatting the usb as ext3
will not work..

can some one put me in the right direction...

Thx

Collen.
 
Old 01-23-2009, 09:38 AM   #2
mrclisdue
Senior Member
 
Registered: Dec 2005
Distribution: Slackware -current, 14.1
Posts: 1,048

Rep: Reputation: 170Reputation: 170
Actually, the beauty of installing a "live" distro to a usb stick is that you can write to it. I've just done it with Slax.

I formatted the usb stick ext3, etc. There is ample documentation on the Slax website to explain this.

afaik, the same holds true for puppy. There is also documentation on pendrive linux.

Feel free to ask for more help/info if you require.

cheers,
 
Old 01-26-2009, 03:27 AM   #3
collen
Member
 
Registered: Jun 2003
Location: /
Distribution: Fedora/Debian
Posts: 86

Original Poster
Rep: Reputation: 15
Hmm, but what is wise ..

use grub as boot loader and make de usb ext3 ?? (what is the sda jumps to sdb or sdc on a different pc)

or make 2 part. 1 fat with syslinux, and one with ext3 and /

thx.. C.
 
Old 01-26-2009, 03:41 AM   #4
mrclisdue
Senior Member
 
Registered: Dec 2005
Distribution: Slackware -current, 14.1
Posts: 1,048

Rep: Reputation: 170Reputation: 170
If you use slax, which is a derivative of slackware, you can format the stick ext3, and use lilo as the bootloader. Once you've extracted the contents of the slax archive to the usbstick, you run liloinst.sh (a script which includes a lilo.conf (which you can adjust to your needs.))

If you need to make any changes in the future, lilo style, you simply adjust the script.

Also, this will all work (though not using lilo, but another script) if the stick is formatted fat32. The "persistent-changes" section of the slax webpage is incomplete, however you can find out more on:

Code:
linux-live.org
which was created and maintained by the chap responsible for slax.

hth,

Last edited by mrclisdue; 01-26-2009 at 05:59 AM. Reason: additional info
 
Old 01-26-2009, 07:11 AM   #5
collen
Member
 
Registered: Jun 2003
Location: /
Distribution: Fedora/Debian
Posts: 86

Original Poster
Rep: Reputation: 15
Sorry i'm not really into slax...

i digged in a little more, and found the problem.

if you boot from usb (or hdd also) there is a line in lilo,grub,syslinux
saying what the root dir is.

normally when you use a ram disk it's /dev/ram0 (or so)
but the ram disk isn't saved back to the stick.

i can't use /dev/sda or sdb, coz on every pc it might be differend.

so i'm looking for either a image format that is read&write and writes it back to the stick(so i can use a ram disk)
or looking for a way to tell the bootloader where to look for the root dir.

all i want from the usb-boot is a way i can normaly access my linux file system
and to be able to write and save to it... (for updates and all)

Cheers.. Collen

Last edited by collen; 01-26-2009 at 07:12 AM.
 
Old 01-26-2009, 08:01 AM   #6
mrclisdue
Senior Member
 
Registered: Dec 2005
Distribution: Slackware -current, 14.1
Posts: 1,048

Rep: Reputation: 170Reputation: 170
(sigh)

Did you even bother to read any of the stuff on:

Code:
live-linux.org
?

What I'm apparently wasting my time telling you is that there is a way to deal with persistent changes, and it's there, in detail, on that site.

It is not restricted to slax. That site instructs you on how to create a live usb with any distro.

Your concerns are addressed there, if you'd bother to read.

I'm done.
 
Old 01-26-2009, 09:17 AM   #7
collen
Member
 
Registered: Jun 2003
Location: /
Distribution: Fedora/Debian
Posts: 86

Original Poster
Rep: Reputation: 15
I did read it, but i don't like the "persistent changes directory"

with that, the main system stay's read only, and all changes are written to that dir.

i'd rather have an ext2/3 system (orsome alike)

that's where the boot loader post comes from.

i also noticed that fedora works with root=UUID=<number>
and not with /dev/sdX

sorry if i gave you the impression not to take your post serious.
i do, but am looking for a good solution to my prob.

Thx for your efforts
 
  


Reply

Tags
usb boot


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Slackware 12.1 won't write USB boot stick Z038 Slackware - Installation 2 06-21-2008 01:13 PM
Boot from USB external drive, from laptop without USB boot support. darirod Linux - Newbie 2 12-19-2006 10:00 AM
linux boot cd with cciss support and USB 2.0 support zerobane Linux - Software 0 03-21-2006 10:03 PM
boot from USB HDD, no MOBO usb boot support magiconexxx Linux - Hardware 0 11-03-2004 12:38 AM


All times are GMT -5. The time now is 08:21 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration