Quote:
Originally Posted by knc1
The:
Code:
root:x:0:0:root:/tmp/root:/bin/sh
indicates that root has a password set in /etc/shadow.
But as you said, you did that yourself.
So we don't know what the Amazon image had in it.
Personally, I think you are still running the "diags" operating system, not the "main" operating system.
It is the only thing that I can think of which would make your findings reasonable.
Over your serial connection, try entering these commands:
mkdir /tmp/main
mount /dev/mmcblk0p1 /tmp/main
If your in 'main' I would expect you to get a 'device busy' sort of message.
If your in 'diags' it will just mount the 'main' partition at /tmp/main
and/or
do a:
cd /
df .
The 'main' file system is much bigger than the 'diags' file system.
|
This:
Code:
mkdir /tmp/main
mount /dev/mmcblk0p1 /tmp/main
gives me:
Code:
[root@kindle /etc]# mount /dev/mmcblk0p1 /tmp/main
[ 3255.534173] EXT3-fs: barriers not enabled
[ 3255.538985] kjournald starting. Commit interval 5 seconds
[ 3255.588311] EXT3-fs (mmcblk0p1): using internal journal
[ 3255.593570] EXT3-fs (mmcblk0p1): mounted filesystem with writeback data mode
[root@kindle /etc]# cd /
And
gives me
Code:
[root@kindle /]# df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/root 63703 25119 35384 42% /
tmpfs 127844 4 127840 0% /dev
tmpfs 127844 0 127844 0% /dev/shm
/dev/mmcblk0p3 63461 17538 42647 29% /var/local
/dev/loop/0 1396728 402232 994496 29% /mnt/base-us
fsp 1396728 402232 994496 29% /mnt/us
/dev/mmcblk0p1 356471 300293 49016 86% /var/tmp/main
I think it's still in Diags mode. So how can I go to "Main Mode"?