On Mon, 15 Oct 2012 16:47:07 +0200, Jos Chrispijn wrote:
> Polytropon:
> > Per definition, you can only mark one slice bootable. If you manage to 
> > mark more than one slice bootable, the start loader (from BIOS) will 
> > boot into the first one it finds, and that will possibly be the one of 
> > the 1st slice. 
> I know, but I was referring to the update installation of a new BSD 
> version; if I have installed it on the empty slice, I only have to make 
> that slice bootable (and removing that function from the original one).
> Does that make sense (still in Windows mode here J-) ?

That would work, and could be performed easily even using
the slice editor of the sysinstall program.

Of course, make sure that all partition references work
properly for _each_ slice. Using labels is a comfortable
way to achieve this. But it would be no problem to use
the device names (as long as the disk won't be moved).

For example:

Slice 1: Installation OS 8.2
        -> boots to /dev/ad0s1a (kernel is in ad0s1a:/boot/kernel)
                -> performs root mount of /dev/ad0s1a
                        -> mounts OS partitions /dev/ad0s1[defg]
                        -> mounts data partition /dev/ad0s3

Slice 2: Installation OS 9.0
        -> boots to /dev/ad0s2a (kernel is in ad0s2a:/boot/kernel)
                -> performs root mount of /dev/ad0s2a
                        -> mounts OS partitions /dev/ad0s2[defg]
                        -> mounts data partition /dev/ad0s3

Slice 3: Users' home directories

You also use the fdisk command to set the active partition manually,
or write a short skript that "flips the switch" to boot from "the
other slice" the next time (comparable to the nextboot command in
relation to kernels); see "man fdisk" for details.

That won't work in "Windows" mode, as you cannot click on the slice. :-)


-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to