Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Mar 2002 11:05:41 +1100
From:      Edwin Groothuis <edwin@mavetju.org>
To:        =?iso-8859-1?Q?Jos=E9_Romildo_Malaquias?= <romildo@uber.com.br>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: FreeBSD installed slice was renamead by Windows XP installer
Message-ID:  <20020307110541.E503@k7.mavetju.org>
In-Reply-To: <3C86AD9A.67BD8766@uber.com.br>; from romildo@uber.com.br on Wed, Mar 06, 2002 at 09:00:26PM -0300
References:  <3C853C4C.B0437102@uber.com.br> <3C855FEE.7090509@owt.com> <3C86AD9A.67BD8766@uber.com.br>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Mar 06, 2002 at 09:00:26PM -0300, José Romildo Malaquias wrote:
> Kent Stewart wrote:
> 
> > José Romildo Malaquias wrote:
> >
> > > I have installed FreeBSD 4.5 on my box in slice ad0s4. Another day
> > > I have also installed Windows XP on my box in slice ad0s1. I do not
> > > know why, but after Windows installation, slice numbering on my
> > > disk was changed. Now the FreeBSD slice is ad0s3. And of course
> > > I am unable to boot into FreeBSD successfuly. At boot time, the
> > > root file system can not be mounted and I am asked what device
> > > file to use in mounting it. Then I tell to mount it using /dev/ad0s3a.
> > > It is then mounted in read only mode, but the other file systems also
> > > fail mounting because of the same reason. I am presented
> > > with a prompt for a shell to be used. In the shell I try to
> > > mount the remainder files systems, but the system tells me
> > > that the corresponding device does not exist. In fact, doing
> > > an 'ls -l /dev/ad0s3*' command, I see that there is only the
> > > /dev/ad0s3 device file. So I do not know how to proceed to
> > > solve this problem.
> >
> > cd /dev
> > sh MAKEDEV ad0s3h
> >
> > It will make everything.
> 
> The root file system is being mounted in read only mode. Therefore
> the device files can not be created. Also the /etc/fstab file can not
> be edited to reflect the new partitions.
> 
> How can I mount the root file system in read-write mode in this
> situation?

Go to single-user mode and just mount it. That will work, trust me :-)

Edwin

-- 
Edwin Groothuis   |              Personal website: http://www.MavEtJu.org
edwin@mavetju.org |           Interested in MUDs? Visit Fatal Dimensions:
------------------+                       http://www.FatalDimensions.org/

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?20020307110541.E503>