Users online right now: 169 - Login  » search  » forum index  

Slax on HDD: what interest?

jon08
wrote 1 year ago


reply
Hi everyone! I'm new on the forum but I used Slax since some years now. I installed Slax on an old computer, on HDD. But I'm suprised that I can't download and active module like in live CD!

So, I wonder what is the interest to install Slax on HDD? Moreover, I can't use my wifi USB dongle on my HDD Slax. I installed ndiswrapper (Slackware package) and used my .inf drivers but I can't connect my PC on my box (freebox, router) while I can in live CD!!

So, someone can tell me how to have Slax on HDD and use it as easily as live CD please? Because I don't like to boot everyday on a CD, configure my wifi etc... I want an "autonomous" system, which start fast and work fast!

So, thanks to all answers :)
 
niekumaty
wrote 1 year ago


reply
Slax can be run in three different ways of behavior change in the system.
1) add configuration module with WiFi to Slax.iso and burn it on CD
2) Using UNetbootin to copy the Slax.iso to the HDD and run it as a second system next to Windows
Slax to HDD will continue to act as a Live CD
3) Make a normal-installing Slax to HDD

With a record of your own module should not be any problem.
Create directory Zapis_Zmian
Copy the contents of / mnt / live / memory / changes
and build this module with the changes in the system.

(text translated by Google :)
 
niekumaty
wrote 1 year ago


reply
I installed the WiFi in this way
1) From the http://wireless.kernel.org/download/compat-wireless-2.6
I installed the compat-wireless-2.6.tar.bz2
2) from http://www.slax.org/modules.php?action=detail&id=383
I added module wlassistant-0-5-7.lzm
3) After putting everything I've done a module with the changes in the system and I added this module to Slax.iso
 
niekumaty
wrote 1 year ago


reply
"But I'm suprised that I can't download and active module like in live CD! "

When Slax is normally installed on the HDD does not work to install lzm module
The module must unpack and copy the contents of the module to the system
 
jon08
wrote 1 year ago


reply
:niekumaty
2) Using UNetbootin to copy the Slax.iso to the HDD and run it as a second system next to Windows
Slax to HDD will continue to act as a Live CD

---> I just need to use UNetbootin, choose my HDD like destination for the iso and it's ok? And that works like live CD? I can save my configuration anyway? If I add a module AFTER the installation in /slax/modules, they will be present at next start of my PC?


"The module must unpack and copy the contents of the module to the system"

I did it, but some command doesn't work. Example: I downloaded ndiswrapper, unpack it and copy to the system. I has need to do "modprobe ndiswrapper" but the result was "FATAL: module not found"

Thanks for all the informations! Help me very much :)
 
burninbush
wrote 1 year ago


reply
@ jon08 ...

It's very convenient to just copy the cd contents to a hd folder, and use it that way. It retains all the features of a cd version. I have it 'installed' that way on several computers, find it is not slower or more awkward than a standard slack install, which is what you appear to have, i.e., when you do an uncompressed install of slax612 it is the equivalent of a standard install of slack 12.1 rev.

If you do this [frugal/ poor man's] install on a fat32 filesystem, then you should also unzip one of the slaxsave.dat files and use it to store changes.

If you search this board on 'frugal' and 'slaxsave.dat' you'll find all you need to know about it.

You can test this easily if you have a copy of the cd; just copy the /slax folder to a hd partition, reboot with the cd in the drive, highlight the first menu item, hit Tab, and then add 'from=/dev/sda1/slax' -- and slax will then find it's modules on the hard disk. [change sda1 to whatever partition you copied /slax to]
 
jon08
wrote 1 year ago


reply
"If you do this [frugal/ poor man's] install on a fat32 filesystem, then you should also unzip one of the slaxsave.dat files and use it to store changes."

Why use FAT32? In order to use slaxsave.dat? I will try that tomorrow (it's time to sleep in France :P )


Thanks again!
 
jcsoh
wrote 1 year ago


reply
If you do a live /frugal installation of slax , meaning the original file structure of slax is kept intact (inside /slax still have all the base lzm files) , Then slax on the hard disk behave just like in a livecd. You can click and activate and use module as normal.

If you do a real installation where the base lzn is umcompressed the you can use the base lzm as normal.
 
burninbush
wrote 1 year ago


reply
Why use FAT32? In order to use slaxsave.dat? I will try that tomorrow (it's time to sleep in France :P ) >jon08

++++++++++++++++++

You don't have to use fat32; you'll notice I started that sentence with "If ..."

The problem with storing changes on vfat is that it can't natively reproduce linux's file attributes, e.g., sym links and permissions; but those must be stored, which then calls into play the very buggy posixovl system -- the cause of most complaints of corruption when using slax. Using a container file [like slaxsave.dat] is a workaround that solves the corruption problem. Most usbsticks come formatted in vfat, so that's where the problem commonly appears [which has nothing to do with usb, but rather with vfat].

If you have a linux filesystem then you can indeed use the 'changes=slax' as Tomas intended, works fine. Just copy /slax and /boot to your hard disk, and then make it bootable with /boot/bootinst.sh or /boot/liloinst.sh.
 
jon08
wrote 1 year ago


reply
But with this method I can't use a SWAP?
 
jcsoh
wrote 1 year ago


reply
Which method you are refering to ?.
Either way a frugal installation of slax using a slaxsav.dat or saving to a linux partition , doesn;t stop slax from using swap. If a swap partition is available , then slax should recognise and use it.
 
jon08
wrote 1 year ago


reply
I tried to install the .iso with unetbootin but when I choose "hard disk" in support, unetbootin don't show me my HDD, only "/". How I must to do?
 
jcsoh
wrote 1 year ago


reply
Can you change the "/" to

/mnt

eg /mnt/sda1 or /mnt/hda1
 
jon08
wrote 1 year ago


reply
No, this is a list of proposals, I can't manually specify the path :(
 
bb as guest
wrote 1 year ago


reply
I haven't used unetbootin to boot the iso file -- but that is a backwards way to use slax, and you probably can't add any modules to it if you boot the iso file.

If you'll tell us exactly what your system is like then specific recommends can be made.
 
jon08
wrote 1 year ago


reply
Processor AMD Athlon XP 2000 at 1,6Ghz, 1Go RAM, 2HDD: 10Go and 20Go (10Go for Slax installation) and Nvidia TNT M64 32Mo. And of course, CD player ;)
 
bb as guest
wrote 1 year ago


reply
OK, jon08 ...

-- format the 10gb partition... #mkfs.reiserfs /dev/sda1
-- run cfdisk, delete the 20gb partition
-- still in cfdisk, create a 2gb swap partition in the free space
-- still in cfdisk, create a data partition of whatever remains of the free space
-- save that [choose Write in cfdisk] and reboot
-- copy /boot and /slax to the /dev/sda1 partition
-- cd to /boot and run liloinst.sh

at that point, you should be able to reboot into slax. You will have a 2gb swap, and you can format the data partition as you like -- probably vfat.

After it's running, you can go to the slax modules page and pick a recent nvidia module that matches your vid card; copy it to /slax/modules, and reboot to get the full speed from the vid card.
 
jon08
wrote 1 year ago


reply
I have two HDD: 10Go and 20Go. I want to install slax on the 10Go, so why did you say "delete the 20gb partition"?
And the swap will be on the 10 or 20Gb HHD?
The data partition will be on the 20Gb? Why format it to vfat?

Sorry for all theses questions, but I want to be sure about what I will make :)

BTW, thanks for this precious step by step!


EDIT: I saw that the liloinst.sh add a slaxchanges. What is it size? Do I need a big slaxchange?
 
jon08
wrote 1 year ago


reply
Ok, so I installed /boot and /slax on my 10Gb HDD with reiserFS filesystem and SWAP on a 2Gb partition from my 20Gb HDD, rest (~17Gb) is reiserFS too and is for my data.

But 2 Problems:

1) I put Nvidia module that matches with my video card but at start I have 800x600 and like 16 or 8 bits colors. If I delete the module, I have 1280x900 and good colors. So, do I need to put a module or it's good like that? (I can play movie with VLC, look video on the Internet...)?

2) When I close my session, I have message:

kded : ERROR: : couldn't create slave : Impossible to dialog with KLauncher
kded : ERROR: : couldn't create slave : Impossible to dialog with KLauncher
kded : ERROR: : couldn't create slave : Impossible to dialog with KLauncher
startekde: Running shutdown scripts...
startkde: Done.

Wainting for X server to shut down

root@slax:~#



What's the problem?
 
bb as guest
wrote 1 year ago


reply
1) I put Nvidia module that matches with my video card but at start I have 800x600 and like 16 or 8 bits colors. If I delete the module, I have 1280x900 and good colors. So, do I need to put a module or it's good like that? (I can play movie with VLC, look video on the Internet...)?

+++++++++++++++++

Look under the K menu [maybe System?] for an 'nvidia settings' item, under that you can choose any resolution and depth your card is capable of producing.

Of course you don't have to use it, but it's faster than the supplied 'nvidia' driver and offers many options. You could delete the nvidia.lzm you added, or just move it to /slax/optional from where you can choose to run it at boot with a load=nvidia cheatcode.

I don't recall the exact cheatcodes specified in liloinst.sh, but if your bootup stops at a text login, then try first running #xconf;startx to see if that will auto set resolution. That's what xconf is supposed to do, but it isn't always successful. With either driver, resolution can probably be manually coerced with edits to /etc/X11/xorg.conf if necessary.

As for the size of /slaxchanges, you don't need to concern yourself so long as your filsystem is a linux type [e.g., reiserfs]. It'll grow and shrink as necessary to accomodate your changes to the stock system.

I suggest that you study the slax.cfg file to understand the various different bootups, they are basically all the same except for adding/deleting a cheatcode. This is useful for the day you add something that prevents the system from booting; by booting with no previous changes being restored you have an opportunity to correct the error.

VLC is a very nice media player, I use it here -- but you can also do a good job with the included Mplayer.
 
jon08
wrote 1 year ago


reply
I tried with the K menu --> system --> Nvidia x server settings (or something like that) but the maximum resolution is 800x600, it's why I deleted it.
 

  » search  » forum index  

Post your reply

Your name (Login):

Message:

These HTML tags are allowed: <quote>, <b>, <u>, <i>, <pre>, <code>, <small>, <h1>, <h2>, <h3>, <li>



Slax is generously supported by: P&P Software GmbH and wisol technologie GmbH