Re: Serial speed for boot device selection prompt
- From: Jeremy Chadwick <koitsu@xxxxxxxxxxx>
- Date: Wed, 24 Oct 2007 20:54:54 -0700
On Wed, Oct 24, 2007 at 10:50:21AM -0700, Sean Bruno wrote:
I have a drive that contains two seperate bootable partitions(ad0s1a and
ad0s2a). The boot device selection menu(boot0?) appears to only be able to
support 9600 8N1. I wanted to run the serial console at 115200, but I
currently have to switch to 9600 if I need to change the boot device. Is
there a way around this that I can't see? Could I get around this with a
BIOS that can do console redirection?
Which "boot device selection menu" are you referring to? "boot0?"
implies you don't know. Here's the difference:
boot0 is this stage:
F1 FreeBSD
F5 Drive 1
Default: F1
boot2 is this stage:
Default: 0:ad(0,a)/boot/loaderFreeBSD/i386 BOOT
boot:
If you want serial capability in boot0, you should set
BOOT_COMCONSOLE_SPEED=115200 in your make.conf. After you do that,
you'll need to rebuild the boot blocks. The procedure for doing that is
step 4 of Section 24.6.5.2 in the Handbook:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/serialconsole-setup.html
You'll also need to update the MBR boot code on-disk to use the new
serial version (called boot0sio). boot0cfg -b /boot/boot0sio should
do the trick.
If you want serial capability in boot2, it's much easier. All you have
to do is make a file called /boot.config and place -S115200 in it. You
may also want to consider using -S115200 -Dh. See the boot(8) manpage
for details on what -S, -D, and -h do. Make sure you don't have a
CONSPEED setting in your kernel config as well.
All that said, chances are the boot blocks you're using are likely
configured to use data from ad0s1a (for booting). So that would be the
place to put the /boot.config file.
--
| Jeremy Chadwick jdc at parodius.com |
| Parodius Networking http://www.parodius.com/ |
| UNIX Systems Administrator Mountain View, CA, USA |
| Making life hard for others since 1977. PGP: 4BD6C0CB |
_______________________________________________
freebsd-hackers@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@xxxxxxxxxxx"
- Follow-Ups:
- Re: Serial speed for boot device selection prompt
- From: Sean Bruno
- Re: Serial speed for boot device selection prompt
- References:
- Serial speed for boot device selection prompt
- From: Sean Bruno
- Serial speed for boot device selection prompt
- Prev by Date: Re: Getting nonstandard serial baud rates w/FTDI
- Next by Date: How to get a kthread ID?
- Previous by thread: Serial speed for boot device selection prompt
- Next by thread: Re: Serial speed for boot device selection prompt
- Index(es):
Relevant Pages
- Re: PWS 500AU wont boot Tru64 CD
... Linux and OpenVMS installation CDs boot fine, ... Tru64 can only boot from the
first CD-ROM on the first IDE ... Even with the boot device specified and
working correctly, ... (comp.unix.tru64) - Re: Additional hard drive
... of the device type boot order afterwards. ... the option is to install
the new OS with the ... How to change boot device order in BIOS? ... (microsoft.public.windowsxp.general) - Re: Why wont FreeBSD boot from hard drive??
... The SATA controller chip is the Intel ICH7R Southbridge RAID Controller. ...
hard is selected as the boot device; however, it seems to default back to ... motherboard
manual states "If you want to boot the system from a HD included ... (freebsd-questions) - Re: Additional hard drive
... newly installed OS's partition to be called "C:". ... its OS will boot regardless
whether it's Master ... If you install the new OS while the old HD is still connected,
... HDD as first Boot Device and there is no necessity to change ... (microsoft.public.windowsxp.general) - XP Load problem
... it sounds to me like the BIOS is ... set to go to the CD-ROM drive as the first
boot device. ... (microsoft.public.windowsxp.general)