From owner-freebsd-mips@FreeBSD.ORG Fri Dec 9 15:59:16 2011 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 480371065670 for ; Fri, 9 Dec 2011 15:59:16 +0000 (UTC) (envelope-from milu@dat.pl) Received: from jab.dat.pl (dat.pl [80.51.155.34]) by mx1.freebsd.org (Postfix) with ESMTP id 02BE98FC08 for ; Fri, 9 Dec 2011 15:59:15 +0000 (UTC) Received: from jab.dat.pl (jsrv.dat.pl [127.0.0.1]) by jab.dat.pl (Postfix) with ESMTP id 9BAA4AF; Fri, 9 Dec 2011 16:59:14 +0100 (CET) X-Virus-Scanned: amavisd-new at dat.pl Received: from jab.dat.pl ([127.0.0.1]) by jab.dat.pl (jab.dat.pl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id uiF0ddc62t5P; Fri, 9 Dec 2011 16:59:11 +0100 (CET) Received: from snifi.localnet (unknown [212.69.68.42]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by jab.dat.pl (Postfix) with ESMTPSA id 94C6B2D; Fri, 9 Dec 2011 16:59:11 +0100 (CET) From: Maciej Milewski To: Monthadar Al Jaberi Date: Fri, 09 Dec 2011 16:59:54 +0100 Message-ID: <2627625.rUEEKy6LTO@snifi> User-Agent: KMail/4.7.3 (Linux/3.1.1-1-ARCH; KDE/4.7.3; x86_64; ; ) In-Reply-To: References: <11610829.bYiI1B7eQ0@snifi> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Cc: freebsd-mips@freebsd.org Subject: Re: boot RSPRO from usb X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Dec 2011 15:59:16 -0000 Dnia pi=C4=85tek, 9 grudnia 2011 16:00:59 Monthadar Al Jaberi pisze: >=20 > ofcourse: > makefs -t ffs -B big -s 20m ../target_image/rootfs.img rspro/root/ Doesn't sound wrong but don't have my script to compare now. >=20 > I dont know if I need to run fsck, I am using same image embedded in = kernel: > ROOTDEVNAME=3D\"ufs:/dev/md0.uzip\" >=20 > and it works, and also as I noted above I have an old kernel that > loads fine from same usb.... I must have overlooked that. >=20 > > Alternative way maybe would work. Have you tried to run system from= nfs > > and create fs by newfs + (cp || untar || rsync || install) needed > > system files? > sorry, but I dont understand, can you explain a bit more? 1. boot some working environment with tools like gpart, newfs, mount 2. gpart your usb drive (or not if you want to use full drive) 3. newfs that 4. transfer tar.gz of rspro/root contents and utar it into new drive 5. reboot with correct rootdevname Does that sound better? :) >=20 > > -- > > Maciej --=20 Maciej