SliTaz SliTaz Forum

You are not logged in.

#1 2011-04-11 08:50:44

Malamut
Member
Registered: 2011-04-11
Posts: 15

failed to execute login command

I'm booting Slitaz with PXE from my network. I try to use latest cooking version - unpack from .iso bzImage and rootfs.gz and place it to tftpboot directory on my server. In this case all is working correctly.

Then, directly after booting, I use tazusb to create new rootfs.gz. Then I replace original rootfs with this new rootfs on my server. And Slitaz doesn't boot correctly! It shows an error "failed to execute login command" - it can't autologin to tux user.

I need to modify rootfs to add some packages, how can I fix this problem with login?

Offline

#2 2011-04-11 12:44:02

meshca
Administrator
Registered: 2011-03-31
Posts: 27

Re: failed to execute login command

what version of slitaz are you doing and why do you want to do this

Offline

#3 2011-04-11 18:13:47

Malamut
Member
Registered: 2011-04-11
Posts: 15

Re: failed to execute login command

I'm using latest cooking - 20110329. And I need to modify rootfs to add some extra packages and some settings to it.

As I understand, problem look like after repacking with tasusb some initial scripts disappear, so home directory for tux doesn't creating automatically if it doesn't exists. I've tried to modify tazusb script to backup also /home/tux to rootfs, but in this case /home/tux is automatically removed before booting! And problem still here.

Could you tell me, where is initial scripts, which create/delete /home/tux on boot?

Offline

#4 2011-04-11 22:28:14

mojo
Administrator
Registered: 2011-03-29
Posts: 2,174

Re: failed to execute login command

/etc/init.d/bootopts.sh

You may have better result using tazlito writeiso to clone your distro.

A cdrom drive with a burned cd of slitaz is required so tazlito can get the kernel and other files.

Loop mounting the iso to /media/cdrom won't work.

Offline

#5 2011-04-18 13:53:53

lmart
Member
Registered: 2011-04-04
Posts: 61

Re: failed to execute login command

Does anyone have the original doc to manually remaster SliTaz from v1.0?  Reason for asking, IT WORKED! (required creating a chroot environment, then writing to iso). Tried both 'tazusb writefs gzip' and 'tazlito writeiso'.  Either get "failed to execute login command" or it just hangs.  As mojo notes, 'tazlito writeiso' requires cd and loop mounting no workee!

My environment;  3.0 xvesa frugal install on laptop with 512M RAM, no optical drive.  To keep my system current, at every boot I tazpkg upgrade and manually install my wifi drivers.  Generally, just a PITA, but a major PITA when SliTaz servers down or unavailable.  Interesting things happen when SliTaz servers down or unavailable; tazpkg reports that the system is uptodate ...

Offline

#6 2011-04-18 14:54:46

lmart
Member
Registered: 2011-04-04
Posts: 61

Re: failed to execute login command

mojo,

update:  tazlito writeiso does not work with an external cdrom mounted as /media/cdrom.

thought:  if using the gui to create a livecd, perhaps the knowledgeable/appropriate person at SliTaz could add a box asking for the location of the iso, before the process begins

  -or-

like the liveusb version, add an option upon exiting SliTaz to write a new rootgz

Offline

#7 2011-05-07 09:58:31

Guest
Guest

Re: failed to execute login command

Hey all

I typed "home=usb" at boot prompt so when slitaz boots up it shows me a field for username & password when i enter "tux" as username and no password it'l end up with an error: "failed to execute login command"

any solution ?!

#8 2011-05-09 20:33:20

Guest
Guest

Re: failed to execute login command

P0W3RFU7: Had simular problem, i guess you are running usb fat32 , it cant create

the users home space correct on a fat32 formated device.

#9 2011-05-13 11:57:42

Guest
Guest

Re: failed to execute login command

Thanks Martin, finaly solved:

mount -o loop image-file.iso /media/cdrom

#10 2012-02-03 20:26:55

sully
Member
Registered: 2012-02-03
Posts: 1

Re: failed to execute login command

I'm booting for my laptop but when I get to the login it tells me wrong login. I typed web like it says on the ansi screen in the install. I am a raw newbie and I realize this question reeks of lame newbie. Is there a good place one might suggest to go to to get a decent primer in linux terms and understanding. I am escaping the microsoft world after 20 years.

Offline

#11 2012-02-03 21:03:05

Trixar_za
Administrator
Registered: 2011-03-29
Posts: 1,506

Re: failed to execute login command

Which version of Slitaz are you using? It's also a surprisingly common error with the older cooking although the new SliTaz cooking shouldn't suffer from it. If it's happening with SliTaz 3 it might be that you have a bad iso download.

Offline

#12 2014-01-10 15:31:29

ducklin5
Member
Registered: 2014-01-05
Posts: 9

Re: failed to execute login command

Sorry to bring up an old thread, but where exactly do i type:

mount -o loop image-file.iso /media/cdrom

Offline

#13 2014-01-10 16:59:18

mojo
Administrator
Registered: 2011-03-29
Posts: 2,174

Re: failed to execute login command

Applications/Accessories/Sakura Terminal

Type

su

Hit Enter

Password:

Type

root

Hit Enter

[c]cd[/c] to the same directory as the iso if necessary so you don't have to type the path to it.

Type

[c]mount -o loop <slitaz.iso.name.here>.iso /media/cdrom[/c]

Hit Enter

Type

[c]ls -R /media/cdrom[/c]

Hit Enter

If the iso is mounted you will see a recursive listing of its contents.

Offline

#14 2014-01-10 18:13:31

ducklin5
Member
Registered: 2014-01-05
Posts: 9

Re: failed to execute login command

thank you

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.018 seconds, 7 queries executed - Memory usage: 1.55 MiB (Peak: 1.77 MiB) ]