[LBo] Installing Linux on a second drive. (Jisao)

Anita Lewis A.Lewis at linuxbasics.org
Thu Jun 22 12:29:53 CEST 2006


On 06/21/2006 08:16 AM Geoff Jones wrote:

>
>I have not noticed any performance hits, but get the general principal.
>If I switch hdc to hdb, I presume the grub mbr on hda is unaffected? - ie they 
>will still be hd( 0, * ) and hd( 1, * ).
>Then I can "shell" edit all the " root=dev/hdc* " references to hdb* ?
>Then I will need to change all the mount-point references on all my distros ?
>[ Perhaps I won't bother].
>  
>
You would need to edit /etc/fstab on any distro you have on /dev/hdc.  
Also you may have links for the cdrom like /dev/hdb-->/dev/cdrom.

In grub is the second drive called hd(1,*)?  I thought it would be 
hd(2,*) since it is /dev/hdc.  If it is '2', then it would need to 
become '1'.   Your device.map may be set so that hd(1) is /dev/hdc, 
though.  Be sure they match when you finish. The device.map probably 
doesn't even include /dev/hdb and it will need to.  /dev/hdc could then 
be removed I guess.  My device map only has my hard drive and floppy 
listed--neither cdrom is there.  When I did a similar thing it was using 
LILO which was a bit different in that regard.

I wouldn't bother, but at least if booting doesn't happen as expected, 
you will have a rescue disk on hand to go in and edit until it works, 
right? :-)

Anita



More information about the QnA mailing list