Date: Thu, 17 Aug 2006 20:47:20 +0300 From: Odhiambo Washington <wash@wananchi.com> To: freebsd-questions@freebsd.org Cc: chinhngt@sectorb.msk.ru Subject: Re: How to bypass loader.conf at boot Message-ID: <20060817174720.GA78274@ns2.wananchi.com> In-Reply-To: <20060817212131.N34612@it.hackers> References: <20060817212131.N34612@it.hackers>
next in thread | previous in thread | raw e-mail | index | archive | help
* 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 ..... 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 http://www.netmeister.org/news/learn2quote.html DISCLAIMER: See http://www.wananchi.com/bms/terms.php -- +======================================================================+ |\ _,,,---,,_ | Odhiambo Washington <wash@wananchi.com> Zzz /,`.-'`' -. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com |,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922 '---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121 +======================================================================+ Nothing is more admirable than the fortitude with which millionaires tolerate the disadvantages of their wealth. -- Nero Wolfe
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060817174720.GA78274>