Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - General
User Name
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.


  Search this Thread
Old 05-05-2007, 10:58 PM   #1
LQ Newbie
Registered: May 2007
Distribution: Ubuntu
Posts: 16

Rep: Reputation: 0
booting Linux on usb flash drive

I just recently purchased a PNY 8gb attache flash drive and have been trying to install Linux to it, with no success. Tried DSL, with all possible scenarios. Tried Ubuntu, again trying different ways. Xubuntu, Knoppix, etc. Even tried the HP format program.

Nothing works. But I also own a PNY 256mb and 512mb flash drives. Both could boot my rig using DSL, Xubuntu, Knoppix, etc. with no problem.

Boot menu recognizes the two small PNY's as HDD, but not the 8gb. One exception, it did recognize it as HDD after I ran the HP program but had no OS on it. After I installed Linux, no good.

Any ideas as to what I'm doing wrong?

For info purposes, I have the following m/b & proc:

abit nf8-v2
amd anthlon 64 3500+

My error is immediate, saying no boot record.
Old 05-06-2007, 01:25 AM   #2
LQ Newbie
Registered: Sep 2006
Distribution: Ubuntu 9.04
Posts: 13

Rep: Reputation: 0
When installing, you probably need to go into the advanced partition part and ensure that a boot partition is created on the flash drive, and that grub (or lilo) is written to the flash drive.
Old 05-06-2007, 11:11 AM   #3
Registered: Dec 2003
Distribution: debian, knoppix
Posts: 80

Rep: Reputation: 15

Try this first to see if you can boot the devices at all.

Boot up your favorite linux distro and connect the device.

Navigate to /grub/boot directory on a working linux system and enter the following command:

cat stage1 stage2 > /dev/sdc (here, 'sdc' might be different depending on your configuration, but use the root of the device, not a partition).

Then reboot the machine with the device. If you get a grub prompt, then you know the device will work for what you are trying to do with the bios that you are using.


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
Linux On Flash USB Drive eng_muhammad Linux - Distributions 7 10-03-2007 11:26 PM
Feather Linux on USB Flash Drive satimis Feather 1 02-02-2006 01:54 PM
How do I use my USB flash drive on Linux Drague Linux - Hardware 7 01-23-2006 10:27 PM
Using a USB flash drive with Linux membrax Linux - Hardware 76 11-03-2005 11:25 AM
Installing Linux on a USB flash drive!? delphinus Linux - General 4 03-15-2003 06:32 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 02:46 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration