Port-i386 archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: boot(8) diffs



Stephen Borrill wrote:
On Sun, 12 Oct 2008, Marcin M. Jessa wrote:
Stephen Borrill wrote:
On Sat, 11 Oct 2008, Paul Goyette wrote:
On Sat, 11 Oct 2008, Marcin M. Jessa wrote:

I dont know why but I with the latest patch I can see following text when I boot my computer:
Fn: diskn

Then I press enter and it jumps right to the boot menu.

I see that on one of my systems, too, but not all. I just assumed it was something that the BIOS was doing before loading the NetBSD boot code, asking me to (for example) 'press F1 to boot disk1'.

Now that you've reported the same message, I'm not so sure.

That means you've installed mbr_bootsel, the boot selector. See this fragment of mbr.S:
And how did I do it?
What I did was running fdisk -B and fdisk -i and installboot on wd0a
I think I may have run installdisk on wd0d as well (the entire disk)

See the description of the -B option in man fdisk; it explicitly does this.

That's strange. Without -B I never got any menu to chose kernel from and (the 1.st stage bootloader?) the system said there was no OS to boot. I have Linux and NetBSD on the same drive but if I understood the man pages correctly there can be only one active partition and then
the 2.nd stage bootloader takes care of what O.S to boot.
Why then using -B would print some garbage and not just jump into my active partition?







Home | Main Index | Thread Index | Old Index