download grub4dos-0.4.3 !! after you download the grub, copy grub.exe and grldr to c:\.
First of all to see hidden operating system file in windows 7, Open computer = organize = folder options = view = uncheck hide protected operating system files.
now you would see bootmgr file = rename bootmgr to bootmgr7.
rename grldr file to bootmgr.
now you require menu.lst file
My menu.lst file is for C:\ and E:\ partition as my d:\ is just data NTFS Partition.
=========================================================================================
title SLAX OS
kernel (hd0,2)/boot/vmlinuz ramdisk_size=6666 root=/dev/ram0 rw autoexec=xconf;telinit~4
changes=/mnt/hda3/slax/
initrd=(hd0,2)/boot/initrd.gz
boot
title Windows 7
find --set-root /bootmgr7
chainloader /bootmgr7
My E:\ is hd0,2 that is hda3 where i have copied the slax and boot folders so please carefully choose your partition.
that is all , you can now load both OS
Thanks to all SlAX Genius People on Forum as this is the procedure for dual boot with Windows XP just little modification for windows 7 as Iam just a simple user for all such complicated things......
Thanks AGAIN for everyones help in conceiving such an Idea may be known to Genius People on the Forum......
Great tip -- I'll be trying this sometime soon on my win7 + slax frugal.
But a caution -- I would not do it without first having a secondary way to boot, that would allow me to rename that bootmgr7 file back to its original name [e.g., some linux live]. If something goes wrong, you could end up with a machine that won't boot either windows or linux.
you are right since both windows 7 and Windows Vista uses bootmgr file for boot identification parameter ... and in Windows XP it is ntldr file.........
In 2000 or XP, which use ntldr, I do it like this:
1. Edit C:\boot.ini to add a line:
C:\grldr="Slax"
2. Put grldr in the root of the C: drive
3. Set up the menu.lst the same way, except for the Windows 7 part. You don't need a Windows XP entry because you're still using NTLDR as your primary bootloader, but if you want one, you can use this:
title Windows XP
find --set-root /ntldr
chainloader /ntldr
bootmgr is also not in the c:\ on my win7 64bit. I have a Dell build so I don't have a vanilla example. I found bootmgr in an unmounted partition. My drive is 3 partitions: a diagnostic, a recovery, and the main for Win7 OS. I will take a look at doing this for this type of configuration. Vista and Win7 use a slightly different boot database than boot.ini. I have never modified it yet, but have looked at some detail. I know there is a tool named bcdedit or similar to edit Win7 boot manager parameters.
i found bootmgr in other partition "hidden partition for system"
so to view that partition go to control panel then
Administrative Tools->Computer Management->Disk management
now you can see partition "System Reserved"
now right click and click on "change drive letter and path" then "add" then "assign the following drive letter"
then ok ... now go to my computer to see new partition .
Caution !!! do not play in files because all files for windows boot manager and recovery ... ok :)
maybeway36 wrote:
In 2000 or XP, which use ntldr, I do it like this:
1. Edit C:boot.ini to add a line:
C:grldr="Slax"
2. Put grldr in the root of the C: drive
3. Set up the menu.lst the same way, except for the Windows 7 part. You don't need a Windows XP entry because you're still using NTLDR as your primary bootloader, but if you want one, you can use this:
title Windows XP
find --set-root /ntldr
chainloader /ntldr
It should be c:\grldr="SLAX" .Note the "\" after c: as per sample above.
+++++++++++++
But as a detail, it isn't Slax that this command loads, it is grub.exe, which will then look for a menu.lst file, in
which you may instruct grub how to boot slax. What I have in my boot.ini is C:\grldr="Linux Menu".
The slick thing about the procedure at the head of this thread is that it avoids any need to edit the original win7 bootmgr file -- and it reverses the usual boot procedure, i.e., loads grub first, then boots win7 from that.