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]


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 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]