View previous topic :: View next topic |
Author |
Message |
justin82 n00b
Joined: 03 Feb 2006 Posts: 28
|
Posted: Mon Jul 10, 2006 11:06 pm Post subject: Installing Gentoo on a spare hard drive |
|
|
Hello, currently I have a computer with two hard drives in it. One seagate 80gb holds the install of windows and another seagate 80gb for movies and such. I recently found a maxtor 120gb that I want to install gentoo on. but the last time I tried it grub went schizo and started confusing the 2 seagate drives (i assume b/c they are the same type of drive)
So I guess my question is: Is there any reason why this wouldnt work, and could you share any info on how to to it right.
My thought process was, hook up the 120 maxtor. Make the bios recognize the maxtor as the boot drive, and tell grub where the other two 80gb drives are. (simple enough) but it just doesnt like that.
Does it make a difference if the livecd sees the drives in different order than the boot?
ex
/dev/sda <--- 1st 80gb
/dev/sdb <--- 2nd 80gb
/dev/sdc <--- maxtor
should the maxtor be /dev/sda for it to work right? |
|
Back to top |
|
|
Spherical Tux's lil' helper
Joined: 06 Jul 2006 Posts: 99 Location: Enschede - Netherlands
|
Posted: Mon Jul 10, 2006 11:12 pm Post subject: |
|
|
No, be aware that in Grub, disk hda is hd0, hdb is hd1 and hdc is hd2. That's all.
here's a part of my Grub:
Code: | #Kernel 2.6.16-r12
#splash
splashimage=(hd1,0)/boot/grub/splash.xpm.gz
#Naming and location of kernel
title=Gentoo Linux 2.6.16-r12
root (hd1,0)
kernel /boot/bzImage-2.6.16-r12 root=/dev/hdb3 video=vesafb:1024x768-32@80,mtrr,ywrap splash=verbose,theme:Gentoo-Hornet CONSOLE=/dev/tty1
initrd (hd1,0)/fbsplash-Gentoo-Hornet-1024x768
|
You need for the root make sure you call the right disk and then partition (in my case, the second disk (hdb, which is hd1) and off that, the first partition (0 ) )
then, make sure, as compared to this part, all is pointing to the correct disk and partition. Then it shouldn't be a problem. Disk branding or type has no influence, since grub depends on BIOS input, not disknames/types. |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54304 Location: 56N 3W
|
Posted: Mon Jul 10, 2006 11:13 pm Post subject: |
|
|
justin82,
Are they really SCSI/SATA or IDE drives.
If the BIOS can tell your to 80G drives apart, so can grub because it pickes up the IDs from the BIOS.
Add the 3rd drive and all should be well, install gento on it, put grub on its MBR, make your BIOS boot from this new drive.
edit grub.conf to add in Windows booting. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
justin82 n00b
Joined: 03 Feb 2006 Posts: 28
|
Posted: Tue Jul 11, 2006 12:52 am Post subject: |
|
|
Crap, I was thinking when I was writing it but still forgot. They are all 3 serial ata drives. |
|
Back to top |
|
|
davascript l33t
Joined: 07 Apr 2004 Posts: 618 Location: Pennsylvania
|
Posted: Tue Jul 11, 2006 2:09 pm Post subject: |
|
|
Quote: | Does it make a difference if the livecd sees the drives in different order than the boot? |
Use grubs tab completion to make sure you know how it is looking at your drives. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|