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

Installing SLAX to Hard Drive

Lewis
wrote 6 years ago


reply
im sorry if this has already been answered somewhere else ive searched but cannot find anything so im sorry if ive missed it.

i know it defeats the object but how would you install SLAX to HD ive looked on one website and it said look in the home directory for an install but i cannot find one?

please Help
 
froi
wrote 6 years ago


reply
extract slax6.0.2 in your root directory. run bootinst.sh (FAT file system, linux OS), bootinst.bat (FAT fs, windows OS), liloinst (linux fs, linux OS) under /boot directory.
 
Lewis
wrote 6 years ago


reply
sorry i also forgot to mention im pretty much a noob when it comes to Linux sorry

could you please explain more?

sorry
 
froi
wrote 6 years ago


reply
what operating system are you using right now?
 
Lewis
wrote 6 years ago


reply
froi wrote:
what operating system are you using right now?


windows 98
 
froi
wrote 6 years ago


reply
best thing you can do is, connect the hard drive as slave. copy slax and boot directory to your d:\ (assuming your slave drive is d:) your d: drive should have "boot" and "slax" directory.

d:\
cd boot
bootinst.bat

just answer yes to the prompts. done!
 
froi
wrote 6 years ago


reply
BTW, format your slave drive as FAT system.
 
markds
wrote 6 years ago


reply
FAT 32 works just as well, you only need to worry about it if you're installing to a USB. Some don't work with FAT32. If its a hdd then you're alright.

Of course, that just installs SLAX as a live OS, compressed to the hdd. If you're talking about installing it as a full fledged OS onto a hard disk partition, you can use the "SLAX Installer" that comes with SLAX. Check out the K-Menu (Click the Big K on the bottom left corner and search the menu). If you want a command line tool that does it let me know, I extracted the core from the SLAX Installer some time ago into a command line installer for the folks over at the Backtrack forums.
 
burninbush
wrote 6 years ago


reply
Given a win9x operating system, that means it's on fat32, so there's no good reason you can't just copy the slax cd contents to a slax6 subdir on your C: disk. You can then use linld097.com or grub.exe to start slax from a dos prompt [i.e., select dos window at w9x boot, think you hit f5 or f8 while the 'starting windows 98' text is showing]

Use that search func at top to search the board on 'linld097' and you'll find posts explaining how to boot slax with it. You'll have to download it, doesn't come with slax. Here below is how my system works.

C:\> cd slax6\boot
C:\slax6\boot\> linld097 image=vmlinuz initrd=initrd.gz cl=@config vga=normal

where config is just a text file containing lines

root=/dev/ram0
rw
init=linuxrc
nopcmcia
from=/dev/hda1/slax6
3
#changes=/dev/hda4/slax6sav.dat

fix the from=/dev/hda1/slax6 to suit your system and subdirectory -- this is where you copied the contents of the slax cd. Uncomment and edit the changes= line to suit the way you'll be saving changes. The line with '3' ensures slax stops at a text mode login -- after root/toor, you'll run #startx to get KDE up, or perhaps #xconf;startx instead.
 
ben_coh
wrote 6 years ago


reply
Ehh ... why not just booting from the LiveCD to install Slax on a drive ? So you can avoid all Windows problems ....
 
AlleyCat
wrote 6 years ago


reply
>>you can use the "SLAX Installer" that comes with SLAX. Check out the K-Menu
 
AlleyCat
wrote 6 years ago


reply
>>you can use the "SLAX Installer" that comes with SLAX. Check out the K-Menu
 
AlleyCat
wrote 6 years ago


reply
This is my third time to try to post my question, here it goes:

My previous message got posted without my question - I do not understand, why.
I try again:
Please help me locate that slax installer thing. In the K-Menu I can't see it anywhere. Thanks for your patiaence with a newby...
 
podlinux
wrote 6 years ago


reply
install slackware!

but you can create 2 partitions, a FAT32 and a ext2 or ext3 partition.
extract the slax tar into the FAT32 partition run bootint.sh
Make a save folder on your linux partition and change the slax.cfg file to changes=/dev/hda1/save_folder
 
Guest
wrote 6 years ago


reply
alleycat. It is not on slax 6.
 
markds
wrote 6 years ago


reply
Hmmm my fault, the Slax installer isn't in Slax6, I put it back into mine version. I've uploaded it here :

http://backtrack.serveftp.com/backtrack/misctools/slax6-install.kmdr

Its a kmdr script, so download it to where you want, say /usr/share/slax/, then run it using the following :

/usr/bin/kmdr-executor /usr/share/slax/slax6-install.kmdr
Ignore the portion on the "live" version install, use the "real" version install.
 
Benji
wrote 6 years ago


reply
that's for the bioslax install, will it install slax or bioslax?
 
Lucas
wrote 6 years ago


reply
It's possible to install Slax and then add modules, but keeping it in the HDD for furhter use after a shutdown?
 
jcsoh
wrote 6 years ago


reply
@Lucas
If it's installed it will be there. Or did you meant install slax to usb but modules on hdd?
 
Guest
wrote 6 years ago


reply
He likely meant lzm2dir modulename.lzm /
 
moti250
wrote 6 years ago


reply
froi wrote:
extract slax6.0.2 in your root directory. run bootinst.sh (FAT file system, linux OS), bootinst.bat (FAT fs, windows OS), liloinst (linux fs, linux OS) under /boot directory.
markds wrote:
Hmmm my fault, the Slax installer isn't in Slax6, I put it back into mine version. I've uploaded it here :

http://backtrack.serveftp.com/backtrack/scripts/slax6-install.kmdr

Its a kmdr script, so download it to where you want, say /usr/share/slax/, then run it using the following :

/usr/bin/kmdr-executor /usr/share/slax/slax6-install.kmdr
Ignore the portion on the "live" version install, use the "real" version install.
 
berne
wrote 6 years ago


reply
I tried to install slax 6 on my HD that before had the ubuntu installed, but the grub boot system gave problems, and the computer already had been formatted.
 
markds
wrote 6 years ago


reply
Bioslax is just the name that we used for our customised bioslax distros, but its still the slax installer. It will install slax. I'll change the bioslax references back to slax and you can redownload it again.

Benji wrote:
that's for the bioslax install, will it install slax or bioslax?
 
Lewis
wrote 6 years ago


reply
sorry i havent replyed in ages

ive been looking and on one of the windows the ctrl+alt+f2 etc theres a command saying install onto hard drive.

so if i made a partition on my HD could i install it onto that?
 
Nomro
wrote 6 years ago


reply
I am a new Slax user, however I did find s simple fix for installing Slax to a hard drive.
In windows i used jkdefrag to prepare the hard drive for partition magic.
I then used partition Magic to reduce my NTFS partition by 5 gigs.
I created a new Fat32 filesystem in the empty 5 gig area.
I downloaded the Live CD ISO and used nero 7 to create the actual live CD.
Using windows I copied the entire cd to the fat32 Partition.
I rebooted with the live CD in the CD drive and with boot from CD options turned on in the Bios.
Once in Slax I navigated to /mnt/hda5/boot and opened liloinst.sh in a text editor.
I scrolled down to the code to install the new lilo.conf settings and added the following lines to dual boot at the end.
other=/dev/hda1
label=WinXP
table=/dev/hda
(my windows partition was /dev/hda you will have to sub yours.)
Then I saved the changes and opened term.
Navigated to the liloinst.sh file and type ./liloinstall.sh
exit and reboot.
On startup you should be able to boot either windows OR slax by typing in "Slax" or "WinXP"
This has worked VERY well for me good luck.
Navigate to
 
joraghaan@yahoo.com
wrote 6 years ago


reply
Mail me and get a very very good way to install slax on a hard disk with grub (it means the slax can be installed inside windows) and use real slax with its real power of knowing any hardware on your PC or Laptop. Thanx, Linux user
 
joraghaan
wrote 6 years ago


reply
markds wrote:
Hmmm my fault, the Slax installer isn't in Slax6, I put it back into mine version. I've uploaded it here :

http://backtrack.serveftp.com/backtrack/scripts/slax6-install.kmdr

Its a kmdr script, so download it to where you want, say /usr/share/slax/, then run it using the following :

/usr/bin/kmdr-executor /usr/share/slax/slax6-install.kmdr
Ignore the portion on the "live" version install, use the "real" version install.



It removes "Windows" (and other OSs) from boot list and with this way both mouse and sound card do not work.
 
KCowboy
wrote 6 years ago


reply
Hi,

I tried running the bootinst.sh and it gave me an error:

./bootinst.sh: line 61: ./boot/syslinux/syslinux: No such file or directory

Not sure what that means. But I think it has to do with the way my HD is partitioned. Right now I have / that is ext3 and a swap directory.
 
markds
wrote 6 years ago


reply
Ok, I think you probably didn't partition a drive for your slax install yet? Cos all this installer does is copy the files from your live distribution (the one you booted up) to your hdd and installs lilo for you. So if your system worked with the live bootup files, then after the installer runs and you reboot from the hdd, it will still be the same set of files and your mouse and sound should work. If you're having trouble with your Xwindows, then when it boots up run :

xconf

to reconfigure your X windows correctly before running startx to start your kde.

If you want to make it point to other OS then you have to edit the /etc/lilo.conf and add in "other=/dev/sda2" for example, if your other OS is installed to /dev/sda2. Eg, if you have WinXP installed in /dev/sda1 then add the following to /etc/lilo.conf at the bottom after the "read-only":

other=/dev/hda1
label=WinXP

Then save the lilo.conf and issue the following command :

/sbin/lilo

You should see something about addind the Slax and WinXP with an "*" on Slax signifying that is the default boot option if you don't select anything else.

Reboot the machine, you'll see 2 options, Slax and WinXP.

Another note, if you want to stop doing "xconf" and then "startx" everytime you boot up the machine to get to kde, then add the following line to your lilo.conf just before the "read-only"

append="exec=xconf;startx"

Save lilo.conf and execute /sbin/lilo again.

You want a better screen resolution, then edit lilo again and change vga=normal to vga=791. Again save the lilo.conf and run /sbin/lilo. Essentially you have to run /sbin/lilo everytime you change your lilo.conf otherwise your changes are not read.

Theres a lot you can do with lilo, just need to read up on it.

joraghaan wrote:
markds wrote:
Hmmm my fault, the Slax installer isn't in Slax6, I put it back into mine version. I've uploaded it here :

http://backtrack.serveftp.com/backtrack/scripts/slax6-install.kmdr

Its a kmdr script, so download it to where you want, say /usr/share/slax/, then run it using the following :

/usr/bin/kmdr-executor /usr/share/slax/slax6-install.kmdr
Ignore the portion on the "live" version install, use the "real" version install.



It removes "Windows" (and other OSs) from boot list and with this way both mouse and sound card do not work.
 
markds
wrote 6 years ago


reply
The correct way to use the slax-installer is to :

1) Use fdisk or cfdisk to create an ext2 or ext3 parition on your hdd
2) Format the parition you just made (ext2 or ext3) and mount it (eg, /dev/sda1 will be mounted to /mnt/sda1, /dev/sda2 is mounted to /mnt/sda2)

* You can use gparted to do both (1) and (2)

3) Run the slax installer selecting the source as your livecd or liveusb, install to as the partition you created in (1) and (2) (eg: /mnt/sda2)and your boot device as the mbr of the device you used in (1) and (2) (eg, if you created your ext2/ext3 partition on /mnt/sda2 then your mbr should be /dev/sda)
4) Reboot your system, removing your livecd or liveusb and let it boot into your newly hdd-installed slax
5) Edit the /etc/lilo.conf to include any other OS or change the graphics res
6) Save /etc/lilo.conf and run /sbin/lilo to reread the lilo.conf and apply the changes
7) Reboot
 
Ycomplicated
wrote 6 years ago


reply
Strange that the installer can't be an obvious icon on the desktop. When is the Linux community every going to understand that the majority of computer users are novices?

Most users don't want to go through a complicated install process. They also don't want to be forced into a terminal typing long commands with numerous switches.

Thus, the reason that Windows still owns the market. I hate MS but at least they understand what consumers want.
 
Ycomplicated
wrote 6 years ago


reply
I'll give you an example of why Linux is so darn aggravating. Note that a novice user would have given up a long time ago.

I have an old 500 MHz system that I wanted to setup for my kids to browse with. It's only got 256MB of ram and an old 20 GB hard drive.

My first though was....Linux is the answer! I will provide the security I need to ensure that my kids don't blow up the system downloading crap.

24 hours later after another long compatible distro hunt.....

Ubuntu - Yeah. I can usually count on this but not this time. The installer refuses to recognize the 512MB swap partition IT CREATED. It just keeps telling you that you need at least 128MB for a swap part.

Vector Linux - LOL. Select any option from the boot menu and it reboots the system.

ELive - Installs fine but won't save any configuration changes. So it's take it or leave it I guess.

Knoppix - Boots in 640x480 resolution. However all the application windows are too big for the screen. You can't save any changes because all the buttons are 10 feet off the bottom of the screen.

Kinotix - LiveCD boots but the installed version won't. This happens a lot with LiveCD versions of Linux. It's like a tease for users.

GoblinX - It automatically sets a graphical configuration that doesn't work. X just crashes back to the console.

DSL - Works but it sucks... Might as well use Windows 3.1


Can all of these things above be fixed with a few hours in a console typing in countless commands? Sure but is that what most users want to do or can even understand?


By way of comparison:

Windows 98 - Installs and runs.

Windows XP - Installs and runs. It's slow but it runs.

With both I was never forced into a console. I never typed in a single command. Point, click, done.

It's just plain annoying to work with an OS when you constantly have to throw duct tape on it.
 
markds
wrote 6 years ago


reply
Security flaws all over the place. If ever there was an OS that was being held together by duct tape, Windows would be it.

The creator of Slax has a simple saying I believe that goes something like : "If you like it, use it - if you don't, don't use it"
 
Ycomplicated
wrote 6 years ago


reply
So I guess the fact that none of 8 Linux distro's worked, while both MS Windows versions did means that MS is using better duct tape?
 
markds
wrote 6 years ago


reply
The fact that none of the 8 distros worked for YOU, just means YOU don't know how to get them working or YOU are just too lazy to try. Nothing more, nothing less.

Whining about your woes here and verbally dissing an entire community of users isn't going to help you or anyone else. If you can't get it working, and you don't want to describe your problems and ask for help, then go install your windows and move on. Don't whine about it.

Ycomplicated wrote:
So I guess the fact that none of 8 Linux distro's worked, while both MS Windows versions did means that MS is using better duct tape?
 
jcsoh
wrote 6 years ago


reply
@ Ycomplicated
The 256mb ram severely limits your choices. The "less likely to fail" and "most likely to work out of the box" distros are (in my opinion) PCLinuxOS , Mepis and Freespire , but I am not too sure if they will work with 256mb.
 
bhunter736
wrote 6 years ago


reply
To Ycomplicated:

Maybe the cutting edge version of Slax is not ready for your plug and pray requirement. I have had great success with my 2year old and my 4 year old children as well as my parents using the following slightly older distribution that is no longer supported here. You can download the copy I had such success with here:

http://www.homesopen.com/slax581/other/dresslax.iso

you will need to burn a disk, just like the others. To install, boot it live and then there is a script in root called slaxinstall. Open a terminal and type ./slaxinstall

answer the questions on screen.

You will have to run liloconfig at a terminal prompt to set up proper booting once it is installed.

This does not make a swap drive, you can add one later. It also assumes a 1024x768 resolution. If you have an LCD monitor, just type "lcd" at the booting prompt without the quotes to ensure you get a working xorg file.

Keep in mind, as far as support, the group here has moved on to the new version with eyes on the future. However, older machines tend to do better with older OS's.

By the way, my 2year olds computer is to keep her from banging keys on mine and is a PIII with 128RAM and a 2GIG left over hard drive. This particular version will run successfully in some pretty low end stuff.
 
volkswagner
wrote 6 years ago


reply
I am so glad I found this thread. Google is my friend. I tried to install Slax ver 5.*, several months ago. I was not able to locate the "slaxinstall" on that CD. Thanks to bhunter736, I burned dresslax and installed to HD. I did not use LILO as I had plans to also install Ubuntu. The Ubuntu installer used grub and found slax. Grub not includes, previously installed, fluxbuntu 7.10, slax, and Ubuntu 7.10.

On to my questions. How do I tell slax to use my swap partition? Can I have slax boot into a GUI login. I think I was supposed to configure the install to do this. What file do I edit to start X automatically?

Cheers
 
markds
wrote 6 years ago


reply
volkswagner wrote:
On to my questions. How do I tell slax to use my swap partition? Can I have slax boot into a GUI login. I think I was supposed to configure the install to do this. What file do I edit to start X automatically?

Cheers

On your grub install, just make sure you add "autoexec=xconf;telinit~4" to the "append" line, that will get it to auto start X. Alternatively you can just edit /etc/rc.d/rc.local and put "kdm" (or "gdm" or "xdm" depending on your preference and what desktop manager you have installed) at the end of it to make the system start up the KDE (or X or Gnome) Desktop Manager once its brought the system up.

As for using the swap partition, so long as you've formatted the partition as a swap partition you can use the swapon command. Lets say you've designated and formated /dev/sda2 to be your swap partition, then just open a terminal and type :

swapon /dev/sda2

Hope that helps.
 
chris2u
wrote 6 years ago


reply
So simple, my friends.

mount your iso or extracted tar, copy the two directories to your stick or drive. cd to the boot directory, run the bootinst.sh script.

I've just put on slax 6.0.2 on my usb hard drive and it works like a dream. In fact it is too simple.

Tomas, you da man !
 
chris2u
wrote 6 years ago


reply
You can also copy the slax folder from your stick to the hard drive and then in the boot screen hit tab, and enter "from=/dev/yourdrive

I have two slax folders on the hard drive and rename them to use whichever livecd.sgn file I want to use...or just leave them as slax1 or slax2 to use just the usb stick's livecd.sgn.
 
zzzz
wrote 6 years ago


reply
Hi,

I have just installed SLAX in my hard disk. It is very simply.

1. DOS environment
Don't install SLAX under DOS. Capital issue.

2. Windows environment
copy /boot and /slax directories to the HD root directory.
cd your_hd/boot
bootinst.bat
reboot
3. Slax
firstly run Slax from LiveCD.
mount your_hd
mount your_LiveCD
cp your_LiveCd your_hd
cd your_hd/boot
./bootinst.sh
reboot

Good lucky for guy!
 
volkswagner
wrote 6 years ago


reply
Thanks for the response. I have yet to get GUI login. Since I am running Grub, I am not sure how to port the lilo instructions. When I am told to edit grub, I assume this is /boot/grub/menu.lst on my boot drive. Here is the portion related to slax.


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/hda4.
title Slackware Linux (Slackware 10.2.0) (on /dev/hda4)
root (hd0,3)
kernel /boot/vmlinuz root=/dev/hda4
savedefault
boot


Since there is no append line, do I create one? What shall I do to the above?

I have also tried adding "kdm" to /etc/rc.d/rc.local. With and without the quotes, yet now GUI login. Here is the file.


#!/bin/sh
#
# /etc/rc.d/rc.local: Local system initialization script.
#
# Put any local setup commands in here:
kdm


I have also been prompted to edit boot loader and ad cheatcode \startx\. I am not sure what this means and would need more detail. I am a newbie to linux this year.

Also for my second issue, when I run


swapon /dev/hda6


I get the following

Device or resource busy


When I run fdisk it shows the above as swap. Does this mean all is well and it is being used as swap?

I was pleasantly supprized at the prompt response to my query.

Cheers,

Eric
 
jcsoh
wrote 6 years ago


reply
volkswagner

You can create an append line bewtween the kernel line and savedefault. You don't actually need an append line and can continue adding your configuration to the kernel line . See sample below . The entire kernel line from "/slax6/boot/vmlinuz" right up to "changes=slax6cfg" is a single line. The next line is "initrd"

title SLAX 6 KDE RC6 (MAIN HDD) SDA 7 MAIN GRUB AT SDA4
root (hd0,6)
kernel /slax6/boot/vmlinuz root=/dev/ram0 rw init=linuxrc load_ramdisk=1 prompt_ramdisk=0 ramdisk_size=6666 max_loop=255 vga=normal from=slax6 autoexec=xconf;kdm;swapon~/dev/sda5 nopcmcia toram changes=slax6cfg
initrd /slax6/boot/initrd.gz
savedefault
boot
 
jcsoh
wrote 6 years ago


reply
volkswagner
When another linux pick up another existing distro on the hard disk it will put into place the minimal configuration as the configuration varies. You mentioned you are using dress slax . Is this based on slax 5 ? . To know the required configuration you need to look at the dress slax iso . Look for syslinux.cfg or isolinux.cfg . It's a text file so you can just open it.

If dress slax is based on slax 5.1.8.1 , the menu.lst will look something like this. Take note I put my slax 5 in /slax5/ subdirectory on sda 6



title SLAX 5 (MAIN HDD) SDA 6
root (hd0,5)
# do not change "from from=slax5" to "from=/dev/sda6/slax5" & changes= cannot be in a subdirectory . It will not work
kernel /slax5/boot/vmlinuz root=/dev/ram0 rw init=linuxrc load_ramdisk=1 prompt_ramdisk=0 ramdisk_size=4444 max_loop=255 vga=normal from=slax5 changes=/dev/sda6 toram nopcmcia noscsi autoexec=xconf;kdm
initrd /slax5/boot/initrd.gz
savedefault
boot

The last part autoexec=xconf;kdm

xconf is for slax to detect and get the best display . This is not always required. The kdm is to start kde in gui . This is what you want.

If I omit this line , slax will will boot into a prompt.
Then I can manually type xconf
Follow by startx . This will also start the default window manager . By default uit is kde for slax.
 
volkswagner
wrote 6 years ago


reply
Thanks for the help. I tried to put 2 and 2 together, I got 3.5. Here is the portion from isolinux.cnf


label hd4
kernel boot/vmlinuz
append from=/dev/hda4 vga=769 changes=slaxsave.dat max_loop=255 initrd=boot/initrd.gz init=linuxrc load_ramdisk=1 prompt_ramdisk=0 ramdisk_size=4444 root=/dev/ram0 rw autoexec=startx




Here is my entry in grub, with sytax error. I received an error, partition not found.


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/hda4.
title Slackware Linux (Slackware 10.2.0) (on /dev/hda4)
root (hd0,3)
kernel /boot/vmlinuz root=vga=normal from=slackwarelinux changes=/dev/hda4 max_loop=255 initrd=boot/initrd.gz init=linuxrc load_ramdisk=1 prompt_ramdisk=0 ramdisk_size=4444 root=/dev/ram0 rw autoexec=xconf;kdm
savedefault
boot
 
markds
wrote 6 years ago


reply
Thats because it can't find the root. You have appended "vga=normal" after "root=" and I'm not sure what the "from=slackwarelinux" is for :
kernel /boot/vmlinuz root=vga=normal from=slackwarelinux ...
I think the kernel line should read more like :
kernel /boot/vmlinuz from=/ vga=normal changes=/ max_loop=255 init=linuxrc load_ramdisk=1 prompt_ramdisk=0 ramdisk_size=4444 root=/dev/ram0 rw autoexec=xconf;telinit~4
initrd /boot/initrd.gz

I don't use GRUB but that should not be too far off. Initrd line should be on a seperate line after the kernel line. Also instead of invoking kdm directly, I called telinit~4 so it will call the default XWM, even if you change it to GNOME or something else. For now I assume the default XWM is still KDE so it will call KDM.

volkswagner wrote:
Here is my entry in grub, with sytax error. I received an error, partition not found.


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/hda4.
title Slackware Linux (Slackware 10.2.0) (on /dev/hda4)
root (hd0,3)
kernel /boot/vmlinuz root=vga=normal from=slackwarelinux changes=/dev/hda4 max_loop=255 initrd=boot/initrd.gz init=linuxrc load_ramdisk=1 prompt_ramdisk=0 ramdisk_size=4444 root=/dev/ram0 rw autoexec=xconf;kdm
savedefault
boot
 
volkswagner
wrote 6 years ago


reply
OK, I changed it to this.


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/hda4.
title Slackware Linux (Slackware 10.2.0) (on /dev/hda4)
root (hd0,3)
kernel /boot/vmlinuz root=/dev/ram0 rw init=linuxrc load_ramdisk=1 prompt_ramdisk=0 ramdisk_size=4444 max_loop=255 vga=normal from=slax5 changes=/dev/hda4 toram nopcmcia noscsi autoexec=xconf;kdm
initrd /slax5/boot/initrd.gz
savedefault
boot


Now I get error 15, file not found. May be the changes for kdm, will give that a go.
Thanks
 
markds
wrote 6 years ago


reply
Boot loaders usually croak about files not found when it relates to the kernel image, for other things on the append line, if it can't find, it usually ignores the whole entry altogether, but will still boot. Another alternative culprit would be your initrd. Looking at your initrd definition and your kernel image definition, are you sure its right? Kernel vmlinuz is /boot/vmlinuz and initrd is /slax5/boot/initrd.gz? If I recall Slax5 correctly, both should be in the same directory.

volkswagner wrote:
OK, I changed it to this.


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/hda4.
title Slackware Linux (Slackware 10.2.0) (on /dev/hda4)
root (hd0,3)
kernel /boot/vmlinuz root=/dev/ram0 rw init=linuxrc load_ramdisk=1 prompt_ramdisk=0 ramdisk_size=4444 max_loop=255 vga=normal from=slax5 changes=/dev/hda4 toram nopcmcia noscsi autoexec=xconf;kdm
initrd /slax5/boot/initrd.gz
savedefault
boot


Now I get error 15, file not found. May be the changes for kdm, will give that a go.
Thanks
 
volkswagner
wrote 6 years ago


reply
I think I know the problem. The only file in /boot is vmlinuz. I do not have an initrd.gz. Where can I find it on my system?
 
markds
wrote 6 years ago


reply
Should be in your /boot directory. If you don't have it, you might be able to do without it (remove the initrd line completely), although you can just lift it off a slax5 cd.

volkswagner wrote:
I think I know the problem. The only file in /boot is vmlinuz. I do not have an initrd.gz. Where can I find it on my system?
 
volkswagner
wrote 6 years ago


reply
Still not there. I extracted the initrd.gz from the iso. I extracted it to /boot/initrd. I created the following grub entry.


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/hda4.
title Slackware Linux (Slackware 10.2.0) (on /dev/hda4)
root (hd0,3)
kernel /boot/vmlinuz root=/dev/hda4
autoexec=xconf;telinit~4
initrd /boot/initrd
savedefault
boot


The system stalled at detecting usb......

I think the initrd was looking for a removable boot media. As if booting from live cd or usb drive. Without the initrd entry above it boots into command line. Without the reference /dev/hda4 in the kernel line it warns no partition. I did make an error above.


initrd /slax5/boot/initrd.gz


I copied the above from an earlier post and did not fully edit it for my system. It still complained no partition when I changed it to /boot/initrd.gz, obviously because there was not initrd in /boot.
 
volkswagner
wrote 6 years ago


reply
Maybe I should not have extracted initrd.gz.

I will try in .gz form.

Either way no go. When using the initrd or initrd.gz the system is looking for livecd.sgn file but not found.

The Dressslax version seems to be built from killbill edition. I am not sure how to check the version number.
 
jcsoh
wrote 6 years ago


reply
volkswagner

Assuming dress is based on kill bill (I think I recalled the forum posting)

label hd4
kernel boot/vmlinuz
append from=/dev/hda4 vga=769 changes=slaxsave.dat max_loop=255 initrd=boot/initrd.gz init=linuxrc load_ramdisk=1 prompt_ramdisk=0 ramdisk_size=4444 root=/dev/ram0 rw autoexec=startx

You should stick to more or less the above but youu need to understand what it means so as to adapt to your particular situation.

root (hd0,5)
This tell which hard disk and partition vmlinux & initrd .gz is. If you get this wrong , you will get no file found kind of error.
hd0 = 1st hard disk. hd1 = 2nd hdd etc...
5 means partittion 6 which is either hda6 of sda6 depending on the type of hdd.
4 means partition 5 etc.

kernel boot/vmlinuz means your vmlinux is in /boot . If you place it one level down say in /dress/boot/vmlinux then you need to specify
kernel /dress/boot/vmlinuz

initrd /boot/initrd . This is on a separate line and it is required . Similarly to vmlinux , it specify that initrd.gz is in /boot. Do not extract the initrd.gz.

vga=normal . Change the display so that you can read the text scrooling on screed when slax is booting up.

root=/dev/ram0 For a frugal install the root after slax boot up is the ram disk ,
rw - readable & writeable . The ramdisk needs to be readable & writeable

load_ramdisk=1 prompt_ramdisk=0 ramdisk_size=4444 max_loop=255 . Stick to whatever is shown in the config
Basically it mean load ramdisk = yes , prompt=no soze=4444 max loop=255

from=slax5 . Only use this if you place slax one layer down in a sundirectory . For eg in this case a subdirectory named slax 5 , meaning you have

/slax5/boot/vmlinuz
/slax5/boot/nitrd.gz.
If not youy can specify from= , at least not with slax 5 . With slax 6 from=/dev/hda4 for eg will work.

changes=/dev/hda4 , means save changes to hda4
toram load slax fully to ram . Use it only if you have sufficient ram.

nopcmcia - no pcmcia
noscsi - no scsi

autoexec=xconf;kdm . In this case to autoexecute xconf for slax to detect the best display /resolution . May or may no ber required depending on your machine
kdm to auto start slax in gui, meaning you dont have to log in.



# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/hda4.
title Slackware Linux (Slackware 10.2.0) (on /dev/hda4)
root (hd0,3)
kernel /boot/vmlinuz root=/dev/hda4
autoexec=xconf;telinit~4
initrd /boot/initrd
savedefault
boot

From your last entry , the root=/dev/hda4 is definately wrong . It should be root=/dev/ram0 rw
 
podlinux
wrote 6 years ago


reply
why would you not install slackware? i just don't get it. Slax in meant for linux-live only!
 
jcsoh
wrote 6 years ago


reply
podlinux
"why would you not install slackware? i just don't get it. Slax in meant for linux-live only!"

Is like arguing who wouldn't want to use ubunto /pclinux os / or _________
 
volkswagner
wrote 6 years ago


reply
podlinux wrote:
why would you not install slackware? i just don't get it. Slax in meant for linux-live only!


I guess I am uninformed. All my previous linux experience was with live cd's, (ubuntu, knopix, fluxbuntu, etc.) which had the option to install to HD.

I will investigate slackware. My goal it to get a nice, lightweight disto to use on my amd700mhz machine. Out of all the distro's I have tried, slax has the best use of ACPI. Slax is the only distro I have tried which will shutdown the machine fully. Ubuntu may be able to shutdown with some tweaking, but it is not as lightweight. I just figured since Slax ran so well on CD, it would run even better on HD. It would also free up the cd rom. I think the major issue is not running lilo. I don't know the direct translation to get grub to use the lilo "tweaks or cheat codes".

My solution lies in figuring the lilo>grub translation, or changing my boot manager to lilo, which should work with my other distros. So it is a matter of syntax.

I also think a different initrd is required, or I will need to place the livecd.sgn file on the system.

I certainly was not aware slax was for live cd use only. I thought the .installslax was intended for use on a standard HD install.
 
markds
wrote 6 years ago


reply
SLAX is NOT for livecd use only. I have personally used it to test installations of servers and workstations before using the GUI to install it as a REAL linux system on the machine. SLAX for all intent and purposes IS slackware in a compressed format. You basically install Slackware to your liking and then run it through linux-live scripts to get your livecd/liveusb, but its STILL Slackware. As far as a lightweight OS goes, it doesn't get any better than SLAX, because its simple and its modular and whether you are in live mode or real mode you can still make use of lzms using 'lzm2dir' to install the modules to /, since the kernel is already compiled with squashfs and lzma.

Volkswagner, I suggest you download the GUI or command line based installer from my server and install it to you hdd. Both installers will install lilo to your MBR, but editing the lilo.conf is certainly easy for multiple boot. If you have any questions on it, I'll be glad to assist.

The installers can be found here :

http://backtrack.serveftp.com/wiki/doku.php/backtrack:misc_tools



volkswagner wrote:
podlinux wrote:
why would you not install slackware? i just don't get it. Slax in meant for linux-live only!


I guess I am uninformed. All my previous linux experience was with live cd's, (ubuntu, knopix, fluxbuntu, etc.) which had the option to install to HD.

I will investigate slackware. My goal it to get a nice, lightweight disto to use on my amd700mhz machine. Out of all the distro's I have tried, slax has the best use of ACPI. Slax is the only distro I have tried which will shutdown the machine fully. Ubuntu may be able to shutdown with some tweaking, but it is not as lightweight. I just figured since Slax ran so well on CD, it would run even better on HD. It would also free up the cd rom. I think the major issue is not running lilo. I don't know the direct translation to get grub to use the lilo "tweaks or cheat codes".

My solution lies in figuring the lilo>grub translation, or changing my boot manager to lilo, which should work with my other distros. So it is a matter of syntax.

I also think a different initrd is required, or I will need to place the livecd.sgn file on the system.

I certainly was not aware slax was for live cd use only. I thought the .installslax was intended for use on a standard HD install.
 
Thor
wrote 6 years ago


reply
Slax takes me 4 min to install with no bloat in it at all, only the apps that I care about. Slackware is a lot slower to install. I don't really see why one shouldn't install Slax real. These days, Tomas has also put in some tests of whether we run live or real into his livescripts, so it is pretty safe. Some code/changes he did to the original, will just not be executed or executed in a different manner if we are on realsystems.
 
8-bit
wrote 6 years ago


reply
Well, I use GRUB as a boot manager and did not want a SLAX only install with lilo.
So I took the shell install script ,bt-cl_installer.sh, and modified it in gleany which I had previously installed.
I removed the segment of the script that installs lilo and saved the result as no-lilo_installer.sh.
I then ran my modified script and it did the file copy to my partition that already had some frugal installs on it in subdirectories.
The copy seemed to go fine.
I then edited my menu.lst file for GRUB:

Title SLAX
kernel (hda(0,3)/boot/vmlinux root=/dev/hda4 rw
boot

I get an error on booting that the root partition should be initially mounted as read only.
But I am not sure how to do this and have it read/write after booting.
Anyway, all my changes were copied with the install and I am typing this post from the full install.
:>)
 
markds
wrote 6 years ago


reply
8-bit wrote:
I get an error on booting that the root partition should be initially mounted as read only.
But I am not sure how to do this and have it read/write after booting.
Anyway, all my changes were copied with the install and I am typing this post from the full install.
:>)


It should be mounted read-only, that is correct. The system will change it later.
 
sheds
wrote 6 years ago


reply
volkswagner wrote:
I am so glad I found this thread. Google is my friend. I tried to install Slax ver 5.*, several months ago. I was not able to locate the "slaxinstall" on that CD. Thanks to bhunter736, I burned dresslax and installed to HD. I did not use LILO as I had plans to also install Ubuntu. The Ubuntu installer used grub and found slax. Grub not includes, previously installed, fluxbuntu 7.10, slax, and Ubuntu 7.10.

On to my questions. How do I tell slax to use my swap partition? Can I have slax boot into a GUI login. I think I was supposed to configure the install to do this. What file do I edit to start X automatically?

Cheers


What is dresslax? I am also having the problem that i don't find the Slax-install icon inside Home, like the original manual says it should. Why is it not there, and why is this other way of installing missing or documented?
 
stenrulz
wrote 6 years ago


reply
hi
try doing what you do for usb install.
 
kiey
wrote 6 years ago


reply
I have successfully install slax to HD drive. It was so good, only it has one shortcoming. The time was so long during the PC was on. It takes about one minutes, while XP can need about 30s. WHy?
 
stepan
wrote 6 years ago


reply
Hi guys , I am contemplating over running slax as a usb on a hard drive , or compeltely uncompressing it . I was wondering what you guys thought would be better , as an uncompresed slax would be better . Also , maybe we should make a team to beef up the normal slax isntaller , maybe make it autodetect operating systems etc .
 
Thor
wrote 6 years ago


reply
stepan wrote:
Hi guys , I am contemplating over running slax as a usb on a hard drive , or compeltely uncompressing it . I was wondering what you guys thought would be better , as an uncompresed slax would be better . Also , maybe we should make a team to beef up the normal slax isntaller , maybe make it autodetect operating systems etc .


Uncompressed is faster. I use both. The frugal to test modules and the uncompressed for real work. You cannot really compare them, they bring different functions. But if you want speed, the real install of Slax, aswell as any7 Slackware, is great
 
Guest
wrote 6 years ago


reply
Hi guys , I am contemplating over running slax as a usb on a hard drive , or compeltely uncompressing it . I was wondering what you guys thought would be better , as an uncompresed slax would be better .

+++++++++++

Ah .. it's a little hard to understand the questions here sometimes. If you meant compressed vs uncompressed on a usb external hd, or on any flash memory device, I think there would be no difference -- due to the slowness of the usb interface. IOW, no faster than the slowest part of the chain.

I have a flash device here that ought to offer the best showing of that universe, a CF card connected via adapter to an ide cable -- and even that is slower than the ancient 528mb laptop disk it replaced.

Certainly uncompressed is faster in theory on a standard hard disk, but it might be hard to tell the difference. On the one hand the compressed file gets into memory 2x quicker, and is then uncompressed by the vastly faster cpu -- vs the time to read the 2x larger uncompressed file entirely from the slower hard disk with no decompression involved.

Maybe someone can name a test that would illustrate the differences. Obviously you can't state anything about speeds if mixing media types.

I have several linux distros available here, standard Slackware 12 is easily the fastest of them all if comparing 32-bit distros. Only thing better is the Vector 5.9-64bit I recently acquired, which is Slack12 recompiled to 64bits -- and it's only marginally faster than 32bit slack on the same box.
 
burninbush
wrote 6 years ago


reply
I'll just add -- if boot time is the criteria, then compressed vs uncompressed hardly matters at all -- much if not most of the time is spent by the kernel getting hardware devices prepped for use.

Slax6 frugal install to hd on either of my standard boxes here comes up to a kde screen in around 35 - 40 seconds. Slack 12 standard install is exactly the same.
 
pisahmet
wrote 6 years ago


reply
i have same problem. i want to setup Slax to EeePC but i want to use only Slax. i dont want use MultiOS. How can i do it?
 
Thor
wrote 6 years ago


reply
burninbush wrote:
I'll just add -- if boot time is the criteria, then compressed vs uncompressed hardly matters at all -- much if not most of the time is spent by the kernel getting hardware devices prepped for use.

Slax6 frugal install to hd on either of my standard boxes here comes up to a kde screen in around 35 - 40 seconds. Slack 12 standard install is exactly the same.


Hardware detection is a lot lot faster on my real than on my live. Talking at lest around 35% or even more.
But I think we all might agree that fastest of all is live and "copy2ram". Just a pity there is not so much RAM left for realwork
 
Thor
wrote 6 years ago


reply
pisahmet wrote:
i have same problem. i want to setup Slax to EeePC but i want to use only Slax. i dont want use MultiOS. How can i do it?


There are own eeepc guides here. (Could be the old forum, but i imagine having seen them here too). Did you try the "search" button
 
pisahmet
wrote 6 years ago


reply
Thor wrote:
pisahmet wrote:
i have same problem. i want to setup Slax to EeePC but i want to use only Slax. i dont want use MultiOS. How can i do it?


There are own eeepc guides here. (Could be the old forum, but i imagine having seen them here too). Did you try the "search" button


sorry i'm only 15 and my english isn't very good :(
 
marco
wrote 6 years ago


reply
Could you make this sticky?
 
damas
wrote 6 years ago


reply
Could you please tell me how to use a commandline tool to install SLAX to my hardrive?

/Damas
 
colonelcrayon
wrote 6 years ago


reply
A quote from above:

Maybe the cutting edge version of Slax is not ready for your plug and pray requirement. I have had great success with my 2year old and my 4 year old children as well as my parents using the following slightly older distribution that is no longer supported here. You can download the copy I had such success with here:

http://www.homesopen.com/slax581/other/dresslax.iso

you will need to burn a disk, just like the others. To install, boot it live and then there is a script in root called slaxinstall. Open a terminal and type ./slaxinstall

answer the questions on screen.

You will have to run liloconfig at a terminal prompt to set up proper booting once it is installed.

This does not make a swap drive, you can add one later. It also assumes a 1024x768 resolution. If you have an LCD monitor, just type "lcd" at the booting prompt without the quotes to ensure you get a working xorg file.

Keep in mind, as far as support, the group here has moved on to the new version with eyes on the future. However, older machines tend to do better with older OS's.

By the way, my 2year olds computer is to keep her from banging keys on mine and is a PIII with 128RAM and a 2GIG left over hard drive. This particular version will run successfully in some pretty low end stuff.
 
tutukakatu
wrote 6 years ago


reply
hey, i wonder if there is a chance to change the count-down timer on boot menu. it lasts only one second, i must to be very fast to decide the os which i will work on
 
fundamental
wrote 6 years ago


reply
If you are using grub add this line for a 10 second pause
timeout 10
 
tutukakatu
wrote 6 years ago


reply
im using lilo :S
 
ben_coh
wrote 6 years ago


reply
You can change the 'timeout' line in the lilo.conf file ... Then you must reload the config file (lilo -C yourliloconffile.conf)

I'm using this :
timeout=80

I think that's something like 8 seconds.... enough for me :)
 
linux008
wrote 6 years ago


reply
Hi to all experts! like all I do have a question:
How to boot SLAX from partition Hda2 where I previously transfered copy cross live burned CD SLAX using KNOPPIX terminal all wnet OK and when start booting I got message:
.......> Kernel panic - not syncing: Attempted to kill init!......
and the system is still frozen please HELP I still believe SLAX should have place on my HARD DRIVE.
I have Portions on: hda1: XpWindows, hda2: CD image of SLAX, hda3: PcLinuxOS all works fine except my new SLAX looks like he don't like environment- I'm only joking.Thank's to experts for helping new users in linux specially SLAX environment.
 
Zero
wrote 6 years ago


reply
What is the file system for hda2? If it is linux the frugal install will not run. It must be fat.
 
Guest
wrote 6 years ago


reply
Zero wrote:
What is the file system for hda2? If it is linux the frugal install will not run. It must be fat.


Crap
 
fahad
wrote 6 years ago


reply
how to run slax from hard drive
 
fundamental
wrote 6 years ago


reply
fahad,
Be specific about problems.
Also read the threads and do something until you get a problem.
 
IndigoSTORM
wrote 6 years ago


reply
I'm in need of little advice here; I have successfully installed Slax on my HD using Liloinst.sh. It is the only operating system on that disk and that is how I prefer it as I plan to run it remotely. The problem is that that LILO boots directly to commandline by default and I want it to startx automatically to get remote desktop access. I had no problems understanding slax.cfg when running from USB flashdrive but lilo.conf gets me confused. Here are the contents of lilo.conf - it is pretty much as it was constructed by liloinst.sh; If I understand correctly it should also prompt for a label but it doesnt. And more importantly why does it not autoexec startx?


boot=/dev/hda1
prompt
timeout=40
lba32
compact
change-rules
reset
install=text
image=/mnt/hda1/boot/vmlinuz
initrd=/mnt/hda1/boot/initrd.gz
label=Slax
root=/dev/ram0
read-write
append = "ramdisk_size=6666 changes=slaxchanges autoexec=startx"
 
fundamental
wrote 6 years ago


reply
Take a look at this modifcation to liloinst.sh that I created a while ago, it might point out the error: http://www.mediafire.com/?ycsug0ymjw1
 
John Hattchet
wrote 6 years ago


reply
try changeing startx to kdm.

Also: Anyone wanting to know how to install Slax on their hard drive: I have made a five step guid at my blogs new location: http://returnzero.8tt.org/wordpress/?p=3#more-3 or goto returnzero.co.nr, and navigate to the post
 
salman
wrote 6 years ago


reply
plz send me method of installing slax 6.0.2 in my hard disk format is ntfs
i am a new user and i dont no how to edit lilo plz send me at
salman_shahid12@yahoo.com
 
fundamental
wrote 6 years ago


reply
salman,
1)Why Slax 6.0.2?
2)Why NTFS?
3)Have you read some of the threads on the process of installation?
4)You are much less likely to receive help if you insist on getting it through private means.
 
side_B
wrote 6 years ago


reply
Hi.
This my contribution to the problem.
On the computers that I have tried, this works
but it is not a new method

Install SLAX-6 on Hard-Disk manually
http://www.webalice.it/side_b/files/SLAX-6_inst_howto.zip
 
enexis
wrote 5 years ago


reply
markds wrote:
Hmmm my fault, the Slax installer isn't in Slax6, I put it back into mine version. I've uploaded it here :

http://backtrack.serveftp.com/backtrack/misctools/slax6-install.kmdr

Its a kmdr script, so download it to where you want, say /usr/share/slax/, then run it using the following :

/usr/bin/kmdr-executor /usr/share/slax/slax6-install.kmdr
Ignore the portion on the "live" version install, use the "real" version install.


Hi markds!
This file is no longer available on the backtrack.serveftp.com, where i find for download ?

Thanks
 
slaxrocks
wrote 5 years ago


reply
Just take a look at this link:

http://www.slax.org/forum.php?action=view&parentID=11806
 
Mozai
wrote 5 years ago


reply
That link just mentions the link to the missing *.kmdr file.
I'm surprised someone hasn't just made a slax module (*.lzm or *.mo) for the installer.

I'm working with virtual machines, and it would be nice to have a tiny SLAX image I can shlep around to mount other, no-longer-booting images with. However, I can't just untar or unzip into a VMware/Qcow2 image and run a batch/shell file inside the disk image. So being able to install to something that appears to be a harddrive would be very useful.
 
Guest
wrote 5 years ago


reply
Mozai ... don't understand your question, you want to be able to do an uncompressed install to a virtual disk partition?

There's a very simple way to do that with slax, to a prepared partition [which might fit your definition??] -- just lzm2dir each of those /base/xxx.lzm files to /, in order as the directory lists them. That done, just boot the vmlinuz in the resulting /boot subdir. Won't need to use the initrd.gz or any ram disk, works [almost] exactly like a real slack install. Needs about 1gb of disk space, takes maybe 4 - 5 minutes to uncompress to a real hd partition.
 
billj
wrote 5 years ago


reply
Hi im a new slax user my pc config pIII aound 200Mhz 128MbRam 20GB no floppy drive and not bootable through usb.I already hav xp installed in it .but there is a problem n xp wont load.i hav succ booted slax from a live cd i don find any slax-install on the k menu.i hav read the manual it says liloinsth will erase my xp i dont want that n the only way i can use my system temporarily is to boot from slax cd.also im not able to see my harddisk partitions in root in cfdisk there is a primary bootable drive with xp inst and 3 other drives all drives r fat32 plz help me give me all commands at console to install slax without affecting xp .
 
Nestor
wrote 5 years ago


reply
Thanks burningbush! Great information.
 
netlander
wrote 5 years ago


reply
Guest wrote:
Mozai ... don't understand your question, you want to be able to do an uncompressed install to a virtual disk partition?

There's a very simple way to do that with slax, to a prepared partition [which might fit your definition??] -- just lzm2dir each of those /base/xxx.lzm files to /, in order as the directory lists them. That done, just boot the vmlinuz in the resulting /boot subdir. Won't need to use the initrd.gz or any ram disk, works [almost] exactly like a real slack install. Needs about 1gb of disk space, takes maybe 4 - 5 minutes to uncompress to a real hd partition.


Is that [almost] that puzzles me I've read the whole thread and many other posts / howtos on the matter of installing decompressing a slax in the HD, but still is not clear to me how to make a REAL slackware with just all that's in slax on the hardisk, a normal slax distro. I have tried making a cp -R of my whole live filesystem but the rc scripts behave like they are running a usb stick distro, look for changes dir .sgn files etc... So... I like slax very much because of its essential efficiency but it seems very hard to get to a relyable installation on hd as reliable as a Slackware minimal fresh off the source.
 
jcsoh
wrote 5 years ago


reply
@ netlander

If you want a real install of slax 9as opposed to a frugal / compressed install) , there is a module :
slax2hd
http://www.slax.org/modules.php?search=slax2hd&category=

Take note: I never used it as I prefer a frugal install.
 
netlander
wrote 5 years ago


reply
jcsoh wrote:
@ netlander

If you want a real install of slax 9as opposed to a frugal / compressed install) , there is a module :
slax2hd
http://www.slax.org/modules.php?search=slax2hd&category=

Take note: I never used it as I prefer a frugal install.


Wow jcsoh!!!
I've seen that module during my research, but never realized that difference with frugal.
I'll give it a try immediately and let you know.
Thank you a lot, Fra
 
seby2193
wrote 5 years ago


reply
markds wrote:
Hmmm my fault, the Slax installer isn't in Slax6, I put it back into mine version. I've uploaded it here :

http://backtrack.serveftp.com/backtrack/misctools/slax6-install.kmdr

Its a kmdr script, so download it to where you want, say /usr/share/slax/, then run it using the following :

/usr/bin/kmdr-executor /usr/share/slax/slax6-install.kmdr
Ignore the portion on the "live" version install, use the "real" version install.



Hey this not work for me.... i installed this on a Fat formatted partition and after lilo boot
she won't start "Warning ! To open an initial console "

PLease help me i really want to install to a hdd , from usb it's work very slow and my Cd-rom driver
has broken.
 
djpro
wrote 5 years ago


reply
I installed SLAX on HDD but when loading, after the "root / toor" and "startx" appears only colored lines on display. Live version goes perfectly. I tried on another PC and happened the same (the same line). I tried with xorgconfig for setting the video card but the same result. I wrote manually in xorg.conf the correct settings, but still not working. I checked the video card drivers and is OK on right place. My videocard is Intel 815. I am not understand what's happening??
 
jcsoh
wrote 5 years ago


reply
Can you try to get the xconf option ie
root
toor
xconf

then only startx
 
djpro
wrote 5 years ago


reply
The same result. I don't understand why the live version works well and the instaled one don't??
 
dogpile
wrote 5 years ago


reply
froi wrote:
extract slax6.0.2 in your root directory. run bootinst.sh (FAT file system, linux OS), bootinst.bat (FAT fs, windows OS), liloinst (linux fs, linux OS) under /boot directory.

Hi
Don't all of these write to your MBR?
Is there a way to boot you live HD installation from your CD or flash drive like I do with the earlier Slax versions by adding commands to "isolinux.cfg" on the CD or whatever? This way you don't touch the MBR.
 
forum
wrote 5 years ago


reply
Don't all of these write to your MBR?
Is there a way to boot you live HD installation from your CD or flash drive like I do with the earlier Slax versions ...

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

Sure -- use the boot-from-usb cd, ~~7mb iso. It's intended to boot from a usbstick on a pc that won't boot from usb, but it'll work just as well for a frugal hdd install. It just goes looking for a /slax subdirectory, and inside it a livecd.sgn file. And as noted, it doesn't touch any MBR.
 
netlander
wrote 5 years ago


reply
Hi Guys, I made a wonderful decompressed install to HD with slax2hd module, fs ext3, and xampp as webserver, it worked really fine for 5 days, but now I have a serious issue. the KDE randomly freezes and the file sys goes incoherent at boot? May be because I have to poweroff??? Th eproblem is the boot becomes very slow 'exception emask' error and the weird thing is my sata hd doesn't work properly, even the other one witj windows xp that I had disconnected before installing boots very slow. any Ideas? My sata controller ? Some bug?
 
a7med
wrote 5 years ago


reply
hiiiiiiiiiiiiiii
 
a7med
wrote 5 years ago


reply
excause me sorry i don't install slax on my hard drive
i very very tired from this problem because i don't install or download any pacage or programms on my live cd
 
jcsoh
wrote 5 years ago


reply
@ a7med

"i very very tired from this problem"
Yor posting is not clear. What is your problem?
You can't install slax to the hard disk?
You can't install modules/package ?
 
technocan
wrote 5 years ago


reply
Hi all .there must be a module named slax2hd for installing Slax to Harddrive .I hope it will be helpfull

Sorry for my bad english
 
Skilled Noob
wrote 5 years ago


reply
Wow!
Coming in here for advice is as interesting and CHILDISG as watching a Mac-o-phile and Micro-Softee go to blows.
Why is it whenever a group gets together in support of a "thjing" there has to be all the "Grade School" clique crap.
Instead of slamming Windows users who don't have a lot of time to learn the mechanations of an opensource OS how about trying to be a little more civil and enhance the view and acceptability of the opensource platforms.
All these Linux users are no less arrogant and self absorbed than lazy windows users are spoiled and underknowledged.
Stopping acting like a bunch of petulant children and IMPROVE the community instead of isolating it further.
 
pipi
wrote 5 years ago


reply
Has anybody ever tested installer from MooLux Linux with Slax?
http://www.moolux.org/
 
pipi
wrote 5 years ago


reply
MooLux Linux Screenshot with installer.
http://www.pendrivelinux.com/wp-content/uploads/Moolux.jpg
 
SlaxHDRam
wrote 5 years ago


reply
For those interested in a "frugal" install to hard drive (which means the files remain compressed), I made a step by step guide in another thread:
http://www.slax.org/forum.php?action=view&parentID=47638
 
CR1T1C4L718
wrote 4 years ago


reply
I have sooooo many things I want to say about how F**KED up this whole guide is, I am sure you put in a great deal of work trying to get people to understand what to do as far as installing Slax but the one thing I see time and time again are people speaking as if EVERYONE already knows wtf you are talking about. I am learning I seen a few different versions of linux and I like it but I like windows better and I hate to say it but just as the other poster pointed out its a shit load simpler to install. I have been here for 6 hours reading and trying over and over again and I would think that if I am smart enough to make this post then I am smart enough to understand directions...its just your directions suck donkey balls for lack of a better expression. Some of us need you to dumb it down..I would like to learn but I mean damn there is no starting point for what you should know when it comes to linux....and what really gets my blood boiling is the way you LINUX PROS speak to people..like because you know more about some OS that 90% of the world does not give two shits about it makes you special....in short I will leave with saying this...if you cant dumb it down for the masses then dont say shit...all the I think this should be done and what should happen here is this and blah blah blah does not help at all, as a mater of fact it only confuses others even more because instead of one set of CORRECT SIMPLE INSTRUCTIONS we have 100 million different fucked up ways to do it and none of them are 100% dummy proof..I am not ashamed to say it I need it dumb down a bit here.....smfh *walks away* man suck slax I am going back to xp...at least MS knows how to make shit fucking simple...
 
jayflood
wrote 4 years ago


reply
copy the slax folder and the boot folder onto the hard drive. Go inside the boot folder and run the bootinst.bat file.

Simple enough?
 
forum
wrote 4 years ago


reply
Ok I do that and you know what I get? NOTHING.....that method does not work
 
mocabilly
wrote 4 years ago


reply
forum wrote:
Ok I do that and you know what I get? NOTHING.....that method does not work


To get Slax on your USB-stick, that can be found as "G:" in windows:

- copy the slax and boot folder directly under "G:\" so you get "G:\slax" and "G:\boot"

- open a windows commandline; click "start", click execute, type "cmd", click enter

- type "G:" (without the quotes) and press enter

- type "cd boot" (without the quotes) and press enter

- type "bootinst.bat" (without the quotes) and press enter

- you will see something like this: Warning! Master Boot Record (MBR) of the device G: will be overwritten.
If G: is a partition on the same disk drive like your Windows installation,
then your Windows will not boot anymore. Be careful!

Press any key to continue, or kill this window [x] to abort...


- if the right drive is listed "G:" (in the example above) press any key, if the presented drive is not
the drive you want have slax installed on, close the window.

- wait for the batch file to complete, you should see should be bootable now. Installation finished. if everything went fine.


To boot from your USB stick

- If the installation (above) went fine, you can reboot your computer.

- When your computer powers up again, you need to press the special F-key that will open a menu where
you can choose from witch device you would like to boot.
This can be the "esc" or "F1" or "F2" or "F8" or "F12", or even an other key.
You can read about witch key you have to use in your bios manual, or just try the key's till you found the
right one.

- If you found how to open the menu, choose "boot from USB", (you might have to select your USB-stick)

- wait a few seconds.. (not longer as a minute, but can take sometimes more then 30 sec.)

- the slax boot-menu will be presented, just choose how you wish to boot slax, and slax will boot that way.


reasons why slax might not work.
Most common mistakes/errors in installing/using Slax in the windows Operating System.

- When you did run the "bootinst.bat" batch file:
- you just "double-clicked" on the bootinst.bat file, instead of running the batch file from the command line.
- you were not logged in as "Administrator" - you have to be logged in as administrator, or user with
administrator 'rights'

- your usb-stick came with U3 software, witch needs to be UN-installed, by using the special U3 -uninstall-software (to delete it is not enough)

- your usb-stick is just not suited to be used as bootable medium, happens less and less, but still occurs.

- your computer-bios just does not support booting from usb, or it was disabled in the bios settings.

- the filesystem on your USB-stick is not fat, but NTFS - format it again, but choose "FAT" as filesystem.

- the fat filesystem is damaged - format it, and install slax again.

- slax is not compatible with the hardware in you computer - try an other (older) slax version.
Also, make sure the MD5 checksum of the slax.tar file matches the MD5 number presented on the download-page
before you start to install slax.


USB vs Harddisk installs

You can install slax to your "C:" as describe above BUT windows will NOT boot again.

If "c:" is not partitioned as the "FAT" filesystem, even Slax won't boot.
In that case you need to re-install your windows bootloader.

In order to install Slax and windows on the same computer, it's best (easiest way) to use unetbootin
http://unetbootin.sourceforge.net/

Unetbootin will install a "bootloader" witch will, when you start your computer, present a menu in where you
can choose the Operating System you want to use (windows or slax)

Hope this will answer your questions.
 
Gremnon
wrote 4 years ago


reply
I have a similar HD install problem.
I've got the Slax LiveCD (One made by using the Build Slax tools) extracted onto a second partition of my hard drive. I'm trying to add an entry to the existing grub boot menu on the existing Linux on the other partition, so I can boot the LiveCD's files from there, and then install to the other partition, over-writing the existing Linux.
Essentially, using the other HD partition in place of the LiveCD. The problem is I don't know what entries to make to the Grub menu.lst
 
mocabilly
wrote 4 years ago


reply
It's been a while since I used grub as a bootloader for slax and I lost my menu.lst (and the backups :( )
but:

http://www.slax.org/forum.php?action=view&parentID=24138&highlight=grub%20menu.lst

or:

http://gr8idea.info/os/tutorials/slax/install.html
 
mocabilly
wrote 4 years ago


reply
Btw, If you browse this very thread, you will find your answer too... (search in this thread for "jcsoh")
 
burninbush
wrote 4 years ago


reply
Essentially, using the other HD partition in place of the LiveCD. The problem is I don't know what entries to make to the Grub menu.lst >gremnon

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

You can use that Search button at the top of the page to look for "menu.lst" -- there will be many examples of working grub boots. Basically, just put everything from the slax.cfg Append line to grub's 'kernel' line.

But ... grub will stop working when you overwrite the existing linux install that is currently hosting the grub executables.
 
Gremnon
wrote 4 years ago


reply
Ah. That's a pain.
Well, we'll try it, I have a backup of Grub to hand if I need it, so no worries. Thanks for your help.
 
jayflood
wrote 4 years ago


reply
Here is my grub menu that was dual booting windows and slax


default 0

timeout 10

color cyan/blue yellow/blue

title SLAX 612 K2.6.27.27
root (hd0,2)
kernel /boot/vmlinuz ramdisk_size=6666 root=/dev/ram0 rw init=linuxrc autoexec=xconf;kdm;telinit~4 changes=changes
initrd /boot/initrd.gz

title WINDOW XP
root (hd0,0)
chainloader +1
rootnoverify)
savedefault
boot
 
jayflood
wrote 4 years ago


reply
Note that windows was on the first partition of hard drive hda1=hd0,0
Slax was on the 3rd partition hda3=hd0,2
 
Leonardo_da_invinci
wrote 4 years ago


reply
I have got an interesting problem installing Slax on hard disk. First I will list out what I was doing.

* I Ubuntu 9.10. This is the OS I always boot into (cold boot? or switching on power)
* I have a virtualbox(latest for this date) installed on it. I have installed a WinXP guest.

Now, I was looking for a small footprint linux (200mb is small for me, I know there are 50mb s as well). I chose Slax.

* I created a virtual machine (with 15GB harddrive). Now I want Slax on it. How?
* I booted my newly created vm with CDLinux (iso)
* I formatted 15GB (see above) harddisk to FAt 32 using GParted (comes with CDLinux CE)
* I rebooted (again with CDLinux)
* Now I can see my harddisk mounted (automatically) /media/sda1
* I copied Slax.tar to the mounted harddisk, and extracted in the root.
* I got /media/sda1/boot and /media/sda1/slax

Problem starts here

* cd /media/sda1/boot; and execute bootinst.sh (Note: I open root terminal in CDLinux to do this, I am root)
* I thought it would go smoothly the way it did with my USB. But this time, it could not install on my harddisk.
* I noticed that bootinst.sh doesnt have execute permission for even root.
* I did, chmod a+x -cR . (whole 'boot' and 'slax' will have exe permission for root)
* I never understand, why the permissions never apply, bootinst.sh show always (rw_ rw_ rw_)

I dont understand where I am was doing wrong. Is that problem with CDLinux? Slax.jar?

Appreciate help.
 
jcsoh
wrote 4 years ago


reply
You formatted your virtual hard disk as fat 16. Bootinst.sh is intended for linux file system . You should try running bootinsh.bat instead.
 
CR1T1C4L718
wrote 4 years ago


reply
Ok now I have found this video http://www.youtube.com/watch?v=Xc3_KBlH3Ig and I don't think I have explained it as best as I could have so let me try once again

1. I have a pc with NO OS ON IT.....

2. My 60GB HDD is partitioned 20GB (ex3 for linux), 40GB (NTFS spare space on hdd)

3. IT HAS NO OPERATING SYSTEM ON IT....WHEN I CUT IT ON IT GOES TO A BLACK SCREEN AND SAYS ERROR HIT F2 FOR REBOOT OR F12 FOR BIOS SETUP (SOMETHING TO THAT EFFECT)

4. I have Slax 6.1.2 on CD

5. I want that same operating system to run as if I put the cd in my drive, but I want it to run off of my Hard Drive....




*BONUS QUESTION*

Ok I have tried Fedora, Ubuntu, Puppy, PC OS and a few others and Slax to me is the best one as far as ease using it, but installing it is another story. So my question would be just like ubuntu/fedora/puppy is there a *Install To Hard Drive* app/icon or some way to make it easier?...because right now it just seems a bit too hard to grasp. I am doing everything you are saying I should do from start to finish and it yields no positive results.....
 
kole
wrote 4 years ago


reply
CR1T1C4L718 wrote:
Ok now I have found this video http://www.youtube.com/watch?v=Xc3_KBlH3Ig and I don't think I have explained it as best as I could have so let me try once again

1. I have a pc with NO OS ON IT.....

2. My 60GB HDD is partitioned 20GB (ex3 for linux), 40GB (NTFS spare space on hdd)

3. IT HAS NO OPERATING SYSTEM ON IT....WHEN I CUT IT ON IT GOES TO A BLACK SCREEN AND SAYS ERROR HIT F2 FOR REBOOT OR F12 FOR BIOS SETUP (SOMETHING TO THAT EFFECT)

4. I have Slax 6.1.2 on CD

5. I want that same operating system to run as if I put the cd in my drive, but I want it to run off of my Hard Drive....




*BONUS QUESTION*

Ok I have tried Fedora, Ubuntu, Puppy, PC OS and a few others and Slax to me is the best one as far as ease using it, but installing it is another story. So my question would be just like ubuntu/fedora/puppy is there a *Install To Hard Drive* app/icon or some way to make it easier?...because right now it just seems a bit too hard to grasp. I am doing everything you are saying I should do from start to finish and it yields no positive results.....


http://gr8idea.info/os/tutorials/slax/install.html
 
francois.e
wrote 4 years ago


reply
@CR1T1C4L718 or forum:

I would agree with you in many ways, but maybe not exactly in the same words. As you can read there is good will on the forum.

IF YOU ALREADY HAVE WINDOWS ON YOUR HARD DISK, a simple way to get slax on your computer without erasing windows is One step SLAX HDD INSTALL in windows C:

http://www.slax.org/forum.php?action=view&parentID=48540

If you are lost within this forum and with the instructions of these overcompetent slax users have a look at the thread of Captain Picard. This should help you make sense of linux and peculiarly of slax:

http://www.slax.org/forum.php?action=view&parentID=23220
 
francois.e
wrote 4 years ago


reply
@Gremnon:

Citation from jcsoh to myself from the following thread to solve my menu.lst problem:

http://www.slax.org/forum.php?action=view&parentID=24138&anchorid=30760#postid30760

I make a folder called slax609cfg in sda2 and I use
changes=slax609cfg and all my changes are saved with no issues.

In my case I make /slax607cfg folder in hda7 as this is where my slax installation is. And hda7 or (hd0,6) are the same. Mepis being installed on the first partition hda1 or (hd0,0).

So here is my final menu.lst:

title SLAX 6.0.7 at hda7
kernel (hd0,6)/boot/vmlinuz ramdisk_size=6666 root=/dev/ram0 rw autoexec=xconf;telinit~4 changes=/slax607cfg
initrd=(hd0,6)/boot/initrd.gz
boot

title MEPIS at hda1, newest kernel
root (hd0,0)
kernel /boot/vmlinuz root=/dev/sda1 nomce quiet splash vga=normal
boot


This is the solution that works for me.
 
francois.e
wrote 4 years ago


reply
@CR1T1C4L718:

AS YOU HAVE NOTHING ON YOUR COMPUTER:

I would suggest that you install MEPIS or PCLINUXOS with their live CD instead of slax on your hard disk if you have no other system already. This would be a lot more simple for you.

For SimplyMepis_blabla_32.iso download:

ftp://ftp.ibiblio.org/pub/linux/distributions/mepis/released/

For PCLinuxos :

http://pclinuxos.com/?page_id=180



Slax might be too complicated for you now. Or if you really want to make a hdd install of slax:

1) you already have the partitions needed for your installation

2) you will need to install grub on the hard disk.

3) you will need to be patient and a little tenacious, but people will help you.

In addition, if you have a usb key it would make things a lot easier.

Are you ready for that?
 
jayflood
wrote 4 years ago


reply
@CR1T1C4L718:
OK, above i mentioned it is as simple as copying the BOOT and SLAX folder to the hard drive and running the bat file, but you didn't mention that you had a linux partition so .......... here are some very SIMPLE instructions, just like the one kole posted above.

1. Boot from slax disk
2. Copy and paste BOOT and SLAX folder from CD to your LINUX partition
3. Open a console
4. Find out what your linux partition is called by typing fdisk -l
5. Change to BOOT folder cd /mnt/hda1/boot replace hda1 for YOUR linux partition
6. Run liloinst.sh by typing in ./liloinst.sh
 
CR1T1C4L718
wrote 4 years ago


reply
Yes I am sorry if I came off harsh or rude (its part of my personality) so again I want to apologize for that. As for setting it up I am trying the last post and will update you when it I finish it as I am doing it now and posting off of my netbook.

Side note*

Everytime I make a new partition I end up with a folder in my hard drive that says "lost+found" is that normal? Because in the video I seen there was nothing in there...
 
francois.e
wrote 4 years ago


reply
It is normal to have lost+found folder in each new partition.

Try Jayflood solution first.
 
CR1T1C4L718
wrote 4 years ago


reply
dude its not working...not sure how else to say it, but it is not working....I get some dos looking screen that says type root for user toor for password mc for something or other startx for xwindows or some ish....and a few other commands and when I type in startx it says


Ring end
space: 24 wanted 32

Fatal server error:
lockup


waiting for x server to begin accepting connections
giving up.
xinit: Connection reset by peer (errno 104): unable to connect to X server
xinit: No such process (errno 3): Server error.
root@slax:~#


so what do I do now??
 
CR1T1C4L718
wrote 4 years ago


reply
I FIXED IT!!!!

See here was the problem and I hope this helps anyone else who might have had this issue...

First all the set ups were correct but a major part of the HDD install was missing

You have to edit the liloinst.sh file by doing this



Open the file /mnt/(partition)/boot/liloinst.sh (the one on the hard drive) with a root text editor.

Edit the line:
append = "ramdisk_size=6666 changes=slaxchanges"

To this:
append = "ramdisk_size=6666 autoexec=xconf;telinit~4 changes=slaxchanges"

If you view this on a screen with a low resolution, the end of the line may return and be on the next line. If you enter it that way, it will not work. It must be on one line.

Save the file.

If you don't make this change, you will need to type the username, password and the start command, such as startx, each time Slax is started.

If you plan to install Slax using this method often, you can edit liloinst.sh and make a Make a Modified Live CD.

For changes to take effect, you must run liloinst.sh after making changes.

Open the root terminal, and type:
bash /mnt/(partition)/boot/liloinst.sh

Insert the appropriate partition where it says "(partition)." It will be something like "sda1."



once I did that all the errors and problems stopped and it loads with no problem....I REALLY HOPE THAT HELPS ANYONE WHO WAS HAVING THE SAME PROBLEM AS ME

and I will continue to learn and if I can provide any help with my learning process I will share what I know...thanks again folks
 
jayflood
wrote 4 years ago


reply
Great stuff. Glad you figured it out and didn't give up.

I could tell you were worked up from having initial troubles, but you kept at it. There is something satisfying about working out a problem yourself. You dun good.
 
francois.e
wrote 4 years ago


reply
This is really good. I asked about the fact that with the lilo bootloader one could not load directly into slax (I am not finding the dam thread). There it is:

http://www.slax.org/forum.php?action=view&parentID=48864

So Guy's solution was the one.

So you found the solution: this is promising.

Good for us.
 
rg
wrote 4 years ago


reply
II'm a long time unix user, and I agree with you there are problems.....

Try puppy linux. I've tried a LOT of distros, and for browsing (and a few other things) it's very good, and simple.





Ycomplicated wrote:
I'll give you an example of why Linux is so darn aggravating. Note that a novice user would have given up a long time ago.

I have an old 500 MHz system that I wanted to setup for my kids to browse with. It's only got 256MB of ram and an old 20 GB hard drive.

My first though was....Linux is the answer! I will provide the security I need to ensure that my kids don't blow up the system downloading crap.

24 hours later after another long compatible distro hunt.....

Ubuntu - Yeah. I can usually count on this but not this time. The installer refuses to recognize the 512MB swap partition IT CREATED. It just keeps telling you that you need at least 128MB for a swap part.

Vector Linux - LOL. Select any option from the boot menu and it reboots the system.

ELive - Installs fine but won't save any configuration changes. So it's take it or leave it I guess.

Knoppix - Boots in 640x480 resolution. However all the application windows are too big for the screen. You can't save any changes because all the buttons are 10 feet off the bottom of the screen.

Kinotix - LiveCD boots but the installed version won't. This happens a lot with LiveCD versions of Linux. It's like a tease for users.

GoblinX - It automatically sets a graphical configuration that doesn't work. X just crashes back to the console.

DSL - Works but it sucks... Might as well use Windows 3.1


Can all of these things above be fixed with a few hours in a console typing in countless commands? Sure but is that what most users want to do or can even understand?


By way of comparison:

Windows 98 - Installs and runs.

Windows XP - Installs and runs. It's slow but it runs.

With both I was never forced into a console. I never typed in a single command. Point, click, done.

It's just plain annoying to work with an OS when you constantly have to throw duct tape on it.
 
kilix
wrote 4 years ago


reply
burninbush wrote:

Given a win9x operating system, that means it's on fat32, so there's no good reason you can't just copy the slax cd contents to a slax6 subdir on your C: disk. You can then use linld097.com or grub.exe to start slax from a dos prompt [i.e., select dos window at w9x boot, think you hit f5 or f8 while the 'starting windows 98' text is showing]
Use that search func at top to search the board on 'linld097' and you'll find posts explaining how to boot slax with it. You'll have to download it, doesn't come with slax. Here below is how my system works.

C:> cd slax6boot
C:slax6boot> linld097 image=vmlinuz initrd=initrd.gz cl=@config vga=normal

where config is just a text file containing lines

root=/dev/ram0
rw
init=linuxrc
nopcmcia
from=/dev/hda1/slax6
3
#changes=/dev/hda4/slax6sav.dat

fix the from=/dev/hda1/slax6 to suit your system and subdirectory -- this is where you copied the contents of the slax cd. Uncomment and edit the changes= line to suit the way you'll be saving changes. The line with '3' ensures slax stops at a text mode login -- after root/toor, you'll run #startx to get KDE up, or perhaps #xconf;startx instead.


line "from=/dev/hda1/slax6" ====> "hda1" is partition contain slax (you have to change it if slax contain other partition); "slax6" is folder contain slax os
 
homoludens
wrote 4 years ago


reply
A few words to the wise:

The rubric for this thread is misleading and is continually misapplied throughout. The only thing 'installed' here is a boot loader and, in the case of LILO, probably the least appropriate boot loader.

LILO is a venerable boot loader in Linux world that predates Grub and is still in use today by a handful of 'distros' including Slackware itself. Slackware 13 has recently departed from its famously conservative history and embraced KDE 4x as its default desktop; however its default boot loader remains LILO (inexplicably for some linux pundits). Whatever may commend LILO as a boot loader ease of use certainly isn't one of them. I am assuming that since Slax is an offshoot from Slackware Tomas' provision of a script to install LILO is largely due to this parentage rather than to any supposed virtues of LILO. However if the very blokey world that tends to be geek world took time out to read the instructions they would know that the preferred boot loader for Slax is the Syslinux boot loader that Tomas also provides a script for - the bootins.sh script also present in the boot folder.

Now if you really must stick Slax on a HDD then you would be wise to partition the drive with a small vfat partiton of around 50mb and copy the boot folder there. Then from within Slax you can navigate to this folder via the Konqueror browser and then open a terminal. Then simply run "sh bootinst.sh" without the quotes to install the syslinux boot loader - this will then use the slax.cfg file as the main boot configuration file. This loader is very versatile and can be easily edited and customised to boot many different OSs on different partitions or even on the same partition. Again its configuration and the various parameters (cheatcodes) are well documented by Tomas - so why not read them?

For example the autoexec cheatcode can be appended to the entry in slax.cfg:

autoexec=startx ---> go to GUI in vesa mode, i.e., without configuring X system to optimise for the hardware (useful when xconf fails for some reason)

autoexec=xconf;startx ---> configure X system and boot to GUI

autoexec=xconf;teleinit~4 ----> configure X system and run processes listed in /etc/inittab for runlevel 4

autoexec=xconf;kde ----> configure X and boot specifically to the KDE desktop

autoexec=xconf;kdm ---> configure X and boot to the KDM - GUI login manager for KDE (has to be installed first)

This stuff is nearly all in the documentation chaps so why not give it a read? It might avoid really silly comments like - "bootinst.sh is for linux so no good for a fat filesystem"!! This is hardly helpful to Slax newbies!!

Also Francoise is very pleased with his one-click 'install' using unetbootin - Francoise, I love you man, but this is just plum bonkers. Unetbootin simply copies the Slax sys image and rd files, renames them, extracts the contents of the isolinux.cfg, installs the syslinux boot loader, and generates a 'best guess' version of the slax.cfg file named syslinux.cfg instead of slax.cfg.

Once you understand the bootinst.sh script you'll find it really is the easiest option - as in fact I am sure Tomas intended - boot loader to run Slax from a drive (usb or HDD). Note I said 'run' - Slax still remains a livecd system. It is not in any meaningful sense installed on the computer. To boot windows in a dual boot set up install the boot loader in the same partiton as windows - which must always be the first - and chainload windows from the slax.cfg provided you have the chain.32 script. Whilst syslinux can boot multiple OSs in different partitions what it can't do is boot from an OS that resides on a separate drive altogether. Here we would need Grub or LILO.

Alternatively for a fairly simple boot loader with a GUI that can chainload multiple linux systems as well as windows you could check out GAG. However you would need boot loaders installed on the partitions for this to work.
 
cichlasoma
wrote 4 years ago


reply
(homoludens: Just FYI, it's common to call what you are talking about "frugal install".)
 
cichlasoma
wrote 4 years ago


reply
homoludens wrote: However if the very blokey world that tends to be geek world took time out to read the instructions they would know that the preferred boot loader for Slax is the Syslinux boot loader that Tomas also provides a script for - the bootins.sh script also present in the boot folder.

Now if you really must stick Slax on a HDD then you would be wise to partition the drive with a small vfat partiton of around 50mb and copy the boot folder there.

Tomas provides a script for syslinux. That's all. It's being "preferred bootloader" is a doubtful claim - what does it mean? Doesn't grub serve just as well or better? You need no special FAT32 partition with it and it's more universal as you mention yourself. One can install it easily with the help of grubconfig script contained in this package: http://ftp.slackware.cz/slackware/slackware-12.1/extra/grub/ . I believe, if a standard way of installing Slax to HDD were to be established, grub would be the way to go.
 
francois.e
wrote 4 years ago


reply
@homoludens:

It is a pleasure to read you ;). And as I read you, I understand that you have a lot of pleasure writing on the slax forum.

I am not particularly pleased with the unetbootin strategy as you write. Take it for what I thought it could be, or what I think it could be now: a mean to try to withold a few newcomers so they could stay a few days or weeks more with slax and the forum. This with the hope that linux turns for them from some kind of pain into some kind of pleasure.

This, just until they read and try some more sophisticated ways of running things the linux or the slax way (your way) on their computer.

I understand and agree that your means of trying to do so are just a lot, but for sure a lot more refined ;)
 
homoludens
wrote 4 years ago


reply
@cichlasoma

I'd rather you didn't argue with me, Cichlasoma. It makes me all scrunchy and tetchy. And I hate that.

Btw I hope that's your name and not an ailment.

@francois

A laudable aim but if it's pleasure you're after I would stick to ice cream and jelly roll. Linux is mostly pain. A hardcore of geeks with a sado-masochistic bent will tout the pleasures of the new technology but they have that far away look and and a strange seemingly permanent grin. It is the invention of the devil bigod and begorrah. Trust me on this one.
 
francois.e
wrote 4 years ago


reply
@homoludens:

I was just alluding to your nickname.
 
francois.e
wrote 4 years ago


reply
Now if you really must stick Slax on a HDD then you would be wise to partition the drive with a small vfat partiton of around 50mb and copy the boot folder there. Then from within Slax you can navigate to this folder via the Konqueror browser and then open a terminal. Then simply run "sh bootinst.sh" without the quotes to install the syslinux boot loader - this will then use the slax.cfg file as the main boot configuration file. This loader is very versatile and can be easily edited and customised to boot many different OSs on different partitions or even on the same partition. Again its configuration and the various parameters (cheatcodes) are well documented by Tomas - so why not read them?

****************************************************************************

Thus this would be the receipe for a fresh install on hdd. Do you recommend it for an install on a hdd on which there is already a windows partition would it be vista, xp or win7?
 
homoludens
wrote 4 years ago


reply
Thus this would be the receipe for a fresh install on hdd. Do you recommend it for an install on a hdd on which there is already a windows partition would it be vista, xp or win7?



Well I think by now I had started to leave the impression that putting Slax on a HDD is crackers and that putting Slax on a HDD with a version of Windows is crackers with cream on top.

However, IF you MUST then I would use an alternative to syslinux unless you're prepared to have your windows on a fat32 file system. If you have an existing windows install chances are it is NTFS anyway so this would rule out syslinux which requires a fat32 or fat16 fs. In this case resize the primary partition to make room for Slax (there is a gparted module for slax or use parted magic)and copy the boot and slax folders to a newly created second partition (vfat). Run the bootinst.sh script to install the syslinux boot loader to this partition. Now install GAG to the MBR and use it to boot your Win whatever and Slax. Simple. But crazy.

Installing a full distro like Ubuntu onto a windows machine is a good deal simpler as the installer wizard will walk you through a repartitioning and then install Grub, with windows added to the menu.lst or grub.cfg if its Grub 2, to the MBR. Here is a good grub tutorial for those with nothing to do on a wet Sunday afternoon:

http://www.dedoimedo.com/computers/grub.html
 
TECHMAN
wrote 4 years ago


reply
Wow! After reading some of these comments, I can see that this is not for newbies. Partitioning, formatting, messing with the MBR... You are asking for trouble. If you follow some of these steps, you may end up with a computer that won't boot. Newbies, be careful.

Newbie, you are here because you have seen SLAX, by booting it on your CD drive or USB flash drive, and you like it. Now you want to be able to save your SLAX settings. Am I getting warm? How about running SLAX like any other program (in a window). Yes, you will be typing a document and be able to switch to SLAX with a mouse click.

How?...You ask. Using a virtual computer.

I was looking for a way of surfing the web without having to worry about spyware, worms, and most viruses (anti-virus and anti-spyware are good, but they slow down my computer). In my search, I found an Appliance, a pre-configured virtual computer that runs on VMWare Player (computer emulation software). I installed VMWare Player on my Windows XP and open the SLAX virtual computer. Now I can surf the web without the worry of some spy program installing itself on my Windows XP.

The virtual computer boots to SLAX 6.1.2 Once running, open FireFox and activate your modules.

Virtual computers are nice. Play with SLAX all you want. If you break SLAX, just replace the SLAX.vmdk with an original copy. To make a backup, just copy SLAX.vmdk.

Getting you hands on the Appliance may take some searching. Search for Browser Appliance.

If you have a torrent client, try: (SLAX.vmdk and VMWare Player included) 295MB
http://btjunkie.org/torrent/Virus-Safe-Internet-Browser-Appliance/4358a42b79f15031bf9140669fbe5d839eaef31b72ec

You can download VMWare Player from: 89MB
http://downloads.vmware.com/d/info/desktop_downloads/vmware_player/3_0

I can share my copy of SLAX.vmdk.
 
francois.e
wrote 4 years ago


reply
@TECHMAN:

I like the way you think.

Have a look at a simple method for newcomers:

http://www.slax.org/forum.php?action=view&parentID=48540&highlight=unetbootin

Please comment or criticize.

Also your intake on the following thread would be appreciated:

http://www.slax.org/forum.php?action=view&parentID=50338&anchorid=50338#postid50338



Why don't you just make a thread from your post? It could be titled: Simple way (or Newcomer's way) to install Slax OS.
 
TECHMAN
wrote 4 years ago


reply
@francois.e

This UNetbooin looks nice. I'll have to try it. (UNetbooin will modify your MBR)

Your links do show very useful information for newbies, but a newbie may not be ready to leave windows just yet. Newbies are just trying SLAX. Dual-booting may not be the way to go for a newbie. Playing with SLAX in a virtual box is much safer. Once they become familiar with SLAX they can try dual-boot. Who knows, they may like SLAX so much that they may even forget about windows all together.

Download the virtual computer. If you like it, you are welcome to make a new thread.

You can download VMWare Player (89MB) from:
http://downloads.vmware.com/d/info/desktop_downloads/vmware_player/3_0

See if you can download my copy of the virtual computer (217MB) from:
ftp://69.235.37.92/SLAX_in_VMWare.zip
 
francois.e
wrote 4 years ago


reply
This UNetbooin looks nice. I'll have to try it. (UNetbooin will modify your MBR)

&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&

It will only modify the booloader files under xp or vista (and maybe win7 as it looks the same as vista).


Easy Slax VMWare install in windows:

1) Download the virtual computer.

You can download VMWare Player (89MB) from:
http://downloads.vmware.com/d/info/desktop_downloads/vmware_player/3_0

2) Download a copy of the virtual computer (217MB) from:
ftp://69.235.37.92/SLAX_in_VMWare.zip

3) How do you make 1 and 2 work together? I really do not know a thing about VMWare, I work with VirtualBox?
 
TECHMAN
wrote 4 years ago


reply
1. Download VMWare Player on your Windows XP or better and install the program.

2. Download a copy of the virtual machine (two files in zip, SLAX.vmdk is the virtual Hard Drive; SLAX.vmx is the settings file) Put the two files in a folder.

3. Double click SLAX.vmx. VMWare starts and Linux boots. Wait for SLAX and start playing.

I use it for browsing the web and avoid most malware from getting into my Windows XP.

Play with SLAX until you break it. If you break it, just replace the virtual Hard Drive, just as new.

I heard of a way to make a vmdk file work with VirtualBox.
 
jayflood
wrote 4 years ago


reply
vmdk images work under vbox, i had a look at the new chromeOS using vmdk in vbox. Slax also runs as a virtual machine in vbox too.

Personally, i think the easiest way for a noob to test slax is on a USB device as it was designed to run. No need to install anything in windows, or to even start windows. No chance of changing your main mbr. Just load it on your stick, run the .bat file and you are away (with some luck).

Virtual machines can have there problems too, like full screen res, and activating modules.
 
francois.e
wrote 4 years ago


reply
I agree with you Jayflood. Finally, the best slax install is the usb method.
 
homoludens
wrote 4 years ago


reply
You could always use the virtualbox module to install windows xp into a virtual machine as a guest of slax running on a stick and have portable windows too. Use the widely available TinyXP iso and hey presto - great for testing out dodgy programs. Of course you could then install vmware on the guest windows running in the host slax and then install slax as a guest on the windows virtual machine. Hmmm. Spooky.
 
jayflood
wrote 4 years ago


reply
LOL @ homodulens.

Thanks for mentioning TinyXP. I have a client that wants to remove linpus light from his acer aspire one (mini laptop). I was toying with the idea of putting slax on it for him, but i think TinyXP would suit it nicely. I believe there is an image floating around especially for the machine i mentioned. I wonder if the wireless works OK

Anyway, when i saw you mention it, the little voice in my head said yes! yes!. (i need to change my meds)
 
Blaze89
wrote 4 years ago


reply
Nomro wrote:
I am a new Slax user, however I did find s simple fix for installing Slax to a hard drive.
In windows i used jkdefrag to prepare the hard drive for partition magic.
I then used partition Magic to reduce my NTFS partition by 5 gigs.
I created a new Fat32 filesystem in the empty 5 gig area.
I downloaded the Live CD ISO and used nero 7 to create the actual live CD.
Using windows I copied the entire cd to the fat32 Partition.
I rebooted with the live CD in the CD drive and with boot from CD options turned on in the Bios.
Once in Slax I navigated to /mnt/hda5/boot and opened liloinst.sh in a text editor.
I scrolled down to the code to install the new lilo.conf settings and added the following lines to dual boot at the end.
other=/dev/hda1
label=WinXP
table=/dev/hda
(my windows partition was /dev/hda you will have to sub yours.)
Then I saved the changes and opened term.
Navigated to the liloinst.sh file and type ./liloinstall.sh
exit and reboot.
On startup you should be able to boot either windows OR slax by typing in "Slax" or "WinXP"
This has worked VERY well for me good luck.
Navigate to

I've done all for your manul. Then Slax 6.1.2 boots it demands login and password. What I must type?

Slax login: root
Password: root
Login incorrect
 
jcsoh
wrote 4 years ago


reply
"Slax login: root
Password: root
Login incorrect"

The password for root is

toor
 
Wolfeshaman
wrote 4 years ago


reply
ok first off alot of this looks like gibberish to me. (i know its not and i recognize some), as it is i would like to install slax as a sidexside with windows XP. i know alot of people do not like to idea as it takes away all the work put into making it into a live cd version. the issue that i am having is that it is the only linux i have found that works on the Presario Sr1120NX, i run a few programs that require windwos be installed which is the only reason that i am keeping it. i do not understand alot of the instructions as it is. could someone please help with installing? i know there is lots and lots of info but something that even an idiot could understand would be appreciated lol. (yes i consider myself an idiot when it comes to linux. i messed with ubuntu for awhile until good computer crashed.)
 
jcsoh
wrote 4 years ago


reply
"i would like to install slax as a sidexside with windows XP"

To install slax side by side with window xp:
slax grub4dos (using window xp bootloader)
http://www.slax.org/forum.php?action=view&parentID=20462

slax grub (depending on window xp)
http://www.slax.org/forum.php?action=view&parentID=37269&highlight=hard%20disk%20install%20jcsoh

slax grub4dos (not depending on window xp)
http://www.slax.org/forum.php?action=view&parentID=43410&anchorid=43480#postid43480

Triple booting
http://www.slax.org/forum.php?action=view&parentID=20957
 
CR1T1C4L718
wrote 4 years ago


reply
homoludens wrote:
A few words to the wise:

The rubric for this thread is misleading and is continually misapplied throughout. The only thing 'installed' here is a boot loader and, in the case of LILO, probably the least appropriate boot loader.

LILO is a venerable boot loader in Linux world that predates Grub and is still in use today by a handful of 'distros' including Slackware itself. Slackware 13 has recently departed from its famously conservative history and embraced KDE 4x as its default desktop; however its default boot loader remains LILO (inexplicably for some linux pundits). Whatever may commend LILO as a boot loader ease of use certainly isn't one of them. I am assuming that since Slax is an offshoot from Slackware Tomas' provision of a script to install LILO is largely due to this parentage rather than to any supposed virtues of LILO. However if the very blokey world that tends to be geek world took time out to read the instructions they would know that the preferred boot loader for Slax is the Syslinux boot loader that Tomas also provides a script for - the bootins.sh script also present in the boot folder.

Now if you really must stick Slax on a HDD then you would be wise to partition the drive with a small vfat partiton of around 50mb and copy the boot folder there. Then from within Slax you can navigate to this folder via the Konqueror browser and then open a terminal. Then simply run "sh bootinst.sh" without the quotes to install the syslinux boot loader - this will then use the slax.cfg file as the main boot configuration file. This loader is very versatile and can be easily edited and customised to boot many different OSs on different partitions or even on the same partition. Again its configuration and the various parameters (cheatcodes) are well documented by Tomas - so why not read them?

For example the autoexec cheatcode can be appended to the entry in slax.cfg:

autoexec=startx ---> go to GUI in vesa mode, i.e., without configuring X system to optimise for the hardware (useful when xconf fails for some reason)

autoexec=xconf;startx ---> configure X system and boot to GUI

autoexec=xconf;teleinit~4 ----> configure X system and run processes listed in /etc/inittab for runlevel 4

autoexec=xconf;kde ----> configure X and boot specifically to the KDE desktop

autoexec=xconf;kdm ---> configure X and boot to the KDM - GUI login manager for KDE (has to be installed first)

This stuff is nearly all in the documentation chaps so why not give it a read? It might avoid really silly comments like - "bootinst.sh is for linux so no good for a fat filesystem"!! This is hardly helpful to Slax newbies!!

Also Francoise is very pleased with his one-click 'install' using unetbootin - Francoise, I love you man, but this is just plum bonkers. Unetbootin simply copies the Slax sys image and rd files, renames them, extracts the contents of the isolinux.cfg, installs the syslinux boot loader, and generates a 'best guess' version of the slax.cfg file named syslinux.cfg instead of slax.cfg.

Once you understand the bootinst.sh script you'll find it really is the easiest option - as in fact I am sure Tomas intended - boot loader to run Slax from a drive (usb or HDD). Note I said 'run' - Slax still remains a livecd system. It is not in any meaningful sense installed on the computer. To boot windows in a dual boot set up install the boot loader in the same partiton as windows - which must always be the first - and chainload windows from the slax.cfg provided you have the chain.32 script. Whilst syslinux can boot multiple OSs in different partitions what it can't do is boot from an OS that resides on a separate drive altogether. Here we would need Grub or LILO.

Alternatively for a fairly simple boot loader with a GUI that can chainload multiple linux systems as well as windows you could check out GAG. However you would need boot loaders installed on the partitions for this to work.



I just about understand almost 90% of everything you said in the above post. I think the best way to get my point across at this point would be to say to MOST people what you just said amounts to a n00b picking up Guitar Hero 5 for the first time and playing a hard song on expert...


I can say for myself even with reading the instructions I still found it difficult to understand, it was not until I did some trial and error did I begin to FULLY understand the directions in the read me file. My suggestion...stop thinking that just because someone wants to try linux out that they MUST already know this that or the next..sometimes (most of the time) they don't know squat and giving them advance (worded) directions onlymakes those same individuals not want to bother with it and go back to the M$ crap that is still just point and click.

I will wrap up my rant with a few words from the great Lupe "Dumb it down for the masses"...It wont take away from Slax/Linux itself and maybe just maybe show people how to do things CORRECTLY and will stop so many of these repeat threads I see. Bye *SMILE*
 
oithona
wrote 4 years ago


reply
jayflood wrote:
LOL @ homodulens.

... I have a client that wants to remove linpus light from his acer aspire one (mini laptop). I was toying with the idea of putting slax on it for him, but i think TinyXP would suit it nicely. ...


Don't do that - I've tried quite a few distros on my AAO and slax is the best.
 
Paul
wrote 4 years ago


reply
hi linux community..

i got an old laptop with windows xp in it with no partition hdd

i only got a total of 30GB of HDD... so 18 GB reamining with all the applications and

240 MB of RAM...

i want to erase the windows xp OS and install slax...

i want to know any step by step procedures?

and is slax a good choice of OS, what kind of linux distros i should use with nice graphics and easy to use...

thanks
 
Btown
wrote 4 years ago


reply
@paul
I suggest try remix 07 if u want to stick with slax or try macpup if u like fancy colour n stuff ....
my bet is with slax remix
i'm downloading remix 07 again (my working lxde got corrupt because of power glitch) so i can have 6.1.2 remix core LXDE desktop koffice n browser,about the same size as macpup with the advantage of office suite :)
 
Rambler
wrote 3 years ago


reply
Newby stuff: Another few questions pertaining to hard drive installation. 1. Is it more advantageous to use a hard drive as opposed to the Live CD? I can imagine it would be as far as saving files and available memory, if drive space is a consideration. 2. Would it not be simpler just to use a second hard drive devoted just for Slax? I am considering this option. I would have downloaded Linux Mint but the file size and my download capability is severly limited ha. I came across Slax through some online research and have loved it thus far. Had a small setback with the USB modem configuration but after some reading here it works fine. Back to the question! 2nd hard drive ... if so, couldn't I just format it from Windows and then copy the Live CD onto that drive? I'm sure I'll need to modify a few strings within the boot files. Any help?
 
jcsoh
wrote 3 years ago


reply
Advantage of hard drive installation over using live cd:
(a) The hard drive is a writeable media , so you can easily save your settings , add /remove modules etc.
(b) Faster boot up.

You don't really need a second hard disk for slax as a small space of 5gb to 10gb is more than enough.
Installing slax is basically a 2 stage process ie to install /use existing bootloader , and copying slax over.

For window xp the grub4dos method is the safest.


slax grub4dos (using window xp bootloader)
http://www.slax.org/forum.php?action=view&parentID=20462

slax grub (not depending on window xp)
http://www.slax.org/forum.php?action=view&parentID=37269&highlight=hard%20disk%20install%20jcsoh

slax grub4dos (not depending on window xp)
http://www.slax.org/forum.php?action=view&parentID=43410&anchorid=43480#postid43480


Triple booting
http://www.slax.org/forum.php?action=view&parentID=20957


Lilo & window xp
http://www.slax.org/forum.php?action=view&parentID=56946

http://www.slax.org/forum.php?action=view&parentID=47638

Dual boot Vista & slax
http://www.slax.org/forum.php?action=view&parentID=25778&highlight=laptop

slax real install
http://www.slax.org/forum.php?action=view&parentID=35713
 
Rambler
wrote 3 years ago


reply
Thanks ... twice even! I'll go that route in all probability. I intend to use it on an older desktop for the kids, once I get it setup as you've described above. I presently have the Live CD running on my laptop for kicks and noticed, though this system is newer, it seems to run better on the older desktop ... ha. If I encounter problems I'm sure to venture back. Thanks again!
 
tae
wrote 3 years ago


reply
Lewis wrote:
TAE NYU DI KO MAGAWA REPORT KO HUHUHU

sorry
 
Jean-Marc
wrote 3 years ago


reply
Is SLAX is still a running Projet ?
 
jcsoh
wrote 3 years ago


reply
Yes. Slax 7 64bit /kde4 is in progress.
http://www.slax.org/forum.php?action=view&parentID=75482
 
forum
wrote 316 days ago


reply
Lewis wrote:
im sorry if this has already been answered somewhere else ive searched but cannot find anything so im sorry if ive missed it.

i know it defeats the object but how would you install SLAX to HD ive looked on one website and it said look in the home directory for an install but i cannot find one?

please Help
 
lee_connell
wrote 316 days ago


reply
Hey all,

I've read through most of these posts and I see some people suggesting to use /dev/sdX or actually directory names with the "from=" boot parameter. I have all my modules on /dev/sdb3 so I append "from=/dev/sdb3"

I have my boot loader all setup and working, however when it boots it says it's looking for modules in /dev/sdb3 and doesn't find them. My screen becomes shrunk where I can barely see the text. The modules are definitely there. What am I missing here?

elilo.confg:

image=vmlinuz
label=LLK
read-only
initrd=initrfs.img
append="root=/dev/ram0 vga=normal ro from=/dev/sdb3"
 
TR
wrote 118 days ago


reply
Hi. I am a fairly new user. I can get myself in trouble, but not typically out....

I have an empty computer. The HD has been wiped. I have a thumb drive running SLAX. I would like to install SLAX as the boot-up OS. I have no idea how to implement the concepts I have read in this thread. What is the first step, and where do I go from there?

Thanks for suffering with me,

TR
 
Korben Dallas
wrote 115 days ago


reply
RE:
TR
wrote 2 days ago


[sigh]
If you have the time, sit down and start reading from the first
message;

"Lewis
wrote 6 years ago"

and learn - that's how I did it.

or just start from;

"jcsoh
wrote 3 years ago"

and you should be in trouble in no time at all!
 

  » 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