hello every body.
I know that this subject not new, but i have to say it is not completed in any threat before.
so i want to start again step by step.
so any one can help????
first i have the live-cd and now i want to install slax on my HDD.
i have logical partition NTFS file system.
how i can install the slax to it.
step by step plz.
thanks.
If you want a dual boot system (keep your windows) then document yourself to:
- create an other partition (ext2 or ext3 would be nice)
- copy the contents of your boot cd to the root of that new partition (it's called a "frugal install" and it's the easiest way to install slax to HDD.) DON'T use the slax install scripts if you want to keep using your windows OS
- install grub or some other boot loader
- create, be sure, there is a menu entry in grub's "menu.lst" file, pointing to the slax kernel..
If you are completely new to slax and or linux, be sure to do some thorough research on the
steps you have to take to install slax.
The information you give is not really complete . Slax can be installed to both logical or primary partition.
Assumptions :
(a) You want to do a frugal install (meaning afterward slax will be running live as in a cd or usb , but the only difference is that it will be running from the hard disk. You will still see the followings sub directories /base , /modules , /rootcopy etc. The most important aspect is that you will be able to use slax's lzm modules as it is ie by merely putting the module in /modules or activating it on the fly.
(b) You have window xp in the 1st primary partition (sda1 or hda1).
(c) You want to keep window xp.
STEPS
(A) BACK UP
How you want to do this , I leave it up to you. Disregard back up at your own risk.
(B) PARTITIONING
You need to create a partition for slax. If you entire hard disk is dedicated to window xp , you need to shrink it. Note the fuller the existing partition is , the greater is the risk of "errors /data lost " when shrinking, hence the need for back up.
Step to do before shrinking window partition.
(a) Defrag the files to move as much of the files together to make space for the new partition.
(b) Run check disk /scan disk . Check disk or scan disk you entire hard disk or window partition to mark any bad sector etc.
The actual partitioning:
(1) Use the konsole . It can be done but I am not familiar with the konsole and command line , so I won't comment further on this.
(2) Use a partitioning software like Gparted or Qtparted:
I use Gparted.
Get it at:
I have use /am using Gparted 0.4.3-all.
Since you have not installed slax on the hard disk yet , save the lzm module on any write able media , after booting up slax from the cd or usb , just click on the module . Gparted will show up in KDE System Menu , or you can start it from a konsole , by typing
gparted.
Read Gparted documentation on how to partition /shrink etc:
Get it at:
You have sucessfully create a new partition for slax.
Your hard disk now look like this
sda1 - with window xp
sda2 - for slax
Note : You hard disk partition may be shown as hda1 and hda2 instead of sda1 and sda2 .
(C) FORMATING
Format sda2 (or hda2) with a linux filesystem
As with the partitioning , you can use
(1) Command line from the konsole
(2) Partitioning software like Gparted /Qtparted etc.
If you are using Gparted as suggested earlier , then refer to the documentation at the link given earlier.
(D) MOUNT THE NEW PARTITION
If i recalled correctly if you only create a single partition . Gparted won't auto mount it (If you create a second partition , then it will automount the partition created earlier when it rescan).
From a konsole type
mount /dev/sda2
You can also right click the the partition name in the list shown on Gparted to mount it , but it won't allow this immediately after creating the partition . You need to quit Gparted and restart it.
(E) ADD A BOOT LOADER (GRUB /LILO etc)
I am using Grub , so I confined my comments to grub only.
Continue From last posting . As the posting get chopped off.
(3) Install Grub
I assumed Grub is to be install to sda2 , as you want to keep windox xp (in sda1 ) as it is.
GRUB installation "install SLAX on an iPod nano " by Jakemikey . I know it says ipod but it work for hard disk.
From a konsole , type (or cut and paste)
grub-install --root-directory=/mnt/sda2 /dev/sda
If grub is successfully installed , then in sda2 , you will see
/boot/grub , with grub files inside.
(F) menu.lst
You need a menu.lst . This is the menu use by grub.
The menu.lst must be placed in sda2 in /boot/grub , where all the grub files are.
The menu.lst is just a text file so you can just use kwrite to write it , or create an empty text file and cut and paste from the sample below:
default 0
timeout 10
color cyan/blue yellow/blue
title SLAX 609 IN SDA 2
root (hd0,1)
kernel /boot/vmlinuz ramdisk_size=6666 root=/dev/ram0 rw init=linuxrc autoexec=xconf;kdm;telinit~4
initrd /boot/initrd.gz
title WINDOW XP IN SDA 1
root (hd0,0)
chainloader +1
rootnoverify)
savedefault
boot
I do not include options like toram , changes=. Any option can be placed in the kernel line.
You are done. Reboot the computer after making sure your computer bios is set to boot the hard disk first.
It's not working. But I think it's something about the syntax, I copy and past but Grub adds a sign in the middle(???) It's Ubuntu's Grub (Ubuntu is fucked), 8.10.
I'll search a manual for Grub commands. I think it's only that.
Sorry, it was only a syntax problem, it's working ok. Without the menu-options (splash screen) but it seems that all it's working ok (and fast!). Thanks.
Thanks a helpful thread, I am testing out slax and have been using an older version on a laptop (newer version judders to a halt, but the lap top does only have 128mb Ram) So I am giving the latest KDE version a try out on a desk top with 256Mb Ram and am thinking of installing to a 2G hard drive
Thanks a helpful thread, I am testing out slax and have been using an older version on a laptop (newer version judders to a halt, but the lap top does only have 128mb Ram) So I am giving the latest KDE version a try out on a desk top with 256Mb Ram and am thinking of installing to a 2G hard drive
I have tied to make a boot iso, using run Slax from Hard drive, but no wriring drive on this computer so I transfer image to burn using kde Burner, but still no joy.move cd writer to this comp and try again live?
I have tied to make a boot iso, using run Slax from Hard drive, but no wriring drive on this computer so I transfer image to burn using kde Burner, but still no joy.move cd writer to this comp and try again live?
The information you give is not really complete . Slax can be installed to both logical or primary partition.
Assumptions :
(a) You want to do a frugal install (meaning afterward slax will be running live as in a cd or usb , but the only difference is that it will be running from the hard disk. You will still see the followings sub directories /base , /modules , /rootcopy etc. The most important aspect is that you will be able to use slax's lzm modules as it is ie by merely putting the module in /modules or activating it on the fly.
(b) You have window xp in the 1st primary partition (sda1 or hda1).
(c) You want to keep window xp.
STEPS
(A) BACK UP
How you want to do this , I leave it up to you. Disregard back up at your own risk.
(B) PARTITIONING
You need to create a partition for slax. If you entire hard disk is dedicated to window xp , you need to shrink it. Note the fuller the existing partition is , the greater is the risk of "errors /data lost " when shrinking, hence the need for back up.
Step to do before shrinking window partition.
(a) Defrag the files to move as much of the files together to make space for the new partition.
(b) Run check disk /scan disk . Check disk or scan disk you entire hard disk or window partition to mark any bad sector etc.
The actual partitioning:
(1) Use the konsole . It can be done but I am not familiar with the konsole and command line , so I won't comment further on this.
(2) Use a partitioning software like Gparted or Qtparted:
I use Gparted.
Get it at:
I have use /am using Gparted 0.4.3-all.
Since you have not installed slax on the hard disk yet , save the lzm module on any write able media , after booting up slax from the cd or usb , just click on the module . Gparted will show up in KDE System Menu , or you can start it from a konsole , by typing
gparted.
Read Gparted documentation on how to partition /shrink etc:
Get it at:
You have sucessfully create a new partition for slax.
Your hard disk now look like this
sda1 - with window xp
sda2 - for slax
Note : You hard disk partition may be shown as hda1 and hda2 instead of sda1 and sda2 .
(C) FORMATING
Format sda2 (or hda2) with a linux filesystem
As with the partitioning , you can use
(1) Command line from the konsole
(2) Partitioning software like Gparted /Qtparted etc.
If you are using Gparted as suggested earlier , then refer to the documentation at the link given earlier.
(D) MOUNT THE NEW PARTITION
If i recalled correctly if you only create a single partition . Gparted won't auto mount it (If you create a second partition , then it will automount the partition created earlier when it rescan).
From a konsole type
mount /dev/sda2
You can also right click the the partition name in the list shown on Gparted to mount it , but it won't allow this immediately after creating the partition . You need to quit Gparted and restart it.
(E) ADD A BOOT LOADER (GRUB /LILO etc)
I am using Grub , so I confined my comments to grub only.
Not really . If you install grub to a separate partition or subdirectory (just remember never to delete it) , it can be use to boot most linux merely by amending the menu.lst.
Basically, learn to do it once and you can use it many times.
mahmoud_liby wrote:
first i have the live-cd and now i want to install slax on my HDD.
i have logical partition NTFS file system.
how i can install the slax to it.
step by step plz.
thanks.
hallo well, i can see who can install on partition, but i whitch only install slax on my pc
"The file /mnt/hda1//boot/grub/stage1 not read correctly."
It happen to me on one computer but I think for "stage2" ie the message i get is "stage2 not read correctly.".
I didn't solved it as I gave up and used grub for dos.
mmmmm, aparently I get to bot from hd... but the thing is that if I not put the image of live CD, then it doesnt run... (I have copied the contents of the live CD to the virtual HD)