Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Jul 2002 21:58:13 +0200
From:      Nicolas CAILLE <freebsd-us@jet-eisti.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: w2k and freebsd in 2 disks
Message-ID:  <7178334969.20020703215813@jet-eisti.com>

next in thread | raw e-mail | index | archive | help
Bonjour C,

Le mercredi 3 juillet 2002 à 06:54:14, vous écriviez :

C>  I have w2k and freebsd in 2 different disks. I want to boot from any.
C> I searched the mail archives, and I changed the boot.ini in w2k, added
C> the freebsd entry and I added the bootblock from freebsd to c:\  

C> dd if=/dev/"something" of=/dev/fd0/freebsd.pbr

C> when I power up I see the two options, w2k - freebsd in the w2k loader.

C>  If I choose FreeBSD I get "Boot error". What else do I need to do?
C> Thanks a lot.

Supposing that hd0 is w2k and hd1 is freebsd...

freebsd# pkg_add grub-XXX.tgz

freebsd# mkdir /boot/grub

freebsd# cd /boot/grub

freebsd# cp /usr/local/share/grub/i386-freebsd/* .

freebsd# ee /boot/grub/menu.lst

#### ************* ####

default 0
timeout 5

# choix 0 : FreeBSD

title FreeBSD 4.5
root (hd1,0,a)
kernel /boot/loader

#choix 1 : Windows 2000 Professional

title Windows 2000 professional
root (hd0,0)
makeactive
chainloader +1


#### ************* ####

freebsd# grub

grub> root (hd1,0,a)
grub> setup (hd0)
grub> quit

freebsd# reboot


Cordialement,
 Nicolas CAILLE                          mailto:freebsd-us@jet-eisti.com


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7178334969.20020703215813>