LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices

Reply
 
Search this Thread
Old 11-26-2013, 03:37 PM   #1
jheengut
Member
 
Registered: Sep 2006
Location: Providence, Moka Mauritius
Distribution: Slackware, OpenSuse, Debian, Fedora, Mageia, Ubuntu, RedHat, BSD, Gentoo, Puppy
Posts: 181
Blog Entries: 2

Rep: Reputation: 2
how to add bsd partitions on gpt


how to add bsd partitions on gpt ?

the freebsd-boot partition should be no larger than 512K due to boot code limitations.

so i can create one before 4096 sector
Quote:
Number Start (sector) End (sector) Size Code Name
1 4096 2101247 1024.0 MiB 8300 MAXTOR_Boot
but
Partitions will be aligned on 2048-sector boundaries
changes to
Partitions will be aligned on 8-sector boundaries
if I create a 512K partition

I do not the change as it will break my scripts and make them complex
 
Old 12-04-2013, 09:53 PM   #2
mlslk31
Member
 
Registered: Mar 2013
Location: Florida, USA
Distribution: Slackware, FreeBSD
Posts: 110

Rep: Reputation: 32
That may be a FreeBSD limitation. I think that the entire partition is read into memory by that tiny FreeBSD bootloader.

The problem is worked around very easily by simple use of math. Let FreeBSD create that default 64k freebsd-boot partition. When you create partitions later, be sure that a) the start sector % 2048 == 0, and that b) the partition size (sectors) of new partitions % 2048 == 0. IOW, if you get the start sector correct and specify your partition sizes in megabytes, all should be OK. [It doesn't hurt to double-check your numbers before placing file systems and/or RAID on the partitions.] It won't get gptfdisk/gdisk into working automatically with 2048-sector alignment, but at least the alignments will be the same.
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] How to Install Slackware current with SSD/GPT/Btrfs/separate partitions JohnV2 Slackware 5 05-16-2012 01:20 PM
Help setting up GPT partitions with GNU parted (version 2.3). ssenuta Linux - Hardware 1 04-05-2012 09:02 PM
Disk Partitions for dual boot with Windows 7 GPT/EFI motiv8d1 Linux - General 2 01-10-2011 06:22 PM
Slackware64 Setup does not see gpt partitions created with parted on raid5 Alkisx Slackware 10 10-13-2009 12:59 PM
gpt label in parted, partitions look OK. GrUB not booting 64bit OS on 8th primary digital8doug Linux - Newbie 1 12-31-2008 02:20 PM


All times are GMT -5. The time now is 03:38 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration