Subject: Re: Error No Operating System
To: None <john@johnrshannon.com>
From: John R. Shannon <john@johnrshannon.com>
List: port-i386
Date: 04/03/2006 14:46:39
This is a cryptographically signed message in MIME format.

--------------ms080902050801080306090207
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

John R. Shannon wrote:
> David Laight wrote:
>> On Mon, Apr 03, 2006 at 06:23:15AM -0600, John R. Shannon wrote:
>>> I also can't boot hd0a:netbsd from the bootloader on an installation 
>>> cd, although, if I mount /dev/wd0a /mnt, everything appears to be there.
>>
>> You should also be able to get /boot (from the install cd) to do a
>> directory listing of /.
>> (probably: device hd0a\n ls)
>>
>> What does 'dumpfs -s /dev/rwd0a' give ?
>>
>> You might need to mount the filesystem, then chroot into it in order
>> to run a dynamically linked dumpfs.
>>
>>     David
>>
> 
>  >dev hd0a
>  >ls
> ls No such file or directory
> 
> # dumpfs -s /dev/rwd0a
> file system: /dev/rwd0a
> endian  little-endian
> magic   11954 (UFS1)
> superblock location     8192    id      [ 44310de9 2e8bc4dc ]
> cylgrp  dynamic inodes  4.4BSD  sblock  FFSv1   fslevel 4

On rechecking, I see that I made a transcription error. sblock  is FFSv2.

> nbfree  28947   ndir    59      nifree  61328   nffree  218
> ncg     6       size    262584  blocks  254503
> bsize   8192   shift   13      mask    0xffffe000
> fsize   1024    shift  10      mask    0xfffffc00
> frag    8       shift   3       fsbtodb 1
> bpg     5471    fpg     43768   ipg     10624
> minfree 5%      optim   time    maxcontig 8     maxbpg  2048
> symlinklen 60   trackskew 0     interleave 1    contigsumsize 7
> maxfilesize 0x000400801017fff
> nindir  2048    inopb   64
> avgfilesize 16384       avgfpdir 64
> sblkno  16       cblkno  24      iblkno  32      dblkno  1360
> sbsize  2048    cgsize  8192
> csaddr  1360    cssize  1024
> cgrotor 0       fmod    0       ronly   0       clean   0x02
> flags   none
> fsmnt   /mnt
> 
> 
> 
> I was able to boot NetBSD using the FreeBSD bootloader after installing 
> both operating systems. I don't really want FreeBSD there, I just wanted 
> to see the disk geometry.
> 
> # dumpfs -s /dev/rwd0a
> file system: /dev/rwd0a
> endian  little-endian
> magic   11954 (UFS1)    time    Mon Apr  3 07:36:14 2006
> superblock location     8192    id      [ 4431087b 5e13f080 ]
> cylgrp  dynamic inodes  4.4BSD  sblock  FFSv1   fslevel 3
> nbfree  11825   ndir    40      nifree  27174   nffree  724
> ncg     2       ncyl    113     size    115200  blocks  113367
> bsize   16384   shift   14      mask    0xffffc000
> fsize   2048    shift   11      mask    0xfffff800
> frag    8       shift   3       fsbtodb 2
> cpg     95      bpg     12160   fpg     97280   ipg     14336
> minfree 8%      optim   time    maxcontig 7     maxbpg  4096
> rotdelay 0ms    headswitch 1144064123us trackseek 1578365056us  rps     60
> ntrak   1       nsect   4096    npsect  4096    spc     4096
> symlinklen 60   trackskew 0     interleave 1    contigsumsize 7
> maxfilesize 0x000400400402ffff
> nindir  4096    inopb   128     nspf    4
> avgfilesize 16384       avgfpdir 64
> sblkno  8       cblkno  16      iblkno  24      dblkno  920
> sbsize  2048    cgsize  16384   offset  1024    mask    0xffffffff
> csaddr  920     cssize  2048    shift   10      mask    0xfffffc00
> cgrotor 0       fmod    0       ronly   0       clean   0x01
> flags   none
> fsmnt   /mnt
> (no rotational position table)
> 
> # fdisk wd0
> Disk: /dev/rwd0d
> NetBSD disklabel disk geometry:
> cylinders: 144073, heads: 16, sectors/track: 63 (1008 sectors/cylinder)
> total sectors: 145226112
> 
> BIOS disk geometry:
> cylinders: 1023, heads: 240, sectors/track: 11 (2640 sectors/cylinder)
> total sectors: 145226112
> 
> Partition table:
> 0: FreeBSD or 386BSD or old NetBSD (sysid 165)
>     start 24, size 20969064 (10239 MB, Cyls 0/2/3-7942/200/9)
> 1: NetBSD (sysid 169)
>     start 20969088, size 124255488 (60672 MB, Cyls 
> 7942/200/9-55009/74/3), Active
> 2: <UNUSED>
> 3: <UNUSED>
> 
> 


-- 
John R. Shannon, CISSP
john@johnrshannon.com
jshannon@dsci-usa.com
john.r.shannon@us.army.mil
shannonjr@NetBSD.org

--------------ms080902050801080306090207
Content-Type: application/x-pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIMbTCC
BjEwggUZoAMCAQICAQIwDQYJKoZIhvcNAQEFBQAwgY8xCzAJBgNVBAYTAlVTMQ4wDAYDVQQI
EwVJZGFobzEUMBIGA1UEBxMLSWRhaG8gRmFsbHMxGTAXBgNVBAoTEGpvaG5yc2hhbm5vbi5j
b20xGTAXBgNVBAMTEGpvaG5yc2hhbm5vbi5jb20xJDAiBgkqhkiG9w0BCQEWFWpvaG5Aam9o
bnJzaGFubm9uLmNvbTAeFw0wNjAyMDgxMDE4MTlaFw0wNzAyMDgxMDE4MTlaMIGaMQswCQYD
VQQGEwJVUzEOMAwGA1UECBMFSWRhaG8xFDASBgNVBAcTC0lkYWhvIEZhbGxzMRkwFwYDVQQK
ExBqb2hucnNoYW5ub24uY29tMSQwIgYDVQQDExtKb2huIFIuIFNoYW5ub24gKHNpZ25hdHVy
ZSkxJDAiBgkqhkiG9w0BCQEWFWpvaG5Aam9obnJzaGFubm9uLmNvbTCCAiIwDQYJKoZIhvcN
AQEBBQADggIPADCCAgoCggIBAMQ9KILKz4yrZgUgHwVh5BVXGO+yOPUJkYvt5QcGHObTGKU3
UlDOLFF2KO2unuT/BDV+e1UJijfLwMqLPDnNT5yr/Se1GeuhwbHdUa2DMOGU9bipCcwd9R6q
YS9LBnOuhE/pQvj6JTojipu6ykPFH83gyZMIHmufOnfLyIJEW7EQRmrssBpYuLtoPOj7EhVp
14wCae+xh+HgAU/SXGS0jAhyTEKBYHJ+oHDtu+vODZRzVj1wVjwJOUHkzuoeozP64S4GqRq9
61LNatoWsXjnitG0uvkgTQCOGM3GFNtkSob6P9FxuGipGVlE9tAG3rqSfrZSw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