raysr Posted June 28, 2005 Report Share Posted June 28, 2005 I had a dual-boot setup, Xandros/Mandriva. Xandros was on hda, Mandriva is on hdb. Oh, this is a dual drive also. I want to use hda(the one Xandros was on) for a slave. The bootloader is on hda, the drive that Mandriva is not. Is there a way to move grub to hdb, where Mandriva is installed and then use the other drive as a slave?? Thanks. Quote Link to comment Share on other sites More sharing options...
devries Posted June 28, 2005 Report Share Posted June 28, 2005 Reinstall the boot loader with Mandriva CD 1 (or DVD). Hit F1 at the boot splash and type rescue. Quote Link to comment Share on other sites More sharing options...
scarecrow Posted June 28, 2005 Report Share Posted June 28, 2005 Or simpler, move both bootloaders to / and then after rearranging your HD's, use that one: http://gag.sourceforge.net Quote Link to comment Share on other sites More sharing options...
raysr Posted June 28, 2005 Author Report Share Posted June 28, 2005 Or simpler, move both bootloaders to / and then after rearranging your HD's, use that one:http://gag.sourceforge.net <{POST_SNAPBACK}> I tried reinstalling the bootloader with the cd to "hdb" but on reboot all I got was some dialog commands and the prompt "grub". I didn't know what to do so I ran the cd again and put it back on "hda". Quote Link to comment Share on other sites More sharing options...
rolf Posted June 28, 2005 Report Share Posted June 28, 2005 When you change the slave to master and master to slave, the device names for the partitions in /etc/fstab will change. hda becomes hdb and vice versa, for all instances. Also, in /boot/grub/menu.lst, the device names will have to be changed. Once this has been done and the drives switched, it will be unbootable. You could boot CD1 to command line in rescue mode and install grub from the grub shell. See info grub It will look like this, if your / partition is now hda1: # grub grub> root (hd0,0) grub> setup (hd0) grub> quit # This tells grub where your /boot directory is and to install the bootloader to the MBR. Quote Link to comment Share on other sites More sharing options...
raysr Posted June 30, 2005 Author Report Share Posted June 30, 2005 Thanks for the replies. My /boot/grub/menu.list reads like that now but when I pull the jumper off hda drive I can't boot. Quote Link to comment Share on other sites More sharing options...
arctic Posted June 30, 2005 Report Share Posted June 30, 2005 make sure that the jumpers for your main harddisk are set correctly. cable-select is sometimes more problematic than defining the drive as master or slave directly through the jumpers. and take a look at the hdd boot procedure in your bios. Quote Link to comment Share on other sites More sharing options...
raysr Posted June 30, 2005 Author Report Share Posted June 30, 2005 make sure that the jumpers for your main harddisk are set correctly. cable-select is sometimes more problematic than defining the drive as master or slave directly through the jumpers. and take a look at the hdd boot procedure in your bios. <{POST_SNAPBACK}> I think what I really need to do is move Mandriva to the other drive. Mandriva is on an old drive and the other is fairly new and larger. I see in googlle search it can be done. If I hadn't had such a problem getting MDK the way I want it I'd just reinstall on the other drive. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.