Re: Creating bootsector file for W2k boot menu

2002-12-05 Thread Giorgos Keramidas
On 2002-12-05 00:22, Tomi Vainio - Sun Finland - [EMAIL PROTECTED] wrote:
 I've used Windows NT boot menu for years to boot FreeBSD from the
 second disk on my machines.  I've used bootpart DOS program to do this
 but now I can't find correct way to do FreeBSD boot block for it.
 Earlier there was a diskid definition in some Makefile to change.  How
 should I do this now?

I have FreeBSD installed on two primary slices of my machine, as you
can see from the df(1) output below.  I can boot FreeBSD fine, if I
copy the boot record of the slice my root partition lives in:

# df /
Filesystem  1K-blocksUsedAvail Capacity  Mounted on
/dev/ad0s1a498078   85920   37231219%/

# dd if=/dev/ad0s1 of=/root/bsdboot.bin bs=512 count=1

Then copy bsdboot.bin to a Windows partition, say in C:\BSDBOOT.BIN
and add the following to the C:\BOOT.INI file:

C:\BSDBOOT.BIN=FreeBSD on ad0s1

That should be all...

Giorgos.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: Creating bootsector file for W2k boot menu

2002-12-05 Thread Tomi Vainio - Sun Finland -
Giorgos Keramidas writes:
  
  I have FreeBSD installed on two primary slices of my machine, as you
  can see from the df(1) output below.  I can boot FreeBSD fine, if I
  copy the boot record of the slice my root partition lives in:
  
   # df /
   Filesystem  1K-blocksUsedAvail Capacity  Mounted on
   /dev/ad0s1a498078   85920   37231219%/
  
   # dd if=/dev/ad0s1 of=/root/bsdboot.bin bs=512 count=1
  
  Then copy bsdboot.bin to a Windows partition, say in C:\BSDBOOT.BIN
  and add the following to the C:\BOOT.INI file:
  
   C:\BSDBOOT.BIN=FreeBSD on ad0s1
  
  That should be all...
 
Hi,

Your idea is correct but this gives just Boot error.  I need to make
a boot sector which contains information that I'm booting from third
physical disk.  I think normally there is a value of 0x80 which means
first disk.  Old Makefile option changed just this value.

  Tomppa

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: Creating bootsector file for W2k boot menu

2002-12-05 Thread Dan Lukes
[EMAIL PROTECTED] wrote, On 12/05/02 17:06:


On 2002-12-05 00:22, Tomi Vainio - Sun Finland -  wrote:
 I've used Windows NT boot menu for years to boot FreeBSD from the
 second disk on my machines.  I've used bootpart DOS program to do this
 but now I can't find correct way to do FreeBSD boot block for it.
 Earlier there was a diskid definition in some Makefile to change.  How
 should I do this now?


...


	# dd if=/dev/ad0s1 of=/root/bsdboot.bin bs=512 count=1

Then copy bsdboot.bin to a Windows partition, say in C:\BSDBOOT.BIN
and add the following to the C:\BOOT.INI file:

	C:\BSDBOOT.BIN=FreeBSD on ad0s1

That should be all...



	Just use /boot/boot1 ( NOT /boot/boot0 !) instead of extracting this 
file by dd ...

	Dan


--
Dan Lukes tel: +420 2 21914205, fax: +420 2 21914206
root of  FIONet, KolejNET,  webmaster  of www.freebsd.cz
AKA: [EMAIL PROTECTED], [EMAIL PROTECTED],[EMAIL PROTECTED]



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message


Creating bootsector file for W2k boot menu

2002-12-04 Thread Tomi Vainio - Sun Finland -
I've used Windows NT boot menu for years to boot FreeBSD from the
second disk on my machines.  I've used bootpart DOS program to do this
but now I can't find correct way to do FreeBSD boot block for it.
Earlier there was a diskid definition in some Makefile to change.  How
should I do this now?

  Tomppa

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message