|
L fioricet price nux+Win9x+Grub HOWTOJoel RosenRevision History Revision v1.0 2002-01-10 fioricet price Revised by: jr Initial release. This HOWTO will tell you how to use the fioricet price GRUB bootloader to turn yourcomputer into a Windows + Linux dual boot machine, without affecting yourcurrent Linux installation.---------------------- fioricet price ------------------------------------------------------Table of Contents1. Introduction 1.1. Why use this method? 1.2. Copyright and License fioricet price 2. Requirements 2.1. What are the requirements? 3. Procedure 3.1. Creating the Windows partition 3.2. Installing GRUB 3.3. Installing fioricet price Windows -----------------------------------------------------------------------------1. Introduction1.1. Why use this method? I'm a big fan of th fioricet price ngs that aren't Microsoft, so when I got my new computerI had it come with Linux preinstalled. It's a great desktop machine, but I'vebeen sorely missi fioricet price g my Windows games, and the GIMP just isn't cutting it. SoI finally gave in and decided to make the machine dual boot. When I lookedfor instructions o fioricet price how to accomplish this, all I found was directions on howto install Linux if you already have Windows installed and how to boot withLoadlin. Unfortun fioricet price tely, because Loadlin runs from under DOS, the Loadlinmethod of making your system dual boot requires that you have Windowsinstalled on the first part fioricet price tion of your first hard drive, due to the factthat Windows believes it is the center of the universe and all your otheroperating systems should revolv fioricet price around it. This is a problem if you alreadyhave Linux on that partition and you don't want to wipe out your system toinstall Windows. This is where G fioricet price U GRUB, the GRand Unified Bootloader comes in. It differsfrom bootloaders such as LILO in that it can lie to Windows and make Windowsbelieve that it's fioricet price installed on the first partition even if it's not. So youcan keep your current Linux system where it is and install Windows on theside.--------------- fioricet price -------------------------------------------------------------1.2. Copyright and License Copyright (c) 2002 Joel Rosen. Permission is granted to copy, fioricet price distributeand/or modify this document under the terms of the GNU Free DocumentationLicense, Version 1.1 or any later version published by the Free Sof fioricet price wareFoundation; with no Invariant Sections, with the no Front-Cover Texts, andwith no Back-Cover Texts. A copy of the license may be found [http://www fioricet price gnu.org/copyleft/fdl.html] here.-----------------------------------------------------------------------------2. Requirements2.1. What are the requirem fioricet price nts? You will need: * A computer with a working installation of Linux. * Enough free disk space for your new Windows partition. * A partition edito fioricet price such as [http://www.gnu.org/software/parted/] GNU Parted. * [http://www.gnu.org/software/grub/] GRUBrpm or source. * A Windows/DOS boot disk wit fioricet price CDROM support and a CD with the Windows 9x install on it, or a bootable Windows 9x install CD. * (Recommended)A Linux boot disk.----------------- fioricet price -----------------------------------------------------------3. Procedure3.1. Creating the Windows partition If you already have a clear partition or di fioricet price k for your Windows installation,you can skip this section. Otherwise, you'll need to run a partition editorto defragment your disk and create a new pa fioricet price tition for Windows. I used [http://www.gnu.org/software/parted/] GNU Parted for my installation; sfdisk shouldwork as well. DO NOT use fdisk, it won't fioricet price preserve your data. And note, thisprocess is not guaranteed, make sure to backup any important files before youbegin.Here is how my partition table lo fioricet price ked pre-install:Device Start End System fioricet price /dev/hda1 1 3 Linux /dev/hda2 4 1222 Extended fioricet price /dev/hda5 4 36 Linux swap /dev/hda6 37 1222 Linux fioricet price /dev/hda1 is my /boot partition (you may or may not have a separate bootpartition for Linux), /dev/hda2 is an extended parti fioricet price ion which contains twological drives, /dev/hda5 and /dev/hda6, which contain my Linux swappartition and Linux installation partition. As root, run you fioricet price partition editor. Resize your Linux partition to howeversmall you decide to make it. (Make sure this size isn't smaller than theamount of data on you fioricet price disk.) The program will defragment for a good whileand then change the partition table. Resize the extended partition whichcontains your Linux partit fioricet price on accordingly. You should now have enough unusedspace on your disk in which to create a new primary Windows partition. Goahead and create the partiti fioricet price n with a Win95 FAT32 (LBA) filesystem on it. Nowyour partition table should look something like this:Device Start End System fioricet price /dev/hda1 1 3 Linux fioricet price /dev/hda2 4 905 Extended /dev/hda3 906 1222 Win95 fioricet price AT32 (LBA) /dev/hda5 4 36 Linux swap /dev/hda6 37 905 Lin fioricet price x I strongly recommend that you run fdisk at this point and write down all ofyour partition information on a piece fioricet price f paper. If you make a mistake in yourinstallation, Windows will be all too happy to rewrite your partition tableto its liking, and you'll need to kno fioricet price what your partitions look like in caseof emergency.-----------------------------------------------------------------------------3.2. Installing GRUB3 fioricet price 2.1. Installation You should have either an RPM or source package of [http://www.gnu.org/software/grub/] GRUB somewhere on your disk. Go through the a fioricet price propriateinstallation procedure for your system. GRUB should now be installed but notloaded. As root run:# /sbin/grub-install /dev/hda fioricet price This will load GRUB into the master boot record of your disk. Now you need toedit /boot/grub/grub.conf to configure the fioricet price GRUB boot menu:-----------------------------------------------------------------------------3.2.2. Editing grub.confdefault=0 fioricet price timeout=10 splashimage=(hd0,0)/grub/splash fioricet price xpm.gz title Red Hat Linux (2.4.7-10) root (hd0,0) fioricet price kernel /vmlinuz-2.4.7-10 ro root=/dev/hda6 initrd /initrd-2. fioricet price .7-10.img title Windows 98 fioricet price map (hd0,0) (hd0,2) map (hd0,2) fioricet price (hd0,0) rootnoverify (hd0,2) chainloader +1 title DOS Boot Disk map (hd0,0) (hd0,2) map (hd0,2) (hd0,0) chainloader (fd0)+1 Let's go through and see what this means."default=0" and "timeout=10" will cause Linux to boot in 10 seconds if youdon't touch anything. "splashimage" is self-explanatory and not veryimportant. "title" denotes each boot setting and the text that follows is what willappear in your menu at startup. "root" specifies which p
|