DaemonForums  

Go Back   DaemonForums > DaemonForums.org > News

News News regarding BSD and related.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 24th March 2011
J65nko J65nko is offline
Administrator
 
Join Date: May 2008
Location: Budel - the Netherlands
Posts: 4,125
Default Extended partition support changes

From a message from Kenneth R Westerback to the OpenBSD tech mailing list
(http://marc.info/?l=openbsd-tech&m=130082509621274&w=4)
Code:
A recent flurry of commits have substantially modified the support
for MBR Extended Partitions. We hope in a positive direction.

The two most visible changes are

1) We now correctly calculate the location of the next EBR when
traversing the list of EBRs.

2) Up to 256 Extended Boot Records are now traversed when looking for
the OpenBSD partition. The previous limit of 8 was a result of
conflating the two tasks of looking for the OpenBSD partition and
spoofing partitions we found during the search.

3) There is a hard limit of 2 ^ 28 - 1 disk sectors within which the
/boot program must fit. i.e. 128GB with 512-byte sectors. This is
synonymous with the first few sectors of the OpenBSD partition lying
below this limit.

4) The install script now warns when it fails to install the /boot
program and thus make the disk bootable.

The partitions are also searched in a slightly different order than
previously, to make sure the install process, the boot process and
the kernel all agree on the 'first' OpenBSD partition.

These changes could break some existing systems that managed, despite
previous bugs, to install on a partition above the 2 ^ 28 - 1 limit.

We are VERY interested in such systems! If nothing else to find out
how many there are. (So far I have heard of 1).

To get such a system working again, one can simply change the define
in sys/sys/disklabel.h, BOOTBIOS_MAXSEC. If anyone knows BIOS, EDD,
assembler and gcc assembler syntax and has such a system we would
be very interested in diffs enable reliable detection of systems
where it is safe to relax the 2 ^ 28 - 1 limit.

Thanks again to ucsav for starthing this off with a diff.

.... Ken
So if you always wanted to install OpenBSD in a logical partition, download a 4.9 current snapshot now and go for it ......
__________________
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
  #2   (View Single Post)  
Old 24th March 2011
BSDfan666 BSDfan666 is offline
Real Name: N/A, this is the interweb.
Banned
 
Join Date: Apr 2008
Location: Ontario, Canada
Posts: 2,223
Default

Just wipe your whole drive, you know you want to.
Reply With Quote
Reply

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
Partition help needed. ros2468 OpenBSD Installation and Upgrading 9 22nd March 2010 01:25 PM
sed(1) support for Extended Regulare Expressions (ERE) J65nko OpenBSD General 0 25th January 2010 05:46 PM
When will be possible install BSD system on extended partitions? aleunix Off-Topic 5 15th December 2009 08:47 AM
Allow i386 and amd64 to boot from extended DOS partitions lvlamb OpenBSD General 4 16th July 2008 03:24 PM
/etc on a separate partition DarkEnergy FreeBSD Installation and Upgrading 13 20th May 2008 04:24 AM


All times are GMT. The time now is 04:50 AM.


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