LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 02-22-2003, 08:58 PM   #1
d33pdream
Member
 
Registered: Jan 2003
Distribution: LFS
Posts: 90

Rep: Reputation: 15
cannot mount partition (says it's NTFS but it's not!)


K, trying to mount a parition on my secondary drive, hereis my screen output, I *don't* get it.

Code:
[root@localhost sbin]# ./fdisk -l /dev/hdd

Disk /dev/hdd: 255 heads, 63 sectors, 784 cylinders
Units = cylinders of 16065 * 512 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/hdd1   *         1       653   5245191   83  Linux
/dev/hdd2           654       784   1052257+  82  Linux swap
[root@localhost sbin]# mount /dev/hdd1 /mnt/lfs/
mount: fs type ntfs not supported by kernel
and before these steps i did a;

mke2fs /dev/hdd1 which didn't give me any errors. Any ideas?
 
Old 02-22-2003, 09:18 PM   #2
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
That sounds like it's an ex-Windows drive and some Windows crap may still be there. Try blanking out the front of the partition and re-format it. I suggest doing that for all partitions prior to formatting.

dd if=/dev/zero of=/dev/hdd1 bs=1K count=1

I like ext3 myself over ext2, so I suggest

mke2fs -j /dev/hdd1

That should clean it up.

Why only two partitions? I find a /home partition invaluable.

Last edited by fancypiper; 02-22-2003 at 09:22 PM.
 
Old 02-22-2003, 09:28 PM   #3
d33pdream
Member
 
Registered: Jan 2003
Distribution: LFS
Posts: 90

Original Poster
Rep: Reputation: 15
k, i've seem to of gotten it to work...

passed the:

-t ext2

and it took, haven't tested it tho, might not work. it was a NTFS drive a few hours ago... hrm. This:

dd if=/dev/zero of=/dev/hdd1 bs=1K count=1

will !!!WIPE!!!! out all past ntfs info?
 
Old 02-22-2003, 09:35 PM   #4
d33pdream
Member
 
Registered: Jan 2003
Distribution: LFS
Posts: 90

Original Poster
Rep: Reputation: 15
Quote:
Why only two partitions? I find a /home partition invaluable.
It's my first Linux From Scratch project. Wont be used for a production box where security is essential.
 
Old 02-22-2003, 09:37 PM   #5
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
That writes zeros to the first block of 1024 bytes. I understand that the linux mkfs can leave some windows trash unwiped and fool the kernel.

See info dd

The Answer Guy article
 
Old 02-22-2003, 09:46 PM   #6
d33pdream
Member
 
Registered: Jan 2003
Distribution: LFS
Posts: 90

Original Poster
Rep: Reputation: 15
got it! works perfect. thanks! =)
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
mount ntfs partition alaios Linux - General 2 09-09-2005 10:35 AM
How can I mount a NTFS partition? LegendBreath Fedora 1 06-05-2005 11:02 AM
How do you mount an NTFS partition? karaite SUSE / openSUSE 5 11-01-2004 12:18 PM
HOW-TO mount NTFS partition? xperts Linux - Newbie 5 02-03-2004 01:21 PM
Mount an NTFS Partition? oostevo Linux - General 3 11-23-2001 06:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:22 PM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration