Gentoo Archives: gentoo-embedded

From: Christopher Friedt <cfriedt@××××××××××××××.com>
To: gentoo-embedded@l.g.o
Subject: [gentoo-embedded] root passwd with a stage3 filesystem? (for nfs-root purposes)
Date: Wed, 23 May 2007 14:29:47
Message-Id: 46544FF7.9060501@visible-assets.com
1 Hi everyone,
2
3 I'm trying to use the filesystem obtained here below as an nfs root for
4 my board.
5
6 ${MIRROR}/experimental/arm/embedded/stages/stage3-arm-uclibc-softfloat-20050811.tar.bz2
7
8 Originally, I ran into some trouble when I allowed the default init
9 routine to run, because it froze on 'starting local'. I eventually
10 discovered that was because my main serial device should be /dev/ttyAM0
11 instead of /dev/ttyS1 in /etc/inittab. I fixed that, and then found that
12 I couldn't login as root, even after adjusting /etc/password to
13
14 root::0:0:root:/root:/bin/bash
15 ...
16
17 I wrote a very simple init script to mount things and run /bin/sh, but
18 that generates 'kernel panic - attempt to kill init!' when I exit. I'd
19 still like to use the default init scripts for now, so that inittab
20 respawns a login prompt of some kind, but for some reason none of the
21 password-changing methods I'm aware of have worked.
22
23 I've even tried to erase the root password entry in
24 /etc/{passwd,shadow}*, but that didn't work. I've tried changing the
25 password to nothing or 'password' using /bin/passwd, but that also
26 doesn't work!
27
28 This is completely puzzling for me at the moment.
29
30 ack! plz help!
31
32 Chris
33 --
34 gentoo-embedded@g.o mailing list

Replies