Re: default boot option in dual-boot mode

2006-08-09 Thread gahn
thanks:

it works like charm...:)

with this setting, i only need to make a choice when i
want it to boot into xp, otherwsie it just
automatically get into freebsd.

best

--- Stefan Bethke <[EMAIL PROTECTED]> wrote:

> 
> Am 08.08.2006 um 02:48 schrieb gahn:
> 
> > hi:
> >
> > how could i fix the default boot option in
> dual-boot
> > mode?
> >
> > i have a machine with both windows xp and freebsd
> 6.1.
> > it works fine with freebsd boot manager (wiht
> optios
> > of f1 for xp and f2 for freebsd when it starts).
> but i
> > would like to fix the default mode for freebsd;
> ie, if
> > i don't make a choice on either f1 or f2 keys,
> then
> > system automatically boots up as freebsd machine.
> 
> boot0 will boot into the same OS as the last time
> automatically, so  
> you don't need to do anything to boot into FreeBSD,
> if you had booted  
> into FreeBSD the last time.
> 
> If you want to *always* boot into FreeBSD,
> irrespective of the choice  
> you made the last time, you can use the boot0cfg(8)
> utility to stop  
> boot0 from remembering the last choice and stick to
> the stored  
> default. Untested:
> 
> # boot0cfg -o noupdate -s2
> 
> 
> Stefan
> 
> -- 
> Stefan Bethke <[EMAIL PROTECTED]>   Fon +49 170 346
> 0140
> 
> 
> ___
> freebsd-questions@freebsd.org mailing list
>
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"
> 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: default boot option in dual-boot mode

2006-08-08 Thread Stefan Bethke


Am 08.08.2006 um 02:48 schrieb gahn:


hi:

how could i fix the default boot option in dual-boot
mode?

i have a machine with both windows xp and freebsd 6.1.
it works fine with freebsd boot manager (wiht optios
of f1 for xp and f2 for freebsd when it starts). but i
would like to fix the default mode for freebsd; ie, if
i don't make a choice on either f1 or f2 keys, then
system automatically boots up as freebsd machine.


boot0 will boot into the same OS as the last time automatically, so  
you don't need to do anything to boot into FreeBSD, if you had booted  
into FreeBSD the last time.


If you want to *always* boot into FreeBSD, irrespective of the choice  
you made the last time, you can use the boot0cfg(8) utility to stop  
boot0 from remembering the last choice and stick to the stored  
default. Untested:


# boot0cfg -o noupdate -s2


Stefan

--
Stefan Bethke <[EMAIL PROTECTED]>   Fon +49 170 346 0140


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: default boot option in dual-boot mode

2006-08-08 Thread Daniel Bye
On Tuesday 08 August 2006 13:04, Daniel Bye wrote:
> On Mon, Aug 07, 2006 at 05:48:26PM -0700, gahn wrote:
> > hi:
> >
> > how could i fix the default boot option in dual-boot
> > mode?
> >
> > i have a machine with both windows xp and freebsd 6.1.
> > it works fine with freebsd boot manager (wiht optios
> > of f1 for xp and f2 for freebsd when it starts). but i
> > would like to fix the default mode for freebsd; ie, if
> > i don't make a choice on either f1 or f2 keys, then
> > system automatically boots up as freebsd machine.
>
> AFAIK, the FreeBSD loader sets the boot flag on the selected partition,
> so that becomes the default at next boot.  I don't think it can do what
> you want.  However, you might try grub or any of the other boot managers
> in the ports, or simply use the WinXP loader.  It's easy enough to set
> up.
>
> If both WinXP and FreeBSD are installed on the same disk, copy
> /boot/boot1 to, say, C:\BOOTSECT.BSD.  If they're on different devices,
> then you'll need to copy /boot/boot0 instead, BUT DON'T GET THIS WRONG!
> Then change the "default" line to read
>
> default=C:\BOOTSECT.BSD
>
> and add this to the [operating systems] section:
>
> C:\BOOTSECT.BSD="FreeBSD"
>
> And you're set.

Gibbering nit alert! You're not set at all...

Sorry - you need to make those two changes in the C:\BOOT.INI file.  And you 
will also need to restore your MBR.  The state I'm in, I won't offer any 
advice on doing that - I'm sure to guide you wrong!

Dan, just waking up...

-- 
Daniel Bye
Local Host Services
http://localhostservices.co.uk


pgpPiGzHAokr1.pgp
Description: PGP signature


Re: default boot option in dual-boot mode

2006-08-08 Thread Daniel Bye
On Mon, Aug 07, 2006 at 05:48:26PM -0700, gahn wrote:
> hi:
> 
> how could i fix the default boot option in dual-boot
> mode?
> 
> i have a machine with both windows xp and freebsd 6.1.
> it works fine with freebsd boot manager (wiht optios
> of f1 for xp and f2 for freebsd when it starts). but i
> would like to fix the default mode for freebsd; ie, if
> i don't make a choice on either f1 or f2 keys, then
> system automatically boots up as freebsd machine.

AFAIK, the FreeBSD loader sets the boot flag on the selected partition,
so that becomes the default at next boot.  I don't think it can do what
you want.  However, you might try grub or any of the other boot managers
in the ports, or simply use the WinXP loader.  It's easy enough to set
up.

If both WinXP and FreeBSD are installed on the same disk, copy
/boot/boot1 to, say, C:\BOOTSECT.BSD.  If they're on different devices,
then you'll need to copy /boot/boot0 instead, BUT DON'T GET THIS WRONG!
Then change the "default" line to read

default=C:\BOOTSECT.BSD

and add this to the [operating systems] section:

C:\BOOTSECT.BSD="FreeBSD"

And you're set.

Dan

-- 
Daniel Bye

PGP Key: http://www.slightlystrange.org/pgpkey-dan.asc
PGP Key fingerprint: D349 B109 0EB8 2554 4D75  B79A 8B17 F97C 1622 166A
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \


pgpiFKZSETrhK.pgp
Description: PGP signature


default boot option in dual-boot mode

2006-08-07 Thread gahn
hi:

how could i fix the default boot option in dual-boot
mode?

i have a machine with both windows xp and freebsd 6.1.
it works fine with freebsd boot manager (wiht optios
of f1 for xp and f2 for freebsd when it starts). but i
would like to fix the default mode for freebsd; ie, if
i don't make a choice on either f1 or f2 keys, then
system automatically boots up as freebsd machine.

thansk


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"