From owner-freebsd-hackers@FreeBSD.ORG Sat Sep 10 21:45:36 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 3DD3D16A420 for ; Sat, 10 Sep 2005 21:45:36 +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 0E2CA43D46 for ; Sat, 10 Sep 2005 21:45:34 +0000 (GMT) (envelope-from danger@wilbury.sk) Received: from localhost (localhost [127.0.0.1]) by mail.rulez.sk (Postfix) with ESMTP id 5A5031CC61 for ; Sat, 10 Sep 2005 23:45:33 +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 945AB1CC33 for ; Sat, 10 Sep 2005 23:45:24 +0200 (CEST) Date: Sat, 10 Sep 2005 23:43:15 +0200 From: Daniel Gerzo X-Mailer: The Bat! (v3.5) UNREG / CD5BF9353B3B7091 X-Priority: 3 (Normal) Message-ID: <1567405732.20050910234315@rulez.sk> To: hackers@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha1; boundary="----------E574B1198D26" X-Virus-Scanned: by amavisd-new at mail.rulez.sk X-Spam-Status: No, score=-5.896 tagged_above=-999 required=5 tests=[ALL_TRUSTED=-3.3, AWL=0.003, BAYES_00=-2.599] X-Spam-Score: -5.896 X-Spam-Level: X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: 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 21:45:36 -0000 This is a cryptographically signed message in MIME format. ------------E574B1198D26 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hello hackers, I'm in the step when I need your help. Let me describe the situation. I've ordered the dedicated server where was installed FreeBSD by default. The main problem was that they created only 4gB swap and one partition mounted under '/'. Well, of course, I didn't liked it, and I decided to repartition disk, so I've swapoff the swap, created there the filesystem, exctracted base from ISO and booted to that partition. Then I've removed the `a' partition and created few more partitions from the free space. So I had a potentional root partition under ad0s1e, the tmp partition under ad0s1f, swap under ad0s1g and rest under ad0s1h as usr partition. I've mounted them all and installed there a base system again and booted the new system, newfs'ed the ad0s1d (there was the original swap, then system) and prepared it as a var partition. Now, what I have: ad0s1e 248mb / ad0s1f 1.5gb /tmp ad0s1g 1.5gb swap ad0s1d 4gb /var ad0s1h rest /usr Ok, I will describe the main problem here; According to the boot(8) manual the automatic boot will attempt to load /boot/loader from partition `a'. But there's no such partition and I have /boot/loader under the `e' partition. I know only one and the only normal way how to force to use `e' partition. This is done throught the boot2 stage of boot process, when one need to manually type 0:ad(0,e)/boot/loader to the console so boot process will be able to use needed utilities. The main question is: How to force boot procedure to automatically seek boot images on other partition then `a', let's say on `e' one. -- Best Regards, Daniel Gerzo ------------E574B1198D26--