View Single Post
  #2  
Old 31st Oct 02, 05:19 AM
oscar2043 oscar2043 is offline
Junior Member
 
Join Date: Oct 2001
Posts: 26
oscar2043
Booting from xp boot menu (xp c: and fat32)

Goto into a Mandrake terminal an type
dd if=/dev/hda of=/mnt/windows/boot.mdk bs=512 count=1
(to create c:\ boot.mdk)

In lindows
dd if=/dev/hda of=/C:/boot.lin bs=512 count=1
(to create c:\ boot.lin)

Edit c:\boot.bin an add 2 lines

[boot loader]
timeout=10
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOW S
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Micro soft Windows XP Professional" /fastdetect
C:\="C:\ Win98 DOS"
C:\CMDCONS\BOOTSECT.DAT="Microsoft Windows Recovery Console" /cmdcons
C:\boot.mdk="Mandrake 9.0 "
C:\boot.lin="Lindows 2.0 "



The loadlin way (I have loadin.exe in c:\loadlin and lindows in c:\Lindows)
First boot in real dos and type (or make a bat file)

c:\loadlin\loadlin.exe c:\Lindows\boot\vmlinu~1.19 rw root=/dev/hda1 initrd=c:\Lindows\boot\initrd~1.gz console=null acpi=off

For mandrake (I have mandrake in 2nd partition D: )

c:\loadlin\loadlin c:\loadlin\vmlinuz root=/dev/hda5 ro initrd=c:\loadlin\initrd.img quiet devfs=mount hdb=ide-scsi

Copy vmlinuz? and initrd?..img from mandrake linux /boot folder and rename to vmlinuz (no more than 8 characters plus 3 charac. ext )


Another way with config.sys menu (while booting into real DOS)

[Menu]

menuitem=DOS, Dos 8.0
menuitem=lindows, Lindows 2.0
menuitem=mdke, Mandrake 9
menudefault=DOS, 10

[mdke]
shell=c:\loadlin\loadlin.exe c:\loadlin\vmlinuz root=/dev/hda5 ro initrd=c:\loadlin\initrd.img quiet devfs=mount hdb=ide-scsi

[lindows]
shell=c:\loadlin\loadlin.exe c:\Lindows\boot\vmlinu~1.19 root=/dev/hda1 rw initrd=c:\Lindows\boot\initrd~1.gz console=null acpi=off

[DOS]
??..
??.


Reply With Quote