NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: bin/46228: bootloader can't load kernel on Dell 2850
The following reply was made to PR bin/46228; it has been noted by GNATS.
From: Piotr Meyer <aniou%smutek.pl@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc:
Subject: Re: bin/46228: bootloader can't load kernel on Dell 2850
Date: Tue, 27 Mar 2012 10:32:41 +0200
On Mon, Mar 26, 2012 at 08:10:05PM +0000, Manuel Bouyer wrote:
> > I found that /usr/mdec/boot built without GPT support boots fine.
> >
> > After enabling CPPFLAGS+= -DNO_GPT in sys/arch/i386/stand/lib/Makefile
> > re-compiled /usr/mdec/boot works - compiled again, but with above
> > definition commented out - fails exactly as in my first mail.
> >
> > Maybe something left on disk? I had FreeBSD 9.x previously installed
> > on this host.
>
> yes, that could be the problem.
> Maybe try gpt destroy -r ?
Still no luck - gpt refuse any form of cooperation, all operations
(remove, migrate, show) gave me simply:
'gpt: error: bogus map'
Finally I found some suggestions: http://markmail.org/message/efyk7bbzvssidvl5
- looks like I got mix of GPT and MBR partitions:
# gpt -vvv show ld0
gpt: rld0d: mediasize=145458462720; sectorsize=512; blocks=284098560
gpt: rld0d: MBR at sector 0
gpt: rld0d: MBR part: type=169, start=63, size=284098497
gpt: rld0d: Pri GPT at sector 1
gpt: rld0d: GPT partition: type=83bd6b9d-7f41-11dc-be0b-001560b84f0f,
start=34, size=128
gpt: error: bogus map
gpt: unable to open device 'rld0d': Undefined error: 0
The quickest solution for me is simply clearing disk and re-installing system,
(it isn't a problem for me) but - IMVHO - this case should be covered in
install
notes (or, better, at installer level - at least as BIG warning in
partitioning
menu "Warning: GPT partition is already present..." etc).
--
Piotr 'aniou' Meyer
Home |
Main Index |
Thread Index |
Old Index