LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 10-06-2003, 12:42 PM   #1
KrYpToN
Member
 
Registered: Aug 2002
Location: England
Distribution: Gentoo
Posts: 38

Rep: Reputation: 15
Question USB Stick boot


Guys,

I have been playing with this thing for days. Is it possible to boot a usb stick by itself without a floppy disk to start it off?

If so, who can tell me how to start the device, boot wise; syslinux, lilo, grub?

I have tried all those three mentioned above and I just can't get it to play, thanks in advance,

KrYpToN
 
Old 10-06-2003, 01:04 PM   #2
Hans Zarkoff
Member
 
Registered: Apr 2002
Location: Canada
Distribution: Slackware
Posts: 58

Rep: Reputation: 15
How is it failing?
Can the BIOS see it?
Does the boot loader see it?
Does the kernel start to boot?
Does it have a problem seeing the root disk?

I've never tried to boot via a USB stick, but it's certainly possible. At least according to the disk-encryption howto at tldp.org. If you want, head over to http://www.tldp.org/HOWTO/Disk-Encry...OWTO/x266.html and make sure you didn't forget anything.

I hope my lack of information helped...
 
Old 10-06-2003, 01:09 PM   #3
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,702

Rep: Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896
Yes, does your motherboard BIOS allow booting from a USB device? I have tested mine with DOS but not linux.

http://www.ncsu.edu/resnet/runt/

Any bootloader should work but you need a initrd that loads all the USB modules to load the kernel. Also you want something like a Knoppix CD version because flash memory has unlimited reads but only 100,000 writes or so. It wouldn't take long to wear it out.
 
Old 10-07-2003, 10:07 AM   #4
Hans Zarkoff
Member
 
Registered: Apr 2002
Location: Canada
Distribution: Slackware
Posts: 58

Rep: Reputation: 15
The USB drivers should probably be compiled directly into the kernel, bypassing the need for an initrd. Slackware doesn't use initrds out of the box.
 
Old 10-08-2003, 07:43 AM   #5
KrYpToN
Member
 
Registered: Aug 2002
Location: England
Distribution: Gentoo
Posts: 38

Original Poster
Rep: Reputation: 15
Thanks for your help guys, I will see what I can find
 
Old 10-08-2003, 08:32 AM   #6
maroonbaboon
Senior Member
 
Registered: Aug 2003
Location: Sydney
Distribution: debian
Posts: 1,495

Rep: Reputation: 48
The freevix project (www.freevix.org) has a section in the forum (at http://www.txrx.org/forum/) about booting from USB devices.

Also puppy-linux (http://www.goosee.com/puppy/) is supposed to boot off USB memory devices.

Haven't tried it myself.
 
  


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
USB stick boot image resize problem beady Linux - Hardware 2 07-27-2005 02:36 PM
mount/umount usb stick - PQI Intelligent Stick 2.0 sandbag Linux - Software 5 05-06-2005 11:12 AM
Debian base installed to usb stick, doesn´t boot boolean Debian 6 02-22-2005 12:41 AM
usb stick works only if attached at boot rakamaka Linux - Hardware 2 11-22-2004 09:32 AM
Making Linux boot from USB Stick a4r0 Linux - Newbie 2 09-13-2004 07:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 03:27 AM.

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