From owner-freebsd-questions Sun Oct 13 13:54:18 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D58ED37B404 for ; Sun, 13 Oct 2002 13:54:15 -0700 (PDT) Received: from nic.upatras.gr (nic.upatras.gr [150.140.129.30]) by mx1.FreeBSD.org (Postfix) with SMTP id 824FB43E9C for ; Sun, 13 Oct 2002 13:54:14 -0700 (PDT) (envelope-from keramida@freebsd.org) Received: (qmail 7800 invoked from network); 13 Oct 2002 20:47:12 -0000 Received: from upnet-dialinpool-87.upnet.gr (HELO hades.hell.gr) (@150.140.128.167) by nic.upatras.gr with SMTP; 13 Oct 2002 20:47:12 -0000 Received: from hades.hell.gr (hades [127.0.0.1]) by hades.hell.gr (8.12.6/8.12.6) with ESMTP id g9DKs4ae015040 for ; Sun, 13 Oct 2002 23:54:21 +0300 (EEST) (envelope-from keramida@freebsd.org) Received: (from keramida@localhost) by hades.hell.gr (8.12.6/8.12.6/Submit) id g9DJWkhe012349; Sun, 13 Oct 2002 22:32:46 +0300 (EEST) (envelope-from keramida@freebsd.org) Date: Sun, 13 Oct 2002 22:32:46 +0300 From: Giorgos Keramidas To: Hillery Cc: questions@freebsd.org Subject: Re: booteasy & mbr Message-ID: <20021013193246.GF10829@hades.hell.gr> References: <200210112339.36974.hawk@redtail.bakerst> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="2oS5YaxWCcQjTEyO" Content-Disposition: inline In-Reply-To: <200210112339.36974.hawk@redtail.bakerst> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --2oS5YaxWCcQjTEyO Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2002-10-11 23:41, Hillery wrote: > Somewhere on the site or in those books I found a blurb on how to > modify the text that spits out "F1 DOS & F2 BSD " lines in pre-boot > (before BTX takes over -- so boot) or boot1?) That's boot0. You can modify the labels that are printed by editing the source code of /boot/boot0 in /usr/src/sys/boot/i386/boot0/boot0.s and adding your own labels. This is not a trivial thing to do though, and you should definitely get acquainted with booting from another medium (like, an installation CDROM) and save backup copies of your partition tables, before messing around with boot0. Look near lines 359-400 in /usr/src/sys/boot/i386/boot0/boot0.s for the place where the valid partition types and their labels are defined: 359 tables: 360 # 361 # These entries identify invalid or NON BOOT types and partitions. 362 # ... 386 # 387 # And here are the strings themselves. 0x80 or'd into a byte indica= tes 388 # the end of the string. (not so great for Russians but...) 389 # 390 os_misc: .ascii "?"; .byte '?'|0x80 391 os_dos: .ascii "DO"; .byte 'S'|0x80 392 os_unix: .ascii "UNI"; .byte 'X'|0x80 393 os_linux: .ascii "Linu"; .byte 'x'|0x80 394 os_freebsd: .ascii "Free" 395 os_bsd: .ascii "BS"; .byte 'D'|0x80 --=20 keramida@FreeBSD.org FreeBSD: The Power to Serve FreeBSD 5.0-CURRENT #12: Thu Oct 10 21:08:38 EEST 2002 --2oS5YaxWCcQjTEyO Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iD8DBQE9qcpd1g+UGjGGA7YRAk0yAJ9u1csh/egkjIm/uqLtyxHuPrAQ+gCfatMm cJub5OR7tcw4nP5LYtGAsCs= =+q1m -----END PGP SIGNATURE----- --2oS5YaxWCcQjTEyO-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message