LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-29-2009, 07:47 AM   #1
sheine
Member
 
Registered: Nov 2005
Distribution: pclinuxos
Posts: 184

Rep: Reputation: 31
Can't make bootable USB flash drive


I have searched the internet for answers and none of the things that I have tried worked. I have a Sandisk 4GB Cruzer on which I have tried to copy various versions of linux. My latest effort was by using unetbootin, both the linux and windows versions. Everything seems to download properly to my flash drive. When I check the flash drive it has lots of files on it from the download. However when I try to use it in two different laptops with the USB flash drive choice for first loading option set properly, it is ignored.

Is it worthwhile to buy a different brand flash drive? Or am I missing something obvious and basic?
 
Old 04-29-2009, 08:18 AM   #2
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
Hey, what's up?
It's pretty easy, but it matters what Linux distro your trying to put on USB and whether your in Windows or Linux OS?

Er...instead of going thru a long tutorial here...
BIOS must be set to boot from usb
if BIOS doesn't support usb boot, get a boot floppy like plop bootmanager to boot usb
USB must be either FAT32 or FAT16, I prefer FAT32.
Set the "boot" flag on the USB, easiest using Gparted(ubuntu).
install distro(s) to USB of your choice.
install syslinux to usb to make it bootable.
"syslinux -s /dev/sdxx" where "xx" is your usb device name-like sdf1/sdb1/sdc1 etc.
to find out there are several ways-
Gparted will list the device name
"fdisk -l" will list the usb name(usb already inserted)
"mount" can also tell you the name.
"dmesg | tail" can too.

If any of the above list differing names for usb, I usually go with Gparted's designation for mine which is (sdf1)
Just make sure you don't install syslinux to HD!

You gotta have syslinux installed-but if you are using Unetbootin-you might already have it and the usb name...

I would not use Unetbootin-unreliable.

I have some USB downloads at my site-just unzip/extract and then put'em on USB, install syslinux and reboot!
Need any more help please post

Last edited by linus72; 04-29-2009 at 08:57 AM.
 
Old 04-29-2009, 01:29 PM   #3
sheine
Member
 
Registered: Nov 2005
Distribution: pclinuxos
Posts: 184

Original Poster
Rep: Reputation: 31
I am trying to follow the instructions of linus72. Gparted indicates my usb flash drive /dev/sdf1 is bootable. syslinux.cfg is on the flash drive as is a copy of simply mepis.

But my laptops do not boot from it. The BIOS is set to boot from the flash drive first.
 
Old 04-29-2009, 01:58 PM   #4
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
http://www.pendrivelinux.com/
 
Old 04-29-2009, 05:24 PM   #5
sheine
Member
 
Registered: Nov 2005
Distribution: pclinuxos
Posts: 184

Original Poster
Rep: Reputation: 31
Unhappy

Maybe this will help someone to advise me. When I go to the BIOS, the first boot option says "SanDisk Cruzer". The following is a list of all files and folders on my USB drive:


file:///media/disk/boot
file:///media/disk/docs
file:///media/disk/Documents
file:///media/disk/info
file:///media/disk/mepis
file:///media/disk/osx
file:///media/disk/System
file:///media/disk/autorun
file:///media/disk/autorun.bat
file:///media/disk/autorun.inf
file:///media/disk/boot.catalog
file:///media/disk/bootex.log
file:///media/disk/cdrom.ico
file:///media/disk/LaunchU3.exe
file:///media/disk/ldlinux.sys
file:///media/disk/syslinux.cfg
file:///media/disk/ubnfilel.txt
file:///media/disk/ubninit
file:///media/disk/ubnpathl.txt
file:///media/disk/version
file:///media/disk/vesamenu.c32
file:///media/disk/vmlinuz

Nevertheless, it does not boot.
 
Old 04-29-2009, 05:31 PM   #6
joeseph0404
LQ Newbie
 
Registered: Apr 2009
Location: St. Louis, MO
Distribution: Ubuntu of any kind :)
Posts: 17

Rep: Reputation: 1
I have two suggestions:

1) Remove U3. Any checksum performed by a booting linux distro will fail if it sees anything in the root directory that it doesnt recognize and will therefore fail to boot.

2) Check out http://www.pendrivelinux.com/
These guys make utilities for every version of linux imaginable that make creating a bootable USB drive a snap.


Hope this helps!!!
 
Old 04-29-2009, 05:49 PM   #7
sheine
Member
 
Registered: Nov 2005
Distribution: pclinuxos
Posts: 184

Original Poster
Rep: Reputation: 31
I removed the U3, it made no difference.
 
Old 04-29-2009, 06:03 PM   #8
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
Mepis/ubuntu's are hard to boot from usb...
can you post the syslinux.cfg for mepis usb??
 
Old 04-29-2009, 08:20 PM   #9
sheine
Member
 
Registered: Nov 2005
Distribution: pclinuxos
Posts: 184

Original Poster
Rep: Reputation: 31
I removed the U3, it made no difference.

However, the pendrive version works. Thank you.
 
Old 04-29-2009, 08:21 PM   #10
sheine
Member
 
Registered: Nov 2005
Distribution: pclinuxos
Posts: 184

Original Poster
Rep: Reputation: 31
The pendrive version worked. Thank you.
 
Old 04-29-2009, 10:19 PM   #11
sheine
Member
 
Registered: Nov 2005
Distribution: pclinuxos
Posts: 184

Original Poster
Rep: Reputation: 31
Quote:
Originally Posted by linus72 View Post
Mepis/ubuntu's are hard to boot from usb...
can you post the syslinux.cfg for mepis usb??
Pendrive loaded the Ubuntu without trouble. I now have my Asus dual booting Windows XP and Ubuntu, notebook version. Unfortunately when I used the pendrive Ubuntu the syslinux.cfg for Mepis was lost and therefore I cannot comply with your request. In recent years, I have found that Mepis is the most reliable of all systems and would have preferred it.
 
Old 04-30-2009, 03:15 PM   #12
sheine
Member
 
Registered: Nov 2005
Distribution: pclinuxos
Posts: 184

Original Poster
Rep: Reputation: 31
pendrivelinux has a program to make a bootable Mepis USB flash drive from an iso file. When I followed the instructions, the flash drive got me into a version of Mepis that was too limited to be usable. It was like being in terminal but it did not respond to instructions. Back to the drawing board.
 
Old 04-30-2009, 03:32 PM   #13
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
What you want is a true persistent install to usb-right?
Pendrive does have alot of distro's like that-
What do you wanna try now?
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
may install from cdrom to USB FLASH DRIVE(to get it a USB stick bootable) the ubuntu lse123 Linux - Newbie 5 01-02-2009 04:56 PM
how do you make a bootable flash drive for Vista install? hedpe General 3 04-08-2007 03:28 PM
Make a bootable Flash drive with Sandisk loninappleton Linux - Hardware 2 02-06-2006 03:02 PM
How to create bootable USB flash drive EStester Linux - Enterprise 7 05-19-2005 06:35 PM
Install MandrakeLinux with bootable USB Flash Drive lothario Mandriva 1 12-10-2004 09:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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