How to bypass loader.conf at boot
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. - With best regards, |The Power to Serve Nguyen Tam Chinh| http://www.FreeBSD.org Loc: sp.cs.msu.su | ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to bypass loader.conf at boot
* 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[EMAIL PROTECTED] 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 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to bypass loader.conf at boot
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. Choose boot menu option 6: Escape to loader prompt Then you can set/unset anything. Use show to see the current values, set to set some parameter, load/unload to load or unload kernel or modules - see help for more. Cheers, Erik -- Ph: +34.666334818 web: http://www.locolomo.org X.509 Certificate: http://www.locolomo.org/crt/8D03551FFCE04F0C.crt Key ID: 69:79:B8:2C:E3:8F:E7:BE:5D:C3:C3:B1:74:62:B8:3F:9F:1F:69:B9 smime.p7s Description: S/MIME Cryptographic Signature
Re[2]: How to bypass loader.conf at boot
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, Danielmailto:[EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]