Linux - NewbieThis 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!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
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
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
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.
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.
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:
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
/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.
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 -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 -t ext3 /dev/hda1
to make swapspace, you use the command:
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