Re: fdisk flag bootable partition during install

2012-04-25 Thread Louis V. Lambrecht
On Tue, 2012-04-24 at 23:35 +0200, Louis V. Lambrecht wrote: On Tue, 2012-04-24 at 22:52 +0200, Erling Westenvik wrote: On Tue, Apr 24, 2012 at 08:14:19PM +0200, Alexander Hall wrote: You do not flag which to use. Multiple A6 entries brings problems since you get multiple disklabels.

Re: fdisk flag bootable partition during install

2012-04-25 Thread Erling Westenvik
Thank you for your time everyone. Especially Gregor Best who pointed me in the right direction. I managed to get hold on the old 5.0 RELEASE in fdisk partition 2. However, afterwards I managed to do unspeakable things.. I learned a lot though. It's a first time for everything! :-D On Tue, Apr 24,

Re: fdisk flag bootable partition during install

2012-04-25 Thread Gregor Best
On Tue, Apr 24, 2012 at 08:47:05PM -0600, Theo de Raadt wrote: [...] Undefined? Sorry. But if you go look at the code, that is exactly how it works. Some might not like it. But that is how it works, at this time. I don't know what the word undefined means in that context. [...] Hence

fdisk flag bootable partition during install

2012-04-24 Thread Erling Westenvik
Please ignore and forgive my obviously unforgivable ignorance: I wanted to test a snapshot of OpenBSD 5.1 on my ThinkPad T500 which runs 5.0 Release. I decided to overwrite the Windows 7 installation which I never use anyway. fdisk(8) before installation was more or less like this: #: id C

Re: fdisk flag bootable partition during install

2012-04-24 Thread Alexander Hall
Erling Westenvik erling.westen...@gmail.com wrote: Please ignore and forgive my obviously unforgivable ignorance: I wanted to test a snapshot of OpenBSD 5.1 on my ThinkPad T500 which runs 5.0 Release. I decided to overwrite the Windows 7 installation which I never use anyway. fdisk(8) before

Re: fdisk flag bootable partition during install

2012-04-24 Thread Erling Westenvik
On Tue, Apr 24, 2012 at 08:14:19PM +0200, Alexander Hall wrote: You do not flag which to use. Multiple A6 entries brings problems since you get multiple disklabels. Trust me: I'll remember that in the future. I am pretty sure this is documented and in the faq and archives. Maybe so, at

Re: fdisk flag bootable partition during install

2012-04-24 Thread Gregor Best
On Tue, Apr 24, 2012 at 10:52:26PM +0200, Erling Westenvik wrote: [...] 1. When I used flag 1 in fdisk during install, did the installer place the new files in fdisk partition 1? [...] IIRC, behaviour with more than one A6 partition is undefined, but I'd say so, since it was the first A6 the

Re: fdisk flag bootable partition during install

2012-04-24 Thread Louis V. Lambrecht
On Tue, 2012-04-24 at 22:52 +0200, Erling Westenvik wrote: On Tue, Apr 24, 2012 at 08:14:19PM +0200, Alexander Hall wrote: You do not flag which to use. Multiple A6 entries brings problems since you get multiple disklabels. Trust me: I'll remember that in the future. I am pretty sure

Re: fdisk flag bootable partition during install

2012-04-24 Thread Theo de Raadt
1. When I used flag 1 in fdisk during install, did the installer place the new files in fdisk partition 1? [...] IIRC, behaviour with more than one A6 partition is undefined, but I'd say so, since it was the first A6 the kernel encountered on that disk. Undefined? Sorry. But if you

Re: fdisk flag bootable partition during install

2012-04-24 Thread Matthew Dempsky
On Tue, Apr 24, 2012 at 08:14:19PM +0200, Alexander Hall wrote: You do not flag which to use. Multiple A6 entries brings problems since you get multiple disklabels. Perhaps it's worthwhile for fdisk to sanity check for errors like this before writing out an MBR? Index: cmd.c