Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Nov 2012 23:14:40 +0100
From:      Ralf Mardorf <ralf.mardorf@rocketmail.com>
To:        freebsd-questions@freebsd.org
Subject:   How to create a partition for FreeBSD 9.0?
Message-ID:  <1353795280.2662.12.camel@q>

next in thread | raw e-mail | index | archive | help
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




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