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.
I have in mind putting together a CD with multiple OS'es.
I'd like to use GRUB to allow me to choose what to load.
I have an idea on how to make a GRUB-driven ISO, I've searched on the topic before I decided to come here for direct help.
On this very forum, I found an old topic, and the solution at that time was slamming together all distros on a CD, renaming the kernels when needed. I don't wish going that way.
Can't GRUB boot a given ISO image?
Or better, be able to "emulate" the root directory for the distro?
I've tried test-booting a LiveCD's contents from a hard drive folder with GRUB, the error was that the root filesystem couldn't be found.
I'm by no means a Linux expert, so please include as much detail as you like, I have much to learn. I don't even know what GRUB version I have, for instance.
I have in mind putting together a CD with multiple OS'es.
I'd like to use GRUB to allow me to choose what to load.
I have an idea on how to make a GRUB-driven ISO, I've searched on the topic before I decided to come here for direct help.
On this very forum, I found an old topic, and the solution at that time was slamming together all distros on a CD, renaming the kernels when needed. I don't wish going that way.
Can't GRUB boot a given ISO image?
Or better, be able to "emulate" the root directory for the distro?
I've tried test-booting a LiveCD's contents from a hard drive folder with GRUB, the error was that the root filesystem couldn't be found.
I'm by no means a Linux expert, so please include as much detail as you like, I have much to learn. I don't even know what GRUB version I have, for instance.
Thank you in advance.
-416
"grub-install -v "gives u grub version , but this info is not that much useful .. root filesys is making u problem right .. !! Dont worry solutions can be made
Secondly, I'd like to thank Linus72 for his script. It helped me realize that GRUB wasn't the answer to my problems, but ISOLINUX was.
GRUB is a great piece of software, but you still need to use some of ISOLINUX's components if you'd want to put, for example, a 1.44 MB bootable floppy image on your CD.
With this occasion, I have also learned a bit about LiveCD's.
Here's my experience summed up:
I wanted to put Insert Linux somewhere other than the root.
To accomplish this, I had to look into its miniroot.lz (LZMA archive).
I mounted the miniroot file after I extracted it, and made changes to the linuxrc file. Here I discovered that Insert Linux can accept insert_dir and insert_name from boot parameters, but I didn't test it.
I just wanted to share this; everybody who wants to create their own multi OS DVD or CD should first get SYSLINUX, a big package which containts ISOLINUX, then if they want to have a clean root directory on the media, they must alter the miniroot files.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.