From owner-freebsd-questions Thu Jun 7 15:43:24 2001 Delivered-To: freebsd-questions@freebsd.org Received: from empty1.ekahuna.com (empty1.ekahuna.com [198.144.200.196]) by hub.freebsd.org (Postfix) with ESMTP id C065837B405 for ; Thu, 7 Jun 2001 15:43:19 -0700 (PDT) (envelope-from pjklist@ekahuna.com) Received: from pc-02 (pc02.ekahuna.com [198.144.200.197]) by empty1.ekahuna.com (Post.Office MTA v3.5.3 release 223 ID# 0-0U10L2S100V35) with ESMTP id com; Thu, 7 Jun 2001 15:43:14 -0700 From: "Philip J. Koenig" Organization: The Electric Kahuna Organization To: Bill Moran Date: Thu, 7 Jun 2001 15:43:17 -0700 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: Disk woes Reply-To: pjklist@ekahuna.com Cc: questions@FreeBSD.ORG Message-ID: <3B1FA115.8966.37C1A9@localhost> In-reply-to: <3B1FFBA5.DCF1A0BC@iowna.com> X-mailer: Pegasus Mail for Win32 (v3.12c) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Thanks for the quick reply. Well I'm screwed because I was doing this via an SSH session, I can't even cd to /etc or use umount because those paths now point to the new (empty) disk. Sigh. I'm going to have to visit the box and use a boot floppy I suppose. There seems to be a lot of these catch-22's in sysinstall, time to gather up all my notes and annoy the sysinstall maintainer (JH?) with them I suppose. :-) Thanks for the tips. Phil On 7 Jun 2001, at 18:09, Bill Moran boldly uttered: > Mountpoints are recorded in /etc/fstab. The format is fairly > self-explanitory, but if you've questions, the man page is helpful. > YOu can also remout things manually to get your system back to where you > want it and then edit /etc/fstab to make sure those mounts stay across a > reboot. > umount /usr > will unmount your user partition, while > mount /dev/da0s1b /usr > will mount the second partition of your first SCSI disk to /usr (for > example) See the man pages for more. > > -Bill > > "Philip J. Koenig" wrote: > > > > Trying to upgrade the HD in a 4.3-STABLE box. > > > > Traditionally I used /stand/sysinstall but had some problems, tried > > to run fdisk and disklabel separately. Where are the interactive > > modes of these utilities like how they work in sysinstall? All I can > > invoke are these ugly things that seem to require all the options/ > > changes entered on the command line. > > > > So I went back into sysinstall, disklabel editor. Made the mistake > > of entering the mount points as /, /usr, /var etc. instead of > > /mnt/.., and disklabel happily overwrote the current mountpoints, > > after I realized my mistake disklabel said I couldn't change from > > there, I had to exit sysinstall and re-run it. > > > > Voila, I exit sysinstall and now the box is useless, can't even do a > > "ls" command. > > > > How do I recover from this.. will the mountpoints still be screwed on > > a reboot, can I fix this running single-user or do I need a boot > > floppy? -- Philip J. Koenig pjklist@ekahuna.com Electric Kahuna Systems -- Computers & Communications for the New Millenium To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message