LinuxQuestions.org
Visit Jeremy's Blog.
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 11-06-2001, 01:00 PM   #1
d3funct
Member
 
Registered: Jun 2001
Location: Centralia, WA
Posts: 274

Rep: Reputation: 31
Angry FDISK didn't do the trick


I just upgraded to Redhat 7.2 on my box at work. When I was done I found that there was an NTFS partition I didn't know existed with 1.5Gb on it living on /dev/hda1. I ran FDISK, deleted the NTFS partition, and recreated at Linux Extended partition and wrote the new table. I then created a mountpoint and did "mount /dev/hda1 /tempmount" and got an error saying that the system could not mount an NTFS filesystem. What? According to FDISK the new partition was created and was Linux Extended. I was going to run Disk Druid, but can't find it (at least not under that name) on my system. Is there another partitioner I can use or is there something I'm leaving out of my process? I'm also assuming that the filesystem on the new partition is ext3 since I'm now using 7.2 and I've migrated all my other filesystems to ext3, is that correct? Thanks for the help.
 
Old 11-06-2001, 01:29 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981
is this fdisk on dos or linux? worth trying the other one...

not sure what diskdruid is called.. i can't find it on my system.. but i've never needed to use it.
 
Old 11-06-2001, 02:00 PM   #3
d3funct
Member
 
Registered: Jun 2001
Location: Centralia, WA
Posts: 274

Original Poster
Rep: Reputation: 31
It's fdisk on linux, I'm not using any M$ software on this box. It's not and never has been a dual boot. I didn't even know this partition was there.
 
Old 11-06-2001, 03:52 PM   #4
rootboy
Member
 
Registered: Oct 2001
Distribution: Mint 15
Posts: 770

Rep: Reputation: 51
Re: FDISK didn't do the trick

Quote:
Originally posted by d3funct
got an error saying that the system could not mount an NTFS filesystem.
Ummm, WOW Not good...


Quote:
According to FDISK the new partition was created and was Linux Extended
What do you mean "Linux Extended"? The extended partition (not the logical drives) should be type "f" which is "Win95 Ext'd (LBA)"

Seems to work well that way on mine...


John
 
Old 11-06-2001, 04:29 PM   #5
d3funct
Member
 
Registered: Jun 2001
Location: Centralia, WA
Posts: 274

Original Poster
Rep: Reputation: 31
In FDISK choosing the partition type (85=Linux Extended) which is what I chose and then wrote the table. But it doesn' t let me or have an option to create an ext2 or ext3 filesystem which is probably where my problem lies. I don't know if I can run makefs or some such command to change the type for /dev/hda1.
 
Old 11-06-2001, 07:27 PM   #6
DMR
Member
 
Registered: Jun 2001
Location: Fairfax, California
Distribution: RH 9.0, RH 7.3, Mandrake 8.0
Posts: 986

Rep: Reputation: 30
mke2fs is what you need to run to create an ext2 filesystem on the partition.
Not sure what you'd use for ext3.
 
Old 11-07-2001, 01:26 AM   #7
linuxcool
LQ Addict
 
Registered: Jun 2001
Posts: 1,183

Rep: Reputation: 47
AFAIK, you can't mount or format an extended partition. Make the partition a type 83 and try again.
 
Old 11-07-2001, 01:11 PM   #8
d3funct
Member
 
Registered: Jun 2001
Location: Centralia, WA
Posts: 274

Original Poster
Rep: Reputation: 31
DMR got it right, although I'd figured it out before I read his message, thanks for letting me know anyway . I had to run mke2fs. BTW, to get it to create a journal to make it ext3 just add the "-j" flag to mke2fs.
 
Old 11-08-2001, 05:29 AM   #9
rootboy
Member
 
Registered: Oct 2001
Distribution: Mint 15
Posts: 770

Rep: Reputation: 51
Quote:
Originally posted by d3funct
DMR got it right, although I'd figured it out before I read his message, thanks for letting me know anyway . I had to run mke2fs. BTW, to get it to create a journal to make it ext3 just add the "-j" flag to mke2fs.
Ahhh heck! I misread your post and thought that you were trying to create an extended partition in Lin --- Awww, nevermind...


Good to hear that you got it working, sorry for the lame post


John
 
  


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
weird fdisk problem (Fdisk unable to see winxp partitions) khidot Slackware - Installation 5 04-07-2007 10:26 PM
Trick Yum volvogga Linux - Newbie 4 08-18-2005 06:53 PM
a trick id like to learn czarherr Linux - Software 7 03-03-2004 06:05 AM
How to trick a router Citizen Bleys Linux - Networking 4 01-31-2002 02:09 PM
Awesome X trick doodah Linux - General 6 06-01-2001 08:51 AM

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

All times are GMT -5. The time now is 10:45 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