NetBSD-Users archive

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

Re: still upgrading from 2.0 to 7.0



So I installed new bootbocks and new boot code.   What I need to do
now is force the system to boot from /dev/wd0a, swap to /dev/wd0b and
use /sbin/init without needing console interaction.    What it does at
present at the end of the hardware probe (still in green screen) is
say that the boot device is unknown, then prompts for a root device
with /dev/ld0a as the default.    If I disable ld* in autoconf then
the system proceeds to boot normally.   Here is the relevant bit of
dmesg.boot:

Kernelized RAIDframe activated
ataraid0: found 1 RAID volume
ld0 at ataraid0 vendtype 0 unit 0: Promise ATA SPAN array
ld0: 76319 MB, 9729 cyl, 255 head, 63 sec, 512 bytes/sect x 156301425
sectors
ld0: mbr partition exceeds disk size
ld0: mbr partition exceeds disk size  
ld0: mbr partition exceeds disk size
ld0: mbr partition exceeds disk size
ld0: mbr partition exceeds disk size
boot device: ld0
root on ld0a dumps on ld0b
ld0: mbr partition exceeds disk size
Supported file systems: union umap tmpfs smbfs puffs ptyfs procfs
overlay null n
tfs nfs msdos mfs lfs kernfs fdesc ext2fs ffs coda cd9660
no file system for ld0 (dev 0x1300)
cannot mount root, error = 79

It must surely be possible to specify root and swap partitions
somewhere in a configuration file.   But I have read and reread so
many man pages now that I think I must just be missing something
terroibly obvious.

You wrote:
> 
> --=-=-=
> Content-Type: text/plain
> 
> 
> note that you may be better off with newer first-stage bootblocks
> (e.g. bootxx_ffsv1).  I sent you a script earlier that updates my
> system; read boot(8) and installboot(8) carefully, and figure out your
> root fs type.  My script may well be wrong for you.
> 
> #!/bin/sh
> 
> installboot -v /dev/rwd0a /usr/mdec/bootxx_ffsv1
> 
> cp -p /usr/mdec/boot /
> 
> --=-=-=
> Content-Type: application/pgp-signature; name="signature.asc"
> 
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1
> 
> iEYEARECAAYFAle174EACgkQ+vesoDJhHiUo6gCgio7KLFvUm+L6xnuQmmfJmW5r
> tKcAoK55mI/ir/YQwT4OHEND75B+ECAb
> =OvTm
> -----END PGP SIGNATURE-----
> --=-=-=--
> 


-- 
Steve Blinkhorn <steve%prd.co.uk@localhost>



Home | Main Index | Thread Index | Old Index