Go Back   DaemonForums > OpenBSD > OpenBSD Installation and Upgrading

OpenBSD Installation and Upgrading Installing and upgrading OpenBSD.

Thread Tools Display Modes
  #1   (View Single Post)  
Old 2nd January 2013
ershiba ershiba is offline
Loading, please wait...
Join Date: Dec 2012
Posts: 34
Question specific reason OpenBSD in MBR table id 3

hi bsd people,
is there any specific reason to initialize OpenBSD MBR partition to id 3?

the default installation & fdisk -i wd0 would put OpenBSD MBR partition to the last,

i am curious as of why it doesn't use the first id 0 when the whole MBR table is empty.

thank you.
Reply With Quote
  #2   (View Single Post)  
Old 2nd January 2013
J65nko J65nko is offline
Join Date: May 2008
Location: Budel - the Netherlands
Posts: 3,503

I really don't know.

It reminds of the Stone Age when I still was using DR-DOS. This MS-DOS compatible OS also used the last MBR partition.

You can easily change the order by using the fdisk "swap" command:
fdisk -e wd0
Enter 'help' for information
fdisk: 1> help
        help            Command help list
        manual          Show entire OpenBSD man page for fdisk
        reinit          Re-initialize loaded MBR (to defaults)
        setpid          Set the identifier of a given table entry
        disk            Edit current drive stats
        edit            Edit given table entry
        flag            Flag given table entry as bootable
        update          Update machine code in loaded MBR
        select          Select extended partition table entry MBR
        swap            Swap two partition entries
        print           Print loaded MBR partition table
        write           Write loaded MBR to disk
        exit            Exit edit of current MBR, without saving changes
        quit            Quit edit of current MBR, saving current changes
        abort           Abort program without saving current changes
fdisk: 1>
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump
Reply With Quote
  #3   (View Single Post)  
Old 2nd January 2013
ocicat ocicat is offline
Join Date: Apr 2008
Posts: 3,287

Originally Posted by ershiba View Post
is there any specific reason to initialize OpenBSD MBR partition to id 3?
No, any empty MBR partition can be used. If you want to study the code, see:

Reply With Quote

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Good Reason to use Open Source shep News 7 19th September 2010 12:50 AM
AIX: Which Application is Using a Specific Port vermaden Guides 5 12th April 2009 04:01 AM
download specific file from freebsd source kasse FreeBSD General 2 9th November 2008 11:13 AM
Where to go for specific freebsd router problems? borngeniusat1974 FreeBSD General 3 19th June 2008 11:21 PM
OpenBSD specific books I have WeakSauceIII OpenBSD General 1 25th May 2008 09:40 PM

All times are GMT. The time now is 12:12 AM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick