Create the slaxchanges directory mkdir -p /mnt/sda1/slaxchanges
Edit the "/mnt/sda1/boot/slax.cfg" file. At "LABEL xconf", "LABEL startx" and "LABEL slax" sections, put the "changes" variable at "slaxchanges" value: changes=slaxchanges
Step 6: Extlinux
Create directory and file: mkdir -p /mnt/sda1/boot/extlinux
cd /mnt/sda1/boot/syslinux
cp syslinux.cfg ../extlinux/extlinux.conf
Dude wrote: XAVIER wrote:Also,
Its recommended you don't use a journaling file system for your saved changes partition.EXT2 is not a journaling filesystem
Dude,
I realize that.
What she seems to imply is thats where this was leading up to.
this has some problems (eg if the usb is idly being used), I wrote extlinuxinst.sh I while ago, just a slightly modified bootinst.sh, download here: http://somelinuxguy94.googlepages.com/extlinuxinst-0.4.tar.gz
and copy the contents to boot/, then run boot/extlinuxinst.sh
Create the slaxchanges directory mkdir -p /mnt/sda1/slaxchanges
Edit the "/mnt/sda1/boot/slax.cfg" file. At "LABEL xconf", "LABEL startx" and "LABEL slax" sections, put the "changes" variable at "slaxchanges" value: changes=slaxchanges
Step 6: Extlinux
Create directory and file: mkdir -p /mnt/sda1/boot/extlinux
cd /mnt/sda1/boot/syslinux
cp syslinux.cfg ../extlinux/extlinux.conf
@all , I believe ext2 or 3 or even XFS would be a more piratical choice if your strictly working with linux applications , also please bear in mind some symlinks cannot survive on a fat32 partition.
XFS or ext3 seems to be the best choice for anyone using slax + another linux OS. (on a usb drive)
Fat32 seems to be the best choice for anyone using slax + a "post" windows 95b/c based OS. (on a usb drive)
XAVIER wrote:
@all , I believe ext2 or 3 or even XFS would be a more piratical choice if your strictly working with linux applications , also please bear in mind some symlinks cannot survive on a fat32 partition.
XFS or ext3 seems to be the best choice for anyone using slax + another linux OS. (on a usb drive)
Fat32 seems to be the best choice for anyone using slax + a "post" windows 95b/c based OS. (on a usb drive)
Note that slax uses posixOVL on fat to provide the same functionality required for linux.
ext2/3 aren't the best partitions for a usb drive, XFS would be better, but there is no xfslinux and liloinst.sh doesn't work properly for a number of people, also the built-in installer doesn't make a menu, which many people prefer ;)
I would try to fix some of the problems with the installer(it doesn't work for me on suse :( ), but I have no experience with lilo, and it isn't as straightforward as extlinux
XAVIER wrote:
While XFS might work better , it seems there is little shrink support in XFS compared to EXT , i maybe wrong , someone correct me if i am.
It would also be good if someone wrote a bootable XFS tutorial with support for the menus.
afaik, lilo support menus but it isn't enabled by default using liloinst.sh
EDIT: Apparently in liloinst.sh, install=text needs to be changed to install=menu :D
LiLo and Extlinux are different bootloaders, extlinux can properly install on pretty much any computer, lilo has some problems in that it gives init errors for some users, I think the reason is that it tries to detect and adjust its config to match the root device, which is /dev/ram0, many distros don't have it (suse, ubuntu), and I'm trying to figure out how to generate it as well as changing lilo to look the same (or almost the same) as the syslinux/extlinux loader
some-guy wrote:
this has some problems (eg if the usb is idly being used), I wrote extlinuxinst.sh I rwhile ago, just a slightly modified bootinst.sh, download here: http://somelinuxguy94.googlepages.com/extlinuxinst-0.4.tar.gz
and copy the contents to boot/, then run boot/extlinuxinst.sh
Thanks for extlinuxinst. It works like a charm. Slax loads significantly faster with my USB stick formatted with ext2 vs FAT16.
alisou wrote:
Install extlinux: cd syslinux-3.63/extlinux/
extlinux --install /mnt/sda1/boot/extlinux
Here is what I have:
root@slax:/mnt/sdc1/boot/syslinux/syslinux-3.63/extlinux# ls
Makefile ext2_fs.h extlinux* extlinux.c
Here is what I get:
root@slax:/mnt/sdc1/boot/syslinux/syslinux-3.63/extlinux# extlinux --install /mnt/sdc1/boot/extlinux
-bash: extlinux: command not found
root@slax:/mnt/sdc1/boot/syslinux/syslinux-3.63/extlinux#
Hi, i'm a new user!
I use slax on FAT32 USB from 3 days, but i want to use it on ext2.
The version which i use is 6.0.9.
I've make all the steps but at the reboot appears this message: "Missing operating system".
What can i do?
I found this page very helpful, I wasn't looking for SLAX in particular, but looking for instructions on how to make a bootable USB stick with ext2 instead of vfat.
Two problems I ran into:
Step 1: you also must set the "bootable" flag. At least, for my hardware, I was unable to boot from the USB stick until I set the bootable flag in the partition table (with fdisk, command 'a').
Step 6: should be "./extlinux" (as mentionned above).
I tried this, although on a local hard drive instead of a USB,
also instead of creating the 'slaxchanges' I used the original slax directory.
The problem is (even when trying this example to the letter, using USB and slaxchanges)
it boots but just at the beginning it stops saying:
'/boot/vesamenu.c32: not a COM32R image'
This file is in the correct place as the 'Comboot/menu.c32' wiki says
,"the same directory as the configuration file for SYSLINUX, EXTLINUX and ISOLINUX",
and for me that is the same directory as 'extlinux.conf'.
When this "question" comes I write 'slax' and it'll continue to boot.
Can anyone say what I missed?
UPDATE: is there any special attribues that needs to be set on that file?