LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   HELP!!! Load Linux on another HD (https://www.linuxquestions.org/questions/linux-newbie-8/help-load-linux-on-another-hd-512628/)

kurt0375 12-21-2006 12:59 PM

HELP!!! Load Linux on another HD
 
hi i need help. i currently have xp on a pc and have just bought a second hand maxtor 20gb hdd. i would like to keep xp on the other hdd and put linux ubuntu on the 2nd hard drive (Slave)how do i do this??
kurt

pljvaldez 12-21-2006 01:12 PM

Plug it in as the slave, boot the Ubuntu CD and then install to hard drive. You'll want to install to /dev/hdb (or /dev/sdb if it's a SATA drive). When it prompts, you'll want to install GRUB to the MBR of the first hard drive (/dev/hda). When it's done, reboot and be happy...

kurt0375 12-21-2006 01:26 PM

so will that allow me to run xp on the master and linux on the slave?

pljvaldez 12-21-2006 02:59 PM

Yup. It will.

kurt0375 12-21-2006 03:01 PM

thanx i will try it now

Robert Diggs 12-21-2006 03:01 PM

Kurt,

Do as Valdez said with the hard drive and plug it in as the slave. After that, go into BIOS and boot from the CD. When you get into the installation, it'll ask which disk you want to put the OS on. You'll see the XP disk as /dev/hda1 and then the new disk (slave disk/your 20GB Maxtor) and it'll show up as /dev/hdaX (x being whatever number it shows up as) and you'll want to choose that one. Then you'll have to install grub. Grub is a boot loader that allows you to choose which operating system you want to boot. If you're unfamiliar with how to install Grub, alternately, you can change the boot order in BIOS. You can change it to boot from the secondary drive, which will boot Linux. Using Grub is easier as it does all of the work for you, you just choose the operating system you want to use.

Regards,

Brandon

pljvaldez 12-21-2006 03:04 PM

Quote:

Originally Posted by Robert Diggs
You'll see the XP disk as /dev/hda1 and then the new disk (slave disk/your 20GB Maxtor) and it'll show up as /dev/hdaX (x being whatever number it shows up as) ...

Actually, it should show up as /dev/hdX (/dev/hdb, /dev/hdc, etc) since /dev/hdaX will be a partition on the first physical drive.

Robert Diggs 12-21-2006 03:13 PM

Good catch. I was testing you, lol.


All times are GMT -5. The time now is 02:58 PM.