LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 03-26-2017, 09:45 AM   #1
Harshit_24
Member
 
Registered: Jul 2014
Location: India
Distribution: CentOS
Posts: 75

Rep: Reputation: 5
USB device not bootable


I have formatted the USB using GParted. Below is the screenshot for the details.

I have tried to create the live USB with unetbootin, it is not working. It is showing the error as Operating System missing.

Before formatting from GParted, I was able to boot the live USB but now it is not working. What is wrong with the format?
Attached Thumbnails
Click image for larger version

Name:	Capt.jpeg
Views:	31
Size:	20.4 KB
ID:	24613  
 
Old 03-26-2017, 10:24 AM   #2
JeremyBoden
Senior Member
 
Registered: Nov 2011
Location: London, UK
Distribution: Debian
Posts: 1,947

Rep: Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511
Did you download a ISO file to feed into unetbootin?
 
Old 03-26-2017, 11:57 AM   #3
Harshit_24
Member
 
Registered: Jul 2014
Location: India
Distribution: CentOS
Posts: 75

Original Poster
Rep: Reputation: 5
I have it in my local system. I browsed form there.
 
Old 03-26-2017, 12:37 PM   #4
bsth123
Member
 
Registered: Feb 2017
Distribution: Kubuntu, Debian, FreeBSD
Posts: 195

Rep: Reputation: Disabled
I used Rufus. It formats and then lets you select your .iso
 
Old 03-26-2017, 05:00 PM   #5
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,510

Rep: Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491
Which operating system are you using unetbootin for to put on the usb drive? They are not all supported. Most major distributions and particularly Ubuntu's are. There's a list on the unetbootin page.

Do you have another computer available on which to test to seee if it boots?

Did you try using the dd command to write the iso to the usb drive?

Quote:
Before formatting from GParted, I was able to boot the live USB but now it is not working. What is wrong with the format?
There's nothing wrong with the format as most usb/flash drives used for this purpose use vfat. The way I'm reading the above statements, you formatted after creating after creating the live USB which obviously would give you that error. Did you mean that you have successfully used this drive before for bootable usb systems, then formatted with GParted and again created a system with unetbootin and it now fails??
 
Old 03-26-2017, 06:03 PM   #6
erik2282
Member
 
Registered: May 2011
Location: Texas
Distribution: Primarily Deb/Ubuntu, and some CentOS
Posts: 829

Rep: Reputation: 229Reputation: 229Reputation: 229
from: https://community.linuxmint.com/tutorial/view/744

Quote:
Using the Terminal

It is really simple. Go to a Terminal and type:


sudo dd if=~/Desktop/linuxmint.iso of=/dev/sdx oflag=direct bs=1048576
Where '~/Desktop/linuxmint.iso' is the name and location of your downloaded image (located at the desktop in this example) and '/dev/sdx' is the target USB drive. If your system doesn't support 'oflag=direct', you can just leave it out as it is simply intended to speed up the process a bit.

If you don't know about the target USB drive path, run this command and figure out your destination drive.

sudo fdisk -l
Warning: Make sure to set the correct device path, as this process will delete all data that was on the specified device previously!

Remember, don't include an integer for the USB drive, e.g. '/dev/sdx1', as it would refer to the existing partition on that drive and not the drive itself.

When the USB has been properly created by 'dd', there should be an output similar to this:

sudo dd if=~/Desktop/linuxmint.iso of=/dev/sdb oflag=direct bs=1048576
706+1 records in
706+1 records out
740601856 bytes (741 MB) copied, 91.7024 s, 8.1 MB/s
 
Old 03-27-2017, 12:45 AM   #7
Harshit_24
Member
 
Registered: Jul 2014
Location: India
Distribution: CentOS
Posts: 75

Original Poster
Rep: Reputation: 5
Quote:
Originally Posted by bsth123 View Post
I used Rufus. It formats and then lets you select your .iso
I don't have windows in my personal system as this software seems to work only on windows.

Quote:
Originally Posted by yancek View Post
Which operating system are you using unetbootin for to put on the usb drive? They are not all supported. Most major distributions and particularly Ubuntu's are. There's a list on the unetbootin page.

Do you have another computer available on which to test to seee if it boots?

Did you try using the dd command to write the iso to the usb drive?



There's nothing wrong with the format as most usb/flash drives used for this purpose use vfat. The way I'm reading the above statements, you formatted after creating after creating the live USB which obviously would give you that error. Did you mean that you have successfully used this drive before for bootable usb systems, then formatted with GParted and again created a system with unetbootin and it now fails??
I am trying to boot Debian OS as I already said, I was able to boot the same system earlier, but now it is giving error. Before Unetbootin, I tried dd & I got stuck earlier. Here is the thread I created for the same.

As from the condition, it seems like after earlier creating the bootable USB using DD command & then again formatting using GParted, I am not able to make the USB bootable.

Quote:
Originally Posted by erik2282 View Post
Earlier I used the same DD command, after that my USB became readonly & was not able to remove any data from it. Thats why I used GParted to again format it using FAT32.
 
Old 03-27-2017, 01:02 AM   #8
JJJCR
Senior Member
 
Registered: Apr 2010
Posts: 2,150

Rep: Reputation: 449Reputation: 449Reputation: 449Reputation: 449Reputation: 449
check out this guide for Puppy Linux and make a bootable USB.

http://puppylinux.com/install.html
 
Old 03-27-2017, 08:09 AM   #9
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,510

Rep: Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491
Quote:
I am trying to boot Debian OS as I already said, I
Not in this thread you didn't. Have you tried using GParted to create a new partition table before. See the link below to the GParted online Manual which explains how to do this.

http://gparted.org/display-doc.php%3Fname%3Dhelp-manual
 
Old 03-27-2017, 08:16 AM   #10
Rickkkk
Senior Member
 
Registered: Dec 2014
Location: Montreal, Quebec and Dartmouth, Nova Scotia CANADA
Distribution: Arch, AntiX, ArtiX
Posts: 1,364

Rep: Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511
Hi Harshit_24,

Your GParted image seems to be missing the boot flag for the USB drive. In any case, what I would suggest is to recreate the bootable USB using the instructions for the ISO you wish to boot .. Debian I believe you mentioned. I usually just use the dd command, but go with whatever method Debian's documentation suggests.

Cheers,
 
1 members found this post helpful.
Old 03-27-2017, 08:45 AM   #11
Harshit_24
Member
 
Registered: Jul 2014
Location: India
Distribution: CentOS
Posts: 75

Original Poster
Rep: Reputation: 5
Thanks @Rickkkk, now it is working fine as I set the boot flag through GParted & again made the USB bootable, it booted successfully.

Thanks all
 
Old 03-27-2017, 08:47 AM   #12
Rickkkk
Senior Member
 
Registered: Dec 2014
Location: Montreal, Quebec and Dartmouth, Nova Scotia CANADA
Distribution: Arch, AntiX, ArtiX
Posts: 1,364

Rep: Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511
Quote:
Originally Posted by Harshit_24 View Post
Thanks @Rickkkk, now it is working fine as I set the boot flag through GParted & again made the USB bootable, it booted successfully.

Thanks all
Good news, Harshit_24 - Cheers.
 
  


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
Solaris 11 -- Bootable USB device with existing Grml Sebi94 Solaris / OpenSolaris 1 08-02-2012 02:56 PM
copy the IMG to the USB device and make it bootable cccc Debian 2 02-01-2011 01:11 PM
Bootable USB Device with USB-ZIP BIOS oxblood Slackware 20 09-10-2009 01:35 AM
What makes my usb device bootable? alaios Linux - Hardware 20 04-30-2009 07:40 AM
boot pc from a bootable-iso without a cd or usb-device psytroll Linux - General 1 02-23-2006 01:27 PM

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

All times are GMT -5. The time now is 08:44 PM.

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