Date: Fri, 16 Oct 1998 10:40:30 +0100 From: Adam Nealis <adamn@criterion.canon.co.uk> To: "freebsd-questions@FreeBSD.ORG" <freebsd-questions@FreeBSD.ORG> Subject: Re: CVSUP Question.. Message-ID: <3627148E.3B123982@criterion.canon.co.uk> References: <Pine.BSF.3.95q.981015085113.17144A-100000@boingo.pciway.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Loren Daniel Koss wrote: > > okay, thats a really scary thing to say. What do I do to make sure I > don't screw anything up. I did a "make buildworld" overnight and it > completed. I want to start a "make installworld" but now I will wait. > > Explain in detail please as I am a newbie. Jahan had a point (I fell foul of this when going from 2.2.5 to -STABLE a few months ago). /etc/fstab in pre-2.2.6 FreeBSD, had the root partition in this style: /dev/wd0a root ufs rw 1 1 The current way to do this is /dev/wd0s1a root ufs rw 1 1 I found this in the ERRATA on the 2.2.6 CD-ROM (i.e. for once, I worked it out for myself, without bugging the list ;). If you cvsup to post-2.2.6, /etc/fstab isn't updated, so when you reboot the kernel can't see the root partition. I fixed this by starting an emergency shell, mounting the root partition by hand, and hacking /mnt/root/etc/fstab to comply. You can avoid this by hacking /etc/fstab before you reboot after a make installworld. Does that allay your fears? Cheers, Adam. > > -Loren > > On Thu, 15 Oct 1998, Jahan wrote: > > > Watch out for the new fstab slice info. > > > > Jahan > > > > Adam Nealis wrote: > > > > > > Loren Daniel Koss wrote: > > > > > > > > When I CVSUP the source, what version am I getting? I have the tag > > > > RELENG_2_2. Is that earlier or later than 2.2.1-RELEASE which i am > > > > currently running? > > > RELENG_2_2 is later than 2.2.1-RELEASE. RELENG_2_2 > > > corresponds to the 2.2.x stable track. (See > > > http://www.freebsd.org/handbook/handbook267.html#cvsup:config:vers) > > > > > > > I'd like to get up to the most recent stable version. Any help would be > > > > great. > > > So if you cvsup with > > > > > > tag=RELENG_2_2 > > > > > > you do get up to date on the stable track. I used > > > > > > ftp://ftp.freebsd.org/pub/FreeBSD/FreeBSD-current/src/share/examples/cvsup/stable-supfile > > > > > > and > > > > > > ftp://ftp.freebsd.org/pub/FreeBSD/FreeBSD-current/src/share/examples/cvsup/secure-stable-supfile > > > > > > to get me started. But see > > > http://www.freebsd.org/handbook/handbook263.html to get you > > > started. As I write, a > > > > > > make world > > > > > > is in progress on my newest FreeBSD box, taking me from the > > > 2.2.6 I installed yesterday to the lastest stable stuff. > > > > > > Cheers, > > > Adam. > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > > with "unsubscribe freebsd-questions" in the body of the message > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-questions" in the body of the message > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the 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?3627148E.3B123982>