Subject: Re: installboot /dev/rwd0d screwed up my drive :(
To: None <netbsd-users@netbsd.org>
From: None <sigsegv@rambler.ru>
List: netbsd-users
Date: 07/19/2004 21:03:12
Bang Jun-Young wrote:
>Hi,
>
>I misspecified /dev/rwd0a as /dev/rwd0d when I installed a bootxx image to
>my hard drive. After that, I can't boot from it any more. :-(
>
># installboot -v /dev/rwd0d /usr/mdec/bootxx_ffsv2
>...
>(no complain - it seemed to do the job just okay)
>...
>
># reboot
>(the machine reboots)
>blah blah ....
>... can't open /boot
>(stuck here)
>
>Jun-Young
>
>
>
>
>
Not sure if it's gonna fix it bu try this (assuming it's i386 arch). Use
the boot CD to boot NetBSD installer etc, then exit into shell and do
something like:
fdisk -i -c /usr/mdec/mbr_bootsel /dev/rwd0d
fdisk -B /dev/rwd0d
reboot