Today I was trying to install VectorLinux to an 8GB USB drive with a liloinst.sh script but it says: "Failed to execute child process "/media/disk-1/liloinst.sh" (No such file or directory)"
Why is this happening?
Today I was trying to install VectorLinux to an 8GB USB drive with a liloinst.sh script but it says: "Failed to execute child process "/media/disk-1/liloinst.sh" (No such file or directory)"
Why is this happening?
I don't know anything about this script, so here common help.
Check:
- if this file exists;
- if it executable for your user (you are root user when you install something, right? chmod +x path/to/your/file);
- if this script is written for /bin/sh (open script in text editor; if you'll see #!/bin/bash in the top line, then you need to install bash: tazpkg -gi bash).
PS. One more thought. I think LiLo is pretty old, and unmaintained, and real headache for Linux user. You should use SysLinux or Grub4dos bootloaders for your linux.
I can upload the file if you want.
And I checked everything: the script is in /home/tux, it is set as executable and I have bash installed.
And about Lilo: Yes, I know it is not updated, but VectorLinux needs it in order to boot from an USB Flash drive.
What does this say ? does it find the file ? and is it +x ?
ls -al /media/disk-1/liloinst.sh
And is the start of the script #!/bin/sh
or #!/bin/bash
and did you reply yes when asked if you want to replace the default shell with bash when installing it?
@christophe: Yes, it finds the file, and it is executable.
@Trixar_za: The start of the script is #! /bin/bash. At the replacement prompt I replied yes.
Hello.
File exists, it is executable, it calls right shell...
Perhaps try to run it as root user, double-checking path to run it ?
I would edit the file and add "set -x
" to understand what is going on at run time
I'm always running as root and even after editing and renaming the file, Sakura won't start it (I also tried with XTerm, but no result).
You must log in to post.