LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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

Reply
 
Search this Thread
Old 06-18-2005, 02:30 PM   #1
titanium_geek
Senior Member
 
Registered: May 2002
Location: Melbourne Australia
Distribution: it died/ macosx
Posts: 2,478

Rep: Reputation: 50
create NTFS partition in linux


I refrained from adding 'help' to the subject line, so I'll scream it here:
HEEEELLLLPPP!!!

Ah, the joys of multibooting.
So, I installed mandrake (10.0 Community) and set up the partitions this way:
..:: hda ::..
swap (512MB)
/boot (500MB)
/ (for mandrake) (5000MB) -extended
*empty space for now*
*/(for vector) (5000MB) -extended
*/(for knoppix) (5000 MB) -extended
**
..:: hdb ::..
swap (512MB)
/home(9000MB)
/tmp(5000MB)
*empty space for now*
* NTFS (for Windows 2000)
**

fine. But, mandrake can't set up NTFS partitions. I tried at install and again using the *configure your computer* and it says: "I don't know how to format hdb7 in type NTFS"

so I'm looking for something I can use to create an NTFS partition in linux. Extensive googling and reading of howtos has come to no avail. Any help appreciated.

thanks in advance

titanium_geek
 
Old 06-19-2005, 07:38 AM   #2
heema
Senior Member
 
Registered: Sep 2003
Location: Egypt
Distribution: Arch
Posts: 1,528

Rep: Reputation: 46
have you checked out qtparted ?

its a clone of partition magic
 
Old 06-19-2005, 03:11 PM   #3
titanium_geek
Senior Member
 
Registered: May 2002
Location: Melbourne Australia
Distribution: it died/ macosx
Posts: 2,478

Original Poster
Rep: Reputation: 50
getting there

qtparted? boy, what a run around! well, it looks like my best bet, so I ran configure multiple times, got it what it wanted (using the mandrake install tools {rpmdrake} and from the net) and then it chucks out this error:
Code:
checking for char*... yes
checking size of char*... configure: error: cannot compute sizeof (char *), 77
See 'config.log' for more details.
#
I had a look at config.log - it's all geek to me-
please, what should I do now?

titanium_geek

EDIT:
On a whim I tried ./configure as a regular user, still the same error message- exactly the same.

Last edited by titanium_geek; 06-19-2005 at 03:21 PM.
 
Old 06-19-2005, 03:24 PM   #4
Emerson
Senior Member
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~
Posts: 3,177

Rep: Reputation: Disabled
... out of curiosity. Why do you need to create NTFS under Linux? If you want to install Windows just reserve some space on the drive and let Windows install do the rest. Or, you can create a NTFS partition with Linux fdisk and let Windows make the filesystem (format C.
 
Old 06-19-2005, 04:02 PM   #5
titanium_geek
Senior Member
 
Registered: May 2002
Location: Melbourne Australia
Distribution: it died/ macosx
Posts: 2,478

Original Poster
Rep: Reputation: 50
well, I'd like to do it under linux because I'm that far in, I may aswell continue...
Tried the windows 2000 install- it refuses to recognise even empty space. so yeah, I need to make an ntfs partition for it (darn thing)

linux fdisk? please explain.

titanium_geek
 
Old 06-19-2005, 04:22 PM   #6
Emerson
Senior Member
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~
Posts: 3,177

Rep: Reputation: Disabled
First, if I recall correctly, Windows may want to be installed on primary HDD. If you want it on a secondary drive you have to trick it with GRUB or LILO (swap drives).
Linux fdisk is similar to DOS fdisk.

'fdisk /dev/hda'

this starts it on primary IDE drive.

Edit: You need to install Windows on a primary partition, too.

Last edited by Emerson; 06-19-2005 at 04:24 PM.
 
Old 06-19-2005, 07:12 PM   #7
titanium_geek
Senior Member
 
Registered: May 2002
Location: Melbourne Australia
Distribution: it died/ macosx
Posts: 2,478

Original Poster
Rep: Reputation: 50
arrrgh!!! windows fdisk killed my linux. late night time....
where can I find a tutorial on using fdisk (for linux, because windows sucks!)
or can anyone help me with qtparted?

titanium_geek
 
Old 06-19-2005, 07:22 PM   #8
Emerson
Senior Member
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~
Posts: 3,177

Rep: Reputation: Disabled
I'd recommend to boot with Knoppix livecd and use cfdisk. It's a little more user-friendly. Then you don't have to worry about mounted filesystems. Just type 'knoppix 2' at boot promt to get it up.
 
Old 06-19-2005, 10:35 PM   #9
Kahless
Member
 
Registered: Jul 2003
Location: Pennsylvainia
Distribution: Slackware / Debian / *Ubuntu / Opensuse / Solaris uname: Brian Cooney
Posts: 503

Rep: Reputation: 30
cfdisk is also availible on slackware distro disks, and it is much easiser to use than any otehr CLI fdisk client Ive used, althought the windows version should be easy enough.....

for futrue referance, its best to always install windows first, leaving free space for you *nix distro, and pickign up nix install next. Thats one of the only things MS and unix manuals have ever agreed on
 
Old 06-20-2005, 09:09 AM   #10
titanium_geek
Senior Member
 
Registered: May 2002
Location: Melbourne Australia
Distribution: it died/ macosx
Posts: 2,478

Original Poster
Rep: Reputation: 50
windows first? it can be done the other way, and I'm going to find it...

I've got the vector linux iso, would that be helpful?

I'm going to try the knoppix thing today (it's in on my desk ready) and see if that works.

titanium_geek
 
Old 06-20-2005, 10:48 AM   #11
titanium_geek
Senior Member
 
Registered: May 2002
Location: Melbourne Australia
Distribution: it died/ macosx
Posts: 2,478

Original Poster
Rep: Reputation: 50
Emerson, how do I get cfdisk to look at my second hardrive (hdb) ???

thanks for the knoppix tip, it looks like that will work- if I can see the second harddrive.

SOLVED: you have to type cfdisk /dev/hdb , not just cfdisk hdb.

titanium_geek

Last edited by titanium_geek; 06-20-2005 at 10:54 AM.
 
Old 06-20-2005, 11:36 AM   #12
titanium_geek
Senior Member
 
Registered: May 2002
Location: Melbourne Australia
Distribution: it died/ macosx
Posts: 2,478

Original Poster
Rep: Reputation: 50
to install 2000 I had to delete one of my swap partitions. but thats ok. I can put it back, windows just wants the boot loader right? if I remove it i can still boot windows?

titanium_geek
 
Old 06-20-2005, 02:05 PM   #13
Emerson
Senior Member
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~
Posts: 3,177

Rep: Reputation: Disabled
Quote:
Originally posted by titanium_geek
to install 2000 I had to delete one of my swap partitions. but thats ok. I can put it back, windows just wants the boot loader right? if I remove it i can still boot windows?
Windows does nothing about other partitions and operating systems you might have. It ruthlessly overwrites the MBR of the first disk. You can replace this MBR with your own, using GRUB or LILO. Then you have to tell your bootloader to chainload the Windows. Search google.com/linux for details.
 
Old 06-20-2005, 04:44 PM   #14
titanium_geek
Senior Member
 
Registered: May 2002
Location: Melbourne Australia
Distribution: it died/ macosx
Posts: 2,478

Original Poster
Rep: Reputation: 50
how big is the mbr?

I post this because I have to start over GACK!!! so how much do I need to leave for the mbr?
windows did not stay in 512 MB I gave it, and wrote over my mandrake boot partiton- and now nothing works... AAAAHHHH (screams, thumps head on desk etc etc)


titanium_geek

Last edited by titanium_geek; 06-20-2005 at 04:46 PM.
 
Old 06-20-2005, 05:04 PM   #15
Emerson
Senior Member
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~
Posts: 3,177

Rep: Reputation: Disabled
MBR is outside of partitions, you do not have to worry about it. It's very first sector on HDD, 512 bytes. This is why it is recommended to install Windows first, then you do not have to deal with that MBR issue.
 
  


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
Using partition magic to create Linux partition then install EviLBoX Linux - General 5 09-12-2008 05:01 AM
Deleted ntfs partition - added linux partition in its place - corrupt! eklhad Linux From Scratch 2 06-28-2005 01:31 AM
How to create Linux partition on a XP workstation? yuchen99 Red Hat 2 04-14-2005 05:31 AM
Create bootable VFAT partition from Linux ugenn Linux - Software 2 04-29-2004 12:27 PM
How to create linux partition Shailendra Singh Linux - Software 5 11-18-2003 10:24 AM


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