ווטסאפ - לינוקס, BSD, קוד פתוח ותוכנה חופשית בעברית. Whatsup - Linux, BSD, open source and free software in Hebrew

 
 
  כניסת חברים · רישום · שכחתי סיסמה  
tux the penguin

פרסום תגובה

Re: שנה חדשה, SLAX חדש (ניקוד: 0)
ע"י פינגווין אנונימי ב 01/03/2004 - 22:25

How to install SLAX to harddisk



As I said several times before, SLAX is a Linux Live CD and it shouldn't be isntalled to the disk. It runs directly from the CDrom without any need for installing. Unfortunately a lot of people still wish to install SLAX permanently, so I will try to describe it here.



At first, you have to decide if you wish to install SLAX as a classic Linux installation (500 MB unpacked), or if you wish just to copy SLAX LiveCD to the disk and run it from there as like it would be still a CD.



To achieve a regular installation, you have to find (create) suitable Linux partition (ext2 filesystem is required at this time). If you have one, it will be automatically mounted in /mnt, let's say /mnt/disc3part5 for example. Then create a shell script with the following content:



#!/bin/bash
MNTPARTITION=/mnt/disc3part5 # you may need to change this line!
cp -R /{bin,etc,home,lib,opt,root,sbin,usr,var} $MNTPARTITION
mkdir -p $MNTPARTITION/{dev,boot,mnt,proc,tmp}
cp /mnt/cdrom0/vmlinuz $MNTPARTITION/boot

Chmod it, run it, then configure /mnt/disc3part5/etc/lilo.conf and run `lilo -r /mnt/disc3part5`. Don't forget to replace /mnt/disc3part5 by your own mountpoint, of course.

If you want to copy SLAX to your disk and start it as a LiveCD, just copy all files from the CD to some existing partition (filesystem doesn't matter here) and make it boot somehow, for example by using syslinux, lilo or loadlin (from DOS). Read about all necessary boot parameters in /tools/dos/slax on the CD. You may find the lilo.conf example useful.

You can read it from SLAX FAQ.
I'm now using it too...
They did good job.



שמך: פינגווין אנונימי [ משתמש חדש ]

נושא:


תגובה:

אפשר HTML:  <a> <b> <big> <blockquote> <br> <code> <del> <div> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr> <i> <iframe> <li> <ol> <p> <param> <pre> <strike> <strong> <table> <td> <th> <tr> <tt> <ul>