From owner-freebsd-questions@FreeBSD.ORG Sat Nov 24 22:14:48 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B831721E for ; Sat, 24 Nov 2012 22:14:48 +0000 (UTC) (envelope-from ralf.mardorf@rocketmail.com) Received: from nm24-vm7.bullet.mail.ird.yahoo.com (nm24-vm7.bullet.mail.ird.yahoo.com [212.82.109.198]) by mx1.freebsd.org (Postfix) with ESMTP id 178598FC13 for ; Sat, 24 Nov 2012 22:14:47 +0000 (UTC) Received: from [77.238.189.51] by nm24.bullet.mail.ird.yahoo.com with NNFMP; 24 Nov 2012 22:14:41 -0000 Received: from [217.146.188.79] by tm4.bullet.mail.ird.yahoo.com with NNFMP; 24 Nov 2012 22:14:41 -0000 Received: from [127.0.0.1] by smtp103.mail.ird.yahoo.com with NNFMP; 24 Nov 2012 22:14:41 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rocketmail.com; s=s1024; t=1353795281; bh=R90yKKYy+x6r4klHnvKoIXpEr0REUJcdhrvPyp85QzU=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:Received:Message-ID:Subject:From:To:Date:Content-Type:X-Mailer:Mime-Version:Content-Transfer-Encoding; b=s8QY7j8Z/536MlyrMkcHLhCNtMjHkq0wEvEXJVb8GE6rhR/PerRDG3Bme9RkWgUKNkiPyq0G+6Wf/l1Bc5t+xJj3aO/Q1To0HYaWU6IDB/4wDjLkZQompB5rLw0oDq/Srzz/XxCnkw48Pj6R9Eba0xJur1C+le/ck00eTPDCE2E= X-Yahoo-Newman-Id: 181238.52943.bm@smtp103.mail.ird.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: KTqZF28VM1mrkjAQIQ1tnQiCNVFYsxZo2T31PCvVxqPoFHH ShvyUkutCtNpIAoxiCWKPdrcOps7pt3Q.A1fJS_OVOivmUiVmiuUdRs2dvYq m_5AVXERg1lgEpUuREuIBr5VQlttdMdgjFBJbsWTygwHXyejeNasoqrFZux9 9gOZX2UBJfCfx5yF2pkTB29sV7nTNCfhJyhGgDMPOzwsKGwfW2OiGKJmQTCb V19AGc6jOmSuW43Ng.rW39T6iQHAN3LAAWTrMpEmvFo1xPQosjfye3YpYjGP BPk6oY8laiDsXS29dbFGYqBiuPU_pSoW1bZIJFwHA7riNihBMGy3O1GO4ptK iGSQcGxnVkT.2GsFFLoDLD.Jblh8PheIaysvipjr0Y5tfiBsMaZLJJOTzjM. xgYIoc_laTe0s9goRZqpX_Z2usqpZYKgDRhU- X-Yahoo-SMTP: BeMCPs2swBABTJ3kAeEiC_hE0mz8jRexLddJfD8pI2j32fOacjBmXg-- Received: from [78.50.22.2] (ralf.mardorf@78.50.22.2 with login) by smtp103.mail.ird.yahoo.com with SMTP; 24 Nov 2012 14:14:41 -0800 PST Message-ID: <1353795280.2662.12.camel@q> Subject: How to create a partition for FreeBSD 9.0? From: Ralf Mardorf To: freebsd-questions@freebsd.org Date: Sat, 24 Nov 2012 23:14:40 +0100 Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.6.0-0ubuntu3 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Nov 2012 22:14:48 -0000 I use the amd64 install DVD. With or without deleting, I can't format a bootable FreeBSD partition to ada0s1, aka Linux /dev/sda1. FWIW if I reinstall GRUB legacy to /dev/sda, the boot flag will be set for the extended partition. /dev/sda1 is an empty ext3 partition, size 57.83 GiB. Regards, Ralf PS: spinymouse@q:~$ sudo fdisk -l /dev/sda Disk /dev/sda: 320.1 GB, 320072933376 bytes 255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x000f2fc6 Device Boot Start End Blocks Id System /dev/sda1 63 121274684 60637311 83 Linux /dev/sda2 * 121274746 625137344 251931299+ 5 Extended /dev/sda5 121274748 183751469 31238361 7 HPFS/NTFS/exFAT /dev/sda6 183751533 246421034 31334751 83 Linux /dev/sda7 246421098 309283379 31431141 83 Linux /dev/sda8 309283443 361967615 26342086+ 83 Linux /dev/sda9 361969664 435617791 36824064 83 Linux /dev/sda10 435618603 440164934 2273166 82 Linux swap / Solaris /dev/sda11 440164998 561873374 60854188+ 83 Linux /dev/sda12 561873438 569215079 3670821 83 Linux /dev/sda13 569215143 615514409 23149633+ 83 Linux /dev/sda14 615514473 625137344 4811436 83 Linux spinymouse@q:~$ sudo fdisk -l /dev/sdb Disk /dev/sdb: 500.1 GB, 500107862016 bytes 255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x000525e5 Device Boot Start End Blocks Id System /dev/sdb1 63 42973874 21486906 83 Linux /dev/sdb2 42973936 976768064 466897064+ 5 Extended /dev/sdb5 42973938 85931684 21478873+ 83 Linux /dev/sdb6 85931748 128696714 21382483+ 83 Linux /dev/sdb7 128696778 133789319 2546271 82 Linux swap / Solaris /dev/sdb8 133789383 175943879 21077248+ 83 Linux /dev/sdb9 175943943 219190859 21623458+ 83 Linux /dev/sdb10 219190923 220211199 510138+ 83 Linux /dev/sdb11 220213248 246687743 13237248 83 Linux /dev/sdb12 246689792 347549695 50429952 83 Linux /dev/sdb13 347550273 557309951 104879839+ 83 Linux /dev/sdb14 557312000 976766975 209727488 83 Linux spinymouse@q:~$ sudo grub-install /dev/sda Searching for GRUB installation directory ... found: /boot/grub Installing GRUB to /dev/sda as (hd0)... Installation finished. No error reported. This is the contents of the device map /boot/grub/device.map. Check if this is correct or not. If any of the lines is incorrect, fix it and re-run the script `grub-install'. (fd0) /dev/fd0 (hd0) /dev/sda (hd1) /dev/sdb