- Step1 Install your favourite linux
- step2 On installation DONT install your linux on your MBR, install it in the bootsector of your linux partition
- step3 After installation boot linux using the linux rescure disks.
- step4 login as root, open a terminal window and enter the following CODE
CODE
dd if/dev/hdd1 of /temp/boot.lnx bs=512 count=1
p.s. in this CODE example i installed linux on my 4th hd (thats why its hdd
p.s.s. if you got a SCSI hd the code should look like some thing like this:
CODE
dd if/dev/sda1 of /temp/boot.lnx bs=512 count=1
as you can see instead of hdd1 i typed sda1
Meaning 1st SCSI hd (hd =IDE hd's) sd = SCSI hd's
so if ya install linux on your 1st hdd (aka hd A) replace the D with the A ;-), same counts for the number ;-)
- step5 Now you copy "/tmp/boot.lnx' to your floppy disk using the following command
CODE
mcopy /tmp/boot.lnx a:
- step6 Boot windows (using NTLDR)
- step7 Copy the boot.lnx to your c:\ directory
- step8 Open your boot.ini (its hidden so ya have to make it vissible ;-) )
- step9 Add under Operating systems the following line
CODE
c:\boot.lnx="Linux"
- step10 Now quit the file, safe it and your done
- step11 1 thing though --> wenn updating your linux kernel, ya have to redo this step because boot.lnx will other whise still containing the OLD kernel.
- step12 these steps will be only possible when NOT installinx GRUB/LILO on your MBR, yet in your linux boot dir
Example of boot.ini before add of linux
CODE
[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /fastdetect /NoExecute=OptIn
timeout=30
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /fastdetect /NoExecute=OptIn
Example of Boot.ini after add of linux
CODE
[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /fastdetect /NoExecute=OptIn
c:\boot.lnx="linux"
timeout=30
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /fastdetect /NoExecute=OptIn
c:\boot.lnx="linux"
am i missing some thing??? just post some thing here and i;ll add it if relevant
p.s. I did not mentioned before yet pre-partitioning your hd, is a Must (so get Partition Magic or a free tool to partition your hd, or just install linux on a 2nd hd)
***WARNING***: this tutorial has been tested in windows xp/2003 32bits edition, since the time that i tested it it worked fine USING "MBR"
this has NOT been tested using the new boot type used by win xp x64/2003 x64, yet as it only is a file that needs to be loaded every thing should be ok....
*notice 2* Since Windows "Longhorn" Vista is using a new boot loader i cant guarantee that doing a dual setup with JUST vista & linux will work, if you got "3" os'es, like vista, xp and linux...it is still possible... select the old os 1st then select your linux partition, and it should work the old way...