Re: How to disable the boot0 menu?
Matthew Dillon wrote: The boot0 menu is run from /boot/loader.rc. You can pretty much do whatever you want there... in the forth language :-) Forth is a lot more than just a 'language'. It is an inherently virtual-memory, dual-stack, virtual machine and the operating system to run it. An environment, IOW. One in which to *define* languages... FICL and predecessors came about 'coz it doesn't need much in the way of resources to do all these things. 12K to 20K for a Wysiwig WP, 32-64K for a full-blown ISAM BOM system. Given decent on-die cache, Forth needs little else to do quite a bit of useful stuff. It is also possible to bypass the forth loader entirely by modifying /boot.config (the boot2 config file). By default boot2 runs /boot/loader but you can give it a different command to run in /boot.config. I'm not entirely sure of the format, it might just be the path to the program to load and options, e.g. '/kernel', or it might not. If you screw up you might have to boot from the live CD to get back in and fix it. -Matt Or another partition, attached drive, CF or USB that can mount and edit the one you need to change. Easily fixed, and nothing to be overly fearful of. Bill
Re: How to disable the boot0 menu?
Thomas Schlesinger wrote: Hi. I've installed only DFly on my notebook as the onliest OS, so I have no need for the boot0 menu. I've tried to minimize the time it's appearing by doing a boot0cfg -s 1 -t 1 ad0 (-t 0 didn't work). -t is the number of ticks and there should be circa 18.2 ticks per second, according to the handbook, but with -t 1 the boot0 menu appears longer. I there a way to disable the appearance of the boot0 menu completely? Thanks, Thomas So basically, you want to get rid of BootEasy (the boot manager that prompts you for an OS), right? I may have done this before on DragonFlyBSD, or maybe I'm thinking of FreeBSD. Honestly, I can't say for sure I did it under DrgaonFlyBSD but I might have. I just can't remember since all these BSD's are starting to become one in my head. Anyway, I can say for sure that I have done it in FreeBSD but it was a lng time ago. Here's a link to the information that I used to do it in FreeBSD: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/boot-blocks.html If I remember correctly, I used boot1 instead of boot0 on the MBR. I don't know if this will work with DragonFlyBSD. Maybe someone can chime in with more in-depth knowledge of DragonFlyBSD's bootloader and let us know if this won't hose the boot-up process. Good luck, and remember this could make your system not boot. Don't shoot me if it screws up. ;) Joey
Re: How to disable the boot0 menu?
Justin C. Sherrill wrote: On Tue, September 26, 2006 2:59 pm, Thomas Schlesinger wrote: I there a way to disable the appearance of the boot0 menu completely? 'fdisk -B ad0' or maybe 'boot0cfg -B -b /boot/mbr' or maybe If you have a Windows boot floppy, boot from that and type 'fdisk /mbr'. I have not tried any of these recently, so it may mangle your entire drive... Showing my age, roots, or something no longer in vogue Finding the binary and replacing it with the op-code for a 'noop', 'return' or 'jump' (to the next module) used to work wonders... S'pose these days they are hash fingerprinted or such tho'... And I've long since given up memorizing op codes... 'Too many architetcures, too little time.' Bill
Re: How to disable the boot0 menu?
:The boot0 menu is run from /boot/loader.rc. You can pretty much :do whatever you want there... in the forth language :-) : :It is also possible to bypass the forth loader entirely by :modifying /boot.config (the boot2 config file). By default boot2 :runs /boot/loader but you can give it a different command to run :in /boot.config. I'm not entirely sure of the format, it might just :be the path to the program to load and options, e.g. '/kernel', or it :might not. If you screw up you might have to boot from the live CD :to get back in and fix it. Oops, I'm sorry I misspoke. I meant the boot2 menu. People have already posted how to get rid of the boot0 menu. However, I recommend against it. Having the prompts there give you a safety valve to boot a backup kernel or boot into single-user mode if you blow something up. -Matt Matthew Dillon [EMAIL PROTECTED]
Re: How to disable the boot0 menu?
Justin C. Sherrill wrote: On Tue, September 26, 2006 2:59 pm, Thomas Schlesinger wrote: I there a way to disable the appearance of the boot0 menu completely? 'fdisk -B ad0' +5 correct I have not tried any of these recently, so it may mangle your entire drive... or make your mouse plushy. just do the occasional dd if=/dev/ad0 count=1 of=mbr.backup cheers simon -- Serve - BSD +++ RENT this banner advert +++ASCII Ribbon /\ Work - Mac +++ space for low €€€ NOW!1 +++ Campaign \ / Party Enjoy Relax | http://dragonflybsd.org Against HTML \ Dude 2c 2 the max ! http://golden-apple.biz Mail + News / \ signature.asc Description: OpenPGP digital signature