Tiny Core Linux

Tiny Core Base => TCB Q&A Forum => Topic started by: vr on April 09, 2010, 10:11:35 AM

Title: [solved] How to enable noautologin after usbinstall?
Post by: vr on April 09, 2010, 10:11:35 AM
I've done a usbinstall to internal flash storage and, as probably by design, when I reboot I no longer have the boot: prompt or the option to supply boot codes.

Is there another way I can specify noautologin or at the very least prevent user tc from logging in?

note: I do have another user account working so I shouldn't lock myself out.
Title: Re: How to enable noautologin after usbinstall?
Post by: Guy on April 09, 2010, 10:27:18 AM
Edit the file "extlinux.conf." Put noautologin (and any other boot codes) in the line which begins with "APPEND initrd=."

This is the case if you selected the Ext2 filesystem. I have not installed it using the others.
Title: Re: How to enable noautologin after usbinstall?
Post by: vr on April 09, 2010, 10:39:36 AM
The internal flash filesystem is currently FAT16. I dunno if that matters.

But I can't seem to locate extlinux.conf on my usbinstall so far...
Title: Re: How to enable noautologin after usbinstall?
Post by: Guy on April 09, 2010, 10:52:49 AM
There will be a similar file with the FAT filesystem. I don't know what it is called.


The contents of extlinux.conf (Ext2 on USB drive) are something like:

DEFAULT tinycore
LABEL tinycore
KERNEL /tce/bzImage
APPEND initrd=/tce/tinycore.gz quiet max_loop=256 waitusb=5 tce=UUID="b647c07e-045b450ad1fd"


The contents of menu.lst in Grub (hard drive install) are something like:

title   Tiny Core
root   (hd0,0)
kernel   /boot/bzImage quiet tce=sda1 home=sda1 opt=sda1 max_loop=256
initrd   /boot/tinycore.gz


You want to find a file with something similar. Add noautologin to the line with the other boot codes.
Title: Re: How to enable noautologin after usbinstall?
Post by: Juanito on April 09, 2010, 11:23:28 AM
the file is called syslinux.cfg or something like that
Title: Re: How to enable noautologin after usbinstall?
Post by: vr on April 09, 2010, 11:38:07 AM
Yes, I found it in syslinux.cfg and added it to the end of the line which appears to be working. Thank you!