From owner-freebsd-questions@FreeBSD.ORG Thu Aug 17 18:07:56 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 BC8EB16A4DA for ; Thu, 17 Aug 2006 18:07:56 +0000 (UTC) (envelope-from danger@rulez.sk) Received: from virtual.micronet.sk (smtp.micronet.sk [84.16.32.237]) by mx1.FreeBSD.org (Postfix) with ESMTP id A9ECB43DA9 for ; Thu, 17 Aug 2006 18:06:38 +0000 (GMT) (envelope-from danger@rulez.sk) Received: from localhost (localhost [127.0.0.1]) by virtual.micronet.sk (Postfix) with ESMTP id 1E16210E7A3; Thu, 17 Aug 2006 20:06:23 +0200 (CEST) X-Virus-Scanned: by amavisd-new at virtual.micronet.sk Received: from virtual.micronet.sk ([127.0.0.1]) by localhost (virtual.micronet.sk [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id l1jDplOcllE5; Thu, 17 Aug 2006 20:06:21 +0200 (CEST) Received: from danger.mcrn.sk (danger.mcrn.sk [84.16.37.254]) by virtual.micronet.sk (Postfix) with ESMTP id 975CF10E7A2; Thu, 17 Aug 2006 20:06:21 +0200 (CEST) Date: Thu, 17 Aug 2006 20:06:16 +0200 From: Daniel Gerzo X-Mailer: The Bat! (v3.62.14) Professional X-Priority: 3 (Normal) Message-ID: <307638816.20060817200616@rulez.sk> To: Odhiambo Washington In-Reply-To: <20060817174720.GA78274@ns2.wananchi.com> References: <20060817212131.N34612@it.hackers> <20060817174720.GA78274@ns2.wananchi.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: chinhngt@sectorb.msk.ru, freebsd-questions@freebsd.org Subject: Re[2]: How to bypass loader.conf at boot X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Daniel Gerzo List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Aug 2006 18:07:56 -0000 Hello Odhiambo, Thursday, August 17, 2006, 7:47:20 PM, you wrote: > * On 17/08/06 21:22 +0400, Nguyen Tam Chinh wrote: > | Hi all, > | > | I edited the /boot/loader.conf to add values for kern.maxdsiz and > | kern.dfldsiz. > | Unfortunately my server can not boot after that (the values are too big). > | How can I bypass the loader.conf parameters at > | boot? Or how I can change these values interactively? > | The server is located in a data center and I can access to it through > | supporter. > | Please advice. > | Thanks all for helping. > | > | PS. Please CC me because I'm not in this list. > Off the top of my head ..... I don't think that this is really needed. Let the technician boot the box and tell him to escape to the boot prompt. When he will be done, he just need to unset those variables with the following command -- unset kern.maxdsiz; and unset kern.dfldsiz. After that, he will just have to type 'boot' and that's all. I hope that this will work for him ;-) Anyway, try to read through loader(8) manual page. > Get the guy at the data centre to get a 5.x or 6.x installation CD. > He should boot with it and choose the Fixit option, and select the > live filesystem on CD. > After that, he will be dropped into a shell and the following steps > will work: > fsck -y /dev/da0s1a (change to the correct slice name!!) > Once that is complete: > mount /dev/da0s1a /mnt > vi /mnt/boot/loader.conf > save changes > Exit the Fixit mode and reboot, removing the CD, and voila! > -Wash -- Best regards, Daniel mailto:danger@rulez.sk