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.
|
|
08-12-2016, 11:56 PM
|
#1
|
Member
Registered: Mar 2016
Location: Orlando Fl
Distribution: Slackware/Peppermint
Posts: 164
Rep:
|
Unrecognised disk label - gparted
I just recently bought two sandisk 16gb USBs. I opened the package for one today and I was going to write ISO iamage to it. However, fdisk -l is giving me this output
Code:
Disk /dev/sda: 232.9 GiB, 250059350016 bytes, 488397168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x2299b4f8
Device Boot Start End Sectors Size Id Type
/dev/sda1 * 2048 484472831 484470784 231G 83 Linux
/dev/sda2 484474878 488396799 3921922 1.9G 5 Extended
/dev/sda5 484474880 488396799 3921920 1.9G 82 Linux swap / Solaris
Disk /dev/sdb: 14.6 GiB, 15664676864 bytes, 30595072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x8cb3a3f6
Gparted is showing error unrecognised diske label.
There is nothing on the USB. I have tried formatting to fat32, but the same results are occuring.
I tested the USBs on another computer and oddly enough the same issue is occuring.
I have never had this issue before is there something I am missing? I dont get how it is occuring on two new USBs. I always use Sandisk.
Thanks!
|
|
|
08-13-2016, 12:13 AM
|
#2
|
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,237
|
Does look odd, but if you are wrting an iso to it (via dd ?) why do you care ?.
|
|
|
08-13-2016, 12:21 AM
|
#3
|
Member
Registered: Mar 2016
Location: Orlando Fl
Distribution: Slackware/Peppermint
Posts: 164
Original Poster
Rep:
|
When I try to write ISO image it acts as if it writes to it, but after booting from USB it just returns me to the load up for my primary operating system.
I have tried multiple ISO images.
Here is an example:
Code:
dd if=slax-English-US-7.0.8-x86_64.iso of=/dev/sdb
461880+0 records in
461880+0 records out
236482560 bytes (236 MB, 226 MiB) copied, 278.421 s, 849 kB/s
Booting by USB only loads my current operating system
|
|
|
08-13-2016, 01:56 AM
|
#4
|
Senior Member
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Linux Mint 22 MATE, Peppermint OS-Devuan, EndeavourOS
Posts: 4,199
|
Belikewater,
It seems unusual to have 2 new faulty SanDisk USB drives, but it is possible.
I had a problem with an 8 year old Corsair 8GB USB flash drive recently.
Shadow 7's advice helped me to confirm that the drive was faulty and I returned it under warranty.
The key was to first install dcfldd.
Code:
sudo apt-get install dcfldd
Code:
# dcfldd if=/dev/zero of=/dev/sdc bs=1M
Remove and reinsert USB drive.
Code:
# cmp /dev/zero /dev/sdc
The cmp will fail at the point when it has reached the end of your drive (14.6GB) hopefully.
If it fails before then, the drive isn't usable anymore.
Post #11 on here may help you:
http://www.linuxquestions.org/questi...em-4175584311/
Last edited by beachboy2; 08-13-2016 at 02:00 AM.
|
|
|
08-13-2016, 05:19 AM
|
#5
|
LQ Guru
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
|
I hope you don't mind my stupidity, but why don't you start by using parted (mklabel & mkpart) to create a valid partition table on the usb device?
After you've got it up and running, you could, as well as using beachboy2's test, also use f3 ( http://oss.digirati.com.br/f3/) to test it.
Last edited by hydrurga; 08-13-2016 at 05:23 AM.
|
|
|
08-13-2016, 06:44 AM
|
#6
|
Moderator
Registered: Aug 2002
Posts: 26,126
|
Another stupid question... It appears you downloaded the CD versus the USB file. I assume since they offer two different files that the ISO is not a hybrid so it isn't bootable if written to a USB drive. What happens when you write the USB version. I assume your computer is configured to boot from USB before the hard drive.
Typically USB drives are partitioned and formatted by the manufacture. I have bought some that did not have a partition but were formatted as FAT32. You can look at the output of the dmesg command for errors.
https://www.slax.org/en/download.php
|
|
|
08-13-2016, 10:37 AM
|
#7
|
LQ Newbie
Registered: Dec 2005
Location: mid MO
Distribution: Suse 10
Posts: 14
Rep:
|
Unrecognised disk label - gparted
Do SanDisk flash drives still come with the partition that has the utilities installed on it? At one time there was a tool for Windows that would remove it. It's possible that's what you're seeing.
|
|
|
08-14-2016, 09:02 AM
|
#8
|
Member
Registered: Feb 2014
Location: GMT-7
Distribution: Slackware64, xenialpup64, Slacko5.7
Posts: 204
Rep:
|
Sandisk and HP both have caused me problems in the past, as far as USB drives go. I avoid them nowadays.
AFA printers go, HP is no problem. Both brands have proprietary software on their USB sticks. This is where the problems lay. IIRR, Sandisk USB sticks cannot be formatted normally because of it. I simply AVOID certain brands, depending on the hardware, for usage with GNU/Linux.
Live and learn, and Welcome to Linux!
|
|
1 members found this post helpful.
|
08-14-2016, 01:45 PM
|
#9
|
Senior Member
Registered: Nov 2003
Location: Minnesota, US
Distribution: Fedora, Ubuntu, Manjaro
Posts: 1,791
|
Don't recall ever having a problem with Sandisk USB sticks; those that I have boot just fine. However, I will often invoke
Code:
dd if=/dev/zero of=/dev/<USB stick> bs=8M count=1
before formatting a USB stick.
|
|
1 members found this post helpful.
|
08-15-2016, 05:19 PM
|
#10
|
Member
Registered: Mar 2016
Location: Orlando Fl
Distribution: Slackware/Peppermint
Posts: 164
Original Poster
Rep:
|
I somehow got it to work using gparted (even tho I tried the same thing 3 times before it worked). Now I have all my USBs as bootable
It works on my pc but my spouses HP fights any USB and some dvds. I will have to try to burn an ISO image to a dvd to try on hers.
Thanks for the help!!
|
|
|
10-23-2016, 12:40 PM
|
#11
|
LQ Newbie
Registered: Oct 2016
Posts: 25
Rep:
|
|
|
|
All times are GMT -5. The time now is 12:35 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
|
|