Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Is it possible to boot a LTSP thin client to single user mode? I've updated the default entry under /var/lib/tftpboot/ltsp/i386/pxelinux.cfg to read as follows: -

append ro initrd=initrd.img root=/dev/nbd0 init=/sbin/init-ltsp nomodeset quiet 
splash **single** plymouth:force-splash vt.handoff=7 nbdroot=:ltsp_i386

This kind of works!

I see the boot progress to the point where it asks me to either enter the root password or Ctrl+D to bypass.

However, the boot process just seems to continue without providing an chance to do either.

share|improve this question
    
What are you trying to achieve by booting to single user mode on the thin client, perhaps if we understand that we can better assist you. –  kingmilo Jun 6 '13 at 7:07

2 Answers 2

Not certain this will work, but believe that the issue lies here with the virtual terminal handoff. At the present, you are forcing the single user splash, but still handing off to virtual terminal 7. Alter this code to the following:

vt.handoff=1

which should place you into the correct state. Have not tried, but know that grub2 used to have an issue with this particular code. See Bug #916306 in Launchpad.

share|improve this answer

I am very skeptical that it would work because single mode does not enable network in a usual way.

If I'm right, when you'll succeed : you'll be able to manipulate only what the tftp has provided.

just in case : try to change :

append ro initrd=initrd.img root=/dev/nbd0 init=/sbin/init-ltsp nomodeset quiet splash **single** plymouth:force-splash vt.handoff=7 nbdroot=:ltsp_i386

into :

append ro initrd=initrd.img root=/dev/nbd0 init=/sbin/init-ltsp nomodeset single vt.handoff=7 nbdroot=:ltsp_i386

But I repeat : Making it work is quite unlikely/paradoxical because single mode or init 1 is without network and LTSP needs a network link to be able to work. You may have it to work but it would be very ugly and without any possible use.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.