Current-Users archive

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

multiboot failure: not recognize specified root partition



Recent {HEAD,netbsd-6} {i386,amd64} kernels do not recognize
specified root partition.

I installed NetBSD/amd64 6.0_BETA2 on wd0a and NetBSD/i386 6.0_BETA2
on wd0f. They are in same MBR partition. I don't use any dkwedges.
/boot.cfg has following lines.

menu=nb6amd64 (hd0a):dev hd0a:;rndseed /var/db/entropy-file;boot
menu=nb6i386 (hd0f):dev hd0f:;rndseed /var/db/entropy-file;boot
default=1

When I choose second line to boot NetBSD/i386, the boot loader loads
the kenrel from wd0f:/netbsd then the kernel sets the root partition
wd0a but tries to read 64-bit version of /sbin/init from wd0a and
complain about it (ENOEXEC), finally stops with error.

Does anyone see same problem?


11778316+564836+469752 [597280+586822]=0xd5b1f4
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007, 2008, 2009, 2010, 2011, 2012
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 6.0_BETA2 (MONOLITHIC)
total memory = 3068 MB
avail memory = 3004 MB
[...snip...]
boot device: wd0
root on wd0a dumps on wd0b
root on wd0a dumps on wd0b
root file system type: ffs
exec /sbin/init: error 8
init: trying /sbin/oinit
exec /sbin/oinit: error 2
init: trying /sbin/init.bak
exec /sbin/init.bak: error 2
init path (default /sbin/init): 

--
t-hash



Home | Main Index | Thread Index | Old Index