From owner-freebsd-hackers@FreeBSD.ORG Sat Sep 10 23:11:00 2005 Return-Path: X-Original-To: hackers@freebsd.org Delivered-To: freebsd-hackers@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 94FEB16A41F for ; Sat, 10 Sep 2005 23:11:00 +0000 (GMT) (envelope-from danger@wilbury.sk) Received: from mail.rulez.sk (DaEmoN.RuLeZ.sK [84.16.32.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id EC2EE43D48 for ; Sat, 10 Sep 2005 23:10:59 +0000 (GMT) (envelope-from danger@wilbury.sk) Received: from localhost (localhost [127.0.0.1]) by mail.rulez.sk (Postfix) with ESMTP id 9B4871CC68; Sun, 11 Sep 2005 01:10:58 +0200 (CEST) Received: from danger.mcrn.sk (danger.mcrn.sk [84.16.37.254]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.rulez.sk (Postfix) with ESMTP id 00C6D1CC61; Sun, 11 Sep 2005 01:10:54 +0200 (CEST) Date: Sun, 11 Sep 2005 01:10:50 +0200 From: Daniel Gerzo X-Mailer: The Bat! (v3.5) UNREG / CD5BF9353B3B7091 X-Priority: 3 (Normal) Message-ID: <1744063854.20050911011050@rulez.sk> To: Mike Meyer In-Reply-To: <17187.25746.157318.605055@bhuda.mired.org> References: <1567405732.20050910234315@rulez.sk> <17187.23528.480983.263363@bhuda.mired.org> <1494707485.20050911002426@rulez.sk> <17187.25746.157318.605055@bhuda.mired.org> MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha1; boundary="----------2C115147D6CCFC" X-Virus-Scanned: by amavisd-new at mail.rulez.sk X-Spam-Status: No, score=-5.138 tagged_above=-999 required=5 tests=[ALL_TRUSTED=-3.3, AWL=0.761, BAYES_00=-2.599] X-Spam-Score: -5.138 X-Spam-Level: X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: hackers@freebsd.org Subject: Re[4]: Forcing boot to seek for files on other parition then `a' X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Daniel Gerzo List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Sep 2005 23:11:00 -0000 This is a cryptographically signed message in MIME format. ------------2C115147D6CCFC Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Re Mike, Sunday, September 11, 2005, 12:56:18 AM, you wrote: > Daniel Gerzo typed: >> Ahoj omyl Mike, >>=20 >> Sunday, September 11, 2005, 12:19:20 AM, si odoslal: >>=20 >> > Daniel Gerzo typed: >> >> How to force boot procedure to automatically seek boot images on >> >> other partition then `a', let's say on `e' one. >>=20 >> > If you google the archives at FreeBSD, you'll find that this is a >> > PITA, assuming it's possible at all. No particular reason for it, just >> > not something anyone has ever wanted to do. Someone may have fixed >> > this since the last time I saw it discussed, but I wouldn't bet on it. >>=20 >> > So the fix is to boot on the fixit CDROM, fire up bsdlabel on your >> > disk, and change the "e" to an "a", and boot off the a partition. >>=20 >> oh, you know that dedicated boxes doesn't have CD-ROM and FreeBSD ISO >> in it, and I don't have a roam KVM available? Also, there's no netboot >> server available :/ > Sorry about that - I didn't read your message carefully enough. >> So maybe I could hack sys/boot/i386/boot2/boot2.c somehow?, but I'm not >> a C knowledgeable and it's little bit mess for me. > Well, if you can get the disk someplace where you could install a > recompiled boot loader, then you can use bsdlabel on it. Well, I actually can install a recombiled boot loader, can't I? I have sources and I can use bsdlabel -B ad0s1 then. but now the question is: which changes do I need to proceed so that the boot(8) will seek for boot images in `e' partition? >