Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

RedHat on one HDD, Mandrake on the other?

Status
Not open for further replies.

bgauntt

Programmer
Dec 19, 2001
292
US
I have an older PC with two hard drives installed, both 1GB, can I load RedHat onto one drive and Mandrake 8.1 on the other without running into problems with either. I now have RedHat loaded on the master drive and I selected the slave drive as the swap file because of space limitations. I would like to keep RedHat on the master and load Mandrake on the slave.
 
Hi,





That should be no problem at all. The file /etc/fstab controls what a linux system mounts by default and you can make sure that there is nothing from /dev/hda in the mandrake one and nothing from /dev/hdb in the redhat one. The only difficulty is likely to be the bootloader. If you are using lilo in the master boot record then you'll need to create a combined /etc/lilo.conf that includes image blocks for each of the systems and rewrite that with '/sbin/lilo -v' as root. For example :





image=/boot/vmlinuz-2.4.10


label=redhat


root=/dev/hda1


read-only





image=/boot/vmlinuz-2.4.17


label=mandrake


root=/dev/hdb1


read-only





These are just examples - you should have the correct kernel image name and corresponding '/' root partition for your actual redhat and mandrake.





Hope this helps


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top