LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-12-2013, 12:40 PM   #1
lwv962
Member
 
Registered: Feb 2011
Location: Wales
Distribution: MX Linux 18
Posts: 36

Rep: Reputation: 0
USB sticks , check bootability of on command line.


Hello,

Is there a way of checking on the command line if a usb stick is bootable?
I ask this bacause I recently bought one that will not accept an operating
system.

lwv962.
 
Old 09-12-2013, 12:54 PM   #2
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
Can you explain how you attempted to install the iso image on your usb stick. Can you explain what you did to come to the conclusion that the stick "will not accept an operating
system.".
jdk
 
Old 09-12-2013, 01:13 PM   #3
lwv962
Member
 
Registered: Feb 2011
Location: Wales
Distribution: MX Linux 18
Posts: 36

Original Poster
Rep: Reputation: 0
USB sticks , check bootability of on command line.

Hi jdkaye

I ran gparted on the stick,created a fat32 partition,gave it a label,put on a boot flag,
downloaded a distro,checked md5 sum, burnt a cd, ran md5sum on the cd,put it onto Unetbootin
and made some persistence(it WAS ubuntu based).No joy!

lwv962.

PS. The stick is a SanDisk cruzer blade. I think there is some kind of "windows" protection on it !

Last edited by lwv962; 09-12-2013 at 01:17 PM. Reason: to add a postscript.
 
Old 09-12-2013, 01:32 PM   #4
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
Hi lwv962,
Any reason why you used a fat32 fs on the partition? That seems strange.
jdk
 
Old 09-12-2013, 02:24 PM   #5
lwv962
Member
 
Registered: Feb 2011
Location: Wales
Distribution: MX Linux 18
Posts: 36

Original Poster
Rep: Reputation: 0
USB sticks , check bootability of on command line.

jdkaye
Hi,

I believe that is what Unetbootin demands,anyway I've always used
fat32 for a stick.But as I put in my PS.this stick acts differently
from other sticks:it is readable and writeable until it comes to
installation. I'm just looking for a command line command to let me
know in future if I'm given a stick if can take an installation.
 
Old 09-12-2013, 03:40 PM   #6
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,921

Rep: Reputation: 3618Reputation: 3618Reputation: 3618Reputation: 3618Reputation: 3618Reputation: 3618Reputation: 3618Reputation: 3618Reputation: 3618Reputation: 3618Reputation: 3618
The only way I know of would be to boot it with qemu.

I'd see if you can't get HP's usb tools. They have fixed a few. Sometimes syslinux fixes it.


There may be other reasons it can't boot such as size or where /boot is.
 
Old 09-12-2013, 08:32 PM   #7
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,324

Rep: Reputation: 1578Reputation: 1578Reputation: 1578Reputation: 1578Reputation: 1578Reputation: 1578Reputation: 1578Reputation: 1578Reputation: 1578Reputation: 1578Reputation: 1578
Did you Delete all current partitions before creating new partition and how big of a partition? What do you mean by
Quote:
made some persistence

Last edited by colorpurple21859; 09-12-2013 at 08:33 PM.
 
  


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
[SOLVED] Command-line utility to check burned DVD? littlebigman Linux - Software 12 11-18-2010 01:38 PM
no cd or usb bootability, need floppy to cd boot Person_1873 Fedora - Installation 22 01-10-2008 08:30 PM
HOW TO CHECK BIOS version through command line vishalpbt Linux - General 5 11-08-2006 04:24 PM
Command Line Password Check jedediah Linux - Security 4 12-09-2004 03:01 PM
command line check to see if smbd and nmbd are running rioguia Linux - Networking 2 11-18-2002 01:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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