Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 May 2002 09:24:23 -0400 (EDT)
From:      Andrew Gallatin <gallatin@cs.duke.edu>
To:        Gorm Jorgensen <Gorm@Area51.DK>
Cc:        freebsd-alpha@FreeBSD.ORG
Subject:   Re: da0: invalid primary partition table: no magic
Message-ID:  <15569.15879.864537.597011@grasshopper.cs.duke.edu>
In-Reply-To: <20020502131427.GO25554@Area51.DK>
References:  <20020502085524.GH25554@Area51.DK> <15569.14826.398617.237309@grasshopper.cs.duke.edu> <20020502131427.GO25554@Area51.DK>

next in thread | previous in thread | raw e-mail | index | archive | help

Gorm Jorgensen writes:
 > > Weird.  What does your /etc/fstab look like & what does your disklabel
 > > look like?
 > > 
 > 
 > Seems like there is no label on the disk - take a look below.

Given your fstab, it certainly looks like it is valid.
I'm not sure why you end up at the mountroot prompt.

What flags are you booting with from the SRM console?

Are you booting from the installed disk, or from the installation media?

Try being certain you are booting from da0 (probably will be dka0)
with a null boot file & flags.

>>> boot dka0 -fi '' -fl '' 

And see if anything changes..

Drew

 > -- fstab start --
 > cat /etc/fstab 
 > # See the fstab(5) manual page for important information on automatic mounts
 > # of network filesystems before modifying this file.
 > #
 > # Device                Mountpoint      FStype  Options         Dump
 > # Pass#
 > /dev/da0b               none            swap    sw              0       0
 > /dev/da0a               /               ufs     rw              1       1
 > /dev/acd0c              /cdrom          cd9660  ro,noauto       0       0
 > proc                    /proc           procfs  rw              0       0
 > -- fstab stop --
<..>
 > #        size   offset    fstype   [fsize bsize bps/cpg]
 >   a:  8192000        0    4.2BSD     2048 16384    89   # (Cyl.    0 - 509*)
 >   b:   188080  8192000      swap                        # (Cyl.  509*- 521*)
 >   c:  8380080        0    unused        0     0         # (Cyl.    0 - 521*)
 > -- disklabel stop --
<..>
 > >  > Manual root filesystem specification:
 > >  >   <fstype>:<device>  Mount <device> using filesystem <fstype>
 > >  >                        eg. ufs:/dev/da0s1a
 > >  >   ?                  List valid disk boot devices
 > >  >   <empty line>       Abort manual input
 > >  > 
 > >  > mountroot>
 > >  > Mounting root from ufs:/dev/da0a
 > >  > da0: invalid primary partition table: no magic
 > >  > start_init: trying /sbin/init
 > >  > -- dmesg stop --
 > >  > 
 > >  > At the mountrot> prompt i hit enter for abort, and then the system sends me
 > >  > to a prompt where I have to choose a shell, hit enter for /bin/sh, and the
 > >  > CRTL D for abort and then the system boots.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-alpha" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?15569.15879.864537.597011>