Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
..is it possible? to have a menu when it boots and choose one of them? i mean Slax, DSL, Feather and others, can all fit in 700MB, in one cd and choose whatever i want to boot from that menu?
Yes it can be done. I use RIP linux as the host system because that has a grub patch which allows one to have a grub menu on the cdrom. To see how the entries in the grub menu should look for each distro, look in the file called isolinux.cfg .
I also have a bunch of extra tools in the images directory. Instead of putting every one of these in the menu, I can just edit the boot entry. It helps if you know how to edit the grub menu at boot up time.
For example, I can type e to edit this entry....
title Ranish Tool V2.44
kernel /boot/memdisk initrd=/images/ranish.img
to boot a tool called pci.img ( scans for pci cards )
title Ranish Tool V2.44
kernel /boot/memdisk initrd=/images/pci.img
When it's time to make the iso and cdrom, go into the cd working directory and type: cdrecord dev=0,0,0 blank=fast
well, back to the game...
i got RIP , mounted the image, i found that isolinux.cfg ...
also mounted Slax, founded his isolinux.cfg and understand where that
kernel /boot/vmlinuz2 max_loop=255 init=linuxrc livecd_subdir=/ load_ramdisk=1 prompt_ramdisk=0 ramdisk_size=7777 root=/dev/ram0 rw came from...
but still, what do i do next..
copy all the files from the Slax iso into RIP iso? and so one with all the others distros? or create a directory inside RIP iso, and there put all the files from Slax?
or just put the .iso file of Slax inside the iso file of RIP and just modify the isolinux.cfg of RIP and thats it?
I do it this way...
cd /home
mkdir -p /home/distros/rip distros/slax distros/feather distros/insert distros/rescue
Then I put each distrobution into the cdrom, mount it and copy the entire contents to it's respective directory which I just created.
Next I make a directory to build the new cd in...
mkdir /home/bootcd
Next I copy the entire distros into the working directory. I do just one at a time and pay attention if a file is the same that you don't overwrite anything critical.
With Insert and Feather I leave the kernels in the /isolinux directory and the others go in the /boot directory.
Note: the new version of Feather is different than older ones; I'm using the newer version here. Also, most Knoppix rebuilds are designed to be in the /KNOPPIX directory so that would make it difficult to have more than one knoppix on the cdrom. Insert linux is an exception as they use the /INSERT directory.
If you have distros which have kernels and initrd of the same name you will need to rename one set. Make sure to call it correctly in the grub menu.
Take a look at www.ultimatebootcd.com
I've customized it and added several windows boot disks, msdos, and linux (tomsrbt, rescue linux) in less de 200Mb!
can someone explain me a understandable way how to do this
Ouch!
Knoppix is too big and uses every bit of space it can, even on a dvd now. Therefore, you need to use the knoppix remaster livecd distros like Feather, Insert or similar.
While booted in your linux distro, put a livecd distro in the cdrom and have a look at the contents of that cdrom.
To see how the entries in the grub menu should look for each distro, look in the file called isolinux.cfg .
Originally posted by homey ...
Then I put each distrobution into the cdrom, mount it and copy the entire contents to it's respective directory which I just created.
...
Homey, What if I want to make multi distro from iso images that reside in harddisk instead from distro cd?
I have iso of dsl, vector linux installation, RIP in my hdd of which all of 'em I want to put in one cd with RIP based like you suggested but...
"without sacrificing more than one cd" -->this is pathetic I know but can it be done?
How?
While working on ubcd, I wanted to add several distros. There are some tutorials on how to do this, but unfortunatelly, they have been offline for a while.
The secret is this:
Get all the files from your cds that you want to include (this means mounting the iso's and copying the contents to a temporary folder)
Then, see if all the linuxes use isolinux for bootup (usually this means there is a isolinux directory somewhere in the distribution).
Next, you have to merge all the isolinux-es into one isolinux. This means, having to modify by hand isolinux.cfg to add all your boot images (you can rename vmlinuz and initrd if there are more than one, insert them into the same directory and change the apporpriate line in isolinux.cfg).
You will also (maybe) need to create custom texts to display while pressing F1, F2... etc.
Take a look at this link, maybe it will help you. This is not a how-to, it just points out certain things.
Ok. After finishing with isolinux, you can create the bootable iso image, using as boot sector isolinux.bin from the folder where you have isolinux.cfg
FIrst of all, my linux box is an OLD pc cannot do fancy things including burning cd.
Now, regarding my first question I use nero (in win, more powerful pc) to burn iso image to a cd-rw one at a time for 3 times and erase for 3 times too.
After each burn I copied them to a directory like homey suggested.
Here's my hierarchy for 3 distros before I burn to cd.
Code:
bootcd dir
boot dir-->from RIP
(file and dir from RIP)
dsl-1.4 dir--> made by me
(file and dir from dsl)
vl-5.1 dir--> made by me
(file and dir from vector linux installation)
2 questions:
1. Is there anything wrong with my setup?
2. I know how to make the dsl and vector listed in grub menu. If i'm not wrong, just put the list in menu.lst from RIP's grub config.
The tricky one is that the kernel boot. Instead of they boot the default kernel- which can be taken
from their own isolinux.cfg-I want to make that if the dsl or vector linux selected from grub, the dsl or vl boot like the original . Do you get my point?
Like this... grub->choose dsl->dsl's own boot options(with its own splash screen,etc.).Same for vl.
How to do this?
Multi distro built by trustbyte can't do this. It just boot selected distro with default kernel or let the user use grub for boot options.
I don't want choosing options using grub. Confusing. Just want grub act as distro selector. Period.
Well, I'm kinda embarassed to ask/say this...
but what I Want to ask is "how to customize all this multi distro thing in windows environment?"
More accurately is "In windows environnment, how to make a bootable linux cd from a directory filled with linux files? "
If these questions aren't allowed in lq.org, well I just ask somewhere else in the internet forum.
F*** nero express 6 for the lack of features. F*** for being an idiot and ignorant person.
Sorry.
Maybe I will be so desperate that I have to download the windows version of makeisofs,cdrecord,dd,etc/using mingw.
And this put me more to a shame.
btw, about
Quote:
Like this... grub->choose dsl->dsl's own boot options(with its own splash screen,etc.).Same for vl.
How to do this?
If I have the opportunity, I'll play around with grub's command: chainloader or something.
and...
Code:
mount -t iso9660 -o ro,loop=/dev/loop0 SOME_filename.iso /home/test
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.