LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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 11-16-2006, 11:40 AM   #1
rootking
Member
 
Registered: Sep 2002
Distribution: FreeBSD
Posts: 70

Rep: Reputation: 15
Question Linux - Hard Installation to USB Jump Drive


I know there are distriubtions like puppy, and DSL linux that will allow u to place their OS onto a USB jump drive. the problem is that when u do it acts like a live cd and isn't static. I want to place a linux distribution onto a USB jump drive that I can work on and have it act just like a real hard drive. I want things to be saved to it and be able to use it just like I was using a hard drive which had a linux distribution on it that was static and didn't erase you settings/work upon reboot. I also need to boot to this USB from a floppy drive. My main use for this will be a print server using CUPS to a dell 1700 laserjet printer.

Which distro. would work best for this

thanks
 
Old 11-16-2006, 11:54 AM   #2
PatrickNew
Senior Member
 
Registered: Jan 2006
Location: Charleston, SC, USA
Distribution: Debian, Gentoo, Ubuntu, RHEL
Posts: 1,148
Blog Entries: 1

Rep: Reputation: 48
Well, any distro should work like this, so long as you can make it fit on a flash drive. So, use a real distro - not a live CD based one like puppy. Just pick a distro you like and install it onto the USB, just don't install grub or lilo. Then install the bootloader of your choice onto the floppy.
 
Old 11-16-2006, 12:01 PM   #3
michaelk
Moderator
 
Registered: Aug 2002
Posts: 11,969

Rep: Reputation: 752Reputation: 752Reputation: 752Reputation: 752Reputation: 752Reputation: 752Reputation: 752
It is possible to configure the flash drive to store settings. Flash drives have a limited number of write/erase cycles (~1,000,000 using some smart logic). You will wear out the drive quickly if you want to spool print jobs to the drive or have a swap partition.
 
Old 11-16-2006, 08:36 PM   #4
rootking
Member
 
Registered: Sep 2002
Distribution: FreeBSD
Posts: 70

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by PatrickNew
Well, any distro should work like this, so long as you can make it fit on a flash drive. So, use a real distro - not a live CD based one like puppy. Just pick a distro you like and install it onto the USB, just don't install grub or lilo. Then install the bootloader of your choice onto the floppy.

so I loaded grub onto a floppy but I'm curious, what device is my USB drive detected as? It's not a hard disk. I've tried using the command root (hd0,1) to boot to my USB drive but it just says that it doesn't exist. which command would be used in grub to boot off the USB drive and access it?
 
Old 11-17-2006, 02:55 PM   #5
PatrickNew
Senior Member
 
Registered: Jan 2006
Location: Charleston, SC, USA
Distribution: Debian, Gentoo, Ubuntu, RHEL
Posts: 1,148
Blog Entries: 1

Rep: Reputation: 48
Good point, I never tried using grub on a usb, but my guess would be (sd0,1). I think the only difference between the way udev names device nodes and the way grub names partitions is that the numbers start at 0 in grub. So, try (sd0,1)
 
Old 11-17-2006, 04:17 PM   #6
rootking
Member
 
Registered: Sep 2002
Distribution: FreeBSD
Posts: 70

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by PatrickNew
Good point, I never tried using grub on a usb, but my guess would be (sd0,1). I think the only difference between the way udev names device nodes and the way grub names partitions is that the numbers start at 0 in grub. So, try (sd0,1)

Hmmm... I'm wondering if at this point it is possible to boot the USB drive using grub off of a plain floppy disc. I've looked at some of the other distros like dsl and seen how you can make a usb boot floppy that will boot your usb drive and it seems that they load up a miniimage that contains the USB modules which can then properly give control to the USB device. They also use syslinux (not sure if this matters at all). I also found this article which I am looking through that only has the concepts for what I want to accomplish.

http://linuxgazette.net/116/okopnik1.html
 
  


Reply


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
Installing Debian on USB Hard Drive/USB Jump Drive kushalkoolwal Debian 10 02-26-2009 01:46 PM
USB 2.0 Jump Drive mrgoodtrips Slackware 8 09-28-2005 10:12 AM
USB jump drive dink27 Linux - Hardware 28 06-20-2005 06:44 PM
USB external hard disk needs jump start neranjana Linux - Hardware 2 03-14-2005 12:54 AM
USB 2.0 jump drive in USB 1.1 slot won't work? zwyrbla Slackware 2 09-27-2004 08:26 PM


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