I've encountered the same error running versions 2.1 and 3.0 of Porteus 64-bit LXDE. Hoping you can help.
Here are the main steps:
* Boot into Porteus using copy2ram, noauto and login=root cheat codes
* Run extlinux installer command (extlinux/extlinux -i /mnt/sdb1/boot/syslinux)
* Receive error message: bash: extlinux/extlinux: No such file or directory
Repeating the command using the full path (/mnt/sdc1/syslinux-5.10/extlinux/extlinux -i ...) yields the same error.
However, if I follow the same steps in a terminal launched from Ubuntu (and with root privileges), the command executes correctly.
To address some of the obvious possibilities:
* Both source and destination USB flash drives have been properly prepared (syslinux files unpacked on source, destination drive formatted and directories created, etc)
* Device names (sdb1, sdc1) are correct, and paths used are valid from current working directory
* extlinux program file has execute privileges (and works under Ubuntu)
* No typos
* Not an extlinux syntax error, given success under Ubuntu (and I've worked with syslinux long enough to be comfortable with it)
Perhaps it's something simple that I'm overlooking, but I just haven't been able to figure it out. If it's something more, then I hope it will be helpful in asking.
Thanks.
dd
[SOLVED] Cannot run program from another flash drive
-
- White ninja
- Posts: 4
- Joined: 20 Apr 2014, 03:04
- Distribution: Porteus 3.0 LXDE 64-bit
- Location: West Coast
[SOLVED] Cannot run program from another flash drive
Last edited by bluesky on 20 Apr 2014, 14:56, edited 1 time in total.
-
- Full of knowledge
- Posts: 426
- Joined: 02 Jan 2011, 18:41
- Distribution: Porteus v5.01.....PorteuX v1.4
- Location: In the bush now
Re: Cannot run program from another flash drive
You're using the noauto cheatcode.
Is the drive you want to run the command from mounted?
Is the drive you want to run the command from mounted?
-
- White ninja
- Posts: 4
- Joined: 20 Apr 2014, 03:04
- Distribution: Porteus 3.0 LXDE 64-bit
- Location: West Coast
Re: Cannot run program from another flash drive
Yes, both drives manually mounted.
-
- Full of knowledge
- Posts: 426
- Joined: 02 Jan 2011, 18:41
- Distribution: Porteus v5.01.....PorteuX v1.4
- Location: In the bush now
Re: Cannot run program from another flash drive
I can't be of much help, I'm using the 32bit edition and don't have an extlinux executable, I'm assuming the 64bit is different.
-
- White ninja
- Posts: 4
- Joined: 20 Apr 2014, 03:04
- Distribution: Porteus 3.0 LXDE 64-bit
- Location: West Coast
Re: Cannot run program from another flash drive
Thanks roadie.
Some additional notes:
* The command runs correctly from PartedMagic loaded into RAM (I think PM is based on Slackware too).
* The command fails with same error when I boot Porteus without the copy2ram cheat code.
* From the working directory where I execute the extlinux command, the file and its attributes are listed correctly when I type 'ls -l extlinux/extlinux'. So the 'No such file' bash error message is somewhat misleading: there is an error, but it's not that extlinux/extlinux is not found. (This is why it's hard to tell what really is going wrong.)
Happy Easter everyone.
dd
Some additional notes:
* The command runs correctly from PartedMagic loaded into RAM (I think PM is based on Slackware too).
* The command fails with same error when I boot Porteus without the copy2ram cheat code.
* From the working directory where I execute the extlinux command, the file and its attributes are listed correctly when I type 'ls -l extlinux/extlinux'. So the 'No such file' bash error message is somewhat misleading: there is an error, but it's not that extlinux/extlinux is not found. (This is why it's hard to tell what really is going wrong.)
Happy Easter everyone.
dd
- fanthom
- Moderator Team
- Posts: 5667
- Joined: 28 Dec 2010, 02:42
- Distribution: Porteus Kiosk
- Location: Poland
- Contact:
Re: Cannot run program from another flash drive
our FAQ has an answer i believe:
http://www.porteus.org/faq.html#nine
http://www.porteus.org/faq.html#nine
Please add [Solved] to your thread title if the solution was found.
-
- White ninja
- Posts: 4
- Joined: 20 Apr 2014, 03:04
- Distribution: Porteus 3.0 LXDE 64-bit
- Location: West Coast
Re: Cannot run program from another flash drive
You nailed it, fanthom: syslinux is a 32-bit program. Thank you!
Loading the 32-bit compatibility library solved the problem.
So it was indeed something simple after all.
I've marked this solved. Perhaps it should be moved to another subforum, because there's no bug here.
Loading the 32-bit compatibility library solved the problem.
So it was indeed something simple after all.
I've marked this solved. Perhaps it should be moved to another subforum, because there's no bug here.