From owner-freebsd-questions@FreeBSD.ORG Sat Jul 4 17:26:13 2009 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F16B5106568C for ; Sat, 4 Jul 2009 17:26:13 +0000 (UTC) (envelope-from cwhiteh@onetel.com) Received: from woodbine.london.02.net (woodbine.london.02.net [87.194.255.145]) by mx1.freebsd.org (Postfix) with ESMTP id 8D9A68FC3A for ; Sat, 4 Jul 2009 17:26:13 +0000 (UTC) (envelope-from cwhiteh@onetel.com) Received: from [192.168.1.76] (93.97.24.219) by woodbine.london.02.net (8.5.016.1) id 4A20329602736194; Sat, 4 Jul 2009 18:26:11 +0100 Message-ID: <4A4F90B2.4020006@onetel.com> Date: Sat, 04 Jul 2009 18:26:10 +0100 From: Chris Whitehouse User-Agent: Thunderbird 2.0.0.21 (X11/20090321) MIME-Version: 1.0 To: Sergio de Almeida Lenzi References: <4A4BD7E1.8010204@onetel.com> <1246489693.68114.23.camel@localhost> In-Reply-To: <1246489693.68114.23.camel@localhost> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Cc: freebsd-questions Subject: Re: load kernel from different media X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Jul 2009 17:26:15 -0000 Sergio de Almeida Lenzi wrote: > Em Qua, 2009-07-01 às 22:40 +0100, Chris Whitehouse escreveu: > > > Yes you can. > put your kernel (the one that works) on a DVD/CD > assume that your rootfs on the HD is on ad0s1a, /usr is on /dev/ad0s1e > with all the /boot directory. > than boot from dvd/CD > with the HD on the machine too. > > on the startup, hit 6 (number 6). > than type: > set vfs.root.mountfrom="ufs:ad0s1a" > boot -s > ==================== > the machine will boot from the CD (with the kernel on the CD) > than will mount the filesystem / (root) using ufs and the > device /dev/ad0s1a > once boot, you can mount the / rw..... > mount -o rw /dev/ad0s1a /mnt > mount /dev/ad0s1e /usr > > than..... > export PATH=/mnt/sbin:/mnt/bin:/usr/sbin:/usr/bin > mount -t cd9660 /dev/acd0 /cdrom > cd /cdrom > tar cf - boot | tar -xpvf - -C /mnt > =============== > edit /mnt/fstab to match the /(root) fs ..... > ==============fstab========= > /dev/ad0s1a / ufs rw 1 1 > ===================== > fastboot > the machine will reboot and boot happy on the hd.... > > hope it can help > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > Hi sergio thanks for your reply. I've been playing around with bootable pen drives cd's and hard disks with varying degrees of breakage :) however now i"ve found the workaround for the original problem which is simply to disable firewire in the BIOS. cheers Chris