Você está na página 1de 4

Make a Modified Slax Live CD

Linux

1 of 4

http://gr8idea.info/os/tutorials/slax/modified-cd.html

Security

Debian

Slax

Tiny Core

Health

02/10/2014 12:30

Make a Modified Slax Live CD

http://gr8idea.info/os/tutorials/slax/modified-cd.html

Slax
Run from a
Live CD
Install on a
Hard Drive
Install on a
USB Drive
Change the
Root
Password
Add User
Install
Programs
Make a
Modified
Live CD
Dial Up
Modems
Slax Links

Slax

Make a Modified Live CD


Following is an explanation of how to change the root password and
wallpaper, and add programs to Slax. You may make some or all of
these changes, or even make some of your own. After making the
changes, you can make a modified Slax live CD.

Install Slax and Change the Root Password


Install Slax on a USB or hard drive. There must be enough free space
to make the ISO image.
Change the root password.
Don't add your username and password. When Slax adds a user, it also
does other things, such as set up a home directory and settings for the
new user. If you want to add a user, you also need to add those changes
to the new CD.
The following is done using Slax, and logged in as root.

Other Links

Contact
Details

Unpack 001-core.lzm
Create a new directory in root's home directory.
Copy the file "/slax/base/001-core.lzm" and paste it in your new
directory.
In your new directory, right click "001-core.lzm." You will get a menu.
Click "Extract Slax Module."
Wait. This takes awhile, and there is nothing on the screen to say it is
happening. When it is finished you will get a new window saying
"Module extracted in /root/(directory)/001-core."

Replace Files
Replace the file "/001-core/etc/shadow" with the file"/etc/shadow."
This is the file containing the new password.
Be aware, there is a file "shadow-." Don't use it.

2 of 4

02/10/2014 12:30

Make a Modified Slax Live CD

http://gr8idea.info/os/tutorials/slax/modified-cd.html

Build Slax Module


In your directory, delete the original file "001-core.lzm."
Right click the directory "001-core." You will get a menu." Click
"Build Slax Module."
Wait. This takes much longer than extracting the module, and there is
nothing on the screen to say it is happening. Do something else and
come back later.
When it is finished you will get a new window saying "Module created
in /root/(directory)/001-core.lzm."

Replace Background Image


To replace the background image, you need a suitable jpeg file. Get an
appropriate size for the screen resolution.
Using the same process as above, unpack "003-desktop.lzm.
Rename the file "/003-desktop/usr/share/wallpapers/slax-wallpaper.jpg"
to something else.
Name your jpeg file "slax-wallpaper.jpg."
Paste it to "/003-desktop/usr/share/wallpapers/"
Build the Slax module, using the same process as above.

Put Files Together


Create a new directory in root's home directory. In this example, it will be called "files4slax."
Paste the two original files "boot" and "slax," to this directory. Use the original files you
downloaded, not those installed in your computer.
Replace
the
files
"/files4slax/slax/base/001-core.lzm,"
/003-desktop.lzm," with your new modified files.

and

"/files4slax/slax/base

Add additional modules to "/files4slax/slax/modules/"

Lilo Bootloader

3 of 4

02/10/2014 12:30

Make a Modified Slax Live CD

http://gr8idea.info/os/tutorials/slax/modified-cd.html

If you plan to use the Lilo bootloader, see Install on a Hard Drive or Install on a USB Drive. If
you modify liloinst.sh, delete the backup file.

Make Other Changes


You may also make a other changes.

Make ISO
To make a modified live CD, you need to make an iso image.
Open the terminal, and type:

cd files4slax/slax
./make_iso.sh

The terminal will display the progress, and tell you when it is finished.
Another option is to click the file "/files4slax/slax/make_iso.sh." With this method, there will be
nothing to indicate the progress, or when it is finished.
This iso can now be written to a CD, and used as a live CD.

Linux Live Scripts


Those who want to make a different Linux distribution based on the same concept, may use
Linux Live Scripts.

< Install Programs

Links >

Copyright Guy Shipard 2008 - 2009

4 of 4

02/10/2014 12:30

Você também pode gostar