SliTaz SliTaz Forum

You are not logged in.

#1 2012-11-19 15:04:59

ilgrandere
Member
Registered: 2012-08-22
Posts: 14

.sh files

Hey comunity!

I've downloaded a game called Heretic II for linux but I have no idea how to install it.Can any of you help me, please? It's a ISO file, I've opened it with "ISO Master" and found some "readme" in wich is told how to install it :

Mount the Heretic II CD and change the current directory to where

it is mounted.  Type 'sh setup.sh' to run the install script.

e.g.  Log in as root:

    mount /mnt/cdrom

    cd /mnt/cdrom

    sh setup.sh

I've tried what it says but it seems that I'm doing it wrong.

Please help me,

Zakarum.

Offline

#2 2012-11-19 15:08:40

ilgrandere
Member
Registered: 2012-08-22
Posts: 14

Re: .sh files

Ouch, about the title: the script that should install the game is named "setup.sh" I've exctracted all the game data from the ISO and tried to run the "setup.sh" but without success.

Offline

#3 2012-11-25 12:04:16

Guest
Guest

Re: .sh files

Possibly a permissions problem; I don't think scripts run from cd ISO.

Try from your /home, as root, 'cp /mnt/cdrom/setup.sh .' & take a look inside with an editor to see what it is trying to do. Try running it from there 'sh /mnt/cdrom/setup.sh'.

Maybe, copy all the contents of the cd to a dir on your disc & try running it from there.

(That's all I can think of.)

edit: check to make sure the script is executable.

#4 2012-11-26 18:40:32

wildarch
Member
Registered: 2012-04-16
Posts: 23

Re: .sh files

Try this:

[c]su
mount -o loop -o exec hereticII.iso /mnt/cdrom
cd /mnt/cdrom
sh setup.sh[/c]
Of course you should change "hereticII.iso" to wath-ever or where-ever your ISO file may be. What is does is gain root permissions, then mount the ISO as a loop file with executable permissions, after which it runs the setup.sh file. hopefully this will do the trick.

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.53 MiB (Peak: 1.77 MiB) ]