Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Feb 2013 08:06:53 -0800 (PST)
From:      =?iso-8859-1?Q?Muammer_Hamut=E7u?= <revivo73@yahoo.com>
To:        "freebsd-ppc@freebsd.org" <freebsd-ppc@freebsd.org>
Subject:   How to make APM disk which can be detected by Linux' GParted?
Message-ID:  <1360858013.53771.YahooMailNeo@web160704.mail.bf1.yahoo.com>

index | next in thread | raw e-mail

Hello

I'm making a dual-boot Mac mini G4 (PowerPC) which will boot FreeBSD PPC and Linux Ubuntu 10.10 PPC


To achieve that, I create partitions for both the OSes. 7 partitions for FreeBSD , 3 partitions for Ubuntu.

7 partitions for FreeBSD is roughly: 800~1024K apple-boot, 1G /, 1G FreeBSD SWAP, 600M /tmp, 600M /var, 6G /usr, 600M /home

3 partitions for Linux is roughly: 800~1024K apple-boot, 8G /, 1G SWAP

It looks roughly like that: http://f1302.hizliresim.com/16/f/k2fqu.jpg 


The problem is, the apple-boot partitions must have some free space before them (25K~1M in size) in order to be detected by Ubuntu Install (or Linux GParted for the same matter)


If there's no such space before apple boot blocks, Ubuntu Install cannot see the partitions thereby making the installation of Ubuntu impossible.

The question is how can I properly add such free space using FreeBSD gpart? Or using any other partitioning tool? 


And advice is appreciated, thanks.

From owner-freebsd-ppc@FreeBSD.ORG  Thu Feb 14 18:35:27 2013
Return-Path: <owner-freebsd-ppc@FreeBSD.ORG>
Delivered-To: freebsd-ppc@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 by hub.freebsd.org (Postfix) with ESMTP id 76857CE2
 for <freebsd-ppc@freebsd.org>; Thu, 14 Feb 2013 18:35:27 +0000 (UTC)
 (envelope-from bu7cher@yandex.ru)
Received: from forward19.mail.yandex.net (forward19.mail.yandex.net
 [IPv6:2a02:6b8:0:1402::4])
 by mx1.freebsd.org (Postfix) with ESMTP id 2C0FC652
 for <freebsd-ppc@freebsd.org>; Thu, 14 Feb 2013 18:35:27 +0000 (UTC)
Received: from smtp18.mail.yandex.net (smtp18.mail.yandex.net [95.108.252.18])
 by forward19.mail.yandex.net (Yandex) with ESMTP id 55C0C1122272;
 Thu, 14 Feb 2013 22:35:24 +0400 (MSK)
Received: from smtp18.mail.yandex.net (localhost [127.0.0.1])
 by smtp18.mail.yandex.net (Yandex) with ESMTP id 2ACA418A0141;
 Thu, 14 Feb 2013 22:35:24 +0400 (MSK)
Received: from v10-164-220.yandex.net (v10-164-220.yandex.net [84.201.164.220])
 by smtp18.mail.yandex.net (nwsmtp/Yandex) with ESMTP id ZN7qtj7R-ZN7q5YZU;
 Thu, 14 Feb 2013 22:35:24 +0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail;
 t60866924; bh=ilCJOLlOB8tu3fTOmCr487ZnM0OdanDXrYxspX0ORGc=;
 h=Message-ID:Date:From:User-Agent:MIME-Version:To:CC:Subject:
 References:In-Reply-To:X-Enigmail-Version:Content-Type:
 Content-Transfer-Encoding;
 b=hVckBVILFyC05Hp+MeIO08vN7wK6TQVsYYQlF63O3XSpoI+2jPFBG7c5kgxtQTJZY
 rMaKIgU1i6Qm1N1aQVvSmDeWsbNsK3ifoK4ZWZfWYWzw6D1MGVfdEooNZBjBSWZP5u
 R2jALa6uDNBtLR+5Nx/vlhDJcW46ukp41vpGNHeUMessage-ID: <511D2E19.6020809@yandex.ru>
Date: Thu, 14 Feb 2013 22:34:01 +0400
From: "Andrey V. Elsukov" <bu7cher@yandex.ru>
User-Agent: Mozilla/5.0 (X11; FreeBSD amd64;
 rv:17.0) Gecko/17.0 Thunderbird/17.0
MIME-Version: 1.0
To: =?ISO-8859-1?Q?Muammer_Hamutçu?= <revivo73@yahoo.com>
Subject: Re: How to make APM disk which can be detected by Linux' GParted?
References: <1360858013.53771.YahooMailNeo@web160704.mail.bf1.yahoo.com>
In-Reply-To: <1360858013.53771.YahooMailNeo@web160704.mail.bf1.yahoo.com>
X-Enigmail-Version: 1.4.6
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
Cc: "freebsd-ppc@freebsd.org" <freebsd-ppc@freebsd.org>
X-BeenThere: freebsd-ppc@freebsd.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: Porting FreeBSD to the PowerPC <freebsd-ppc.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-ppc>,
 <mailto:freebsd-ppc-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-ppc>;
List-Post: <mailto:freebsd-ppc@freebsd.org>
List-Help: <mailto:freebsd-ppc-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-ppc>,
 <mailto:freebsd-ppc-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Thu, 14 Feb 2013 18:35:27 -0000

On 14.02.2013 20:06, Muammer Hamutçu wrote:
> It looks roughly like that:
> http://f1302.hizliresim.com/16/f/k2fqu.jpg
>
>
> The problem is, the apple-boot partitions must have some free space
> before them (25K~1M in size) in order to be detected by Ubuntu
> Install (or Linux GParted for the same matter)
>
>
> If there's no such space before apple boot blocks, Ubuntu Install
> cannot see the partitions thereby making the installation of Ubuntu
> impossible.
>
> The question is how can I properly add such free space using FreeBSD
> gpart? Or using any other partitioning tool?

You can use "-b start_offset" parameter in the gpart(8):
# gpart create -s apm ad0
# gpart add -t apple-boot -b 64 -s 800k ad0

--
WBR, Andrey V. Elsukov


help

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