LinuxQuestions.org
Review your favorite Linux distribution.
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 10-21-2004, 04:29 PM   #1
Dharma_bum07
LQ Newbie
 
Registered: Oct 2004
Posts: 9

Rep: Reputation: 0
Formatting a drive with Linux Mandrake 10.1


I'm trying to partition & format my new seagate barracuda 200 gig drive with Linux Mandrake 10.1. I'm a & not sure where to start. I had Mandrake 10.1 on 1 of my other drives a while back (also a 200 gig barracuda), but the drive burned up & i hadn't tried using Mandrake since then. I know that it burned up because i made a really lame newbie mistake. I turned the machine on & left the drive sittin' on the table that i was working on. Eventually it got to hot & poof... smoke... DERRR... stupid! stupid, stupid, i know.
Originally, a friend of mine formatted & partitioned the drive for me. I had 57 gigs of data from another drive (which had Windows 2000 on it) that we transferred to the larger drive, so he created a rather large fat32 partition. The problem is that i live on an island & there's not much in the way of tech help. My friend that did this for me, lives very far away & i'm startin' over from scratch & I have no clue how to proceed.
I have 2 drives that I would like to put on 1 machine (1 with Windows ME & Linux Mandrake on the Seagate Barracuda). I would like to use Linux Mandrake gradually, little by little, but untill i'm comfortable w/ it, i'd still like to be able to use Windows. Now, i'd like to use GRUB instead of LILO as a bootloader. I remember that he told GRUB to boot Mandrake 1st from hdd0 (i think), & for Windows to boot off another drive. I dont remember the commands he used when he did this, or how he went about doin' it.
I realize that these are 2 separate issues, however i thought they should be mentioned together, in case there's somethin' that i need to do early on in the installation that relates to the bootloader. I did connect the new seagate 200 gig drive. I popped in disc 1 of Mandrake 10.1 & it looks like its not recognizing much of the hardware. Towards the end it says: "Good News! Linux cd found". Then it does a few more things & it says that its tryin' to load somethin' as ram & then it just hangs there & does nothing.
So there are a few things that i'd like to accomplish here, however i know that i need to partition & format the drive, before i can get anywhere. I realize this is alot, & thank everyone in advance for their patience, time, & effort
 
Old 10-21-2004, 05:21 PM   #2
penguin4
Senior Member
 
Registered: May 2004
Location: california
Distribution: mdklinux8.1
Posts: 1,209

Rep: Reputation: 45
dharma_bump07; question? does ur seagate dr have a disk cd for purpose of
installing? that may have the primary partition and formatting u need to finalise the installation of mdk. if not try
seagate,s website for support & guidance. u r correct harddrive needs to be partitioned and formatted prior to installing any os. once that is accomplised then to install mdk & app,s those also have to be partitioned for use. advice go slow methodically with confidence. just read everything u can
to help comprehend before commiting to
installations.
 
Old 10-21-2004, 05:26 PM   #3
fenderman11111
Member
 
Registered: Jun 2004
Location: Denton
Distribution: debian, freebsd
Posts: 121

Rep: Reputation: 15
edited.. i have a bad habit of not being clear enough :-\

okay... to get comfortable using linux day to day... you need to get yourself well-aquainted with the command line. http://www.tldp.org is a good place to start for pretty much anything.

useful commands for hd formatting:

fdisk or cfdisk for parititioning (i would go with cfdisk if i were you).

um... mkfs is the program to format with. do mkfs --help to see supported filesystems. i would do ext3 though.

-----

i don't quite understand what you're trying to do... I'm getting that you ahve windows installed already and you want mdk on a secondary drive... one that is blank? and mandrake isn't recognizing your hardware?

well... if you haven't ever what you need to do is download Knoppix. it is one of the more useful linux tools for system recovery/troubleshooting etc. ... pop it in and at boot type knoppix 2 (to launch you into a terminal). type 'cfdisk /dev/hdx' where x is the letter of the drive you want to partition... make your partitions.

then use mkfs to format.

hope that helps...

Last edited by fenderman11111; 10-21-2004 at 05:37 PM.
 
Old 10-21-2004, 10:04 PM   #4
Dharma_bum07
LQ Newbie
 
Registered: Oct 2004
Posts: 9

Original Poster
Rep: Reputation: 0
All i want to do is install mandrake on the new seagate drive. I want to create a large fat32 partition, so that i can put 57 gigs of data (from an old drive), onto the seagate, along with mandrake as the OS. I have another, separate drive that i would like to use in conjunction w/ the seagate. I would like to use GRUB to dual boot Linux from the new Seagate drive & Windows from the other drive. Of course i need to format & partition the new drive before I can do anything. The seagate did come w/ directions that say to download an app from the seagate site, but when i went to the site & looked at it, it was only talkin' about Windows & fat32 partitions (Nothing about Linux). Now, i dont want the entire drive to be fat32, just a portion of it, so it can hold data that came from a drive (which was formatted w/ windows 2000) So, i probably need to make a 65 gig fat32 partition, but from here, i'm not sure what to do. I'm not even sure how much room i should save for Mandrake.
Thanks for the link to the Linux commands, I really needed somethin' like that. I'm familar w/ Knoppix, but i only tried a demo version of it a long time ago. Would it be easier to download & use knoppix, or should i try usin' that app on the seagate site, (since i was given no disc w/ the seagate drive)? I was hoping that i could just use Linux to format the new drive & make the fat32 partition, because like i said, i dont want the entire drive to be fat32, just a portion of it (for old files). Once i get the drive partitioned & formatted w/ Linux, then i'd like to connect another drive (that has windows) & use GRUB to dual boot. I would like for Linux to boot 1st (this drive will be connected to my board as primary master) & (the other drive with windows as the secondary slave). So, when i power on the machine, the bootloader will list Linux 1st & Windows 2nd. Before i can do any of that though, i need to format the new drive with a large fat32 partition. Also to make 1 thing clear, yes, i'm trying to put Linux Mandrake on a brand new blank drive, but i would like to create a large fat32 partition (for some old files). I would like to use Linux Mandrake as the operating system & create a large fat32 partition for some old files. If you really think i should use knoppix, could you show me where i could find the iso's for it? Thanks ALOT for your time, & i will look over the page on the command prompt.
 
Old 10-22-2004, 02:11 PM   #5
Dharma_bum07
LQ Newbie
 
Registered: Oct 2004
Posts: 9

Original Poster
Rep: Reputation: 0
Ok, i just dl'd Knoppix 3.6 via bit torrent. It seems ta be a handy lil' device (providing i learn how ta use it). I have a question though... You said to: cfdisk /dev/hdx & that "x" is the letter of the drive that i want to partition. In my bios the seagate hard drive would be listed as HDD-0, so would i type it like this: cfdisk /dev/HDD-0? or would it be cfdisk /dev/hdd0 or cfdisk /dev/hdc? Down the road when i use grub & i want it to boot Linux off the seagate drive, i would tell it to use hdd0 as well, correct?
As for mkfs, i found a page that said ta type it like this:
mkfs.FILESYSTEM /dev/DEVICE
Is this correct? Will this format the drive? Don't i need to format 1st w/ mkfs before i partition w/ cfdisk? Also what did you mean by ext3? When i go to format, will it give me an option of ext2 or ext3? Thanks again everyone for your help
 
Old 10-22-2004, 02:32 PM   #6
penguin4
Senior Member
 
Registered: May 2004
Location: california
Distribution: mdklinux8.1
Posts: 1,209

Rep: Reputation: 45
dharma_bum07; for guidance u need this books: Linux Complete se edtion pub by Sybex & Customizing and Upgrading Linux by Linda & Al McKinnon
pub Wiley. am a newbie n use always.
good references.
 
Old 10-22-2004, 04:03 PM   #7
fenderman11111
Member
 
Registered: Jun 2004
Location: Denton
Distribution: debian, freebsd
Posts: 121

Rep: Reputation: 15
ok sorry i wasn't clear enough

for ide devices you have

/dev/hda which refers to the first drive;
/dev/hda1 refers to first ide drive, first partition.

there is also hdb, hdc, and hdd.

so what you're going to want to do is knoppix, and assuming empty seagate drive on ide0.

cfdisk /dev/hda

and then partition the way you would like...

with such a big drive you might want to break the linux part up into pieces, read the linux-howto on tldp.org for partitioning tips. but at very least you need a linux root partition and a swap partition (virtual memory), and then the last 57gb partition.

rule of thumb: the swap partition needs to add up with your physical mem to equal a 1GB. If you have a gig, you might as well make the swap parition a gig. you shouldn't need more than that, though.

Yes, in knoppix you can format a fat32 (vfat) partition.
to format fat32, do:

mkfs.vfat /dev/hda3

mkfs -t vfat /dev/hda3

(they are identical)

that's assuming that the windows partition is the third one on the disk.
you can format the other with either:

mkfs.ext3 /dev/hda1

or

mkfs -t ext3 /dev/hda1

to make swapspace, you use the command:

mkswap /dev/hda2

hopefully, that should cover everything that you _need_ to get your drive formatted. However I would strongly recommend reading up at http://www.tldp.org before going through with it... definitely read the linux-howto.

most importantly, don't get frustrated. just have fun setting it up
 
Old 10-22-2004, 04:07 PM   #8
fenderman11111
Member
 
Registered: Jun 2004
Location: Denton
Distribution: debian, freebsd
Posts: 121

Rep: Reputation: 15
oh one more thing...

when you partition your drive, don't forget to make /dev/hda1 bootable
 
  


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
Formatting Hard Drive baber_abbasi Linux - Software 2 01-04-2005 09:41 AM
formatting hard drive and re-installing linux henrikanttonen Linux - Newbie 1 08-08-2004 07:23 AM
i need help formatting a drive scorpion777 Linux - Newbie 3 08-06-2003 11:36 PM
formatting a drive with win & linux??? tzvik Linux - General 1 06-09-2003 11:07 AM
Formatting my C: drive, will Linux remain? EviLBoX Linux - General 1 09-26-2002 06:30 PM


All times are GMT -5. The time now is 10:49 AM.

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