Booting on a second drive


Forum: HD Install
Topic: Booting on a second drive
started by: La Bourde

Posted by La Bourde on Feb. 05 2006,00:21
Hello everybody !

First, excuse my English, i'm french  :D .
I've got 2 HD on an old computer. On the both HD, i've installed DSL. :cool:
The second HD (/dev/hdc) is temporarly in this computer, I'll remove it when grub will be correctly installed on the first (/dev/hdc ... ??? ).
I've got the grub's 21th error when I boot with only the first drive.
=Grub didn't see the hard drive (and don't know why...).

So I would like to boot on the second hard drive (/dev/hdc) and use the partition on it (/dev/hdc2).
When I boot, I modify the grub's boot commands list, like this:
Code Sample
root (hd1,1) #it's /dev/hdc, I check with the geomety command
kernel /boot/vmlinuz root=/dev/hdc2 #hdc1 =swap partition, hdc2 ext2 /

But DSL try to find the Knoppix image, and found everytime /dev/hda2 first. (not /dev/hdc2)
So, it mounts this partition, and I can't use grub on it (because all the partitions of the drive must be unmounted) !
I try a
Code Sample
chroot /mnt/hdc2
, but the new system doesn't find hda and hdc.

How can I override the search of the Knoppix image ?
Have you another idea ?

Thanks a lot.

Posted by La Bourde on Feb. 05 2006,17:13
I found the solution last night.
I've just commented the line
Code Sample
initrd /boot/minirt.gz

Posted by AwPhuch on Feb. 05 2006,23:40
Congrats! and Welcome to the Revolution!!!

Brian
AwPhuch

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.