From owner-freebsd-stable@FreeBSD.ORG Sun Jan 24 14:38:10 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 32AE2106566C; Sun, 24 Jan 2010 14:38:10 +0000 (UTC) (envelope-from romain.garbage@gmail.com) Received: from mail-iw0-f200.google.com (mail-iw0-f200.google.com [209.85.223.200]) by mx1.freebsd.org (Postfix) with ESMTP id DE7518FC08; Sun, 24 Jan 2010 14:38:09 +0000 (UTC) Received: by iwn38 with SMTP id 38so2283386iwn.11 for ; Sun, 24 Jan 2010 06:38:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=YPvXNvN6wfnrvRxnY66iJvIHVXrKZwA4zVPwoAKDY5g=; b=CergfLSOnBQdM5hR20uF1CRax6vvnrpf02BBkoWcRbI9u2BEoJnsIKmczMLOKevOuX VgajDh1YN9a7MHioCmQBbcg/syUbK0P23s+PIO9c7qglZHaN+evq57+BULVt+YyH5kgi 7GseOpczHYTvqGoHVMW1hDDXewpKlqP1cvBBE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=kwUwjBXSmtDnnSXWbPkWR3ijQlk6JvYIh2qVgRZB9CiWYN4w4RaC2sMDj6e2aO8jzz pubfjwLOmYpBFepmbF7cChoAaUsTW4FTRUL5L8FYvq7jPU9SwJPz1nHxYccPZ/wQu8Ti Idk5ecQAvklc1yR/O3sQYHEY5zFaG07khkMEQ= MIME-Version: 1.0 Received: by 10.231.145.206 with SMTP id e14mr3258613ibv.10.1264343888786; Sun, 24 Jan 2010 06:38:08 -0800 (PST) In-Reply-To: References: <20100122041237.GA22312@gothschlampen.com> Date: Sun, 24 Jan 2010 15:38:08 +0100 Message-ID: <7ab0356e1001240638r6cd56b91h47852cb3591b7446@mail.gmail.com> From: Romain Garbage To: Dan Naumov Content-Type: text/plain; charset=UTF-8 Cc: FreeBSD-STABLE Mailing List , "Thomas K." , freebsd-questions@freebsd.org Subject: Re: Loader, MBR and the boot process X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Jan 2010 14:38:10 -0000 2010/1/22, Dan Naumov : > 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