HOMEPAGE FORUMS NEWS DOCUMENTATION SCREENSHOTS
SystemRescueCd forums
View unanswered posts | View active topics It is currently 24 Apr 2014, 18:00



Post new topic Reply to topic  [ 4 posts ] 
 Autorun Howto 
Author Message

Joined: 29 Oct 2003, 12:39
Posts: 4
Post Autorun Howto
Hi all
I have problems to understand the Process of Autorun.

I need a "Dummy-Howto" for getting a script of my own involved in the startup-procedure. I have :

- The downloaded Image burned and running.
- A script-file in mode 755.

The generation of a new iso-image is working, too.


29 Oct 2003, 12:44
Profile
Site Admin

Joined: 17 Jul 2003, 09:44
Posts: 2700
Post 
Hi,

You just have to copy your script in the root of the CDRom, oustide of the sysrcd.dat compressed loop file. In other words, copy this script in "isoroot" before doing "sysresccd-custom isogen". Many other locations are possible for autorun scripts, but this is the default one.

I will try to improve the manual in order to make autorun easier to use and understand.


29 Oct 2003, 13:14
Profile
Post 
Sorry, but I want to find it out (I have to admit, I'm quite new to linux (and GENTOO))


I moved my script to isoroot before running isogen. The script itself is executable, but after burning the whole stuff, nothing happens.

The script is named: autorun

and looks like this (nothing special):

#!/bin/bash
mkdir /mnt/common
mount -t nfs -o nolock 192.168.1.100:/usr/backup /mnt/common
cd /mnt/common
./menue.sh

running the script manually, it's working just fine, but not automatically after booting the cd-rom

Has the script to be in a certain form or something?


29 Oct 2003, 14:09

Joined: 29 Oct 2003, 12:39
Posts: 4
Post 
Well, much ado about nothing... ;-)

I downloaded the latest Version and everything was just fine...

(But I will compare those two versions to learn about the differences and Gentoo)

Anyway, Thanks a lot for your help


29 Oct 2003, 16:17
Profile
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by Vjacheslav Trushkin for Free Forums/DivisionCore.