NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

diagnosing post-install boot failure



Greetings,

I installed NetBSD/amd64 10.1.  When i try to boot the installed
system, i see the green kernel messages scroll by, then the screen
goes dark.  I get the same result when i try to boot to single user
mode.  I planned to read the logs for clues.  I booted the install
media and tried to mount the root filesystem.

    # mount /dev/wd0a /mnt
    mount: no match for `wd0a': No such process

fdisk and disklabel both report 976773168 total sectors.
gpt reports the NetBSD partition size is 976508928 sectors.

disklabel reports that wd0a is 976773168 sectors, which matches the
total disk sectors.  I expected it to match the NetBSD partition
size.  See the manually transcribed fdisk, gpt, and disklabel output
at the bottom of my message.

Any suggestions for further troubleshooting?

Thanks!

-Ben


# fdisk wd0
===========
Disk: /dev/rwd0
NetBSD disklabel disk geometry:
cylinders: 969021, heads: 16, sectors/track: 63 (1008 sectors/cylinder)
total sectors: 976773168, bytes/sector: 512

BIOS disk geometry:
cylinders: 1023, heads: 255, sectors/track: 63 (16065 sectors/cylinder)
total sectors: 976773168

Partitions aligned to 16065 sector boundaries, offset 63

Partition table:
0: GPT Protective MBR (sysid 238)
    start 1, size 976773167 (476940 MB, Cyls 0/0/2-60801/80/63)
        PBR is not bootable: Bad magic number (0x0000)
1: <UNUSED>
2: <UNUSED>
3: <UNUSED>
No active partition
Drive serial number: 0 (0x00000000)


# gpt show wd0
==============
      start       size  index  contents
          0          1         PMBR
          1          1         Pri GPT header
          2         32         Pri GPT table
         34       2014         Unused
       2048     262144      1  GPT part - EFI System
     264192  976508928      2  GPT part - NetBSD FFSv1/FFSv2
  976773120         15         Unused
  976773125         32         Sec GPT table
  976773167          1         Sec GPT header


# disklabel wd0
===============
# /dev/rwd0:
type: ESDI
disk: wd0
label: fictitious
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 16
sectors/cylinder: 1008
cylinders: 969021
total sectors: 976773168
rpm: 3600
interleave: 1
trackskew: 0
cylilnderskew: 0
headswitch: 0           # microseconds
track-to-track seek: 0  # microseconds
drivedata: 0

4 partitions:
#        size    offset     fstype [fsize bsize cpg/sgs]
 a: 976773168         0     4.2BSD      0     0     0  # (Cyl.       0 - 969020)
 b: 976773168         0     unused      0     0     0  # (Cyl.       0 - 969020)


Home | Main Index | Thread Index | Old Index