From owner-freebsd-questions@FreeBSD.ORG Fri Jun 17 20:10:34 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 4C27216A41C for ; Fri, 17 Jun 2005 20:10:34 +0000 (GMT) (envelope-from jerrymc@clunix.cl.msu.edu) Received: from clunix.cl.msu.edu (clunix.cl.msu.edu [35.9.2.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1857F43D4C for ; Fri, 17 Jun 2005 20:10:33 +0000 (GMT) (envelope-from jerrymc@clunix.cl.msu.edu) Received: from clunix.cl.msu.edu (localhost [127.0.0.1]) by clunix.cl.msu.edu (8.12.10+Sun/8.12.2) with ESMTP id j5HKARJF000103; Fri, 17 Jun 2005 16:10:27 -0400 (EDT) Received: (from jerrymc@localhost) by clunix.cl.msu.edu (8.12.10+Sun/8.12.2/Submit) id j5HKARvD000102; Fri, 17 Jun 2005 16:10:27 -0400 (EDT) From: Jerry McAllister Message-Id: <200506172010.j5HKARvD000102@clunix.cl.msu.edu> To: baldur@foo.is (Baldur Gislason) Date: Fri, 17 Jun 2005 16:10:26 -0400 (EDT) In-Reply-To: <20050617194542.GA51304@gremlin.foo.is> X-Mailer: ELM [version 2.5 PL7] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Strange fdisk behavior on 5.4-STABLE 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: Fri, 17 Jun 2005 20:10:34 -0000 > > I have a hard drive in my laptop with a 30GB FreeBSD partition and a > few gigabytes of unused space (40GB hard drive). > I wanted to make another FreeBSD partition but when I run fdisk I get > this following error: > fdisk: cannot open disk /dev/ad0: No such file or directory > > /dev/ad0 does exist and fdisk has no problem printing the partition table, > but when run with -u it pretends > the disk doesn't exist. Well, are you trying to make fdisk write to the slice table of a drive that you have mounted - the one with ad0s1 on it which is probably where you are booted? That isn't allowed. Try it from a fixit disk boot. That is disk 1 in the 5.xxx ISO set. ////jerry > I had no problems partitioning a USB flash drive. > > Any suggestions? > > Baldur >