It is currently Fri Oct 31, 2014 6:22 am

All times are UTC - 8 hours




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 5 posts ] 
Author Message
 Post subject: How to add Slax Live CD to UBCD?
PostPosted: Thu Jun 12, 2008 11:42 am 
Offline

Joined: Thu Jun 12, 2008 11:24 am
Posts: 5
can anyone tell me the proceture to add the slax live cd to UBCD?i want the slax option to be present in the user-defined tools so that i can easily boot slax from within UBCD.I havae slax version 6 and UBCD version 4.i tried the method posted by deedot under How to add slax 5.1.8.1 to UBCDv4
but it didn't work for me and it sez checksum error




thanx in advance :P


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jun 13, 2008 11:16 am 
Offline

Joined: Fri Jun 13, 2008 11:06 am
Posts: 19
My confg file is as follows:

MENU INCLUDE /menus/defaults.cfg
LABEL back
MENU LABEL ..
KERNEL menu.c32
APPEND /menus/main.cfg
LABEL Slax
MENU LABEL Slax
KERNEL /slax/boot/vmlinuz
APPEND vga=769 changes=slaxsave.dat max_loop=255 initrd=/slax/boot/initrd.gz init=linuxrc load_ramdisk=1 prompt_ramdisk=0 ramdisk_size=20000 root=/dev/ram0 rw

What I have changed is to request a larger ramdisk_size and I put the boot folder in SLAX cd under slax folder. And of course the KERNEL and initrd directories. It works on my SLAX 6. Try it!


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jun 13, 2008 4:19 pm 
Offline

Joined: Thu Jun 12, 2008 11:24 am
Posts: 5
finally got it after experimenting
1.First extract the content of both Slax and UBCD to your harddisk. I am assuming the content of slax is in c:\slax, while the content of UBCD is in c:\ubcd.
2.from the c:\slax\boot folder copy vmlinuz to c:\ubcd\boot\slax

then copy c:\slax\boot\initrd.gz to c:\ubcd\boot\slax.gz

3.Edit "c:\ubcd\custom\custom.cfg" with a text editor:
LABEL Slax
MENU LABEL Slax
KERNEL /boot/slax
APPEND initrd=/boot/slax.gz ramdisk_size=6666 root=/dev/ram0 rw autoexec=xconf;telinit~4 changes=/slax/

if u want to run slax off the RAM

LABEL Slax2RAM
MENU LABEL Slax2RAM (loads slax to ram)
KERNEL /boot/slax
APPEND initrd=/boot/slax.gz ramdisk_size=6666 root=/dev/ram0 rw copy2ram autoexec=xconf;telinit~4

4.that's it.now just recompile the iso image and you are done :lol:


Top
 Profile  
 
 Post subject:
PostPosted: Mon Sep 22, 2008 5:45 pm 
Offline

Joined: Thu Sep 18, 2008 5:27 pm
Posts: 20
Location: CA, US
@darelphilip
Thanks for the above.
Of concern is trying to use the Startup Menu and CheatCodes when Slax v6.0.7 starts up using the Ultimate Boot CD.
The contents of the Slax-6.0.7 ISO are:
Code:
/slax/boot/dos
/slax/boot/isolinux
/slax/boot/syslinux
/slax/boot/bootinst.bat
/slax/boot/bootinst.sh
/slax/boot/chain.c32
/slax/boot/initrd.gz
/slax/boot/liloinst.sh
/slax/boot/mt86p
/slax/boot/slax.cfg
/slax/boot/slax.png
/slax/boot/vesamenu.c32
/slax/boot/vmlinuz

/slax/slax/modules
/slax/slax/optional
/slax/slax/rootcopy
/slax/slax/tools
/slax/slax/changelog.txt
/slax/slax/cheatcodes.txt
/slax/slax/GNU_GPL
/slax/slax/LICENSE
/slax/slax/livecd.sgn
/slax/slax/make_iso.bat
/slax/slax/make_iso.sh
/slax/slax/requirements.txt
/slax/slax/slaxsave.zip

Note that besides the dos, isolinux, and syslinux directories, there are also the slax.cfg and the cheatcodes.txt file further refining Slax's boot options.
The /slax/boot/slax.cfg contains additional Menu items (LABELS) besides the Slax and Slax2RAM listed in the "c:\ubcd\custom\custom.cfg", e.g.:
Code:
...
LABEL xconf
MENU LABEL Slax Graphics mode (KDE)
...
LABEL startx
MENU LABEL Slax Graphics VESA mode
...
LABEL slax
MENU LABEL Slax Text mode
...
LABEL memtest86
MENU LABEL Run Memtest utility
...
,
memtest86 could be used as a replacement for the UBCD411 /boot/memtest

Would Icecube's bottom post 'Tutorial for systemrescue 0.4.1' at thread http://www.ultimatebootcd.com/forums/viewtopic.php?t=901 maybe help out here with Slax :?: :?:


Top
 Profile  
 
 Post subject:
PostPosted: Mon Sep 29, 2008 12:01 am 
Offline

Joined: Fri Jan 11, 2008 2:52 pm
Posts: 1278
To use the Startup Menu and CheatCodes when Slax v6.0.7 starts up when integrated in Ultimate Boot CD, do the following:

Extract the contents of UBCD to c:\ubcd-extract\.
Extract the slax iso to c:\slax-extract\.

The contents of the Slax-6.0.7 ISO are:
Quote:
/slax/boot/dos/ ==> Delete this directory
/slax/boot/isolinux/ ==> Delete this directory
/slax/boot/syslinux/ ==> Delete this directory
/slax/boot/bootinst.bat ==> Delete this file
/slax/boot/bootinst.sh ==> Delete this file
/slax/boot/chain.c32 ==> Delete this file (not used in the slax.cfg)
/slax/boot/initrd.gz
/slax/boot/liloinst.sh ==> Delete this file
/slax/boot/mt86p
/slax/boot/slax.cfg
/slax/boot/slax.png
/slax/boot/vesamenu.c32
/slax/boot/vmlinuz

/slax/slax/modules/
/slax/slax/optional/
/slax/slax/rootcopy/

/slax/slax/tools/
/slax/slax/tools/WIN/ ==> Delete this directory

/slax/slax/changelog.txt
/slax/slax/cheatcodes.txt
/slax/slax/GNU_GPL
/slax/slax/LICENSE
/slax/slax/livecd.sgn
/slax/slax/make_iso.bat
==> Delete this file
/slax/slax/make_iso.sh ==> Delete this file
/slax/slax/requirements.txt
/slax/slax/slaxsave.zip


It isn't necessary to delete those files, but it look cleaner.

Copy the directory slax from c:\slax-extract\ to c:\ubcd-extract\.

Edit "c:\ubcd\custom\custom.cfg" with a text editor:
Code:
MENU INCLUDE /menus/defaults.cfg
LABEL back
   MENU LABEL ..
   KERNEL menu.c32
   APPEND /menus/main.cfg
LABEL slax
   MENU LABEL Slax V6.07
   CONFIG /slax/boot/slax.cfg

The CONFIG command loads the slax config file for Slax, with all options as the normal Slax cd, but it requires a new version of isolinux.
Download syslinux from http://www.kernel.org/pub/linux/utils/boot/syslinux/.

Extract the syslinux archive to "c:\syslinux\".

To update isolinux for the CD version
- Copy "c:\syslinux\core\isolinux.bin" to "c:\ubcd-extract\isolinux\".
- Copy "c:\syslinux\com32\menu\menu.c32" to "c:\ubcd-extract\isolinux\".
- Copy "c:\syslinux\com32\modules\chain.c32" to "c:\ubcd-extract\isolinux\"
- Copy "c:\syslinux\memdisk\memdisk" to "c:\ubcd-extract\isolinux\"

To update syslinux for the bootable USB key
- Copy "c:\syslinux\core\ldlinux.sys" to "c:\ubcd-extract\syslinux\".
- Copy "c:\syslinux\mbr\mbr.bin" and "c:\syslinux\ldloader.bss" to "c:\ubcd-extract\tools\ubcd2usb\".
- Copy "c:\syslinux\com32\menu\menu.c32" to "c:\ubcd-extract\syslinux\"
- Copy "c:\syslinux\com32\modules\chain.c32" to "c:\ubcd-extract\syslinux\"
- Copy "c:\syslinux\memdisk\memdisk" to "c:\ubcd-extract\syslinux\"

You can also update the vesamenu.cfg of slax.
- Copy "c:\syslinux\com32\menu\vesamenu.c32" to "c:\slax\boot\vesamenu.c32"

Remaster the iso:
If you don't know how to do it, see http://www.ultimatebootcd.com/forums/viewtopic.php?t=1343.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 5 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group