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 01-12-2004, 06:35 PM   #1
Boomba
Member
 
Registered: Jan 2004
Distribution: Fedora Core 4
Posts: 57

Rep: Reputation: 15
win xp and redhat 9


hi

I have to start using linux for my school computer science projects and I know very little about it..could some one give me detailed steps on how I can safely install red hat 9 and still have a dual boot between it and windows xp? I have partition magic and I also have 120 gb hard drive.. i'm only using linux for little programming assignments so the less space it takes the better.

thanx in advance,
Boomba
 
Old 01-12-2004, 06:43 PM   #2
drknow
Member
 
Registered: Jan 2004
Distribution: Shrike (RH9)
Posts: 73

Rep: Reputation: 15
I never had much luck with partition magic, but it is *supposed* to resize your windows partition. If it locks up on your computer like it did to mine, just use fdisk or something to partition, and then install xp on the first partition. Then install linux (make sure to have a swap partition). Make sure to go in that order, or you will have to reinstall your boot loader after windows "takes over". I would probly give linux at leat 5 gigs(for everything) and make the swap partition twice the size of your memory. If you need any more help, you are at the right place. Welcome to LQ Boomba . Hope this helps.
 
Old 01-12-2004, 06:48 PM   #3
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
All I did with Partition Magic was to create an empty folder. I then booted from my Linux distro cd and pointed it at the empty space (at the prompt, of course ), it installed to that space and then configured the boot manager.

Note: other users on LQ have reported problems if you specify the empty space as "Linux formatted", I didn't but you may want to bear that in mind.

And Welcome to LQ -
 
Old 01-12-2004, 06:57 PM   #4
TheOneAndOnlySM
Member
 
Registered: Jul 2003
Location: Dallas, TX
Distribution: Ubuntu 10.04 LTS
Posts: 987

Rep: Reputation: 30
With Partition magic, all you really need to do is resize your winxp partition down a about maybe 10 gigs, and usually not even that much

what distro do you plan to use? that will help determine how much space you should have, but 10 gigs for everything (including /boot, /, and SWAP) is a good starting point

some distros like it when you have PM label the area as linux formatted or ext3, but others do not; Redhat prefers that you not so that the installer can do it automatically, but slackware doesn't care because it will just use the partitions and format it again

normally, the safest way to partition the empty space is /, SWAP (2x your ram, but be realistic, don't use more than 512 megs for swap), and /boot is recommended as a separate partition with 100 megs allocated for it
 
Old 01-12-2004, 07:03 PM   #5
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
keep in mind to defrag the partition before trying a resize w/any program. defrag should move all data to the front of the drive. w/out a good defragging, expect problems.
good luck.
 
Old 01-12-2004, 09:50 PM   #6
Boomba
Member
 
Registered: Jan 2004
Distribution: Fedora Core 4
Posts: 57

Original Poster
Rep: Reputation: 15
thanks for the suggestions and welcome everyone!

now I have many dumb quesions..hehe...what is a distro?... all i know is I have 3 red hat 9 cd's (which I downloaded from the linux web site) and I just wanna make a new partion and install linux on it. I dont understand why i need to make a "swap partition." I already have windows xp installed..i just wanna add linux now.

wow this sounds more complicated than I thought

thanx for your help in advance
Boomba
 
Old 01-12-2004, 10:24 PM   #7
michaelk
Moderator
 
Registered: Aug 2002
Posts: 15,270

Rep: Reputation: 1625Reputation: 1625Reputation: 1625Reputation: 1625Reputation: 1625Reputation: 1625Reputation: 1625Reputation: 1625Reputation: 1625Reputation: 1625Reputation: 1625
Have you read the install documentation @ Redhat's website? True, linux is a little more complicated then windows.

Redhat's default install actually creates 3 partitions.
/boot
/ (root)
swap

A swap partition is virtual memory. The same thing as a windows 386.swp file for windows 98 or a page file for NT,W2K. When you run out of physical memory idle applications and data will be swapped to the hard drive. A swap partition is faster then a file. The old rule of thumb of 2X RAM is IMO outdated. 512mb is sufficient for most desktop installs and you probably will not use much if any. But having it is better then not because if you don't have any and you run out of memory the OS will crash.

So in a nutshell:
Read install documentation
Defragment hard drive
Resize existing windows partitions. I would allow at least 6gb for RH install
Select create auto partition using free space.
Install

A distro i.e. distribution is the linux kernel plus associated applications and utilities all packaged together. See www.distrowatch.com and www.linuxiso.org.
 
Old 01-12-2004, 10:41 PM   #8
Conpen2000
LQ Newbie
 
Registered: Jan 2004
Location: Vail and Denver, CO
Distribution: Fedora Core 2 (Home) / RH9 (Server)
Posts: 28

Rep: Reputation: 15
If you want it to take up little space, try a Live distro that works off of a CD, like ZipSlack, or DamnSmallLinux. If your only doing programming (do you want the GUI?), it should suffice without you having to partition anything.
 
Old 01-12-2004, 11:12 PM   #9
Jose Muņiz
Member
 
Registered: Jul 2003
Location: Mexico City
Distribution: Slackware 9.1, SuSE 9.1
Posts: 248

Rep: Reputation: 32
You can create a small Fat32 or Ext3 partition where you can place files from a Live CD Distribution. In that way you can store your programs, etc. And still it will take 10 MBs or something like that Just for keeping your docs.

Or you can use a USB Stick and run a Live CD Distribution. In that way you can store the info in the Stick
 
Old 01-12-2004, 11:26 PM   #10
silverbear
LQ Newbie
 
Registered: Jan 2004
Posts: 25

Rep: Reputation: 15
Those are valid questions Boomba. A distro is a Distribution ie Mandrake, Red Hat, Dabian, etc. And windows uses a swap file Linux wants a "Drive". It's not all that difficult once you get the lingo used around here down... Red Hat should work fine for your intent. You could install everything on the linux RedHat CD (Distro ) just a little over 5GB, but you could install what you need and a little more for a whopping 2GB (A little over what windows uses for a basic install). Just make a little over 5GB of space and let RedHat do the rest for you. You could use Ghost or something to back-up your windows just to make sure you don't loose anything, but I haven't had any issues with Red Hat or Mandrake when I install them on other computers running Windows XP yet and I have to have installed both a dozen or more times. (I've had more issues with windows, pop-ups, and viruses bombing my system. Welcome to LQ once again... Have fun with your new project.

Silver Bear
 
Old 01-13-2004, 10:36 AM   #11
Boomba
Member
 
Registered: Jan 2004
Distribution: Fedora Core 4
Posts: 57

Original Poster
Rep: Reputation: 15
ok thanx guys! read the documentation and defraged

just got a few more questions from what i read in the documentation:

1)Can I just use automatic partitioning to partion on my new partition rather than manual with disk druid?

2)which is a better bootloader GRUB or LILO?

3) when I create my new partition for linux what file sytem type should I use? (I have three choices that p-magic gave me: ext2, ext3, swap).

thanx in advance
Boomba,

Last edited by Boomba; 01-13-2004 at 10:42 AM.
 
Old 01-13-2004, 11:04 AM   #12
lemuel
Member
 
Registered: Nov 2003
Location: Cebu, Philippines
Distribution: Ubuntu
Posts: 73

Rep: Reputation: 15
Quote:
Originally posted by michaelk

Redhat's default install actually creates 3 partitions.
/boot
/ (root)
swap

Um... I'm a new one too. could you guys pls. also answer my dumb question?

I've read that you can only have 4 partitions for one hard disk. If Linux eats up 3 partitions, does that mean windows is left only one?

What if my windows has 2 partitions on my hard disk ( C: and D: ). does that mean I will have to remove my 2nd partition to be able to install Linux?
 
Old 01-13-2004, 12:19 PM   #13
Boomba
Member
 
Registered: Jan 2004
Distribution: Fedora Core 4
Posts: 57

Original Poster
Rep: Reputation: 15


should I even be using partition magic? here is what I am about to do..if this is wrong can someone let me know so I dont blow it

1)create a new partition using space from my big C: drive.

2)then put the cd in and select auto partition to install to my new partition (assuming that the install will give me an option to select my new partition)
-the auto partition divides my new partition into three partitions (am I right?)

3) then I have linux

i'm sorry if I'm wrong about the above this is my understanding of it from reading the documentation..if I'm incorrect can you please correct it?

thanx again,
Boomba
 
Old 01-13-2004, 02:20 PM   #14
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
Yep - that sounds about right. You also have the choice of 3 types of desktop to install (personal, workstation and scientific (I think)), or about 4 types of server and a couple of other choices. You can then whittle your choices down to less or more packages within the install. For a first time install, I would choose the Workstation and allow it to make the choices for you. Once you are more comfortable with it all, you can fiddle with the install or go for a different distro.
 
Old 01-13-2004, 04:06 PM   #15
Boomba
Member
 
Registered: Jan 2004
Distribution: Fedora Core 4
Posts: 57

Original Poster
Rep: Reputation: 15
ok i did what I said I would do above...but I get a problem..

when i select auto partition I get this error:

could not allocate requsted partitions
partitioning failed: could not allocate partitions as primary partitions

(then is goes on to say...)

You have not defined a root partition which is required for installation
of Red Hat Linux to continue.

well i know that my new partition is primary and I dont know why its bothering me aobt the /root before I even partition...any ideas as to what i'm doing wrong?
 
  


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
WIN XP + redhat routing... turbo1 Linux - Networking 1 03-23-2004 07:29 PM
Win XP and Redhat mairu Linux - Newbie 3 12-03-2003 03:08 PM
Win XP and Redhat 7.2 dai Linux - General 5 07-31-2002 11:17 AM
win xp and redhat 7.2 Mimician Linux - Newbie 1 11-22-2001 01:06 PM
Win me & RedHat uttamsaxena Linux - Software 1 08-26-2001 02:15 PM


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