How to bypass loader.conf at boot

Odhiambo Washington wash at wananchi.com
Thu Aug 17 17:47:27 UTC 2006


* 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 at 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


More information about the freebsd-questions mailing list