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

Re: How to obtain Debian rootfs for my board?



On Tue, 2009-10-06 at 06:18 -0700, Wael Showair wrote:
> i have installed emdebian-tools & emdebian-rootfs then i got an output
> file emdebian-arm.tgz
> i have extracted it then adjust it to be the root NFS server of my
> kernel that is on the board.
> i have created the charachter device ttyS0
> & now i am stopped @ the login shell but i dont know the user name &
> passward that i should enter to login to my new debian system.
> 
> the last outpue i got is as follows:
> ******************************************************************
> Looking up port of RPC 100003/2 on 172.25.25.155
> Looking up port of RPC 100005/1 on 172.25.25.155
> VFS: Mounted root (nfs filesystem) on device 0:15.
> Trying to move old root to /initrd ... /initrd does not exist.
> Ignored.
> Unmounting old root
> Trying to free ramdisk memory ... failed
> Freeing init memory: 144K
> Warning: unable to open an initial console.
> init: can't log to /dev/tty5
> starting pid 334, tty '/dev/ttyS0': '/sbin/getty -L ttyS0 115200
> vt100'
> 
> Debian GNU/Linux 5.0 emdebian-arm ttyS0
> 
> emdebian-arm login:
> 
> ********************************************************************
> what is the username & passward? 

I saw that you mounted the rootfs via NFS. 
Try this:
To “disable” the root password change /etc/passwd.
Change the first line to root::0:0:root:/root:/bin/sh

This will disable the root password and you should be able to login.
Afterward you can set a new password.

Hope it helps,
Marco






Reply to: