Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 May 2002 15:14:27 +0200
From:      Gorm Jorgensen <Gorm@Area51.DK>
To:        freebsd-alpha@FreeBSD.ORG
Subject:   Re: da0: invalid primary partition table: no magic
Message-ID:  <20020502131427.GO25554@Area51.DK>
In-Reply-To: <15569.14826.398617.237309@grasshopper.cs.duke.edu>
References:  <20020502085524.GH25554@Area51.DK> <15569.14826.398617.237309@grasshopper.cs.duke.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
> 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.

-- 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 --

-- disklabel start --
disklabel -r /dev/da0
# /dev/da0:
type: SCSI
disk: da0
label:
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 255
sectors/cylinder: 16065
cylinders: 521
sectors/unit: 8380080
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0           # milliseconds
track-to-track seek: 0  # milliseconds
drivedata: 0

8 partitions:
#        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 --


>  > Hi,
>  > 
>  > I have got my fingers in a AlphaStation 500 and have installed FreeBSD 4.5.
>  > However I have a small problem when booting the box, take a look on the
>  > following.
>  > 
>  > -- dmesg start --
>  > da0 at isp0 bus 0 target 0 lun 0
>  > da0: <DEC RZ2CC-KA (C) DEC 5520> Fixed Direct Access SCSI-2 device
>  > da0: Serial Number 194832740074
>  > da0: 20.000MB/s transfers (10.000MHz, offset 8, 16bit), Tagged Queueing
>  > Enabled
>  > da0: 4091MB (8380080 512 byte sectors: 255H 63S/T 521C)
>  > 
>  > 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.
>  > 
>  > I have searched arount without finding any usefull hints - anybody knows
>  > what to do ?
>  > 

-- 
Gorm Jorgensen - Area51.DK
 GE d+ s: a- C+++ UB++++ P++ L+++ E--- W+++ N++ w--- O- M-- V-- P++ tv- G--

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?20020502131427.GO25554>