From owner-freebsd-questions@FreeBSD.ORG Sat Jun 4 09:12:29 2011 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 EC5F1106564A for ; Sat, 4 Jun 2011 09:12:29 +0000 (UTC) (envelope-from norgaard@locolomo.org) Received: from mail.locolomo.org (97.pool85-48-194.static.orange.es [85.48.194.97]) by mx1.freebsd.org (Postfix) with ESMTP id A402B8FC1C for ; Sat, 4 Jun 2011 09:12:29 +0000 (UTC) Received: from gamma.wifi.locolomo.org (gamma.wifi.locolomo.org [172.16.1.5]) by mail.locolomo.org (Postfix) with ESMTPSA id 8CF0E1C0841; Sat, 4 Jun 2011 11:12:28 +0200 (CEST) Message-ID: <4DE9F6FC.7060705@locolomo.org> Date: Sat, 04 Jun 2011 11:12:28 +0200 From: =?ISO-8859-1?Q?Erik_N=F8rgaard?= User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.17) Gecko/20110414 Thunderbird/3.1.10 MIME-Version: 1.0 To: Polytropon References: <4DE9ED56.9020504@locolomo.org> <20110604104812.dfbf2888.freebsd@edvax.de> In-Reply-To: <20110604104812.dfbf2888.freebsd@edvax.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Cc: "questions@FreeBSD.org Questions" Subject: Re: Where's my disk? 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 Jun 2011 09:12:30 -0000 On 4/6/11 10:48 AM, Polytropon wrote: > On Sat, 04 Jun 2011 10:31:18 +0200, Erik Nørgaard wrote: >> The first problem is that I have no idea how my disk will be recognized, >> now the root partition is on /dev/ad6s1a. > > A good approach is to apply a label or use the UFSID of > the partitions (which don't depend on controller position) > instead of the device names. Thanks, I tried to add labels, and all file systems are labeled, except the root file system, it gives an error alpha# tunefs -L root /dev/ad6s1a tunefs: /dev/ad6s1a: failed to write superblock Can I use the fsid in fstab? alpha# mount -v /dev/ad6s1a on / (ufs, local, fsid c18a2f44f29adbc0) devfs on /dev (devfs, local, multilabel, fsid 00ff000606000000) /dev/ufs/local on /usr/local (ufs, local, fsid c58a2f44da5dfaa7) /dev/ufs/var on /var (ufs, local, fsid c98a2f44462bb250) /dev/ufs/tmp on /tmp (ufs, local, fsid d38a2f44b88ac8e5) /dev/ufs/home on /home (ufs, local, fsid d58a2f449675649f) /dev/ufs/share on /home/share (ufs, local, fsid e28a2f4464800a20) devfs on /var/named/dev (devfs, local, multilabel, fsid 01ff000606000000) As for the screen I've usually done without, I know my system well, but if the disk moves, I'm lost. For the keyboard, maybe a PS2 to USB adapter? Thanks, Erik