Re: Boot problems after upgrade

Jochen Kunz <[email protected]>
Newsgroups gmane.os.netbsd.ports.prep
Message-ID <[email protected]>
On Wed, Apr 30, 2003 at 02:28:00PM +0400, Oleg Sharoiko wrote:

> cp netbsd /tmp
> cd /tmp
> gzip -c netbsd > netbsd.gz
> /usr/mdec/mkbootimage /usr/mdec/boot_com0 boot.img netbsd.gz
> dd if=boot.img of=/dev/sd0d
> 
> After rebooting I have:
> 
> boot device: <unknown>
> root on sd0a dumps on sd0b
> init: not found
> panic: no init
> syncing disks... done
> dumpsys: TBD
> rebooting...
> 
> What have I missed?
> 
> Any help will be greatly appreciated.
Depending on your partition / disk slice layout you may have overwritten
your root file system with the kernel. => Reinstall system. 

My prefered method is to mahe a PReP boot MBR partition at the beginning
of the disk (2 to 3 MB) and the BSD MBR partition at the rest. Then 
writing the boot-image to /dev/rsd0c, (c == whole disk, d == BSD MBR 
partition of the disk) and reinstall MBR partitioning with fdisk and 
then the disklabel.
-- 



tschüß,
         Jochen

Homepage: http://www.unixag-kl.fh-kl.de/~jkunz/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.