Date: Tue, 28 Jul 1998 12:18:29 -0700 (PDT) From: Doug White <dwhite@resnet.uoregon.edu> To: Mike Reeh <michaelr@ss454.dyn.ml.org> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: moving a filesystem to a new drive Message-ID: <Pine.BSF.4.00.9807281216160.21490-100000@resnet.uoregon.edu> In-Reply-To: <Pine.BSF.3.96.980725125935.11207A-100000@ss454.dyn.ml.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 25 Jul 1998, Mike Reeh wrote: > Maybe someone can help me out.. > > I have freebsd 2.2.7-s on my 1.2gb ide and i want it moved over to a 1gb > scsi drive.. > > > wd0 is the root & swap right now, with i think 75mb swap and the rest for > / (im not into making separate partitions <g>)... btw windows is taking up > the first 200 or so mb on the drive, but i dont want to move that.. > > What i tried doing, was making the swap & / partition in /stand/sysinstall > (which the system didnt seem to like too much, but did it anyhow) and i > mounted it to /mnt where i proceeded to cp -RPp everything from / to > /mnt... everything got copied and i used os/bs to select that drive & > partition for the boot up list.. when i select the drive it just says > empty partition but if i put in the right bios drive, device and > partition, etc (i think it was 0:sd(0,a)) then i could type ? to list the > contents of what SHOULD have been the root dir on that scsi drive.. but if > i typed kernel it didnt work.. i thought it was because the cp couldnt > copy the kernel but it turns out it did.. so anyways i booted > kernel.GENERIC and it booted fine except that it still mounted all the ide > drive stuff for / and swap! even though i specified scsi drive & > partitions in the fstab.. (perhaps the wrong ones, but it still shouldnt > have mounted the ide stuff) so then i thought it might be the "root on > wd0" setting in the kernel so i recompiled that with root on sd0 and put > that kernel on the scsi drive -- same thing happens.. Hm. Run `disklabel sd0' and `fdisk sd0' and make sure they check out. Also check /mnt and make sure you didn't make a backup copy of your system by accident. ;-) Did sysinstall newfs the new partitions? Doug White | University of Oregon Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major 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?Pine.BSF.4.00.9807281216160.21490-100000>