From owner-freebsd-questions Tue Feb 1 12:37:35 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mx2.x-treme.gr (mx2.x-treme.gr [212.120.192.15]) by builder.freebsd.org (Postfix) with ESMTP id E374A3F63 for ; Tue, 1 Feb 2000 12:37:29 -0800 (PST) Received: from hades.hell.gr (pat33.x-treme.gr [212.120.197.225]) by mx2.x-treme.gr (8.9.3/8.9.3/IPNG-ADV-ANTISPAM-0.1) with SMTP id WAA22098 for ; Tue, 1 Feb 2000 22:37:09 +0200 Received: (qmail 2012 invoked by uid 1001); 1 Feb 2000 19:08:57 -0000 Date: Tue, 1 Feb 2000 21:08:56 +0200 From: Giorgos Keramidas To: mikemorgan@hfnweb.com Cc: jmutter@ds.net, freebsd-questions@freebsd.org Subject: Re: wd0 or wd1 Message-ID: <20000201210856.B1678@hades.hell.gr> Reply-To: keramida@ceid.upatras.gr References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: ; from mikemorgan@hfnweb.com on Mon, Jan 31, 2000 at 12:59:09PM -0700 X-PGP-Fingerprint: 62 45 D1 C9 26 F9 95 06 D6 21 2A C8 8C 16 C0 8E X-Phone-Number: +30-94-6203692, +30-93-2886457 X-Address: Theodorou Kirinaiou 61, 26334 Patra, Greece Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, Jan 31, 2000 at 12:59:09PM -0700, Mike Morgan wrote: > should I do a mv /dev/wd1s1a /dev/wd0s1a too for all wd1 instances too? > > I've changed only the /etc/fstab in the past but it still had problems > mounting; so i wondered if there was something else that needed changing. > > I didnt change the kernel to reflect the new changes at the time so that > might have been my problem. If you want to boot from a different disk device, after changing the order of disks, or whatever, it's wise to do the following: 1. At the boot loader prompt, when you're prompted to press Enter to boot the default kernel, or any key to enter the loader prompt, press the "any" key :) 2. At the loader prompt, use the following command to change the device where the kernel will expect it's root disk to be on. # Set the root device to wd0s? boot> set root_device=0 Then enter 'boot -s' to enter single mode. 3. Remount as read-write the / filesystem. 4. Edit /etc/fstab to reflect the changes to disk order, etc. 5. Exit the single mode shell, forcing /sbin/init to enter multiuser mode with the new settings. This is what I usually do, correct me someone if I'm wrong :) -- Giorgos Keramidas, < keramida @ ceid . upatras . gr > For my public PGP key: finger keramida@diogenis.ceid.upatras.gr PGP fingerprint, phone and address in the headers of this message. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message