Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Jan 2010 15:38:08 +0100
From:      Romain Garbage <romain.garbage@gmail.com>
To:        Dan Naumov <dan.naumov@gmail.com>
Cc:        FreeBSD-STABLE Mailing List <freebsd-stable@freebsd.org>, "Thomas K." <fwd@gothschlampen.com>, freebsd-questions@freebsd.org
Subject:   Re: Loader, MBR and the boot process
Message-ID:  <7ab0356e1001240638r6cd56b91h47852cb3591b7446@mail.gmail.com>
In-Reply-To: <cf9b1ee01001212102r70b88806m21b167a2aa833362@mail.gmail.com>
References:  <cf9b1ee01001211957j43a9d6a9j3d1e29d19aebf418@mail.gmail.com> <20100122041237.GA22312@gothschlampen.com> <cf9b1ee01001212049u6cffd8abo9efa380a8efa9609@mail.gmail.com> <cf9b1ee01001212102r70b88806m21b167a2aa833362@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
2010/1/22, Dan Naumov <dan.naumov@gmail.com>:

> Putting the swap into it's own slice and then putting FreeBSD into
> it's own slice worked fine. So why the hell can't they both coexist in
> 1 slice if the swap comes first?

Similar problem here: I have a full-zfs system in a bsd slice, but I
have the zfs-freebsd partition before the swap one. The problem is
that the system doesn't seem to detect the swap partition partition (I
see "swapon: /dev/ada0s1b: No such file or directory" during boot)

% bsdlabel /dev/ada0s1
# /dev/ada0s1:
8 partitions:
#        size   offset    fstype   [fsize bsize bps/cpg]
  a: 53043200        0       ZFS
  b:  9883342 53043200      swap
  c: 62926542        0    unused        0     0         # "raw" part, don't edit

but to see ada0s1b in /dev/ I have to reload geom_bsd module (loading
it at boot time doesn't work).

Even though (but this seems to be another problem):
% sudo swapon /dev/ada0s1b
swapon: /dev/ada0s1b: Operation not permitted


Regards,
Romain



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7ab0356e1001240638r6cd56b91h47852cb3591b7446>