[SOLVED] Internal hard drive refuses to format to any linux-specific filesystem
UbuntuThis forum is for the discussion of Ubuntu 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.
Internal hard drive refuses to format to any linux-specific filesystem
Hi, I just got my new 500GB Maxtor internal hard drive. When I try to format it as NTFS with GPartEd, the format goes through without a hitch. I can see the drive afterwards. However, when formatting to any linux-specific partition (ext2, ext3, ext4, swap, etc), the format completes, but immediately after, the drive can no longer be detected, and I have to physically turn the machine off and back on, then reboot into the livecd to get it to show up again. And even then, it no longer shows as a Linux partition, it shows up as Unknown. This is a brand new hard drive fresh from its packaging. And I'm trying to install 13.04 to it.
Typically internal drives do not come already partitioned/formatted.
How is the drive partitioned?
It's not partitioned at all right now. It just has a 470GB unknown partition mounted as root. Like I said, the drive doesn't seem to save partition data unless I format as NTFS. I *really* don't want to go back to Windows, LOL!
Quote:
Once you do that, you should be able to format it no problem with mkfs -t ext4 /dev/XXX
Ahh, I never thought of manually partitioning the drive. I'll see what parted does with it, and post the results.
While making a filesystem on an entire unpartitioned disk is technically possible, doing that can lead to some odd behavior, such as what you experienced. The kernel and various tools will first try to interpret that first sector as containing a partition table.
Also, an NTFS filesystem begins right at the start of the allocated space, while an ext2/3/4 filesystem begins at offset 1024. So, taking something previously formatted as NTFS and reformatting it as ext2/3/4 leaves behind a remnant of the NTFS filesystem, which again can cause some minor confusion.
Hi, I just got my new 500GB Maxtor internal hard drive. When I try to format it as NTFS with GPartEd ...
Try using a Parted Magic live CD to partition and format the drive to whatever Linux file system you choose: http://partedmagic.com/doku.php
Parted Magic is very easy to use and works very well.
While making a filesystem on an entire unpartitioned disk is technically possible, doing that can lead to some odd behavior, such as what you experienced. The kernel and various tools will first try to interpret that first sector as containing a partition table.
Good to know for next time.
Quote:
Yes, you need to manually create a partition table and partition(s) then format with a file system.
Manually partitioning the drive didn't work. However, installing Ubuntu normally, allowing it to partition the drive by itself did. (Go figure... when in doubt, let the system do the work itself.) But thanks for the help anyways.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.