Changes between Initial Version and Version 1 of DualBoot

05/08/06 13:34:25 (13 years ago)



  • 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. 
     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 
     12That page also has full details 
     15fdisk -l /dev/hdx # get partition info 
     16sfdisk -d /dev/hda > # 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  
     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 
     29Command (m for help): n 
     30Command action 
     31   e   extended 
     32   p   primary partition (1-4) 
     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  
     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.  
     43The Red Hat installation should put something like this in `/etc/grub.conf`: 
     45title Other 
     46        rootnoverify (hd0,0) 
     47        chainloader +1 
     50You can edit it so the title is something more meaningful like "Windows XP Pro."