Date: Fri, 03 Feb 2006 15:38:19 +0100 From: Christian Laursen <xi@borderworlds.dk> To: freebsd-hackers@FreeBSD.org Subject: Loading mfsroot image from included 4th file Message-ID: <86wtgccxt0.fsf@borg.borderworlds.dk>
next in thread | raw e-mail | index | archive | help
I am trying to add a custom command I can run from the loader to boot the system with an mfsroot image, but my forth skills are somewhat lacking. So far I have the following contained in a file called /boot/imageloader.4th which I include from loader.rc: ============================================================ marker task-imageloader.4th : update ." Loading updater mfsroot..." cr \ Load mfsroot here s" ufs:md0a" s" vfs.root.mountfrom" setenv 0 boot ; ============================================================ I am however unsure of the code to load the actual mfsroot image. If I run the following two commands manually I get the intended result: OK load -t mfs_root /boot/mfsroot OK update Any hints would be greatly appreciated. Thanks. -- Christian Laursen
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86wtgccxt0.fsf>