Subject: Re: Problem with filesystem?
To: Adrian Mrva <adrianm@host.sk>
From: Brian A. Seklecki <lavalamp@spiritual-machines.org>
List: netbsd-help
Date: 08/21/2004 02:59:41
On Thu, 2004-08-19 at 07:10, Adrian Mrva wrote:
> When the kernel is booting I get the following error message:
> 
>   no file system for wd0 (dev 0x0)
>   cannot mount root, error = 79
> 
> This started happening after I reinstalled Windows 98 on another
> drive.
> 
> Here's the output of disklabel.

What about the disk label of wd1 ?  You said there's another drive? 
Perhaps the 98 install application caused confusion about the install
target and overwrote it?

Or perhaps if you installed 98 on the 2nd disk, but the 1st disk is the
boot target, and Windows felt obligated to write a new MBR to the 1st
disk so that the boot process points the 2nd disk.

Either way, an old copy of your fdisk(8) and disklabel(8) output from a
system backup could probably help you out.

~Brian

> 
>   8 partitions:
>   #        size   offset     fstype   [fsize bsize cpg/sgs]
>     c: 71680896  1024128     unused        0     0         # (Cyl. 1016 - 72127)
>     d: 78177792        0     unused        0     0         # (Cyl.    0 - 77557*)
>     e:  1024065       63      MSDOS                        # (Cyl.    0*- 1015)
>     f: 71680896  1024128     unused        0     0         # (Cyl. 1016 - 72127)
> 
> 
> Thanks in advance for any help.