sg

Pazar, Aralık 25, 2005

[lug] Re: Another GRUB, Linux, Win98, WinXP Question

Mirko wrote:
> Is it possible to configure grub, in order to boot Win98 and WinXP
> *directly*?
>
> That is, I have Win98 installed on hda1, WinXP on hda5 and linux on
> hda6.
>
> Grub let me start either linux or chainload to the bootmanager from
> WinXP,
> which then gives me the option to start 98 or XP.
>
> I would like to have three entries in grub:
>
> linux -- boots linux
> win98 -- boots Win98 directly (no WinXP bootmenu)
> winxp -- boots WinXP directly (no WinXP bootmenu)
>
> I googled for that, but I didn't found a "Thats not possible"-answer,
> so I think it has to work some how.
>
> I would prefer to use grub for that, but if the WinXP bootmanager can
> do the trick, I would use it instead.

ok..u can use the windows boot loader "ntldr"
first u will have to install grub to the first sector of u boot
partition; currently grub is installed on ur MBR.
follow this procedure to install grub
boot into linux..
login as root..
then type: $grub-install /dev/hda3 well guessing that hda3 is ur
linux partiotion.
if u don know the partition follow this procedure.
$fdisk /dev/hda hda being ur hard-drive.. if it don work try
hdb,hdc,hdd
in fdisk hit 'p'
this will print the partition table..then note down ur linux
partition.....hit 'q' to quit grub
well all done.. grub installation is now over...

next..u have to copy the boot sector..
follow this procedure...
$dd if=/dev/hda3 of=linux.lnx bs=512 count=1
here the input is ur linux partition.. output is a file by name
linux.lnx
copy this file to the windows partition..

reboot system..
load windows.....
on C drive there will be a file by name "boot.ini". u will have to edit
this file...( the file is hidden)
add an entry to this file. which will be like this..
C:\LINUX.LNX="My Linux"
save and exit.. reboot to check if all done....

well... at this point u have configured ntldr to load linux..
now u have to remove grub...
use the windows install disk for this...
go the rescue mode...
type:
FIXMBR
this will reload the MBR with windows boot loader - ntldr

exit....

all done...
plz mail me if u have any problems....
keep clicking....
bye....

0 Comments:

Yorum Gönder

<< Home


Komik Videolar   islam  şarkı sözleri  yemek tarifleri  gelibolu  huzur   sağlık