LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices

Reply
 
Search this Thread
Old 03-19-2013, 10:52 AM   #1
champton
LQ Newbie
 
Registered: Feb 2013
Posts: 17

Rep: Reputation: Disabled
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.

Does anyone know what's causing this problem?

Last edited by champton; 03-19-2013 at 10:55 AM.
 
Old 03-19-2013, 11:11 AM   #2
roreilly
Member
 
Registered: Aug 2006
Location: Canada
Distribution: Debian, Slackware
Posts: 106

Rep: Reputation: 28
Did you delete the default partition & re-create it as type linux? Many vendors ship drives
pre-partitioned for windows.

Once you do that, you should be able to format it no problem with mkfs -t ext4 /dev/XXX
 
1 members found this post helpful.
Old 03-19-2013, 12:28 PM   #3
michaelk
Moderator
 
Registered: Aug 2002
Posts: 11,903

Rep: Reputation: 746Reputation: 746Reputation: 746Reputation: 746Reputation: 746Reputation: 746Reputation: 746
Typically internal drives do not come already partitioned/formatted.

How is the drive partitioned?
 
Old 03-19-2013, 01:21 PM   #4
champton
LQ Newbie
 
Registered: Feb 2013
Posts: 17

Original Poster
Rep: Reputation: Disabled
Quote:
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.

Last edited by champton; 03-19-2013 at 01:27 PM.
 
Old 03-19-2013, 01:31 PM   #5
michaelk
Moderator
 
Registered: Aug 2002
Posts: 11,903

Rep: Reputation: 746Reputation: 746Reputation: 746Reputation: 746Reputation: 746Reputation: 746Reputation: 746
Yes, you need to manually create a partition table and partition(s) then format with a file system.
 
1 members found this post helpful.
Old 03-19-2013, 03:00 PM   #6
rknichols
Senior Member
 
Registered: Aug 2009
Distribution: CentOS
Posts: 1,437

Rep: Reputation: 599Reputation: 599Reputation: 599Reputation: 599Reputation: 599Reputation: 599
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.
 
1 members found this post helpful.
Old 03-20-2013, 03:57 AM   #7
tommcd
Senior Member
 
Registered: Jun 2006
Location: Philadelphia PA USA
Distribution: Lubuntu, Slackware
Posts: 2,230

Rep: Reputation: 287Reputation: 287Reputation: 287
Quote:
Originally Posted by champton View Post
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.
 
1 members found this post helpful.
Old 03-20-2013, 01:56 PM   #8
champton
LQ Newbie
 
Registered: Feb 2013
Posts: 17

Original Poster
Rep: Reputation: Disabled
Quote:
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.

Last edited by champton; 03-20-2013 at 02:06 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] transfer data from a SATA external hard drive to a IDE internal hard drive Cabtech Linux - Newbie 7 04-22-2012 02:55 PM
How to format an internal Hard drive on openSuse 11 yaarappa Linux - Software 4 10-04-2009 05:51 AM
Copy an internal hard drive as backup? Restore an internal drive? Peufelon Linux - Hardware 2 06-15-2008 03:28 PM
Installing grub to external USB hard drive for later use as internal hard drive dhave Linux From Scratch 2 12-10-2005 08:48 AM
Free BSD refuses to format my Hard drive duffmckagan *BSD 10 08-14-2005 10:12 PM


All times are GMT -5. The time now is 11:58 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration