Subject: Re: Now I've done it! Hosed up my boot blocks!
To: Eric Schnoebelen <eric@cirr.com>
From: David Laight <david@l8s.co.uk>
List: current-users
Date: 01/28/2004 00:30:15
On Tue, Jan 27, 2004 at 05:21:10PM -0600, Eric Schnoebelen wrote:
> 
> Paul Goyette writes:
> - So, grovelling through man pages, I figured out that I should do:
> - 
> - 1. fdisk -c /usr/mdec/mbr sd0
> - 2. cp /usr/mdec/boot /boot
> - 3. installboot -v -o timeout=5 /dev/rsd0a /usr/mdec/bootxx_ffsv2
> - 
> - Well, I tried to reboot the machine.
> - 
> - As far as I can tell, step 1 worked because it didn't try to boot from
> - floppy.  And I'm pretty sure step 2 worked because it identified itself
> - as bootxx_ffsv2.  But step 3 apparently failed because it couldn't find
> - /boot
> - 
> - I don't understand this, since the file is obviously there when I do a
> - ls -l /boot it tells me the file is 53564 bytes long.
> 
> 	<aol>
> 		Me Too!
> 	</aol>
> 
> 	As I recall, the message is ``Can't open /boot.''
> 
> 	Ah, yes, this is confirmed as line 88 of
> sys/arch/i386/stand/bootxx/boot1.c.

A good guess is that either:
- you have the bootxx_xxxfs code for thewrong filesystem type
- the root partition isn't at the start of the bios/fdisk partition.

	David

-- 
David Laight: david@l8s.co.uk