Linux - NewbieThis 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.
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.
There's nothing wrong in what you are doing, assuming that sdb1 exists and the partition table is sane. There's no need to zero it out though, unless you have a good reason to. There's no need to delete and re-create the partition either. Just reformat it with whatever fs you want.
It's kind of odd that the system it is showing is HPFS/NTFS. When I mount:
mount -t vfat /dev/sdb1 /mnt/vfat
That's a flag that DOS and some other things can use to determine the "type" of the partition, which doesn't necessarily mean that the partition is formated that way at all.
In fdisk, if my memory serves correctly, the command "l" will list the known types, and surely there's another command to change that silly byte. It really doesn't matter, smart programs can guess that without having to resort to that info, which sometimes is not even in sync with the contents of the partition, as in your case.
As per the max volume size, for fat32 I am pretty much sure that it's 2TB, and it would seem improbably to me that vfat is going to lower that limit, plus there's no reason to do so. I think I've used bigger volumes (bigger than 140gb) myself, but I can't be sure right now.
The winxp installer couldn't create volumes bigger than 128gb or so, I don't really remember. Though xp itself could use bigger volumes if you created them using another OS or tool.
- "fdisk -l" shows one partition covering the entire disk (300 Gig) - says nothing about the filesystem on that partition.
- the id of 7 (NTFS) is indicative only; for (human) sanity should agree with the filesystem type, but doesn't have to, as you've found.
- fdisk works with devices, not partitions - "fdisk /dev/sdb1" is invalid.
- after you mount it, do a "df -hT" to see how big it really is
- "fdisk -l" shows one partition covering the entire disk (300 Gig) - says nothing about the filesystem on that partition.
- the id of 7 (NTFS) is indicative only; for (human) sanity should agree with the filesystem type, but doesn't have to, as you've found.
- fdisk works with devices, not partitions - "fdisk /dev/sdb1" is invalid.
- after you mount it, do a "df -hT" to see how big it really is
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.