LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-26-2005, 05:26 AM   #1
emokid
LQ Newbie
 
Registered: Jun 2005
Posts: 13

Rep: Reputation: 0
formatting my 2nd hard drive


so i just installed xandros 3.0 on to my primary hard drive and everything runs fine. but i want to know how i can format and partition my 2nd hard drive so that it can be used. currently it is ntfs and is read only. i tried to use fdisk but it didn't work. so i need to know how to format and partition it.

THANK YOU!!!
 
Old 06-26-2005, 05:33 AM   #2
nazir
Member
 
Registered: Apr 2002
Location: Poland, Gliwice/Pszczyna
Distribution: Mandrake, Slackware
Posts: 41

Rep: Reputation: 15
fdisk must work ;P, try cfdisk it is easier to use
then use mkfs to format partition you've made
 
Old 06-26-2005, 05:37 AM   #3
emokid
LQ Newbie
 
Registered: Jun 2005
Posts: 13

Original Poster
Rep: Reputation: 0
when i tried fdisk, it said there were no logical drives, so i went to delete the extended and it said i cant do that until i've deleted the logical. where do i get cfdisk and mkfs??? i'm only new to linux cause stupid windows kept pissing me off. stupid hack piece of shit
 
Old 06-26-2005, 05:41 AM   #4
nazir
Member
 
Registered: Apr 2002
Location: Poland, Gliwice/Pszczyna
Distribution: Mandrake, Slackware
Posts: 41

Rep: Reputation: 15
i don't use that distro, but mkfs and cfdisk should be there, you must be logged in as root, it should be in /sbin directory
try man mkfs, man cfdisk
 
Old 06-26-2005, 06:00 AM   #5
emokid
LQ Newbie
 
Registered: Jun 2005
Posts: 13

Original Poster
Rep: Reputation: 0
ummm. can you please explain what i'm meant to do??
 
Old 06-26-2005, 07:30 AM   #6
hlpboplz
Member
 
Registered: May 2005
Location: West Central Alabama
Distribution: Fedora Core 4
Posts: 34

Rep: Reputation: 15
Quote:
Originally posted by emokid
ummm. can you please explain what i'm meant to do??
From what I understand about what you want to do. Put the drive in the machine and boot up. Once you get into linux at a bash prompt type cfdisk and take it from there. The fdisk on a Window$ boot disk will not work.
 
Old 06-26-2005, 07:45 AM   #7
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Remember when invoking cfdisk and or fdisk, you have to specify the drive.

If its going to be the secondary drive on the primary controller.. it would be /dev/hdb

So doing:

cfdisk /dev/hdb

Would launch cfdisk to start editing your partitions for your disk. I've installed Xandros once and it seemed pretty limited to what is installed, do a locate or whereis for cfdisk to see if it's actually installed.

And if you want to get rid of the logical crap fdisk outputs when trying to use that, you can always wipe the partition info from the drive by doing a:

dd if=/dev/zero of=/dev/hdX bs=1024 count=1024

But be very careful not to invoke that command on any drive you have data you intend to keep. And the X represents the drive letter, depending on what controller the drive is connected to.
 
  


Reply



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
Formatting a Hard Drive dudeman41465 Linux - Software 3 10-13-2005 04:09 PM
Hard-drive formatting kc0bus Linux - Newbie 5 07-02-2005 12:14 PM
Formatting Hard Drive baber_abbasi Linux - Software 2 01-04-2005 08:41 AM
Problem Formatting 2nd drive sharay Linux - General 4 03-14-2004 04:34 AM
Formatting hard drive... Linux~Powered Linux - Hardware 1 02-09-2004 04:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:00 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
Open Source Consulting | Domain Registration