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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
03-26-2017, 10:45 AM
|
#1
|
Member
Registered: Jul 2014
Location: India
Distribution: CentOS
Posts: 75
Rep:
|
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?
|
|
|
03-26-2017, 11:24 AM
|
#2
|
Senior Member
Registered: Nov 2011
Location: London, UK
Distribution: Debian
Posts: 1,950
|
Did you download a ISO file to feed into unetbootin?
|
|
|
03-26-2017, 12:57 PM
|
#3
|
Member
Registered: Jul 2014
Location: India
Distribution: CentOS
Posts: 75
Original Poster
Rep:
|
I have it in my local system. I browsed form there.
|
|
|
03-26-2017, 01:37 PM
|
#4
|
Member
Registered: Feb 2017
Distribution: Kubuntu, Debian, FreeBSD
Posts: 195
Rep:
|
I used Rufus. It formats and then lets you select your .iso
|
|
|
03-26-2017, 06:00 PM
|
#5
|
LQ Guru
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 11,027
|
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??
|
|
|
03-26-2017, 07:03 PM
|
#6
|
Member
Registered: May 2011
Location: Texas
Distribution: Debian/Ubuntu,CentOS
Posts: 848
|
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
|
|
|
|
03-27-2017, 01:45 AM
|
#7
|
Member
Registered: Jul 2014
Location: India
Distribution: CentOS
Posts: 75
Original Poster
Rep:
|
Quote:
Originally Posted by bsth123
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
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
|
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.
|
|
|
03-27-2017, 09:09 AM
|
#9
|
LQ Guru
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 11,027
|
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
|
|
|
03-27-2017, 09:16 AM
|
#10
|
Senior Member
Registered: Dec 2014
Location: Montreal, Quebec and Dartmouth, Nova Scotia CANADA
Distribution: Arch, AntiX, ArtiX
Posts: 1,364
|
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.
|
03-27-2017, 09:45 AM
|
#11
|
Member
Registered: Jul 2014
Location: India
Distribution: CentOS
Posts: 75
Original Poster
Rep:
|
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
|
|
|
03-27-2017, 09:47 AM
|
#12
|
Senior Member
Registered: Dec 2014
Location: Montreal, Quebec and Dartmouth, Nova Scotia CANADA
Distribution: Arch, AntiX, ArtiX
Posts: 1,364
|
Quote:
Originally Posted by Harshit_24
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.
|
|
|
All times are GMT -5. The time now is 03:59 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|