Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > Your Distro > Knoppix Help Forum > How to include Script in a Knoppix Live CD?

Forgot Password?
 Knoppix Help Forum   For all discussions about Knoppix, the Linux "Live CD" that lets you run Linux without needing to install on your hard drive.

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds


Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 07-13-2006   #1 (permalink)
Just Joined!
 
Join Date: Jul 2006
Posts: 3
How to include Script in a Knoppix Live CD?

Ive just downloaded Knoppix Live CD Ver 5.01 CD. I need to include a script right after OS boots, but I need to include it before burning the CD. This script must be executed automatically right after the OS finishes loading and login into the desktop.

Can someone provide assistance please?
elpeladopocionero is offline  


Reply With Quote
Old 07-13-2006   #2 (permalink)
Super Moderator
 
ozar's Avatar
 
Join Date: May 2004
Posts: 12,058
I'm really not sure how to do it, but take a look at this HowTo to see if it will help:

http://www.oreillynet.com/sysadmin/b...out_remas.html
__________________
oz

New Members: * README *
ozar is offline   Reply With Quote
Old 07-13-2006   #3 (permalink)
Just Joined!
 
Join Date: Jul 2006
Posts: 3
Quote:
Originally Posted by ozar
I'm really not sure how to do it, but take a look at this HowTo to see if it will help:

http://www.oreillynet.com/sysadmin/b...out_remas.html

It was very helpful indeed now I know how to include it....the problem now is that I cant use the script I made....

This script was designed to destroy all information inside the target computer but now is not doing it....here is the script:

mkfs.ext2 /dev/hda1 -q
mkfs.ext2 /dev/hda2 -q
mkfs.ext2 /dev/hda3 -q
mkfs.ext2 /dev/hda4 -q
mkfs.ext2 /dev/hda5 -q
mkfs.ext2 /dev/hda6 -q

Its telling something like: this is not a block address drive or something like that....whats happening? I also tried to add an umount command to unmount all the partitions before formating but then I get an error like: partition not mounted....so I guess it does not mount them before desktop starts so I take that part out.
elpeladopocionero is offline   Reply With Quote
Old 07-14-2006   #4 (permalink)
Just Joined!
 
Join Date: Jul 2006
Posts: 3
bump bump bump
elpeladopocionero is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 03:14 PM.






© 2000 - 2009 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.0 RC2