Dual Booting using GRUB |
Partitioning the hard disk |
Creating the partitions |
Install Red Hat |
Accessing the shared drive /dev/hda4 |
Installing BootIt |
References |
Author |
Licence |
Dual Booting using GRUBThis article describes how I've set up Win2K and Red Hat Linux V 8 on 1 hard disk, and how I use GRUB, the Linux boot loader, to choose an OS at boot time. Partitioning the hard diskReferences for partitioning are at the end of the document. The aim is to have 4 partitions on a 30 Gb hard disk:
Creating the partitionsI used BootIt NG V 1.60e from http://www.terabyteunlimited.com/ to do the partitioning. BootIt is a superb shareware program. I will not go into the details of driving BootIt here. The steps are:
Install Red HatThere are of course many steps here. I'll just mention the relevant ones:
Accessing the shared drive /dev/hda4Under Red Hat, open a terminal window, and type: mount -t msdos /dev/hda4 /g This 'g' is the 'g' I mentioned above as the alias of /dev/hda4. Copy a file to /g now and retrieve it later from Windows. Try something like: cp /root/install.log /g ls -aFl /g Unmount (note the 'n') the partition in preparation for exiting and booting Windows. umount /g Note the lack of an 'n' in there. To make the mount command permanent, i.e. executed every time Red Hat boots, edit /etc/fstab and add: /dev/hda4 /g msdos defaults 0 0 Now, reboot and choose Windows. Do: dir g: and you should be able to see INSTALL.LOG. I can't tell you why Windows insists the file name is in upper case. Installing BootItBootIt prefers to be installed in it's own partition. Since you probably start off with the hard disk being 1 partition dedicated to Windows, you must decide either to install BootIt in the MBR (Master Boot Record), or to shrink the partition to make room for other partitions. I suggest you shrink first. Then, when BootIt asks if it can find for itself a partition to install into, say yes, and it will create a 5 Mb partition for itself at the end of the disk. The problem with this is you'll end up with 5 partitions, and while BootIt is clever enough to manage more than the normal 4 partitions, other software probably won't cope. Referenceshttp://www.blackviper.com/Articles/OS/Multiboot/multiboot1.htm http://www.everythingcomputers.com/reformat.htm http://www.labmice.net/Windows2000/install/dualboot.htm http://www.terabyteunlimited.com/ AuthorRon Savage. Home page: http://savage.net.au/index.html This POD was converted to HTML by /Perl.html#fancy-pom2.pl
LicenceAustralian Copyright © 2002 Ron Savage. All rights reserved. All Programs of mine are 'OSI Certified Open Source Software'; you can redistribute them and/or modify them under the terms of The Artistic License, a copy of which is available at: http://www.opensource.org/licenses/index.html |
| Top of page |