changing the boot0 menu

2004-02-23 Thread Alan Freed
Hi,

I have just installed FreeBSD 5.1 on my laptop.  I've been an avid 
RedHat user since vs 3, but their recent marketing change has made 
it unrealistic for me to stay with them, so I purchased your CD 
bundle and installed it.

I have a specific ?  I use several OS's, and your bootloader finds 
them all; however, it prints a ?? on the screen because they are 
unknown to BSD.  I look at the /boot/boot0 file which contains this 
information, but I don't know how to edit it.  Do you have a way 
that I can edit the menu so that when I select a non-FreeBSD OS I 
know what I'm getting?  

It is going to take me a good week to get everything configured 
and running, but it seems that this will happen, it will just take 
time.  

You really need to get teTeX in your Ports distribution!!!

Thanks,

Al
-- 
Alan D. Freed, Ph.D.phone:  1-216-433-8747
Polymers Branch, MS 49-3fax:1-216-977-7132
NASA Glenn Research Center  E-mail: [EMAIL PROTECTED]  (Tue.)
21000 Brookpark Road[EMAIL PROTECTED]  (Mon.  Wed.)
Cleveland, OH 44135 [EMAIL PROTECTED]   (Thr.  Fri.)

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


Re: changing the boot0 menu

2004-02-23 Thread Dan Nelson
In the last episode (Feb 23), Alan Freed said:
 I have a specific ?  I use several OS's, and your bootloader finds
 them all; however, it prints a ?? on the screen because they are
 unknown to BSD.  I look at the /boot/boot0 file which contains this
 information, but I don't know how to edit it.  Do you have a way that
 I can edit the menu so that when I select a non-FreeBSD OS I know
 what I'm getting?

It's a very simple boot menu.  It has to fit inside the MBR, so it
can't know about all partition types.  If you want, you can cd to
/sys/boot/i386/boot0/, edit the tables in boot0.s, run make obj 
make depend  make  make install then run boot0cfg -B da0 to
reinstall the new bootblock into the disk.  If you get an attempt to
.org backwards message while compiling, that means you made the
bootblock larger than 512 bytes, and you'll have to remove some of the
other entries in the table.

Note that it just goes by partition type, so it can't tell the
difference between a w2k and a wxp partition, or different linux
partitions.  I suggest using grub from ports if you want a nice
customizeable menu.
 
 It is going to take me a good week to get everything configured 
 and running, but it seems that this will happen, it will just take 
 time.  
 
 You really need to get teTeX in your Ports distribution!!!

It's already there: ports/print/teTex

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