Changes between Initial Version and Version 1 of DualBoot


Ignore:
Timestamp:
05/08/06 13:34:25 (12 years ago)
Author:
trac
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DualBoot

    v1 v1  
     1It is sometimes preferable to have a system that can dual boot 
     2linux and Windows. This document assumes that the computer came with 
     3a recent version of Windows preinstalled, or that you have already 
     4installed Windows on it. 
     5 
     6The first step is to get some free space for Linux to live on. 
     7There are many tools that can do this for you, a basic one that 
     8can fit on a usb disk or floppy is `ntfsresize`. You can  
     9download the latest staticly linked `ntfsresize` from 
     10http://linux-ntfs.sourceforge.net/info/ntfsresize.html#static 
     11 
     12That page also has full details 
     13 
     14{{{ 
     15fdisk -l /dev/hdx # get partition info 
     16sfdisk -d /dev/hda > hda.pt # save the full partition table 
     17./ntfsresize --info /dev/hda1 
     18./ntfsresize --no-action --size 11000M /dev/hda1 
     19./ntfsresize --size 11000M /dev/hda1 
     20./ntfsresize --info --force /dev/hda1 
     21fdisk /dev/hda  
     22}}} 
     23 
     24Within fdisk, delete the NTFS partition and add it back with  
     25the same start but a smaller size (slightly larger than the size 
     26you gave `ntfsresize` above). The most important command 
     27is: 
     28{{{ 
     29Command (m for help): n 
     30Command action 
     31   e   extended 
     32   p   primary partition (1-4) 
     33p 
     34Partition number (1-4): 1 
     35First cylinder (1-2480, default 1): 1 
     36Last cylinder or +size or +sizeM or +sizeK (1-2480, default 2480): +11200M  
     37}}} 
     38 
     39Then install Red Hat with KickStart. During the installation you may 
     40want to create a small VFAT (FAT32) partition for sharing data between 
     41Windows and Linux.  
     42 
     43The Red Hat installation should put something like this in `/etc/grub.conf`: 
     44{{{ 
     45title Other 
     46        rootnoverify (hd0,0) 
     47        chainloader +1 
     48}}} 
     49 
     50You can edit it so the title is something more meaningful like "Windows XP Pro."