From owner-freebsd-questions Tue Jul 28 12:19:36 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA21386 for freebsd-questions-outgoing; Tue, 28 Jul 1998 12:19:36 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from resnet.uoregon.edu (resnet.uoregon.edu [128.223.144.32]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA21307 for ; Tue, 28 Jul 1998 12:19:12 -0700 (PDT) (envelope-from dwhite@resnet.uoregon.edu) Received: from localhost (dwhite@localhost) by resnet.uoregon.edu (8.8.5/8.8.8) with SMTP id MAA00547; Tue, 28 Jul 1998 12:18:29 -0700 (PDT) (envelope-from dwhite@resnet.uoregon.edu) Date: Tue, 28 Jul 1998 12:18:29 -0700 (PDT) From: Doug White To: Mike Reeh cc: freebsd-questions@FreeBSD.ORG Subject: Re: moving a filesystem to a new drive In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 )... 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