Date: Thu, 23 Mar 2006 09:25:13 +0100 From: "Philippe Lang" <philippe.lang@attiksystem.ch> To: <freebsd-questions@freebsd.org> Subject: Make installworld in single-user mode all the time? Message-ID: <6C0CF58A187DA5479245E0830AF84F421D0AA4@poweredge.attiksystem.ch>
next in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] Hi, I'd like to patch a production server, with about 10 jails, running FreeBSD 6.0 Release, in order to get FreeBSD 6.0-p6. Since this server is being hosted on a remote location, rebooting in single-user mode before doing the installworld requires me to move to the hosting center. Documentation mentions that a reboot in single-user mode is necessary. But on the opposite, /usr/src/UPDATING says: > Also, when doing a major release upgrade, it is required that > you boot into single user mode to do the installworld. Since this is no "major release upgrade", does that mean I can do the installworld in multi-user mode? I have tested that on a smaller test server yesterday evening, I have even done the installworld in running jails, and it worked just fine. Was I lucky maybe? Does anyone have a definitive guide to update FreeBSD correctly? Here is what I did: ---------- 1) Cleaning > cd /usr/obj > chflags -R noschg * > rm -rf 2) Buildworld & Kernel > cd /usr/src > make buildworld (/usr/src/UPDATING mentions we should avoid the -j option) > make kernel KERNCONF=<MY_KERNEL_CONF> 4) When doing a major release upgrade: > reboot in single-user mode > fsck -p > mount -u / > mount -a -t ufs > swapon -a > adjkerntz -i 6) Installworld > cd /usr/src > mergemaster -p > make installworld > mergemaster 7) Update jail1 > mergemaster -p -D /usr/jails/my_jail1 > make installworld DESTDIR=/usr/jails/my_jail1 > mergemaster -D /usr/jails/my_jail1 8) Update jail2 > mergemaster -p -D /usr/jails/my_jail2 > make installworld DESTDIR=/usr/jails/my_jail2 > mergemaster -D /usr/jails/my_jail2 9) Reboot ---------- Regards, ---------------------------------- Philippe Lang, Ing. Dipl. EPFL Attik System rte de la Fonderie 2 1700 Fribourg Switzerland http://www.attiksystem.ch Tel: +41 (26) 422 13 75 Fax: +41 (26) 422 13 76 Email: philippe.lang@attiksystem.ch [-- Attachment #2 --] 0 *H 010 + 0 *H 00ZZ!^4FӋ0 *H 0b10 UZA1%0#U Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CA0 051220134026Z 061220134026Z0g1 0ULang10U*Philippe10U Philippe Lang1+0) *H philippe.lang@attiksystem.ch00 *H 0 @CrAPpMˏ$o 4ߏ^ 9ni)vkrZ"U[# [5.4 v aOqZ]-YبFvo- EySe#UeŅgzk4 9070'U 0philippe.lang@attiksystem.ch0U0 0 *H 7FjBCBnWIvB k)h.~ֈƹ{04Ɗ%RftRcUG%Ǝy/2Gpvt]wKNb1mZ5. j0-0 0 *H 010 UZA10UWestern Cape10U Cape Town10U Thawte Consulting1(0&UCertification Services Division1$0"UThawte Personal Freemail CA1+0) *H personal-freemail@thawte.com0 960101000000Z 201231235959Z010 UZA10UWestern Cape10U Cape Town10U Thawte Consulting1(0&UCertification Services Division1$0"UThawte Personal Freemail CA1+0) *H personal-freemail@thawte.com00 *H 0 id[qGQr^}- {߅%u(t:B,c'{K~ݹΖdnD|Mq@8 x^^v]nz|KU)&j8$jDZڣyZ 00U00 *H ~Ngb*M`o`Xa&R5\0JbB#dG)ߝ^l`q\yn G (|_#& sC%/uQkw0?0 0 *H 010 UZA10UWestern Cape10U Cape Town10U Thawte Consulting1(0&UCertification Services Division1$0"UThawte Personal Freemail CA1+0) *H personal-freemail@thawte.com0 030717000000Z 130716235959Z0b10 UZA1%0#U Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CA00 *H 0 Ħ<UsUNʙZhup[v:aQP 0cZ,p+Z?qV˯<6$*+w=+>@dקe*TH<a@dr` 00U0 0CU<0:08642http://crl.thawte.com/ThawtePersonalFreemailCA.crl0U0)U"0 010UPrivateLabel2-1380 *H HP. fgCL!6-6/P p<ab:~ t%Pb'qW%ݩ9 Oe_N4[5MwV!x!5$F]_eO100v0b10 UZA1%0#U Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CAZZ!^4FӋ0 + 0 *H 1 *H 0 *H 1 060323082513Z0# *H 1 ?V\ ++jGEM0g *H 1Z0X0 *H 0*H 0 *H @0+0 *H (0+0 *H 0 +71x0v0b10 UZA1%0#U Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CAZZ!^4FӋ0*H 1xv0b10 UZA1%0#U Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CAZZ!^4FӋ0 *H HPIc'eU!!Gtf(أ{Ĵ P:Jqq/;0VRYKvϧ}6fȡ}/t'3ehbsÉӆMw=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6C0CF58A187DA5479245E0830AF84F421D0AA4>
