Laptop for truck driving job

Monty J. Harder mjharder at gmail.com
Sun Jan 23 10:34:27 CST 2005


On Sat, 22 Jan 2005 22:47:51 -0600, Richard A. Franklin
<raldenfranklin at everestkc.net> wrote:

> Then I would use (gasp) Windows XP anyway, perhaps in a dual-boot
> environment.

  It's not really difficult to set up the XP boot loader to chain to
LILO or GRUB.  The trick is to not install the Linux boot loader to
the MBR.  Instead put it in /dev/hda3 or whatever, and dd the first
sector of that partition to a file, and add a reference to that file
in boot.ini:

multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Home
Edition" /fastdetect
c:\lilohda3.bs="LInux LOader on hda3"

The only aggravation is that if I recompile my kernel, I have to
repeat the process.  If I get to where it's an issue, I can have a
shell script that runs lilo, then
dd if=/dev/hda3 of=/win/d/lilohda3.bs bs=512 count=1
and a batch file in StartUp folder of XP to copy that to c:\  (As I
would not trust XP to write to my Reiser partitions, I don't trust
Linux to write to the NTFS partition - A FAT32 partition is fair game
for both.)



More information about the Kclug mailing list