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 12-01-2007, 02:29 PM   #1
itsmesee
LQ Newbie
 
Registered: Dec 2007
Posts: 12

Rep: Reputation: 0
Need help getting into linux?


Okay im new to linux, how new... well i havent even installed it yet.

Here's the problem. I dug an old pc out the closet and descided i want to learn linux, but its running windows xp. I would like to try and keep xp on it incase all else fails i still have a pc i can use for something.

However i ran into two suggestions on this so far. To setup virtual servers on my desktop. Or to dual boot.

I only have one harddrive so i would have to partition it i guess and then dual boot from the separate partitions?

So here is the other problem. Ive never partitioned a hard drive and ive never dual booted before. So i have no idea where to begin.

Please help i have all these great linux books i just bought and nothing to practice this stuff on
 
Old 12-01-2007, 02:51 PM   #2
AceofSpades19
Senior Member
 
Registered: Feb 2007
Location: Chilliwack,BC.Canada
Distribution: Slackware64 -current
Posts: 2,079

Rep: Reputation: 58
Its relatively easy to set up a dual-boot, just defrag windows a few times, then boot up a linux cd and make the partition smaller, and then set up a root partition(where all the stuff goes) a swap(in case you run out of ram) and then the linux distro should set up the dual-boot for you, if not, we can help you
 
Old 12-01-2007, 03:04 PM   #3
itsmesee
LQ Newbie
 
Registered: Dec 2007
Posts: 12

Original Poster
Rep: Reputation: 0
cd prompts

So the cd will prompt me through all of this?
Next time i boot does it ask me from which partition automatically or do i have to stop it on boot and tell it.

Im going to be installing CentOs 4 single server
 
Old 12-01-2007, 03:23 PM   #4
CouchMaster
Member
 
Registered: Mar 2005
Location: West Texas
Distribution: Sidux - Mint - PC Linux - Ubuntu 7.04 - Mepis 7 Beta5 - DreamLinux 2.2
Posts: 234

Rep: Reputation: 33
I would do a few things first -
1. Download and burn you a GParted disk
2. Use it to resize the windows partition - when this is done remove the GParted disk and reboot the computer, letting windows reset its file allocations and make sure it runs - then put the GParted disk back in and reboot
3. Make the free space an extended partition
4. Make two partitions in the extended space - one of them a 1 gig linux swap and format the other to ext3 - GParted will tell you the names of the partitions...WRITE them down...the big one where you will install Cent will be something like hda4 or hda5 - when installing it will ask where? And you need to know what to tell it - and let it write grub to the mbr
5. Google CentOS and learn about installing it, and Google GParted to learn how to use it FIRST
Do this and you will dual boot with zero problems.
 
Old 12-01-2007, 04:02 PM   #5
itsmesee
LQ Newbie
 
Registered: Dec 2007
Posts: 12

Original Poster
Rep: Reputation: 0
k, sounds good.. Im going to give this a try and see how all goes.
 
Old 12-01-2007, 05:36 PM   #6
itsmesee
LQ Newbie
 
Registered: Dec 2007
Posts: 12

Original Poster
Rep: Reputation: 0
Okay, before i get started with this i noticed something on my pc i dont have one c drive, i have a c drive which is the largest and a d drive which im assuming is mostly just windows.. Does this change anything to how i need go about this?
 
Old 12-01-2007, 05:50 PM   #7
AceofSpades19
Senior Member
 
Registered: Feb 2007
Location: Chilliwack,BC.Canada
Distribution: Slackware64 -current
Posts: 2,079

Rep: Reputation: 58
Quote:
Originally Posted by itsmesee View Post
Okay, before i get started with this i noticed something on my pc i dont have one c drive, i have a c drive which is the largest and a d drive which im assuming is mostly just windows.. Does this change anything to how i need go about this?
windows usually installs to the "C:\" drive. Are the 2 drives actual different harddrives or are they paritions?.
 
Old 12-01-2007, 05:53 PM   #8
itsmesee
LQ Newbie
 
Registered: Dec 2007
Posts: 12

Original Poster
Rep: Reputation: 0
They are separate physical drives all my window files appear to be on C, but what would D be... its rather small. I know little about pcs im just trying to learn linux cause i hate Microsoft, especially vista.
 
Old 12-01-2007, 05:58 PM   #9
AceofSpades19
Senior Member
 
Registered: Feb 2007
Location: Chilliwack,BC.Canada
Distribution: Slackware64 -current
Posts: 2,079

Rep: Reputation: 58
Quote:
Originally Posted by itsmesee View Post
They are separate physical drives all my window files appear to be on C, but what would D be... its rather small. I know little about pcs im just trying to learn linux cause i hate Microsoft, especially vista.
D would be a data drive, I presume
 
Old 12-01-2007, 06:07 PM   #10
CouchMaster
Member
 
Registered: Mar 2005
Location: West Texas
Distribution: Sidux - Mint - PC Linux - Ubuntu 7.04 - Mepis 7 Beta5 - DreamLinux 2.2
Posts: 234

Rep: Reputation: 33
Maybe I've mis-read the post and I'm mistaken, I don't have a windows computer in front of me to check, but isn't the D drive the CD player?
 
Old 12-01-2007, 09:39 PM   #11
AceofSpades19
Senior Member
 
Registered: Feb 2007
Location: Chilliwack,BC.Canada
Distribution: Slackware64 -current
Posts: 2,079

Rep: Reputation: 58
Quote:
Originally Posted by CouchMaster View Post
Maybe I've mis-read the post and I'm mistaken, I don't have a windows computer in front of me to check, but isn't the D drive the CD player?
if you have two harddrives, or two paritions it isn't
 
Old 12-02-2007, 01:09 PM   #12
itsmesee
LQ Newbie
 
Registered: Dec 2007
Posts: 12

Original Poster
Rep: Reputation: 0
Okay, what if i just delete windows all together would this be easier, how to just get rid of windows and make it a centos only server??

Will all my hardware still work?
Im afraid of switching to centos and not being able to utilize any of my pc.
 
Old 12-02-2007, 01:14 PM   #13
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
You can always reload windows on it if you don't like Linux, or it doesn't work out for you..

Switching a machine to Linux isn't a permanent or one-way operation..
 
Old 12-02-2007, 01:58 PM   #14
AceofSpades19
Senior Member
 
Registered: Feb 2007
Location: Chilliwack,BC.Canada
Distribution: Slackware64 -current
Posts: 2,079

Rep: Reputation: 58
Quote:
Originally Posted by itsmesee View Post
Okay, what if i just delete windows all together would this be easier, how to just get rid of windows and make it a centos only server??

Will all my hardware still work?
Im afraid of switching to centos and not being able to utilize any of my pc.
You could try running a centos livecd to see if it will work
 
Old 12-02-2007, 02:33 PM   #15
mossy
Member
 
Registered: Aug 2003
Location: USexIRL
Distribution: *nix
Posts: 849

Rep: Reputation: 30
Try a live CD for hardware compatibility testing. Wipe the partitions, make new partitions, install linux, install windows.

Here's how to do this:
1) Download a linux Live CD and burn and the iso image to CD. I recommend PClinuxOS, Mint, or ubuntu as an easy distro to start with. Insert the CD and boot your PC...it should load everything and know you will know if that version of linux will work on your old PC. Older harware may be trickier as nowaday the old driver packages may or may not be included in the linux distro...most just have the newer drivers but you will know when you try the live CD.

2) If all goes well then install the Live CD to your harddrive. If you chose PClinuxOS there is an icon on the desktop to start you off...if using other live cd distros use the method they have for this.

3)
a) When installing it will ask you for your partitioning preferences...delete ALL partitions (will WIPE current windows installations).
b) Create the FIRST partition for your windows install - start it at the BEGINNING of the hard drive!!! Choose your size ensuring you have included the FIRST cyclinder (beginning block) for windows.
c) Create a boot partition (/boot) of about 100mb
d) Create a /swap partition of about twice the size of your RAM installed.
d) Create the root partition next ( / )and then any other partitions you want. You don't need to make any others to have it work but there are many reasons to make other partition depending on your needs. Google it for more info if you want. If your only making a / partition have it fill the rest of the disk.
e) DO NOT FORMAT THE WINDOWS PARTITION. Format the rest with with ext3 (extended 3). /swap will take care of itself.

4) Pick your boot loader (grub or lilo) and install it but DO NOT INSTALL IT IN THE MBR (choose other option)!!!
5) Continue and finish your linux installation (easy)
6) When all is done...install windows. For the windows partition select the UNFORMATTED partition and format is as NTFS.
7) Finish windows installation.

8) Learn linux

Last edited by mossy; 12-02-2007 at 02:36 PM.
 
  


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



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

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