Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
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.
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.
prompt$ sudo fdisk -l /dev/sdb1
Disk /dev/sdb1: 16.0 GB, 16009641984 bytes
64 heads, 32 sectors/track, 15267 cylinders, total 31268832 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
Disk identifier: 0x34704b1b
Device Boot Start End Blocks Id System
/dev/sdb1p1 * 0 854015 427008 17 Hidden HPFS/NTFS
/dev/sdb1p4 854016 31268831 15207408 b W95 FAT32
However, I get the following when I try to prepare the file system:
Code:
prompt$ sudo mkfs.vfat -n "TH-RscuData" /dev/sdb1p4
mkfs.vfat 3.0.9 (31 Jan 2010)
/dev/sdb1p4: No such file or directory
--and--
Code:
prompt$ sudo mkfs.vfat -n "TH-RscuData" /dev/sdb4
mkfs.vfat 3.0.9 (31 Jan 2010)
/dev/sdb4: No such file or directory
The target media is a Verbatim 16Gbyte "thumb" drive.
It already has the Clonzilla-SystemRescueCD parts installed per USB Instructions and related pages. Can someone please help?
Follow-up:
When I connect the "thumb" drive, I get an automatic mount of the initial partition at /dev/sdb1. I would expect that other partitions on that device, aka -- "sdb", would follow as "/dev/sdb1", "/dev/sdb2", "/dev/sdb3", "/dev/sdb4" ... and so on.
Instead, fdisk reports "sdb1p1", "sdb1p4" ...
What is that all about?
Also, gparted reports there is only one partition on the device and that it consumes the entire thumb drive.
Now I'm thoroughly confused.
Thanks in advance,
~~~ 0;-Dan
Last edited by SaintDanBert; 08-27-2012 at 03:19 PM.
You created a partition table and partitions within a partition. I assume when you created the additional partitions you ran the command fdisk /dev/sdb1 instead of fdisk /dev/sdb.
The partition table which is part of the MBR is not associated with a partition and I assume that gparted will only read the MBR.
You created a partition table and partitions within a partition. I assume when you created the additional partitions you ran the command fdisk /dev/sdb1 instead of fdisk /dev/sdb.
The partition table which is part of the MBR is not associated with a partition and I assume that gparted will only read the MBR.
(blush)
up-arrow edits to commands will help make those mistakes
...
I repeated the process from scratch and noticed my error then.
Thanks for a reply to such an obvious SNAFU.
However, when I look at the newly re-made thumb drive, parted continues to complain.
Code:
prompt$ sudo parted /dev/sdb
...
Error: Invalid partition table - recursive partition on /dev/sdb.
Ignore/Cancel? ignore
Model: Verbatim STORE N GO (scsi)
Disk /dev/sdb: 16.0GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number Start End Size Type File system Flags
2 437MB 16.0GB 15.6GB primary fat32
...
NOTE -- Unrelated device and partition details omitted.
Can anyone explain this?
~~~ 0;-Dan
Last edited by SaintDanBert; 08-27-2012 at 04:40 PM.
re: your signature quote. I like this one:
"Never tell a young person that anything cannot be done. God may have been waiting centuries for someone ignorant enough of the impossible to do that very thing." - G M Trevelyan
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.