[rear-users] Recover option never produces an interactive shell on Ubuntu 14.04

Schlomo Schapiro schlomo at schapiro.org
Thu Oct 15 21:04:10 CEST 2015


You can add "debug" to the kernel command line when booting ReaR. It will
give you a shell on tty9 very early on. Use that to analyze the system.

On 15 October 2015 at 19:53, Robert Owens <rowens at fdrinnovation.com> wrote:

> 'dpkg-reconfigure bash' gave a message about update-alternatives and
> bash-builtins.7.gz.  But 'dpkg-reconfigure dash' allowed me to choose not
> to use dash as the default command interpreter.  That resulted in /bin/sh
> linking to bash, instead of dash.  But I get the same behavior out of ReaR
> -- no interactive shell when using the "Recover" boot option.  (Yes, I made
> a new ISO after changing to bash).
>
> Any other ideas?
>
> -Rob
>
> On 10/14/2015 1:51 PM, Schlomo Schapiro wrote:
>
>> Just a wild guess: dash vs. bash? Try dpkg-reconfigure bash to set bash
>> as default shell. If that works then please open a GitHub issue.
>>
>> On 14 October 2015 at 18:28, Robert Owens <rowens at fdrinnovation.com
>> <mailto:rowens at fdrinnovation.com>> wrote:
>>
>>     When booting from a rescue ISO on Ubuntu 14.04, choosing the
>>     "Automatic Recover" boot option works, but the "Recover" option is
>>     not usable.  It boots to a point where it says "Rescue System is
>>     ready" but it does not provide an interactive shell.
>>
>>     So it's completing
>>     /usr/share/rear/skel/default/etc/scripts/system-setup but it seems
>>     to stop there and doesn't accept any input.
>>
>>     Testing the same scenario on CentOS 6 produces a command prompt.  On
>>     CentOS 7, I get a login prompt where "root" is accepted with no
>>     password.  But on Ubuntu 14.04, I cannot login locally.  I can login
>>     via ssh, but if it's a dhcp system I won't know the ip address
>>     without doing an 'ifconfig'.
>>
>>     Where should I start troubleshooting this?  At what point in the
>>     code do these various paths appear?
>>
>>     Thanks
>>
>>     -Rob
>>
>>     _______________________________________________
>>     rear-users mailing list
>>     rear-users at lists.relax-and-recover.org
>>     <mailto:rear-users at lists.relax-and-recover.org>
>>     http://pikachu.3ti.be/mailman/listinfo/rear-users
>>
>>
>>
>>
>> Email secured by Check Point
>>
>>
>>
>> _______________________________________________
>> rear-users mailing list
>> rear-users at lists.relax-and-recover.org
>> http://pikachu.3ti.be/mailman/listinfo/rear-users
>>
>>
> --
> Rob Owens
> Innovation Data Processing
> 973-890-7300
> rowens at fdrinnovation.com
>
>
> _______________________________________________
> rear-users mailing list
> rear-users at lists.relax-and-recover.org
> http://pikachu.3ti.be/mailman/listinfo/rear-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://pikachu.3ti.be/pipermail/rear-users/attachments/20151015/fe775c3e/attachment.html>


More information about the rear-users mailing list