*BSD News Article 55581


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!nntp.coast.net!news.kei.com!newsfeed.internetmci.com!in1.uu.net!winternet.com!news.minn.net!skypoint.com!cyberoptics.com!bpeters!not-for-mail
From: peterson@mail.cyberoptics.com (Bruce Peterson)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: trouble booting 2.1.0
Date: 28 Nov 1995 23:35:41 -0600
Organization: CyberOptics Corporation
Lines: 34
Message-ID: <49grfd$7ki@bpeters.cyber.mn.org>
References: <oviocyun3.fsf@vapor.Franz.COM> <499mf5$51f@hamilton.maths.tcd.ie>
NNTP-Posting-Host: bpeters.uucp

In article <499mf5$51f@hamilton.maths.tcd.ie>,
David Malone <dwmalone@maths.tcd.ie> wrote:
>layer@Franz.COM (Kevin Layer) writes:
>>and it did seem to start booting from sd1, but after the
>>initialization of devices I got an error about not being able to mount
>>root on (from?) sd0.
>
>>What magic do I need to boot 2.1.0 from sd1?
>
>I guess that it will go into single user mode after is can't mount /,
>and if I remember when this happened to me / is actually mounted, but
>from a device just used for booting.
>
>I'd suggest 2 things, first look in /etc/fstab and make sure it lists
>the correct devices. To change it you'll have to mount / frow its real
>device, but you should be able to find that by hand. ( You probably
>want mount /dev/sd0a / ).

To enable the boot from sd1, try:

# mount /dev/sd1a /
# mount /dev/sd1e /usr
# vi /etc/fstab

Then make sure that the devices are sd1a, sd1b, sd1e and not sd0a, sd0b,
and sd0e.  If these are wrong, change them and reboot.  Otherwise, let me
know what /etc/fstab looks like.  I have done this after moving an IDE
FreeBSD boot drive to wd1, but it is probably the same for sd1.

Bruce Peterson

>Second, in the kernel config there is a option about where the root,
>swap and usr partitons are. I think you can get away without changing
>these - but I guess you should know about them.