LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 07-22-2005, 11:43 PM   #1
jrgin
LQ Newbie
 
Registered: Jun 2005
Posts: 3

Rep: Reputation: 0
installing a hard drive for Linux


I want to install a new hard drive onto my PC, an HP media center PC, and then I want to install Linux on that drive so that I can have Windows and Linux on my machine. I don't know anything about 1) what kind of hard drive to get, 2) how to install it, or 3) how to get my computer to switch between hard drives. Any advice would be appreciated.

Thanks
 
Old 07-23-2005, 12:23 AM   #2
jaz
LQ Newbie
 
Registered: Apr 2004
Location: midwest
Distribution: fedora core 1
Posts: 12

Rep: Reputation: 6
RE:

any hardrive will work, installing is only a matter of opening the case, putting it in (there are books, magazines and online content you can browse that will show you that) setting your first harddrive to master and the second to slave. And then installing linux and letting GRUB manage your Windows and Linux partitions. If you have partition magic that would be even better.
 
Old 07-23-2005, 05:44 AM   #3
hardcorelinux
Member
 
Registered: Jan 2005
Location: India
Distribution: RHEL,CentOS,SUSE,Solaris10
Posts: 183

Rep: Reputation: 31
Set your hard disks as per the Jumper Settings of the hard drives.And try to installl windows first and after that linux,then linux boot loader(lilo or grub) will take your windows installations also.
 
Old 07-23-2005, 06:39 AM   #4
1337_penguin
Member
 
Registered: Jul 2005
Location: Brighton, UK
Distribution: Mainly Debian and Mepis, but also Slackware, Arch and Mandriva
Posts: 73

Rep: Reputation: 15
Hi

The drive in your system will either be IDE or SATA, check the documentation that came with your system, watch the POST screens (if it says Primary Master, Primary Slave, etc. it's IDE, otherwise check wether the SATA controller reports rgar it has any device connected to it) or opwn up your box and check. Then buy a drive using the required interface. To install, boot from your distro CD and choose to install it on your new drive (eg. hdb for an IDE drive as a slave on the primary IDE channel). When partitioning, make a partition twice the size of your RAM to use as swap (type 82) and making the rest the root partition should be sufficient. LILO/GRUB will brobably be installed to the MBR of the first drive, allowing you to boot iinto Windows as well (if not, just edit /etc/lilo.conf or /erc/grib.conf as appropriate).

Hope this helps.

1337_penguin
 
Old 07-23-2005, 07:09 AM   #5
RanDrake10
Member
 
Registered: Oct 2004
Location: Florida
Distribution: Debian
Posts: 319

Rep: Reputation: 30
You could partition the first drive for Windows & Linux, then set the second drive as "My Documents" for windows, and "/home" for Linux. This will give you one place to store all your data and make reinstalling the OS quick and easy.
 
Old 07-23-2005, 07:26 AM   #6
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Quote:
Originally posted by 1337_penguin
LILO/GRUB will brobably be installed to the MBR of the first drive, allowing you to boot iinto Windows as well (if not, just edit /etc/lilo.conf or /erc/grib.conf as appropriate).
After editing lilo.conf, you'll need to run /sbin/lilo (that's where it is on my system) and the same will probably apply to grub.conf (different executable though, obviously).
 
Old 07-23-2005, 07:31 AM   #7
1337_penguin
Member
 
Registered: Jul 2005
Location: Brighton, UK
Distribution: Mainly Debian and Mepis, but also Slackware, Arch and Mandriva
Posts: 73

Rep: Reputation: 15
Oh yeah, I forgot about running /sbin/lilo or whatever, I always forget to tun it anyway - it's usually only when I reboot and find that some change hasn't taken that I remember! lol
 
Old 07-25-2005, 10:29 AM   #8
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 233Reputation: 233Reputation: 233
If you want to be able to restore your box to its original condition, then make sure to:
  • Either re-jumper the orig. drive to "Slave" & the new one to "Master";
  • or, adjust the BIOS to boot from the new drive.
That way the MBR on the orig. drive will not be disturbed & you will not have to restore it when returning to the orig. configuration.
 
  


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
installing linux from the hard drive murshed Linux - General 5 09-29-2006 02:10 AM
Installing grub to external USB hard drive for later use as internal hard drive dhave Linux From Scratch 2 12-10-2005 08:48 AM
Installing Linux on a Hard drive with XP n8408 Linux - Newbie 3 09-24-2004 03:10 PM
installing linux on a second hard drive radiolinux Linux - Software 6 12-24-2002 01:08 PM
installing linux on an empty hard drive cestor Linux - General 5 05-28-2002 11:03 AM


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