Louis A. Mamakos writes:
> 
> I dunno if this has come up before or not, but thought I would ask.
> 
> I've got one of the litle soekris net4501 boards that I use as a
> router/firewall/NAT box, and it works really good.  I have a stripped
> down FreeBSD system that I run in a 16MB partition on an 32MB Compact
> Flash card plugged into the net4501.  Actually, I have two 16MB 
> slices, and my goal is to be running from one, and installing
> the "next" version into the second slice.  That way, if the new one
> distribution screws up, I can back-out to the older on on the other
> partition.
> 
> That problem is that I have to generate a distribution with the
> right /etc/fstab to reflect which of the two slices it will
> be installed into, which is ugly.  What would be Really Nice is
> a version of the "compatibility" disk devices which would be
> associated with the "active" slice that was booted from, rather
> than the first FreeBSD slice found on the disk.  This seems like
> one mechanism to get what I want.  Unfortunately, this information
> doesn't seem to get propagated up to the slice code from what I can
> tell.
> 
> Any suggestions on alternative mechanisms?
I usually swap whole partitions.
For example label:

The data for partition 1 is:
sysid 165,(FreeBSD/NetBSD/386BSD)
    start 254016, size 254016 (124 Meg), flag 80 (active)
The data for partition 4 is:
sysid 165,(FreeBSD/NetBSD/386BSD)
    start 0, size 254016 (124 Meg), flag 0

and:

The data for partition 1 is:
sysid 165,(FreeBSD/NetBSD/386BSD)
    start 0, size 254016 (124 Meg), flag 80 (active)
The data for partition 4 is:
sysid 165,(FreeBSD/NetBSD/386BSD)
    start 254016, size 254016 (124 Meg), flag 0   

on the same disk.

-- 
@BABOLO      http://links.ru/

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to