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

Re: Access to rootfile system fails



On Wed, 04 Feb 2015 13:31:27 +0100
Gabriel Dobato <dobatog@gmail.com> wrote:

> Hello,
> 
> I am trying to access to my emdebian rootfs built using the steps 
> described below (multistrap):
> 
> http://www.acmesystems.it/multistrap
> 
> I have a promt, but I don't know how i can log as root...
> 
> As the website describes, I have typed this command to set the root 
> password:
> 
> *sudo chroot target-rootfs passwd*
> 
> However, if a type login:root, it does not work.

You can only login after the rootfs has booted. Prior to that, access
is via the chroot command which does not use login. If the passwd
command reports "password updated successfully" then that is all you
need to do. Using chroot to get a prompt, there is no login, you
already have a prompt.

-- 


Neil Williams
=============
http://www.linux.codehelp.co.uk/

Attachment: pgpiVXNYwotCH.pgp
Description: OpenPGP digital signature


Reply to: