Hi all, I have been having fun this weekend. I upgraded my RH 7.1 server to RH8. I also decided to set up dual boot on my Windows XP box. I have 40GB and 120GB HDs on the WinXP system. I took 15GB from each disk to use with Linux. I put /boot, /, /usr, and /var at the front of the 120GB. And set up a 15GB /tmp and a 1GB swap space on the 40GB drive. I set up such a large /tmp because I am going to experiment with caturing TV programs with my WinTV tuner card. /home is going to be NFS mounted. I used Partition Magic 8, yes PM8, to resize and creat partitons. PM8 supports ext3 file systems. The WinXP partitions are NTFS.
I was amazed that I could still use same the trick to set up dual booting under WinXP that I used with WinNT 4.0 and Slackware 3.0 back in the mid 90's. I told the installer to put the boot loader, lilo, in the first sector of the boot partiton (/boot). I used Disk Droid to set up the mount points. And I created the boot floppy. The following was done to set up the dual boot. 1) After installing, reboot and start RH8 using the boot floppy. 2) After logging in as root, run 'df -h' to see which device is tied to /boot. 3) Typed the following command: # dd if=/dev/hdb2 of=bootsect.lnx bs=512 count=1 4) Mount a msdos floppy disk: # mount -t msdos /dev/fd0 /mnt 5) Copy the bootsect.lnx to the floppy. Optionally, unmount the floppy. 6) Remove any floppies and reboot into WinXP. 7) Copy A:\bootsect.lnx to C:\bootsect.lnx 8) Set the atributes to the boot.ini in a Dos window: C:\> attrib -r -s -h boot.ini 9) Add the following line to the file C:\boot.ini: C:\bootsect.lnx="Red Hat Linux 8.0" 10) Reset the boot.ini atributes. C:\> attrib +r +s +h boot.ini You may want to do the same for the bootsect.lnx file. 11) You may need to set the time delay the boot menu will stay on the screen. I set it for 10 seconds. Now reboot and you will get the option to boot Windows XP or Linux. This, of course, works for WinNT and Win2k. No extra boot manager like System Commander or BootMagic is needed. I hope I didn't bore anyone with this. BTW, I did not come up with this idea. I found a post on this subject on USENET back in the mid 90's. Like I said before, I am amazed this technique still works. The only downside is if you reinstall lilo, you need to recreate the bootsect.lnx file. Later, Steven -- ___ ____________ <<<((__O\ (__<>___<>__ \ ____ Don't get rattled by Steven Whatley \ \_(__<>___<>__)\O\_/O___>-< what I say. It's just [EMAIL PROTECTED] \O__<>___<>___<>)\___/ my opinion. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list