Re: enter single user mode from boot menu

2013-04-29 Thread Teske, Devin

On Apr 29, 2013, at 4:52 AM, Joe wrote:

Teske, Devin wrote:
On Apr 28, 2013, at 3:44 PM, Joe wrote:
running 9.1 and can not figure how to get into single user mode or safe mode 
from the BOOT menu.
After hitting the 5 or 6 keys to select those options, what do you do next to 
continue?
Based on your description it sounds like you have the following boot menu 
(regardless of color):
http://twitpic.com/b1pkz1
Pressing 5 or 6 changes the status from "off" to "On"
Hitting enter key just boots the system without regard to options selected.
Pressing ENTER is supposed to boot with the displayed options.

Yes this is what I was experiencing.


Can not find usage of boot menu in the handbook.
The 4th files are heavily documented in man-pages as well as by loader and boot 
manuals.
--
Devin
P.S. There have been enhancements already that will come down with 9.2 that add 
a top-level "Boot single user mode" option simply by pressing "s" -- thus 
making it like the boot menus of 6.x, 7.x, and 8.x ("s" to boot single user).

Devin

Background info. I had put load commands for ipfw modules into 
/boot/loader.conf to test if this would work with a kernel that has vimage 
compiled in. The boot process would start normally and progress to the point 
where the usb messages get displayed and them the system would freeze up 
becoming unresponsive.


Try compiling ipfw into your kernel by adding these great options…

dte...@oos0a.lbxrich.vicor.com<mailto:dte...@oos0a.lbxrich.vicor.com> ~ $ 
config -x `sysctl -n kern.bootfile`|grep -i ipf
options IPFIREWALL # Enable support for `ipfw'
options IPDIVERT # Enable support for `ipfw divert'
options IPFIREWALL_NAT # Enable support for `ipfw nat'
options IPFIREWALL_FORWARD # Enable transparent proxy support
options IPFIREWALL_DEFAULT_TO_ACCEPT # Allow everything by default


This is partly how we're using ipfw in vimage jails.

NOTE: You might be wondering how exactly we got comments into our embedded 
configf-file… the secret is to manually configure your kernel with "config -C 
-g MYGENERIC" (replacing MYGENERIC with whatever your kernel config filename 
is).


Figured I would just reboot and go in single user mode and remove the 
statements from loader.conf. But no matter what I tried the boot menu would no 
go into single user mode.


Yet, it wasn't booting [fully to multiuser mode] either, correct? Quoting from 
above:

"The boot process would start normally and progress to the point where the usb 
messages get displayed and them (sic) the system would freeze up becoming 
unresponsive"

Well…

It's not that the menu was ignoring your choice to enter single-user mode, it 
was that it couldn't make it to single-user mode. To make it to single-user 
mode you have to be able to invoke init(8) at the very least and it doesn't 
sound like you made it that far (let alone invoking /etc/rc and ilk).



The solution was to take a testing disk that had 9.1-rc3 on it and cable it as 
master and the original disk as slave.

I would have just dropped to the loader-prompt and used the built-in commands 
(not even any Forth, but easy-to-use loader commands that are documented in 
loader(8)):

unload

That will unload the kernel and your ipfw.ko that was loaded by your 
loader.conf preference.

The way kernels and modules are loaded has always been to load them before the 
menu. You should see this as you are booting. The "unload" command lets you 
discard these things and change your game plan.

A few other commands that are good to know on the loader prompt:

ls

or

ls path

Good for exploring for things to "load" (the next command):

load path

Can load a kernel or load a module.

boot

or

boot path

Can boot the loaded kernel (just "boot" by itself) or boot a kernel at "path".

more path

Can read a file (for example "more /boot/loader.conf").

See loader(8) for more details. (HINT: according to loader(8) there's also an 
"lsmod" command)



In this configuration the system booted correctly and I mounted the slave and 
corrected loader.conf. Recabled the original disk as master and was back in 
business.


Good. Rescue discs are good for this too. My own "FreeBSD Druid" for example.



I think that because the ipfw modules were loaded before the boot process got 
to the boot menu is what caused the boot menu to not function correctly. Don't 
see a PR in this case.


Correct -- No PR needed; the boot menu functions properly (however it can't 
affect boot if you _can't_ in-fact boot).



Thanks to all who replied.


Cheers.
--
Devin

_
The information contained in this message is proprietary and/or confidential. 
If you are not the intended recipient, please: (i) delete the message and all 
copies; (ii) do not disclose, distribute or use the message in any manner

Re: enter single user mode from boot menu

2013-04-29 Thread Joe

Teske, Devin wrote:

On Apr 28, 2013, at 3:44 PM, Joe wrote:

running 9.1 and can not figure how to get into single user mode or safe mode from the 
BOOT menu.

After hitting the 5 or 6 keys to select those options, what do you do next to 
continue?


Based on your description it sounds like you have the following boot menu 
(regardless of color):

http://twitpic.com/b1pkz1

Pressing 5 or 6 changes the status from "off" to "On"

Hitting enter key just boots the system without regard to options selected.


Pressing ENTER is supposed to boot with the displayed options. 



Yes this is what I was experiencing.




Can not find usage of boot menu in the handbook.


The 4th files are heavily documented in man-pages as well as by loader and boot 
manuals.
--
Devin

P.S. There have been enhancements already that will come down with 9.2 that add a top-level "Boot single 
user mode" option simply by pressing "s" -- thus making it like the boot menus of 6.x, 7.x, 
and 8.x ("s" to boot single user).




Devin

Background info. I had put load commands for ipfw modules into 
/boot/loader.conf to test if this would work with a kernel that has 
vimage compiled in. The boot process would start normally and progress 
to the point where the usb messages get displayed and them the system 
would freeze up becoming unresponsive.


Figured I would just reboot and go in single user mode and remove the 
statements from loader.conf. But no matter what I tried the boot menu 
would no go into single user mode.


The solution was to take a testing disk that had 9.1-rc3 on it and cable 
it as master and the original disk as slave. In this configuration the 
system booted correctly and I mounted the slave and corrected 
loader.conf. Recabled the original disk as master and was back in 
business.


I think that because the ipfw modules were loaded before the boot 
process got to the boot menu is what caused the boot menu to not 
function correctly. Don't see a PR in this case.


Thanks to all who replied.

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


Re: enter single user mode from boot menu

2013-04-28 Thread Warren Block

On Mon, 29 Apr 2013, Teske, Devin wrote:


In single user mode, the root filesystem will be the only one mounted, and
it will be mounted read-only.

If you need to make changes (Correcting a fat-fingered edit to /etc/fstab,
for example), you'll need to mount root rw.

mount -u -o rw /


or

mount -u -rw /

(just thought I'd save you 2 keystrokes, nyuk nyuk)


Ooh, a contest.  All I ever use is

  mount -u /
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: enter single user mode from boot menu

2013-04-28 Thread Robert Huff

Joshua Isom writes:

>  >> mount -u -o rw /
>  >
>  > or
>  >
>  > mount -u -rw /
>  >
>  > (just thought I'd save you 2 keystrokes, nyuk nyuk)
>  >
>  
>  Or
>  
>  mount -ua

Understand this mounts all filesystems not marked "noauto" in
fstab ... whether that's the right thing or not.


Robert Huff

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


Re: enter single user mode from boot menu

2013-04-28 Thread Joshua Isom

On 4/28/2013 7:50 PM, Teske, Devin wrote:


On Apr 28, 2013, at 4:13 PM, Michael Sierchio wrote:


On Sun, Apr 28, 2013 at 4:04 PM, Polytropon  wrote:
mount -u -o rw /


or

mount -u -rw /

(just thought I'd save you 2 keystrokes, nyuk nyuk)



Or

mount -ua
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: enter single user mode from boot menu

2013-04-28 Thread Teske, Devin

On Apr 28, 2013, at 3:44 PM, Joe wrote:

running 9.1 and can not figure how to get into single user mode or safe mode 
from the BOOT menu.

After hitting the 5 or 6 keys to select those options, what do you do next to 
continue?


Based on your description it sounds like you have the following boot menu 
(regardless of color):

http://twitpic.com/b1pkz1

Pressing 5 or 6 changes the status from "off" to "On"


Hitting enter key just boots the system without regard to options selected.


Pressing ENTER is supposed to boot with the displayed options. If this is not 
your experience, then a potential bug has been found.


Can not find usage of boot menu in the handbook.


The 4th files are heavily documented in man-pages as well as by loader and boot 
manuals.
--
Devin

P.S. There have been enhancements already that will come down with 9.2 that add 
a top-level "Boot single user mode" option simply by pressing "s" -- thus 
making it like the boot menus of 6.x, 7.x, and 8.x ("s" to boot single user).

_
The information contained in this message is proprietary and/or confidential. 
If you are not the intended recipient, please: (i) delete the message and all 
copies; (ii) do not disclose, distribute or use the message in any manner; and 
(iii) notify the sender immediately. In addition, please be aware that any 
message addressed to our domain is subject to archiving and review by persons 
other than the intended recipient. Thank you.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: enter single user mode from boot menu

2013-04-28 Thread Teske, Devin

On Apr 28, 2013, at 4:13 PM, Michael Sierchio wrote:

> On Sun, Apr 28, 2013 at 4:04 PM, Polytropon  wrote:
> 
> 
>> 
>> After the BTX loader has started, keep hammering the space
>> bar. :-)
>> 
>> At some point, you'll see the
>> 
>>Ok
>>_
>> 
>> prompt. This is where you enter the command
>> 
>>boot -s
>> 
>> to go into single-user mode. The kernel will load as you would
>> expect, but no further action (rc.d startup) will be taken. Instead
>> you have to confirm the shell (/bin/sh by default) by pressing
>> enter at the
>> 
>>When prompted Enter full pathname of shell or RETURN for /bin/sh:
>> 
>> prompt; and then you're left at the
>> 
>># _
>> 
>> prompt, which means you're in single user mode. Type "exit" to
>> start into multi-user mode as usual.
>> 
>> 
> In single user mode, the root filesystem will be the only one mounted, and
> it will be mounted read-only.
> 
> If you need to make changes (Correcting a fat-fingered edit to /etc/fstab,
> for example), you'll need to mount root rw.
> 
> mount -u -o rw /

or

mount -u -rw /

(just thought I'd save you 2 keystrokes, nyuk nyuk)
-- 
Devin

_
The information contained in this message is proprietary and/or confidential. 
If you are not the intended recipient, please: (i) delete the message and all 
copies; (ii) do not disclose, distribute or use the message in any manner; and 
(iii) notify the sender immediately. In addition, please be aware that any 
message addressed to our domain is subject to archiving and review by persons 
other than the intended recipient. Thank you.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: enter single user mode from boot menu

2013-04-28 Thread Michael Sierchio
On Sun, Apr 28, 2013 at 4:04 PM, Polytropon  wrote:


>
> After the BTX loader has started, keep hammering the space
> bar. :-)
>
> At some point, you'll see the
>
> Ok
> _
>
> prompt. This is where you enter the command
>
> boot -s
>
> to go into single-user mode. The kernel will load as you would
> expect, but no further action (rc.d startup) will be taken. Instead
> you have to confirm the shell (/bin/sh by default) by pressing
> enter at the
>
> When prompted Enter full pathname of shell or RETURN for /bin/sh:
>
> prompt; and then you're left at the
>
> # _
>
> prompt, which means you're in single user mode. Type "exit" to
> start into multi-user mode as usual.
>
>
In single user mode, the root filesystem will be the only one mounted, and
it will be mounted read-only.

If you need to make changes (Correcting a fat-fingered edit to /etc/fstab,
for example), you'll need to mount root rw.

mount -u -o rw /

is the minimal command to do that.  You might also find it easier to mount
/tmp and /var if they're separate filesystems... YMMV, etc.

- M
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: enter single user mode from boot menu

2013-04-28 Thread Polytropon
On Sun, 28 Apr 2013 18:44:46 -0400, Joe wrote:
> running 9.1 and can not figure how to get into single user mode or safe 
> mode from the BOOT menu.
> 
> After hitting the 5 or 6 keys to select those options, what do you do 
> next to continue?
> 
> Hitting enter key just boots the system without regard to options selected.

TO be honest, I don't use the boot menu. Instead I tend to
access SUM (single user mode) when neccessary by the respective
loader command.

To illustrate this approach:

The /boot/loader.conf file contains those two line:

autoboot_delay="1"
beastie_disable="YES"

The delay time (in seconds) is the time you have to choose
when _not_ going into multi-user mode (default), so increase
this value if needed.

After the BTX loader has started, keep hammering the space
bar. :-)

At some point, you'll see the 

Ok
_

prompt. This is where you enter the command

boot -s

to go into single-user mode. The kernel will load as you would
expect, but no further action (rc.d startup) will be taken. Instead
you have to confirm the shell (/bin/sh by default) by pressing
enter at the

When prompted Enter full pathname of shell or RETURN for /bin/sh:

prompt; and then you're left at the

# _

prompt, which means you're in single user mode. Type "exit" to
start into multi-user mode as usual.

Of couse, this is what _should_ happen if you select the proper
item from the loader menu (key '4'), but as I don't use this,
I can't be more specific. It's just a natural assumption. :-)



> Can not find usage of boot menu in the handbook.

The FreeBSD Handbook only briefly visits this topic:

13.6.2: Single-User Mode

http://www.freebsd.org/doc/en/books/handbook/boot-init.html

25.7.6: Drop to Single User Mode

http://www.freebsd.org/doc/handbook/makeworld.html

Fortunately, good documentation can be found in the manual pages.
I recommend "man 8 boot" and "man 8 loader", which are involved
in getting into SUM (loader more than boot regarding your question).



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


enter single user mode from boot menu

2013-04-28 Thread Joe
running 9.1 and can not figure how to get into single user mode or safe 
mode from the BOOT menu.


After hitting the 5 or 6 keys to select those options, what do you do 
next to continue?


Hitting enter key just boots the system without regard to options selected.

Can not find usage of boot menu in the handbook.

Help please
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Boot menu and USB keyboard

2008-04-04 Thread Gianni Doe

On 04/apr/08, at 14:23, Robert Huff wrote:

I've got a USB keyboard and I'm unable to select any of the
options in the boot loader/beastie menu - escape to the loader
prompt, single- user mode etc..
It is the only keyboard attached and it works fine once the
system is up.

What version of the OS?  I used to have this problem, but it
disappeared ... sometime between 6.0 and 7.0, I think.
And I'm pretty sure this was discussed on the mailing lists -
try searching under "Huff USB keyboard".
Robert Huff


I'm running 7.0-STABLE and legacy USB support is enabled in the BIOS,  
motherboard is ASUS A8V.
I did search but all the stuff I found is a few years old, so should  
the boot menu definitely support usb keyboard?

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


Re: Boot menu and USB keyboard

2008-04-04 Thread matti k
On Fri, 4 Apr 2008 10:22:52 +0200
Gianni Doe <[EMAIL PROTECTED]> wrote:

> I've got a USB keyboard and I'm unable to select any of the options
> in the boot loader/beastie menu - escape to the loader prompt,
> single- user mode etc..
> It is the only keyboard attached and it works fine once the system
> is up.
> 
> I've done a bit of Googling and tried setting
> hint.atkbd.0.flags="0x1" in loader.conf but it doesn't make any
> difference. I'd appreciate some suggestions.
> Thanks
> Gianni

Hi Gianni,

Check the BIOS settings for USB keyboard/mouse.

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


Boot menu and USB keyboard

2008-04-04 Thread Robert Huff

Gianni Doe writes:

>  I've got a USB keyboard and I'm unable to select any of the
>  options in the boot loader/beastie menu - escape to the loader
>  prompt, single- user mode etc..
>  It is the only keyboard attached and it works fine once the
>  system is up.

What version of the OS?  I used to have this problem, but it
disappeared ... sometime between 6.0 and 7.0, I think.
And I'm pretty sure this was discussed on the mailing lists -
try searching under "Huff USB keyboard".



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


Boot menu and USB keyboard

2008-04-04 Thread Gianni Doe
I've got a USB keyboard and I'm unable to select any of the options in  
the boot loader/beastie menu - escape to the loader prompt, single- 
user mode etc..
It is the only keyboard attached and it works fine once the system is  
up.


I've done a bit of Googling and tried setting hint.atkbd.0.flags="0x1"  
in loader.conf but it doesn't make any difference.

I'd appreciate some suggestions.
Thanks
Gianni
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Boot Menu Damaged

2007-12-31 Thread E. J. Cerejo

Jerry McAllister wrote:

On Mon, Dec 31, 2007 at 10:46:04AM -0500, E. J. Cerejo wrote:

  
- Original Message - 
From: "Jerry McAllister" <[EMAIL PROTECTED]>

To: "E. J. Cerejo" <[EMAIL PROTECTED]>
Cc: 
Sent: Monday, December 31, 2007 9:50 AM
Subject: Re: Boot Menu Damaged




On Mon, Dec 31, 2007 at 01:17:51AM -0500, E. J. Cerejo wrote:

  
I'm running FreeBSD 6 stable and I lost my boot menu after reinstalling 
xp

and tried to fix it by booting with instalation cd and run "fdisk -B -b
/boot/boot0 /dev/ad0" it restored it but when I boot I get the mountroot>
prompt, it fails to mount ad0s2a, b, c, d.  Is it possible to fix this or
do I have to reinstall freebsd?


It may be that you got the slices no longer marked as bootable.
Try using fdisk(8) or boot0cfg(8) to re-enable booting on those slices.

jerry
  
Do you run it from the instalation CD using fixit or run from the mountroot 
prompt on the computer.  It seems to me I can't can any commands from this 
prompt. 



I would do it from the fixit.

  


Well that didn't work but I finally fixed it.

from the moutroot I was able to go into single user mode by running 
these commands:


ufs:/dev/ad0s2a
fsck -p /
mount /

after this I was able to check and fix my /etc/fstab file, for some 
reason the mount points got all changed to slice 4, e.g. ad0s4a, changed 
them back to ad0s2a and so on, after that I was able to boot just fine.  
How it happened I have no idea.

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


Re: Boot Menu Damaged

2007-12-31 Thread E. J. Cerejo


- Original Message - 
From: "Jerry McAllister" <[EMAIL PROTECTED]>

To: "E. J. Cerejo" <[EMAIL PROTECTED]>
Cc: 
Sent: Monday, December 31, 2007 9:50 AM
Subject: Re: Boot Menu Damaged



On Mon, Dec 31, 2007 at 01:17:51AM -0500, E. J. Cerejo wrote:

I'm running FreeBSD 6 stable and I lost my boot menu after reinstalling 
xp

and tried to fix it by booting with instalation cd and run "fdisk -B -b
/boot/boot0 /dev/ad0" it restored it but when I boot I get the mountroot>
prompt, it fails to mount ad0s2a, b, c, d.  Is it possible to fix this or
do I have to reinstall freebsd?


It may be that you got the slices no longer marked as bootable.
Try using fdisk(8) or boot0cfg(8) to re-enable booting on those slices.

jerry


Do you run it from the instalation CD using fixit or run from the mountroot 
prompt on the computer.  It seems to me I can't can any commands from this 
prompt. 


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


Re: Boot Menu Damaged

2007-12-31 Thread Jerry McAllister
On Mon, Dec 31, 2007 at 01:17:51AM -0500, E. J. Cerejo wrote:

> I'm running FreeBSD 6 stable and I lost my boot menu after reinstalling xp 
> and tried to fix it by booting with instalation cd and run "fdisk -B -b 
> /boot/boot0 /dev/ad0" it restored it but when I boot I get the mountroot> 
> prompt, it fails to mount ad0s2a, b, c, d.  Is it possible to fix this or 
> do I have to reinstall freebsd? 

It may be that you got the slices no longer marked as bootable.
Try using fdisk(8) or boot0cfg(8) to re-enable booting on those slices.

jerry

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


Re: Boot Menu Damaged

2007-12-31 Thread Nikola Lečić
On Mon, 31 Dec 2007 01:17:51 -0500
"E. J. Cerejo" <[EMAIL PROTECTED]> wrote:
 
> I'm running FreeBSD 6 stable and I lost my boot menu after
> reinstalling xp and tried to fix it by booting with instalation cd
> and run "fdisk -B -b /boot/boot0 /dev/ad0" it restored it but when I
> boot I get the mountroot> prompt, it fails to mount ad0s2a, b, c, d.
> Is it possible to fix this or do I have to reinstall freebsd? 

What does 'bsdlabel /dev/ad0s2' say?

-- 
Nikola Lečić :: Никола Лечић
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Boot Menu Damaged

2007-12-30 Thread E. J. Cerejo
I'm running FreeBSD 6 stable and I lost my boot menu after reinstalling xp 
and tried to fix it by booting with instalation cd and run "fdisk -B -b 
/boot/boot0 /dev/ad0" it restored it but when I boot I get the mountroot> 
prompt, it fails to mount ad0s2a, b, c, d.  Is it possible to fix this or do 
I have to reinstall freebsd? 


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


Boot menu damaged

2007-12-30 Thread E. J. Cerejo
I'm running FreeBSD 6 stable and I lost my boot menu after reinstalling xp and 
tried to fix it by booting with instalation cd and run "fdisk -B -b /boot/boot0 
/dev/ad0" it restored it but when I boot I get the mountroot> prompt, it fails 
to mount ad0s2a, b, c, d.  Is it possible to fix this or do I have to reinstall 
freebsd?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


usb wireless keyboard not working at boot menu

2007-05-12 Thread Evren Yurtesen

Hi,

I have a usb wireless keyboard/mouse combo which doesnt work at beastie. 
It works before and after the boot menu perfectly fine. But not in 
beastie so I am not able to enter to single user/safe mode etc. unless

I plug in a ps2 keyboard.

Do you know a workaround for this?

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


Re: Boot Menu

2006-07-09 Thread Giorgos Keramidas
On 2006-07-10 10:53, RdBSD <[EMAIL PROTECTED]> wrote:
> Dear All,
>
> How can i change default menuitem in boot menu to number 3 or safe
> mode. so it will boot the default to number 3 in menu ?

That's usually a slightly bad idea.  Why do you want to do this?

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


Boot Menu

2006-07-09 Thread RdBSD

Dear All,

How can i change default menuitem in boot menu to number 3 or safe
mode. so it will boot the default to number 3 in menu ?



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


Re: change 2nd boot menu

2006-03-21 Thread Kenyon Ralph
On 3/21/06, Joseph Vella <[EMAIL PROTECTED]> wrote:
> Is there a way to eliminate the FreesBSD menu and move those options to the
> grub menu?  (actually I only want a couple of those options, like safe mode,
> single user mode and the loader prompt or maybe just the option to boot into
> my previously compiled kernel)
>
> Is there a way to have that menu shoot by unless I press a key?
>
> At the very least how might I reduce the pause time?

Look for autoboot_delay in loader(8).  It sounds like you would put
something like
  set autoboot_delay="NO"
or whatever value in seconds in /boot/loader.rc.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


change 2nd boot menu

2006-03-21 Thread Joseph Vella
I use grub, after that menu there is a FreeBSD menu with options for single 
user mode, safe mode, kernal loader, etc...

Is there a way to eliminate the FreesBSD menu and move those options to the 
grub menu?  (actually I only want a couple of those options, like safe mode, 
single user mode and the loader prompt or maybe just the option to boot into 
my previously compiled kernel)

Is there a way to have that menu shoot by unless I press a key?

At the very least how might I reduce the pause time?


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


Automating a FreeBSD 6.0 boot menu selection

2006-03-05 Thread Paul Hamilton
Hi all,
 
I have a HP DL-140 G2 server, that will only boot when I select FreeBSD Safe
mode, option 3 on the boot loader menu.
 
I have read through 'man loader' and 'man loader.conf'  I have also had a
read through the /boot/defaults/loader.conf file, but don't really see an
option for this.
 
Is there a way to auto select a menu option upon boot up?
 
I am running FreeBSD 6.1-PRERELEASE, and have tried 6.0 RELEASE as well.
 
Obviously it would be nice to have it start up normally, but there seems to
be a problem reading the SATA drive in normal boot mode.
 
 
Regards,
 
Paul Hamilton
Busselton, 6280
Australia
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Solved, thanks! And a hot software tip (was: How to remove Boot Menu)

2006-02-23 Thread Andrew Pantyukhin
On 2/23/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Hi thanks to everyone who responded, Esp Tim D. on my question
> about removing the FBSD boot manager.  A plain old DOS FDISK /MBR
> zapped it, and left my BSD installation untouched.
>
> Problem is yet again, I needed a dang DOS boot disk.  I've been
> thinking for years it would be cool to have a boot CD-Rom instead,
> that could load up into a ram disk, yada, yada
>
> Well someone already did it, and did a damn thorough job:  The
> Ultimate Boot CD  http://www.ultimatebootcd.com/  is a must-have
> piece of free-ware for anyone maintaining "win-tel" PCs, regardless
> of the operating system in use.  See the site for a complete
> list.  But basically the guy has pulled together dozens of
> manufacturer specific diagnostics, firmware flashers, etc onto one CD
> that can run them directly, or get you a shell in dos or linux, and
> be able to mount pretty much any file system out there.  Good
> Stuff!  Check it out.  And [maybe] finally trash those floppies for good.
>
>  -Wayne
>
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
>

"wintel" stands for windows+intel :-)
how about Freeon - FreeBSD+{Athlon|Sempron|Opteron}?

Thanks for the tip. I've been wondering how one can do
that, but never got to googling. I'm still afraid to mess
with production servers, though zapping the boot manager
would save a few seconds each reboot (hmm, once every
few years :).

UBCD is great, especially when you get hold of mkisofs
and start customizing it. I had to learn it when I needed to
reflash a server without FDD. It only took an hour to find
a guide, experiment and have a new ubcd containing
all the firmwares I need.

Hiren is also very good, but it contains warez mostly, so
beware. There are many other alternatives out there.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Solved, thanks! And a hot software tip (was: How to remove Boot Menu)

2006-02-23 Thread wc_fbsd
Hi thanks to everyone who responded, Esp Tim D. on my question 
about removing the FBSD boot manager.  A plain old DOS FDISK /MBR 
zapped it, and left my BSD installation untouched.


Problem is yet again, I needed a dang DOS boot disk.  I've been 
thinking for years it would be cool to have a boot CD-Rom instead, 
that could load up into a ram disk, yada, yada


Well someone already did it, and did a damn thorough job:  The 
Ultimate Boot CD  http://www.ultimatebootcd.com/  is a must-have 
piece of free-ware for anyone maintaining "win-tel" PCs, regardless 
of the operating system in use.  See the site for a complete 
list.  But basically the guy has pulled together dozens of 
manufacturer specific diagnostics, firmware flashers, etc onto one CD 
that can run them directly, or get you a shell in dos or linux, and 
be able to mount pretty much any file system out there.  Good 
Stuff!  Check it out.  And [maybe] finally trash those floppies for good.


-Wayne

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


Re: How to remove Boot Menu

2006-02-20 Thread [EMAIL PROTECTED]
On 2/20/06, Wayne <[EMAIL PROTECTED]> wrote:
> Hi All,
>
> I have a new server loaded with 6.0-Release.  During the
> installation, I told it to use the "boot manager" -- boot0 if I have
> my terminology straight.
>
> So on every start, I get the:
> F1 FreeBSD
> Default: F1
> menu.
>
> How can I get rid of this, and just boot straight into BSD?   Some
> online docs suggested:fdisk -b /boot/mbr /dev/ad4would work,
> but I've still got the menu.

bsdlabel -B /dev/ad4

might want to man bsdlabel before you assume
I haven't missed something.

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


How to remove Boot Menu

2006-02-20 Thread Wayne

Hi All,

I have a new server loaded with 6.0-Release.  During the 
installation, I told it to use the "boot manager" -- boot0 if I have 
my terminology straight.


So on every start, I get the:
F1 FreeBSD
Default: F1
menu.

How can I get rid of this, and just boot straight into BSD?   Some 
online docs suggested:fdisk -b /boot/mbr /dev/ad4would work, 
but I've still got the menu.


Usually I'll poke around more before asking, but I really don't want 
to trash something, loose the partition table and have to start from 
scratch.  Suggestions?


  -Thanks,   Wayne

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


Linux in freebsd boot menu

2005-09-01 Thread ananth_g

hi,
  i have freebsd/linux and windows. how can i bring all on freebsd boot
menu. ( its really easy to bring everything in GRUB ). is there a way to
bring all the three under freebsd loader ?

regrds,
ananth g.
** DISCLAIMER **
Information contained and transmitted by this E-MAIL is proprietary to 
Sify Limited and is intended for use only by the individual or entity to 
which it is addressed, and may contain information that is privileged, 
confidential or exempt from disclosure under applicable law. If this is a 
forwarded message, the content of this E-MAIL may not have been sent with 
the authority of the Company. If you are not the intended recipient, an 
agent of the intended recipient or a  person responsible for delivering the 
information to the named recipient,  you are notified that any use, 
distribution, transmission, printing, copying or dissemination of this 
information in any way or in any manner is strictly prohibited. If you have 
received this communication in error, please delete this mail & notify us 
immediately at [EMAIL PROTECTED]

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


Re: boot menu (WinXp - freeBSD)

2005-08-23 Thread Garrett Cooper

Efren Bravo wrote:


Hi,

For the interested, I solved the problem using this:
http://gag.sourceforge.net it works ok
 
 
Thanks a lot...


 


Hi,

Finally I could install fBSD, I had to upgrade the bios.

My PC had WinXP on the fist partition and on the other one I installed
fBSD, what do I have to write in the boot.ini(winXP) to choose which OS
should be loaded?


No idea.  But if you install the FreeBSD boot manager then that will
boot both XP and FreeBSD.
   

Ah, forgot about that. Still requires a boot manager to be installed in 
the boot sector for any Linux distros IIRC, but it essentially takes 
care of everything else to a certain extent.

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


Re: boot menu (WinXp - freeBSD)

2005-08-23 Thread Efren Bravo
Hi,

For the interested, I solved the problem using this:
http://gag.sourceforge.net it works ok
  
  
Thanks a lot...

>Hi,
>
>Finally I could install fBSD, I had to upgrade the bios.
>
>My PC had WinXP on the fist partition and on the other one I installed
>fBSD, what do I have to write in the boot.ini(winXP) to choose which OS
>should be loaded?
>  
>
>No idea.  But if you install the FreeBSD boot manager then that will
>boot both XP and FreeBSD.


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


Re: boot menu (WinXp - freeBSD)

2005-08-23 Thread Bob Johnson
On 8/23/05, Efren Bravo <[EMAIL PROTECTED]> wrote:
> Hi,
> 
> Finally I could install fBSD, I had to upgrade the bios.
> 
> My PC had WinXP on the fist partition and on the other one I installed
> fBSD, what do I have to write in the boot.ini(winXP) to choose which OS
> should be loaded?
> 
> Thanks...
> 
> 

This should explain it
http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html#NT-BOOTLOADER

You can use fdisk to set the active partition to select which one
boots until you have it working.

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


Re: boot menu (WinXp - freeBSD)

2005-08-23 Thread Alex Zbyslaw

Efren Bravo wrote:


Hi,

Finally I could install fBSD, I had to upgrade the bios.

My PC had WinXP on the fist partition and on the other one I installed
fBSD, what do I have to write in the boot.ini(winXP) to choose which OS
should be loaded?
 

No idea.  But if you install the FreeBSD boot manager then that will 
boot both XP and FreeBSD.


--Alex

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


boot menu (WinXp - freeBSD)

2005-08-23 Thread Efren Bravo
Hi,

Finally I could install fBSD, I had to upgrade the bios.

My PC had WinXP on the fist partition and on the other one I installed
fBSD, what do I have to write in the boot.ini(winXP) to choose which OS
should be loaded?

Thanks...


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


Re: Editing the boot menu

2005-06-09 Thread Hanspeter Roth
  On Jun 08 at 17:42, Jos de Paula Rodrigues spoke:

> Did you try using Grub instead? It now supports UFS2, and is a great
> bootloader, with lots of features. You can find it in your ports tree.

Grub is heavy. The FreeBsd boot selector is much more efficient. It
is more suited for an old laptop.

The FreeBsd boot selector allows a one keystroke selection.
Grub forces you to press arrow keys until the curser is over the
desired option.

I put the FreeBsd boot selector into the MBR and for Linux Grub or
Lilo into a primary or extended slice (partition).

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


Re: Editing the boot menu

2005-06-08 Thread Remington L
Just use grub, much easier and more flexible

On 6/8/05, Paul Schmehl <[EMAIL PROTECTED]> wrote:
> 
> --On Wednesday, June 08, 2005 17:42:44 -0300 José de Paula Rodrigues
> <[EMAIL PROTECTED]> wrote:
> >
> >> From what I gather, these labels come straight from /boot/boot0, not
> > from boot0cfg. Looking at the boot0 source code (found at
> > /usr/src/sys/boot/i386/boot0/boot0.S), you can see that the OS options
> > are hard-coded into the boot0 program, so there is no way to edit that
> > other than by changing the source code and recompiling.
> >
> I see that now. Thanks for pointing that out.
> 
> > Did you try using Grub instead? It now supports UFS2, and is a great
> > bootloader, with lots of features. You can find it in your ports tree.
> 
> It's not that big of an issue. It's just my workstation, and I know what
> ?? means. I was just being anal. I like to straighten out twisted phone
> cords too.
> 
> Paul Schmehl ([EMAIL PROTECTED])
> Adjunct Information Security Officer
> University of Texas at Dallas
> AVIEN Founding Member
> http://www.utdallas.edu/ir/security/
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> [EMAIL PROTECTED]"
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Editing the boot menu

2005-06-08 Thread Paul Schmehl
--On Wednesday, June 08, 2005 17:42:44 -0300 José de Paula Rodrigues 
<[EMAIL PROTECTED]> wrote:



From what I gather, these labels come straight from /boot/boot0, not

from boot0cfg. Looking at the boot0 source code (found at
/usr/src/sys/boot/i386/boot0/boot0.S), you can see that the OS options
are hard-coded into the boot0 program, so there is no way to edit that
other than by changing the source code and recompiling.


I see that now.  Thanks for pointing that out.


Did you try using Grub instead? It now supports UFS2, and is a great
bootloader, with lots of features. You can find it in your ports tree.


It's not that big of an issue.  It's just my workstation, and I know what 
?? means.  I was just being anal.  I like to straighten out twisted phone 
cords too.


Paul Schmehl ([EMAIL PROTECTED])
Adjunct Information Security Officer
University of Texas at Dallas
AVIEN Founding Member
http://www.utdallas.edu/ir/security/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Editing the boot menu

2005-06-08 Thread Hanspeter Roth
  On Jun 08 at 14:17, Paul Schmehl spoke:

> When you use FreeBSD's boot manager, you get a menu like this at bootup:
> 
> F1 DOS
> F2 FreeBSD
> F3 Linux
> F4 ??
> F5 Drive 1
> 
> Default: F2
> 
> Is there a way to edit the list?  Or is that fixed when boot manager is 
> installed and not configurable?
> 
> By edit, I mean, for example, change F4 ?? to F4 MyOS.

This boot selector has no configuration file. It resides within the
512 Byte MBR.
You may change Lables by editing
/usr/src/sys/boot/i386/boot0/boot0.S.
It's probably easier if you don't touch the length of the label.
After making boot0 copy it to /boot and run boot0cfg.

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


Re: Editing the boot menu

2005-06-08 Thread Alex Zbyslaw

Paul Schmehl wrote:


When you use FreeBSD's boot manager, you get a menu like this at bootup:

F1 DOS
F2 FreeBSD
F3 Linux
F4 ??
F5 Drive 1

Default: F2

Is there a way to edit the list?  Or is that fixed when boot manager 
is installed and not configurable?


You have to edit the source.  If you know the hex for the partition type 
then it's reasonably easy.  Below is a simple patch that adds 0x7 (my 
NTFS/Windows) and recognises it as DOS.  Done out of curiosity, more 
than anything.


(From memory...)

cd /usr/src
patch < {patchname}
cd sys/boot/i386/boot0/
make
make install
boot0cfg -B -o packet /dev/{your disk}

Be warned that the final boot0cfg has to be 512 bytes so if you add a 
string it may become longer.  I haven't tested my patch for the serial 
console boot.  The patch incorporates taking out the bell on 
non-serial-console boots as well (pinched from somewhere else, now 
forgotten) -- it was just annoying.  The patch comes with no warranties, 
but it's working for me.  (I don't promise either that including it here 
won't bu**er up the spaces/tabs).


Of course, once you applied and rebuilt you have to write it to your 
boot sector.  Man boot0cfg and don't forget -o packet if your partitions 
go past cylinder 1024.  And have a FreebSD boot CD handy so you can 
rewrite with a standard one if this doesn't work!


The final problem is that if you use cvsup it will trash all over any 
source changes you make when you next run it.  Doing anything about that 
seems more complicated than can be justified for a small number of 
patches so I just keep them in a separate dir an re-apply them whenever 
I need to.  In this case, it will be just after I reaslise that I've 
installed a beeping boot manager again :-)


--Alex

PS just spotted the -m flag to boo0cfg for the first time.  Amazing what 
you find when you read the man pages :-)




--- sys/boot/i386/boot0/boot0.S.origWed Jan 26 19:11:21 2005
+++ sys/boot/i386/boot0/boot0.S Thu May 26 00:51:34 2005
@@ -29,7 +29,7 @@
.set PRT_OFF,0x1be  # Partition table
 
.set TBL0SZ,0x3 # Table 0 size
-   .set TBL1SZ,0xb # Table 1 size
+   .set TBL1SZ,0xc # Table 1 size
 
.set MAGIC,0xaa55   # Magic: bootable
.set B0MAGIC,0xbb66 # Identification
@@ -201,9 +201,13 @@
 /*
  * Start of input loop.  Beep and take note of time
  */
+#ifdef SIO
 main.10:   movb $ASCII_BEL,%al # Signal
callw putchr#  beep!
xorb %ah,%ah# BIOS: Get
+#else
+main.10:   xorb %ah,%ah# BIOS: Get
+#endif /* SIO */
int $0x1a   #  system time
movw %dx,%di# Ticks when
addw _TICKS(%bp),%di#  timeout
@@ -409,7 +413,7 @@
 /*
  * These values indicate bootable types we know the names of.
  */
-   .byte 0x1, 0x4, 0x6, 0xb, 0xc, 0xe, 0x83
+   .byte 0x1, 0x4, 0x6, 0x7, 0xb, 0xc, 0xe, 0x83
.byte 0x9f, 0xa5, 0xa6, 0xa9
 /*
  * These are offsets that match the known names above and point to the strings
@@ -419,6 +423,7 @@
.byte os_dos-.  # DOS
.byte os_dos-.  # DOS
.byte os_dos-.  # DOS
+   .byte os_dos-.  # Windows
.byte os_dos-.  # Windows
.byte os_dos-.  # Windows
.byte os_dos-.  # Windows
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: Editing the boot menu

2005-06-08 Thread Paul Schmehl
--On Wednesday, June 08, 2005 17:38:36 -0300 Alejandro Pulver 
<[EMAIL PROTECTED]> wrote:


You can try using GAG, a Graphical Boot Loader which does not need a
slice or partition for installing (it uses a special part of the disk,
reserved for things like that), it can be configured while booting,
self uninstalled (restoring the previous bootloader) and supports a lot
of operating systems. Of course, it is free and open-source.

http://gag.sourceforge.net/

It is the *best* bootloader (for booting more than one operating
systems) I have found (I have tried BootMagic, Lilo and Grub).

I'm not interested in using GAG.  (I have used it before, but don't want to 
in this instance.)


Paul Schmehl ([EMAIL PROTECTED])
Adjunct Information Security Officer
University of Texas at Dallas
AVIEN Founding Member
http://www.utdallas.edu/ir/security/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Editing the boot menu

2005-06-08 Thread José de Paula Rodrigues
On 6/8/05, Paul Schmehl <[EMAIL PROTECTED]> wrote:
> --On Wednesday, June 08, 2005 16:29:22 -0300 José de Paula Rodrigues
> <[EMAIL PROTECTED]> wrote:
> 
> > On 6/8/05, Paul Schmehl <[EMAIL PROTECTED]> wrote:
> >> When you use FreeBSD's boot manager, you get a menu like this at bootup:
> >>
> >> F1 DOS
> >> F2 FreeBSD
> >> F3 Linux
> >> F4 ??
> >> F5 Drive 1
> >>
> >> Default: F2
> >>
> >> Is there a way to edit the list?  Or is that fixed when boot manager is
> >> installed and not configurable?
> >>
> >> By edit, I mean, for example, change F4 ?? to F4 MyOS.
> >>
> >
> > man boot0cfg
> >
> I *thought* it would go without saying that I had already read man boot0cfg.
> 
> Obviously, I missed the part where you edit the menu.  Wanna give me a hint?
> 

I'm really sorry I underestimated you, I misunderstood your question
in the first place.

>From what I gather, these labels come straight from /boot/boot0, not
from boot0cfg. Looking at the boot0 source code (found at
/usr/src/sys/boot/i386/boot0/boot0.S), you can see that the OS options
are hard-coded into the boot0 program, so there is no way to edit that
other than by changing the source code and recompiling.

Did you try using Grub instead? It now supports UFS2, and is a great
bootloader, with lots of features. You can find it in your ports tree.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Editing the boot menu

2005-06-08 Thread Alejandro Pulver
On Wed, 08 Jun 2005 14:17:37 -0500
Paul Schmehl <[EMAIL PROTECTED]> wrote:

> When you use FreeBSD's boot manager, you get a menu like this at
> bootup:
> 
> F1 DOS
> F2 FreeBSD
> F3 Linux
> F4 ??
> F5 Drive 1
> 
> Default: F2
> 
> Is there a way to edit the list?  Or is that fixed when boot manager
> is  installed and not configurable?
> 
> By edit, I mean, for example, change F4 ?? to F4 MyOS.
> 

Hello,

You can try using GAG, a Graphical Boot Loader which does not need a
slice or partition for installing (it uses a special part of the disk,
reserved for things like that), it can be configured while booting,
self uninstalled (restoring the previous bootloader) and supports a lot
of operating systems. Of course, it is free and open-source.

http://gag.sourceforge.net/

It is the *best* bootloader (for booting more than one operating
systems) I have found (I have tried BootMagic, Lilo and Grub).

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


Re: Editing the boot menu

2005-06-08 Thread Paul Schmehl
--On Wednesday, June 08, 2005 16:29:22 -0300 José de Paula Rodrigues 
<[EMAIL PROTECTED]> wrote:



On 6/8/05, Paul Schmehl <[EMAIL PROTECTED]> wrote:

When you use FreeBSD's boot manager, you get a menu like this at bootup:

F1 DOS
F2 FreeBSD
F3 Linux
F4 ??
F5 Drive 1

Default: F2

Is there a way to edit the list?  Or is that fixed when boot manager is
installed and not configurable?

By edit, I mean, for example, change F4 ?? to F4 MyOS.



man boot0cfg


I *thought* it would go without saying that I had already read man boot0cfg.

Obviously, I missed the part where you edit the menu.  Wanna give me a hint?

uname -imr
5.4-RELEASE i386 GENERIC

boot0cfg -v /dev/ad4
#   flag start chs   type   end chs   offset size
1   0x00  0:  1: 1   0x07   1023:254:63   63204796557
2   0x80   1023:255:63   0xa5   1023:254:63204796620283482990

version=1.0  drive=0x80  mask=0xf  ticks=182
options=packet,update,nosetdrv
default_selection=F2 (Slice 2)

The options for boot0cfg are:

-B  Install the `boot0' boot manager.  This option causes MBR code 
to

be replaced, without affecting the embedded slice table.

I don't need to install it.

-b boot0
Specify which `boot0' image to use.  The default is /boot/boot0
which will use the video card as output, alternatively
/boot/boot0sio can be used for output to the COM1 port.  (Be
aware that nothing will be output to the COM1 port unless the
modem signals DSR and CTS are active.)

I don't need to specify the boot image.

-d drive
Specify the drive number used by the PC BIOS in referencing the
drive which contains the specified disk.  Typically this will 
be

0x80 for the first hard drive, 0x81 for the second hard drive,
and so on; however any integer between 0 and 0xff is acceptable
here.

I don't need to specify the drive.

-f file
Specify that a backup copy of the preexisting MBR should be 
writ-

ten to file.  This file is created if it does not exist, and
replaced if it does.

I don't need to make a backup copy.

-m mask
Specify slices to be enabled/disabled, where mask is an integer
between 0 (no slices enabled) and 0xf (all four slices 
enabled).


The correct slices are already enabled.  The system boots fine to either OS.

-o options
A comma-separated string of any of the following options may be
specified (with ``no'' prepended as necessary):

The default options are being used, and I see no reason to change them.

packet  Use the disk packet (BIOS INT 0x13 extensions) 
interface,
as opposed to the legacy (CHS) interface, when doing 
disk

I/O.  This allows booting above cylinder 1023, but
requires specific BIOS support.  The default is
`nopacket'.

setdrv  Forces the drive containing the disk to be referenced
using drive number definable by means of the -d option.
The default is `nosetdrv'.

update  Allow the MBR to be updated by the boot manager.  (The

update  Allow the MBR to be updated by the boot manager.  (The
MBR may be updated to flag slices as `active', and to
save slice selection information.)  This is the 
default;
a `noupdate' option causes the MBR to be treated as 
read-

only.

-s slice
Set the default boot selection to slice.  Values between 1 and 
4

refer to slices; a value of 5 refers to the option of booting
from a second disk.

The default slice is determined by the last boot.  I see no reason to 
change that.


-t ticks
Set the timeout value to ticks.  (There are approximately 18.2
ticks per second.)

The timeout is set to 10, and I see no reason to change that.

-v  Verbose: display information about the slices defined, etc.

Self-explanatory.

So where is the switch that I use to edit the menu?

Paul Schmehl ([EMAIL PROTECTED])
Adjunct Information Security Officer
University of Texas at Dallas
AVIEN Founding Member
http://www.utdallas.edu/ir/security/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Editing the boot menu

2005-06-08 Thread José de Paula Rodrigues
On 6/8/05, Paul Schmehl <[EMAIL PROTECTED]> wrote:
> When you use FreeBSD's boot manager, you get a menu like this at bootup:
> 
> F1 DOS
> F2 FreeBSD
> F3 Linux
> F4 ??
> F5 Drive 1
> 
> Default: F2
> 
> Is there a way to edit the list?  Or is that fixed when boot manager is
> installed and not configurable?
> 
> By edit, I mean, for example, change F4 ?? to F4 MyOS.
>

man boot0cfg

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


Editing the boot menu

2005-06-08 Thread Paul Schmehl

When you use FreeBSD's boot manager, you get a menu like this at bootup:

F1 DOS
F2 FreeBSD
F3 Linux
F4 ??
F5 Drive 1

Default: F2

Is there a way to edit the list?  Or is that fixed when boot manager is 
installed and not configurable?


By edit, I mean, for example, change F4 ?? to F4 MyOS.

Paul Schmehl ([EMAIL PROTECTED])
Adjunct Information Security Officer
University of Texas at Dallas
AVIEN Founding Member
http://www.utdallas.edu/ir/security/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: beastie 5.X boot menu

2005-04-07 Thread Tomas Quintero
Theres a few ways to disable beastie, and sorry for the top posting:

Firstly, there was a large discussion about this started by someone
and it is on marc.theaimsgroup

http://marc.theaimsgroup.com/?l=freebsd-questions&w=2&r=1&s=Stupid+ASCII+loader+prompt+&q=b

I didn't feel like reading them all again, but the answer to your
problem IS in one of those.

The way to disable the beastie loader is:

in /boot/loader.conf set
beastie_disable="YES"

Enjoy,
Tomas

On 07 Apr 2005 18:05:11 -0400, Lowell Gilbert
<[EMAIL PROTECTED]> wrote:
> <[EMAIL PROTECTED]> writes:
> 
> > The boot menu has changed between 4.x and 5.x releases. I have
> > searched the handbook and can not find any written documentation
> > about the new beastie boot options, what they are and when each one
> > is intended to be used. I see a lot of posts about the beastie
> > figure but nothing about what the options mean.  If it's written
> > somewhere can someone point me to it and if not can I get an
> > explanation?
> 
> Seriously?
> 
> Well, let's see.
> 
> ACPI:  see "man acpi" for a start.
> Safe Mode: configures the system to avoid all possible hardware
>compatibility problems, at a severe cost in performance.
> single user mode: see the Handbook.
> verbose logging: many informational messages will be logged (by the
>kernel) to the console in the process of booting.
> Escape to loader prompt:  see "man loader".
> USB keyboard: take your computer to your nearest computer store and
>ask them whether you have a USB keyboard or not.
> 
> Generally, "default" will be the right answer unless you know you need
> something else.
> 
> Good luck.
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: beastie 5.X boot menu

2005-04-07 Thread Lowell Gilbert
<[EMAIL PROTECTED]> writes:

> The boot menu has changed between 4.x and 5.x releases. I have
> searched the handbook and can not find any written documentation
> about the new beastie boot options, what they are and when each one
> is intended to be used. I see a lot of posts about the beastie
> figure but nothing about what the options mean.  If it's written
> somewhere can someone point me to it and if not can I get an
> explanation?

Seriously?

Well, let's see.

ACPI:  see "man acpi" for a start.
Safe Mode: configures the system to avoid all possible hardware
compatibility problems, at a severe cost in performance.
single user mode: see the Handbook.
verbose logging: many informational messages will be logged (by the
kernel) to the console in the process of booting.
Escape to loader prompt:  see "man loader".
USB keyboard: take your computer to your nearest computer store and
ask them whether you have a USB keyboard or not.

Generally, "default" will be the right answer unless you know you need
something else.

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


beastie 5.X boot menu

2005-04-07 Thread bob
The boot menu has changed between 4.x and 5.x releases. I have
searched the handbook and can not find any written documentation
about the new beastie boot options, what they are and when each one
is intended to be used. I see a lot of posts about the beastie
figure but nothing about what the options mean.  If it's written
somewhere can someone point me to it and if not can I get an
explanation?



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


stack overflow after boot menu when booting from CD

2004-10-26 Thread Matthias F. Brandstetter
Hi all,

I have a little problem with FreeBSD 5.2.1 boot CD. After booting from it I 
can see the boot menu and below "error: stack overflow".

The machine is a Pentium 233 MMX with 128mb RAM.
Any ideas on this?

TIA and Greetings, Matthias

PS: I have no problem with a FreeBSD 4.10 CD, but I need 5.x cause of 
ACLs...

PPS: There is allready a bug submitted, but without any fix:
http://www.freebsd.org/cgi/query-pr.cgi?pr=67260

-- 
Two-hundred-thirty-nine pounds?!  I'm a blimp!  Why are all the good
things so tasty?

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


Re: How to make the boot menu just like I want?

2004-10-11 Thread Svein Halvor Halvorsen

[Frederick, 2004-10-11]
>  This is Frederick. Is there any table to list the partition number(subtype) or 
> sysid?
>  I have two hard disks. The first one install windows, and the second one install 
> freebsd. 
>  I first install windows, then install freebsd. I use boot manager to manage my boot.
:
>  So please help me to find the partition number(subtype), or tell me how to do that
>  to make the change.

The FreeBSD boot manager is a very small program that lives entirely 
within the bootsector of the disk. It is therefore only one sector in 
size, or 512 bytes. To change the boot menu, you would have to reqrite 
this program. The source code is in:

/usr/src/sys/boot/i386/boot0/boot0.S

Note, however, that this program is allready exactly 512 bytes when 
compiled, so for every byte you put in, you need to take another one out. 

On my laptop I've recompiled the boot0 program to display "Diag" for the 
Dell diagnostic service partition, XP in place of DOS, and FreeBSD for my 
FreeBSD partition. To get room for the Diag selecttion, I had to remove 
Linux from the list. I think I've lost my patches, but the boot sector 
code has been living happily and undisturbed on the boot sector through 
alot of system updates.

Please be careful when replacing the boot sector. Your system may become 
unbootable, and you would have to resort to boot disks to get it back.


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


Re: How to make the boot menu just like I want?

2004-10-11 Thread Emanuel Strobl
Am Montag, 11. Oktober 2004 13:03 schrieb [EMAIL PROTECTED]:
[...]
> > I want the menu to show like:
> > F1: Windows
> > F5 Drive 1
>
> The FreeBSD bootloader doesn't have this capability as
> far as I am aware of. Your best best is to use the Windows
> boot loader, install grub, lilo or some other boot manager that
> has user configurable options for just this thing.

I can highly recommend gag! (http://gag.sourceforge.net/)

-Harry

>
> > I did something. I changed the subtype in the fdisk, 6, 7,
> > 12, 13, 14...
> > but I can't make my menu just like I want.
> >
> > So please help me to find the partition number(subtype), or
> > tell me how to do that
> > to make the change.
> >
> > Please reply me to the following mail address:
> > [EMAIL PROTECTED]
> >
> > Thanks for your help!
> >
> > Frederick.
> >
> > ___
> > [EMAIL PROTECTED] mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to
> > "[EMAIL PROTECTED]"
>
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"


pgpagrAfcPcFJ.pgp
Description: PGP signature


RE: How to make the boot menu just like I want?

2004-10-11 Thread JohnsoBS


> -Original Message-
> From: Frederick [mailto:[EMAIL PROTECTED]
> Sent: Monday, October 11, 2004 12:34 PM
> To: FreeBSD-questions
> Subject: How to make the boot menu just like I want?
> 
> 
> Dear FreeBSD Team:
> This is Frederick. Is there any table to list the partition 
> number(subtype) or sysid?
> I have two hard disks. The first one install windows, and the 
> second one install freebsd. 
> I first install windows, then install freebsd. I use boot 
> manager to manage my boot.
> 
> The menu shows:
> F1: DOS
> F5: Drive 1
> 
> I want the menu to show like:
> F1: Windows
> F5 Drive 1

The FreeBSD bootloader doesn't have this capability as
far as I am aware of. Your best best is to use the Windows
boot loader, install grub, lilo or some other boot manager that
has user configurable options for just this thing.

> 
> I did something. I changed the subtype in the fdisk, 6, 7, 
> 12, 13, 14...
> but I can't make my menu just like I want.
> 
> So please help me to find the partition number(subtype), or 
> tell me how to do that
> to make the change.
> 
> Please reply me to the following mail address:
> [EMAIL PROTECTED]
> 
> Thanks for your help!
> 
> Frederick.
> 
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to 
> "[EMAIL PROTECTED]"
> 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


How to make the boot menu just like I want?

2004-10-11 Thread Frederick
Dear FreeBSD Team:
This is Frederick. Is there any table to list the partition number(subtype) or sysid?
I have two hard disks. The first one install windows, and the second one install 
freebsd. 
I first install windows, then install freebsd. I use boot manager to manage my boot.

The menu shows:
F1: DOS
F5: Drive 1

I want the menu to show like:
F1: Windows
F5 Drive 1

I did something. I changed the subtype in the fdisk, 6, 7, 12, 13, 14...
but I can't make my menu just like I want.

So please help me to find the partition number(subtype), or tell me how to do that
to make the change.

Please reply me to the following mail address:
[EMAIL PROTECTED]

Thanks for your help!

Frederick.

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


Re: beastie in 5.2 boot menu

2004-01-24 Thread Hanspeter Roth
  On Jan 23 at 19:06, John Mills spoke:

> Hanspeter -
> 
> On Sat, 24 Jan 2004, Hanspeter Roth wrote:
> 
> > how can I turn off (delete) the beastie in the boot menu in 5.2?
> 
> The ASCII image is part of a text file. I think it is found in /boot and 
> named similar to "beastie2nd.[something]". Go with your favorite ASCII 
> editor and make it what you want. Run 'find /boot -name beast\* -print' 
> and you should find it.

Yes, it is /boot/beastie.4th. Thanks.

-Hanspeter
--- boot/beastie.4th.orig   Sun Jan 11 03:48:00 2004
+++ boot/beastie.4thThu Jan 22 22:55:01 2004
@@ -94,6 +94,7 @@
 ;
 
 : print-beastie ( x y -- )
+   exit
s" loader_color" getenv
dup -1 = if
drop
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: beastie in 5.2 boot menu

2004-01-23 Thread John Mills
Hanspeter -

On Sat, 24 Jan 2004, Hanspeter Roth wrote:

> how can I turn off (delete) the beastie in the boot menu in 5.2?

The ASCII image is part of a text file. I think it is found in /boot and 
named similar to "beastie2nd.[something]". Go with your favorite ASCII 
editor and make it what you want. Run 'find /boot -name beast\* -print' 
and you should find it.

 - John Mills
   [EMAIL PROTECTED]

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


beastie in 5.2 boot menu

2004-01-23 Thread Hanspeter Roth
Hello,

how can I turn off (delete) the beastie in the boot menu in 5.2?

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


RE: Another question - Boot Menu

2003-10-07 Thread Dan Strick
On Mon, 6 Oct 2003, [EMAIL PROTECTED] wrote:
> I too have this problem (I dual boot Win 2K/FreeBSD on my desktop).
> Everything works fine, but I think what Ron wants to know is simply can
> you change the ??? into Windows for example?

The partition type code -> OS name translation table is hardwired into
/usr/src/sys/boot/i386/boot0/boot0.s, the source for the master bootstrap
program.  These are the current mappings:

parition codes  string
--  
1,4,6,11,12,14  DOS
99  UNIX
131 Linux
159,166,169 BSD
165 FreeBSD

There isn't enough free space left in boot0 to add any more mappings.
(It has to fit in a 512 byte disk sector).  You could make space by
deleting some of the current mappings or other boot0 program features.
I suspect that you don't want to get into that.

If you want to create your own customized bootstrap menu, you might
look into /usr/ports/sysutils/grub.

If you are curious, you can find a larger partition code table in
/usr/src/sbin/i386/fdisk/fdisk.c.

For an even larger compilation, see

http://www.win.tue.nl/~aeb/partitions/partition_types-1.html

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


RE: Another question - Boot Menu

2003-10-06 Thread David Jenkins
I too have this problem (I dual boot Win 2K/FreeBSD on my desktop).
Everything works fine, but I think what Ron wants to know is simply can
you change the ??? into Windows for example?

Regards

David

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ronnie Clark
Sent: 06 October 2003 20:24
To: FreeBSD Questions
Subject: Another question - Boot Menu

How does one edit the menu options when using the
FreeBSD boot menu to dual boot with Windows? Currently
mine says:
F1: ???
F2: FreeBSD

I searched the archives, but did not find my answer.

Thanks,
Ron Clark


__
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
"[EMAIL PROTECTED]"

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


RE: Another question - Boot Menu

2003-10-06 Thread Minnesota Slinky
Yes, that's usually the NTFS (Windows NT, 2000Pro, Xppro) partition and
it WILL boot the correlating operating system.

Eric F Crist
AdTech Integrated Systems, Inc
(952) 403-9000 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Nimrod Mesika
Sent: Monday, October 06, 2003 2:54 PM
To: FreeBSD Questions
Subject: Re: Another question - Boot Menu


On Mon, Oct 06, 2003 at 12:24:07PM -0700, Ronnie Clark wrote:
> How does one edit the menu options when using the
> FreeBSD boot menu to dual boot with Windows? Currently
> mine says:
> F1: ???
> F2: FreeBSD

Does pressing F1 actually boots Windows? Which version of windows do you
have installed?

The "???" name means the boot loader doesn't have an entry for that
partition type in its built in table (or at least that's what I think it
means :)

-- 
Nimrod.


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


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


Re: Another question - Boot Menu

2003-10-06 Thread Lowell Gilbert
Jud <[EMAIL PROTECTED]> writes:

> Points for searching the archives, but in this case it's an FAQ.  :)

Specifically, 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html#CHANGING-BOOTPROMPT
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Another question - Boot Menu

2003-10-06 Thread Jud
On Mon, 06 Oct 2003 15:48:16 -0400, Timothy Luoma <[EMAIL PROTECTED]> wrote:

On Mon, 6 Oct 2003 12:24:07 -0700 (PDT), Ronnie Clark  
<[EMAIL PROTECTED]> wrote:

How does one edit the menu options when using the
FreeBSD boot menu to dual boot with Windows? Currently
mine says:
F1: ???
F2: FreeBSD
I searched the archives, but did not find my answer.
I believe that is just what it says when it runs into a NTFS partition.

I'm running http://gag.sourceforge.net/ on my system and found it quite  
easy to use and also easy to switch which is the default, etc.
Points for searching the archives, but in this case it's an FAQ.  :)  The  
bootloader will work even though it just shows question marks.  "???" is  
what it says when it runs into a filesystem that might be NTFS, or it  
might be OS/2's HPFS filesystem, or even QNX - they all share a filesystem  
ID number of 7.  Other bootloaders such as the NT/XP bootloader, Grub,  
GAG, etc., are multi-part: one piece lives in the boot sector (which is  
quite small) and does the booting, and another, larger bit allows you to  
configure cool stuff like graphics, labels, etc.  FreeBSD's bootloader  
just has the small bit that does the booting.  If you want something other  
than question marks, you can hack the bootloader source (I've never tried  
and don't know what's involved) or use one of the other available  
bootloaders, several of which have been mentioned in this thread.  The  
NT/XP loader you already have; GAG is easy and (because it works with  
RAID) is the one I use ATM; Grub is very configurable and its  
documentation is useful to learn about bootloaders and the way they work.

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


Re: Another question - Boot Menu

2003-10-06 Thread Nimrod Mesika
On Mon, Oct 06, 2003 at 12:24:07PM -0700, Ronnie Clark wrote:
> How does one edit the menu options when using the
> FreeBSD boot menu to dual boot with Windows? Currently
> mine says:
> F1: ???
> F2: FreeBSD

Does pressing F1 actually boots Windows? Which version of windows
do you have installed?

The "???" name means the boot loader doesn't have an entry for that
partition type in its built in table (or at least that's what I
think it means :)

-- 
Nimrod.


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


Re: Another question - Boot Menu

2003-10-06 Thread Timothy Luoma
On Mon, 6 Oct 2003 12:24:07 -0700 (PDT), Ronnie Clark 
<[EMAIL PROTECTED]> wrote:

How does one edit the menu options when using the
FreeBSD boot menu to dual boot with Windows? Currently
mine says:
F1: ???
F2: FreeBSD
I searched the archives, but did not find my answer.
I believe that is just what it says when it runs into a NTFS partition.

I'm running http://gag.sourceforge.net/ on my system and found it quite 
easy to use and also easy to switch which is the default, etc.

TjL

--
FBSD 4.9 on a Dell Inspiron 7500 laptop
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Another question - Boot Menu

2003-10-06 Thread Ronnie Clark
How does one edit the menu options when using the
FreeBSD boot menu to dual boot with Windows? Currently
mine says:
F1: ???
F2: FreeBSD

I searched the archives, but did not find my answer.

Thanks,
Ron Clark


__
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Boot Menu question

2002-12-11 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2002-12-10 20:56:47 +0100:
> The documentation is a little skimpy, and lots of mentions of Hurd
> (the O/S that I suppose will surface one day, probably not before I
> grow old and die though I think). 

definitely not before RMS sells GNU to MSFT. :)

-- 
If you cc me or remove the list(s) completely I'll most likely ignore
your message.see http://www.eyrie.org./~eagle/faqs/questions.html

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



Re: Boot Menu question

2002-12-10 Thread Cliff Sarginson
On Tue, Dec 10, 2002 at 12:47:22PM -0500, Jud wrote:
> On Tue, 10 Dec 2002 09:26:21 -0500 (EST), "Jerry McAllister"
> <[EMAIL PROTECTED]> said:
> > > 
> > > Hello!
> > >  
> > >  When I start my system I have a choise of 2 OS's:
> > >  
> > >  F1: ???
> > >  F3: FreeBSD
> > > 
> > >  The question is how do i change "???" to "Win2000"?
> > 
> > This is a frequent question, so there is a lot in the archives on it.
> > But, briefly, the boot manager was written before W2K (and W-XP, etc)
> > and so, doesn't have a name for them.  It can boot them as long as
> > they use a "standard" boot sequence.  It just doesn't know what to
> > call them.  
> > 

For multiple boot systems I really would recommend grub, it seems to be
able to boot anything, and is configured via an ordinary text file once
installed..and allows editing of bad entries at boot time. You have to
get your head around it's OS-neutral (for want of a better expression)
way of addressing disks, but then it's an excellent piece of work.

The documentation is a little skimpy, and lots of mentions of Hurd (the
O/S that I suppose will surface one day, probably not before I grow old
and die though I think). 

-- 
Regards
   Cliff Sarginson 
   The Netherlands

[ This mail has been checked as virus-free ]

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



Re: Boot Menu question

2002-12-10 Thread Jud
On Tue, 10 Dec 2002 09:26:21 -0500 (EST), "Jerry McAllister"
<[EMAIL PROTECTED]> said:
> > 
> > Hello!
> >  
> >  When I start my system I have a choise of 2 OS's:
> >  
> >  F1: ???
> >  F3: FreeBSD
> > 
> >  The question is how do i change "???" to "Win2000"?
> 
> This is a frequent question, so there is a lot in the archives on it.
> But, briefly, the boot manager was written before W2K (and W-XP, etc)
> and so, doesn't have a name for them.  It can boot them as long as
> they use a "standard" boot sequence.  It just doesn't know what to
> call them.  
> 
> To change that, either you or someone else will have to modify the 
> boot manager code to add recognition of those, or you have to 
> install a different boot manager that knows about them.  There
> are several, some rather overblown.  I see one called 'grub'
> mentioned quite often, but haven't used it.
> 
> It would be nice if someone who know something about the insides of
> these things got around to adding recognition of W2K and W-XP and 
> maybe a couple of others hint hint hint.   (But, I doubt that I will
> ever learn enough or get around to it)

The problem is that a number of operating systems use what Microsoft
calls NTFS.  
Of course there are NT/W2K/XP.  IBM's OS/2 uses the same filesystem and
calls it 
HPFS.  And I think QNX may use (or have used) this filesystem as well.

So someone would have to allow for user-configurable choices or some sort
of automagic 
determination of the "brand name" on the filesystem within the extremely
restricted 
space available in the bootloader.  Rather than spending overmuch time on
this, the 
responsible committers have concentrated on making sure the bootloader
does its 
fundamental job correctly.  For those who would like the brand name of
the filesystem 
to appear in the boot menu, a section of the FAQ at FreeBSD's web site
outlines how 
this can be done with the NT bootloader, or as Jerry mentioned, Grub is
available in 
ports.

Jud

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



Re: Boot Menu question

2002-12-10 Thread Jerry McAllister
> 
> Hello!
>  
>  When I start my system I have a choise of 2 OS's:
>  
>  F1: ???
>  F3: FreeBSD
> 
>  The question is how do i change "???" to "Win2000"?

This is a frequent question, so there is a lot in the archives on it.
But, briefly, the boot manager was written before W2K (and W-XP, etc)
and so, doesn't have a name for them.  It can boot them as long as
they use a "standard" boot sequence.  It just doesn't know what to
call them.  

To change that, either you or someone else will have to modify the 
boot manager code to add recognition of those, or you have to 
install a different boot manager that knows about them.  There
are several, some rather overblown.  I see one called 'grub'
mentioned quite often, but haven't used it.

It would be nice if someone who know something about the insides of
these things got around to adding recognition of W2K and W-XP and 
maybe a couple of others hint hint hint.   (But, I doubt that I will
ever learn enough or get around to it)

jerry

>  TIA.
> 

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



Boot Menu question

2002-12-10 Thread Sergey Niunco
Hello!
 
 When I start my system I have a choise of 2 OS's:
 
 F1: ???
 F3: FreeBSD

 The question is how do i change "???" to "Win2000"?

 TIA.

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