Date: Thu, 7 Jun 2001 15:43:17 -0700 From: "Philip J. Koenig" <pjklist@ekahuna.com> To: Bill Moran <wmoran@iowna.com> Cc: questions@FreeBSD.ORG Subject: Re: Disk woes Message-ID: <3B1FA115.8966.37C1A9@localhost> In-Reply-To: <3B1FFBA5.DCF1A0BC@iowna.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3B1FA115.8966.37C1A9>