To dual boot Unix and Windows normally we use GRUB bootloader. Here I
will describe the process to boot Solaris (also applies to other Unix/
Linux using Windows Boot Loader which is installed defautl for
Windows.
In Solaris mark(previous thread in this topic) Windows primary
partition as active.
Backup the vista mbr
# dd if=/dev/dsk/c0d0p0 of=/mbrbackup bs=512
count=1 // assuming your hard-drive is c0d0p0
install solaris mbr(previous post in this thread)
copy the solaris mbr as solmbr
# dd if=/dev/dsk/c0d0p0 of=/solmbr bs=512 count=1 (I am not sure dsk
or r)
copy this solmbr in your USB drive or mounting an windows
partition
load vista backup
# dd if=/mbrbackup of=/dev/dsk/c0d0p0 bs=446
count=1 // bs =446 to keep the previously install Solaris
Boot information
now boot to your windows. If you have Vista it's boot manager shows an
error (solve it with the help of this post:
http://groups.google.com/group/freedom_creative/browse_thread/thread/98f05e69a480ee25#)
Copy the file solmbr from USB-drive to your C:\ logging into Windows.
Windows Vista
==============
Run your command prompt as Administrator
bcdedit /create {ntldr} /d "Solaris"
(Notice, every command gives a success notification after it
completes without errors. If the above command has not worked use
bcdedit /copy {ntldr} /d "Solaris")
bcdedit /set {ntldr} device boot
bcdedit /set {ntldr} path \solmbr
bcdedit /displayorder {ntldr} /addlast // to add in top
use /addfirst
Windows XP (booting Linux/ UNIX from XP boot manager)
=================================================
Windows XP boot manager is very simple and nice one as this is only a
file called boot.ini. The entries in this file are like below:
[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(1)\WINNT
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINNT="Microsoft Windows 2000
Professional" /fastdetect
Add a line to this file like this
C:\solmbr="Solaris"
And it's done..
N.B: These are all serious experiments. And I don't care of your
important data and infos on hard memory than these daring experiments.
If you feel bothered on this issue then it's your own responsibility
to backup your data from Hard-dsiks etc..
Related links:
http://blogs.sun.com/moinakg/entry/vista_and_solaris_express_dual
http://www.tprthai.net/bootmgr.htm