[1003] in netbsd-help mailing list archive

home help back first fref pref prev next nref lref last post

Re: Dual booting Win95 and NetBSD-Athena

daemon@ATHENA.MIT.EDU (Greg Hudson)
Wed Aug 14 14:22:55 1996

To: lkimble@MIT.EDU (Leonard Kimble)
Cc: netbsd-help@MIT.EDU
In-Reply-To: Your message of "Wed, 14 Aug 1996 13:23:18 EDT."
             <v02140b01ae37ba96698b@[18.169.0.161]> 
Date: Wed, 14 Aug 1996 13:28:16 EDT
From: Greg Hudson <ghudson@MIT.EDU>

> However, now when I choose to boot netbsd, the boot selector comes
> back with the message "No operating system".  Has anyone else ever
> seen this problem or know how to fix it?

If your win95 files were corrupted, the same corruption could have
possibly messed up the NetBSD boot blocks.  Either you misinstalled
the boot loader, or there's something wrong with your NetBSD
partition.

> If I rerun the Netbsd installation will I lose the files I currently
> have on my netbsd partition?

Yes, the NetBSD installation wipes your partition and starts from
scratch, so you'll lose your files.  Of course, given what else is
going on it's possible that you've already lost them, so I hope you
have a backup of anything important.

You can boot off the install disk and hit ^C when it asks you which
NetBSD partition you want to install on.  It will drop you to a shell
prompt and you can do:

	disklabel wd0

(If you're not using the first IDE disk for NetBSD, replace wd0 with
"sd0" or "sd1" or "wd1" or something appropriate, wd for IDE disks, sd
for SCSI disks.)

If it comes back with a realistic partition table with five or six
partitions listed at the end, then your partition should be okay and
you can try restoring the boot blocks with:

	disklabel -B wd0

That may or may not solve your problem, depending on what your problem
actually turns out to be.

If, on the other hand, the first disklabel comes back with only one
partition at the end, that means the beginning (at least) of your
NetBSD partition is trashed.  Unfortunately, the first and most
crucial step of recovery (assuming there's anything left) is restoring
the partition table; if you get to this point, and you happen to know
the sizes of all your partitions, write back (cc'd to netbsd-help) and
we can help with that.

home help back first fref pref prev next nref lref last post