From owner-freebsd-hackers@FreeBSD.ORG Mon Jun 6 14:41:08 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5238A16A41C for ; Mon, 6 Jun 2005 14:41:08 +0000 (GMT) (envelope-from killing@multiplay.co.uk) Received: from multiplay.co.uk (www1.multiplay.co.uk [212.42.16.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id B473643D49 for ; Mon, 6 Jun 2005 14:41:07 +0000 (GMT) (envelope-from killing@multiplay.co.uk) Received: from vader ([212.135.219.179]) by multiplay.co.uk (multiplay.co.uk [212.42.16.7]) (MDaemon.PRO.v8.0.2.R) with ESMTP id md50001462791.msg for ; Mon, 06 Jun 2005 15:35:22 +0100 Message-ID: <008201c56aa5$9d2ac0a0$b3db87d4@multiplay.co.uk> From: "Steven Hartland" To: Date: Mon, 6 Jun 2005 15:39:54 +0100 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2527 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527 X-Spam-Processed: multiplay.co.uk, Mon, 06 Jun 2005 15:35:22 +0100 (not processed: message from valid local sender) X-MDRemoteIP: 212.135.219.179 X-Return-Path: killing@multiplay.co.uk X-MDaemon-Deliver-To: freebsd-hackers@freebsd.org X-MDAV-Processed: multiplay.co.uk, Mon, 06 Jun 2005 15:35:24 +0100 Subject: using beastie.4th to alternate boot i386 / amd64 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Jun 2005 14:41:08 -0000 I'm trying to get beastie.4th to allow me to select either amd64 or i386 as my running system. I can get this to happen from the boot loader using: set currdev=disk1s1d set rootdev=disk1s1d unload load /boot/kernel/kernel load /boot/kernel/acpi.ko load /boot/kernel/hptmv.ko boot But Im at a loss when it comes to altering beastie.4th to replicate these steps I've currently added a menu option with the following code: ... dup booti386key @ = if s" disk1s1d" s " currdev" setenv s" disk1s1d" s " rootdev" setenv 0 boot then .... So all I need to do is replicate the unload / load steps I though this would be just like: dup booti386key @ = if s" disk1s1d" s " currdev" setenv s" disk1s1d" s " rootdev" setenv unload load /boot/kernel/kernel load /boot/kernel/acpi.ko load /boot/kernel/hptmv.ko 0 boot then When I that it wasn't pretty, rescue disk.. as I didn't even get the menu. I've had a look at some forth guides but have been unable to come up with the correct way of making this work. Can someone point me in the right direction ? Steve ================================================ This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. In the event of misdirection, illegible or incomplete transmission please telephone (023) 8024 3137 or return the E.mail to postmaster@multiplay.co.uk.