Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
Above /dev/hda2 is the extended partition that contains all the logical partitions. In your case, it is /dev/hdd4. My previous posting was tough to read so you may not have noticed it. Thanks.
I made one conclusion. When changing filesystems using cfdisk or any other utility, a format may not be performed. Explicitly using the mke2fs command formatted the partition.
See my first post.
The partitioning tools *never* do the formatting. It's not their function. You decide what filesystem (type) you want to use, and do an appropriate mkfs.
Has always been the case - the GUIs may obscure this to some extent, but even they require you to specify the fs type.
I raised the question about the cfdisk output you posted, not parted output. I was complaining that the cfdisk output did not give an entry for the extended partition. If you'll look back at your original posting, you'll see that is true. The output I gave above for one of my disks is cfdisk output, which is what I understood you to be asking for. It does have an entry for the extended partition. I didn't have cfdisk on my system, so I had to go find the source and compile it. It turns out that cfdisk suppresses the extended partition for the interactive display, but it does show it when you use the "-P" flag. I had forgotten that detail.
In case it's not clear why it is strange to make a FAT32 logical partition, the only reason anyone would want a Linux FAT32 partition is for the sake of having a common filesystem with MS Windows. But a Linux logical FAT32 partition could never serve that purpose, because MS Windows can't read Linux logical partitions. Besides, these days the ordinary choice for a common system would be NTFS.
But a Linux logical FAT32 partition could never serve that purpose, because MS Windows can't read Linux logical partitions.
Explain yourself please.
Logical partitions are logical partitions. I use FAT32 logicals everyday to exchange data. In fact on a lot of my disks I have nothing but logical partitions.
------------------------------------------------
I raised the question about the cfdisk output you posted, not parted output. I was complaining that the cfdisk output did not give an entry for the extended partition.
-----------------------------------------------
Yes, that is the case. I too didn't know about the -P option. It is only when I used fdisk -l or parted, the extended partition showed up.
The funny thing about cfdisk is there is no way one can create an extended partition with it.
cfdisk allows only primary or logical partition to be selected.
Whenever the first logical partition is opted by the user it will be the 5th position like sda5 or hda5 even if the disk starts from new. The next available primary partition (from either sda1 to sda4) is automatically used up and will not be available in future. The creation of a primary partition thereafter will automatically blocks the growth of logical partitions and so the extended partition boundary becomes fixed.
Thus cfdisk can assist a user's understanding of how a hard disk work.
Explain yourself please.
Logical partitions are logical partitions. I use FAT32 logicals everyday to exchange data. In fact on a lot of my disks I have nothing but logical partitions.
There's really nothing to explain. If what you've just said is right, then I'm wrong.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.