From owner-freebsd-questions@FreeBSD.ORG Tue Sep 21 18:32:09 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 49AEA16A4CE for ; Tue, 21 Sep 2004 18:32:09 +0000 (GMT) Received: from clunix.cl.msu.edu (clunix.cl.msu.edu [35.9.2.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7B7FB43D58 for ; Tue, 21 Sep 2004 18:32:08 +0000 (GMT) (envelope-from jerrymc@clunix.cl.msu.edu) Received: (from jerrymc@localhost) by clunix.cl.msu.edu (8.11.7p1+Sun/8.11.7) id i8LINIs06293; Tue, 21 Sep 2004 14:23:18 -0400 (EDT) From: Jerry McAllister Message-Id: <200409211823.i8LINIs06293@clunix.cl.msu.edu> To: jcm@FreeBSD-uk.eu.org (Jonathon McKitrick) Date: Tue, 21 Sep 2004 14:23:17 -0400 (EDT) In-Reply-To: <20040921180228.GA52408@dogma.freebsd-uk.eu.org> from "Jonathon McKitrick" at Sep 21, 2004 07:02:28 PM X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: freebsd-questions@freebsd.org Subject: Re: How do I mount slices with no dev entry from fixit floppy? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Sep 2004 18:32:09 -0000 > > I am making progress with my disk recovery, but I need to get to my /usr > partition, which is mounted on /dev/ad0s1g. The dev entries on the fixit > floppy don't have this slice listed, and there is no MAKEDEVS script to add > it. Do you mean that ad0s1 is not in /dev? That would be the slice. Or do you mean no ad0s1g - which would be the partition inside the slice? Also, careful of your use of the word mounted. Nothing should be mounted on /dev/ad0s1g or there would be problems. But what you want is the partition at /dev/ad0s1g and you want to mount that on some mount point such as /mnt or maybe /oldusr if you can make that dir. How sure are you that your old /usr was in partition /dev/ad0s1g? Is it possible you are looking in the wrong place? I have not had to use the fixit disks so I am not sure of what all is included, but I would be surprised if there is no MAKEDEV script if it is for FreeBSD 4.xxx or older version. In 4.xxx and earlier, the MAKEDEV script is in /dev. You need to cd to /dev and then run './MAKEDEV ad0'. NOTE, the './' is necessary because MAKEDEV will not be in your path. But, in 5.xxx and later there is no MAKEDEV. If you are in 5.xxx version then you shouldn't need it. It is supposed to deal with it automagically. Try doing cd / mount /dev/ad0s1g /mnt cd /mnt ls What is there? If it is FreeBSD 5.xxx then maybe there is a bug if it cannot do the mount because /dev/ad0s1g is missing , but really exists on disk. If it is FreeBSD 4.xxx do cd /dev ./MAKEDEV ad0 or even ./MAKEDEV ad0s1g and see what happens. Someone else weigh in here if this is way off track. ////jerry > > How can I get to this partition? > > jm > --