Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Feb 2000 21:08:56 +0200
From:      Giorgos Keramidas <charon@hades.hell.gr>
To:        mikemorgan@hfnweb.com
Cc:        jmutter@ds.net, freebsd-questions@freebsd.org
Subject:   Re: wd0 or wd1
Message-ID:  <20000201210856.B1678@hades.hell.gr>
In-Reply-To: <E3E1A9F2A227D311A1EC00902785C1084C2F36@UTASVEXG001>; from mikemorgan@hfnweb.com on Mon, Jan 31, 2000 at 12:59:09PM -0700
References:  <E3E1A9F2A227D311A1EC00902785C1084C2F36@UTASVEXG001>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000201210856.B1678>