Re: FreeBSD "Live Upgrade" best practice?

2004-03-11 Thread Daniel Lang
Dear Colin,

Colin Percival wrote on Thu, Mar 11, 2004 at 03:22:12PM +:
> >Given: -STABLE box with an extra disk.
> >
> >[snip]
> >
> >Maybe someone has already done such a thing?
> 
>   My depenguinator is useful for this purpose; it creates a
> disk image, which you can write to your second drive, which
> boots into a memory disk; you can then slice, partition,
> create filesystems, and generally do whatever you like with
> the system -- without needing anything beyond a network
> connection.

Care to share an URL? 

atleo6:~#grep depenguinator /usr/ports/INDEX
atleo6:~#

However. If I understand you correctly, I need to boot this 
diskimage and then do a 'regular' install? Anything I could
also do, using a CDROM or a boot-floppy? Or is there some
other benefit?

The purpose of my live-upgrade mission is not to get rid of CD-ROM
or floppy requirements, but to minimize downtime.

Hmmm, I just have another thought... Possibly there is a way
to provide make installkernel/installworld with a different
destination directory?

Like:

make installkernel -DDESTDIR=/mnt
make installworld -DDESTDIR=/mnt

Would this be another possibility?

Best regards,
 Daniel Lang
-- 
IRCnet: Mr-Spock - ceterum censeo Microsoftinem esse delendam -  
 Daniel Lang * [EMAIL PROTECTED] * +49 89 289 18532 * http://www.leo.org/~dl/


smime.p7s
Description: S/MIME cryptographic signature


Re: FreeBSD "Live Upgrade" best practice?

2004-03-11 Thread Colin Percival
At 10:19 11/03/2004, Daniel Lang wrote:
I'd like to try some sort of "Live Upgrade".

Given: -STABLE box with an extra disk.

[snip]

Maybe someone has already done such a thing?
  My depenguinator is useful for this purpose; it creates a
disk image, which you can write to your second drive, which
boots into a memory disk; you can then slice, partition,
create filesystems, and generally do whatever you like with
the system -- without needing anything beyond a network
connection.
Colin Percival

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


FreeBSD "Live Upgrade" best practice?

2004-03-11 Thread Daniel Lang
Hi,

I'd like to try some sort of "Live Upgrade".

Given: -STABLE box with an extra disk.

Intended procedure:

- Install 5.2.1-RELEASE (given it works on that box)
  on the extra disk
- Adapt configuration from -STABLE 
- shutdown
- change -STABLE disk with 5.2.1 disk
- boot and run 5.2.1
- optionally update to 5-CURRENT

Is this a feasable procedure? 

How would I best install the 5.2.1 on the extra disk.
I thought I'd just extract the -release tarballs
using the install.sh script? However there is also 
mtree information, and of course the extra disk is
not mounted on / but on /mnt

What do I else need to think of? 

I know that I probably cannot create UFS2 filesystems with
the -stable system. But I guess I can run UFS(1) as well 
until I move each filesystem to UFS2 using the (now spare)
old -stable system disk.

Maybe someone has already done such a thing?

Thanks & best regards,
 Daniel
-- 
IRCnet: Mr-Spock- Eddie would go! -
 Daniel Lang * [EMAIL PROTECTED] * +49 89 289 18532 * http://www.leo.org/~dl/


smime.p7s
Description: S/MIME cryptographic signature