From owner-freebsd-questions Mon Nov 6 23:46:22 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mailhost01.reflexnet.net (mailhost01.reflexnet.net [64.6.192.82]) by hub.freebsd.org (Postfix) with ESMTP id A0BF037B4CF for ; Mon, 6 Nov 2000 23:46:19 -0800 (PST) Received: from 149.211.6.64.reflexcom.com ([64.6.211.149]) by mailhost01.reflexnet.net with Microsoft SMTPSVC(5.5.1877.197.19); Mon, 6 Nov 2000 23:44:55 -0800 Received: (from cjc@localhost) by 149.211.6.64.reflexcom.com (8.11.0/8.11.0) id eA77kBo71969; Mon, 6 Nov 2000 23:46:11 -0800 (PST) (envelope-from cjc) Date: Mon, 6 Nov 2000 23:46:11 -0800 From: "Crist J . Clark" To: Jason Carter Cc: freebsd-questions@FreeBSD.ORG Subject: Re: 4.0-Release Moved disk to another IDE Message-ID: <20001106234611.J75251@149.211.6.64.reflexcom.com> Reply-To: cjclark@alum.mit.edu References: <000801bbf9bc$8eebb340$534cd618@knology.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <000801bbf9bc$8eebb340$534cd618@knology.net>; from jasonc@knology.net on Fri, Jan 03, 1997 at 03:24:47PM -0600 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, Jan 03, 1997 at 03:24:47PM -0600, Jason Carter wrote: > Hello, > I am running freebsd 4.0 release. I bought a cd-burner, and needed to move one of my disks. Well, I understand this causes problems, and I also have figured out that the fixit.flp can help me get this back in order. Anyway, I moved my secondary master (/usr) to my primary slave, I get to the Fixit# prompt, but I have no idea what to do. I have read through the mailing list, and I know it can be done, but I can't find out how to do it. Could someone help? > Thanks > Jason > > P.S. sorry if this wasn't enough information, I've been running freebsd for awhile, but I'm still a newby, probably always will be ;). Actually, you probably do not need to go to the fixit.flp if I understand you correctly. You moved your secondary master IDE HDD to the primary slave position. You said /usr is on this drive, but where is the root partition (/), that is what is important. If the root partition in not on that drive and did not move, just boot into single- user mode (if you tried to boot to multi-user it will fail and drop to single-user anyway). mount(8) the root partition read-write, and then just edit /etc/fstab. If your devices are statically numbered, you'd change the line like, /dev/ad2s1e /usr ufs rw 0 2 To, /dev/ad1s1e /usr ufs rw 0 2 If your root partition moved, things are more fun. At the very first sign of the twirling doo-dad at boot, hit a key. Specify the new boot device, 1:ad(1,a)/kernel And again boot into single user. Fix /etc/fstab and then specify the correct boot device in /boot/loader.conf. -- Crist J. Clark cjclark@alum.mit.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message