LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This 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


Reply
  Search this Thread
Old 04-18-2009, 08:42 AM   #1
4Sixteen
LQ Newbie
 
Registered: Apr 2009
Posts: 6

Rep: Reputation: 0
Lightbulb GRUB to boot ISOs? Multi-OS CD project.


Hello everybody.

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
 
Old 04-18-2009, 09:45 AM   #2
vibinlakshman
Member
 
Registered: Dec 2008
Location: Kerala, India
Distribution: Ubuntu 11.10
Posts: 334

Rep: Reputation: 33
Cool

Quote:
Originally Posted by 4Sixteen View Post
Hello everybody.

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
 
Old 04-18-2009, 12:50 PM   #3
4Sixteen
LQ Newbie
 
Registered: Apr 2009
Posts: 6

Original Poster
Rep: Reputation: 0
Version 0.97.
I will be awaiting further replies, thanks again.
 
Old 04-19-2009, 07:39 AM   #4
4Sixteen
LQ Newbie
 
Registered: Apr 2009
Posts: 6

Original Poster
Rep: Reputation: 0
Bump! Anyone got any ideas?
 
Old 04-19-2009, 07:52 AM   #5
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
Bump-

multicd-4.6.sh
( http://multicd.tuxfamily.org/ )

I am a growing multidostro magi am i.
check out my DSL-Qemu with persistent VHD save below..

You can also put multi distro's on USB-need help-ask.
 
Old 04-19-2009, 08:09 AM   #6
4Sixteen
LQ Newbie
 
Registered: Apr 2009
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by linus72 View Post
Bump-

multicd-4.6.sh
( http://multicd.tuxfamily.org/ )

I am a growing multidostro magi am i.
check out my DSL-Qemu with persistent VHD save below..

You can also put multi distro's on USB-need help-ask.
Thanks.
"I'll be back."
 
Old 04-29-2009, 04:20 AM   #7
4Sixteen
LQ Newbie
 
Registered: Apr 2009
Posts: 6

Original Poster
Rep: Reputation: 0
First of all, I apologize for the bump.

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.

Regards,
- 416
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Multi boot with GRUB asrisk Linux - Newbie 4 07-29-2006 12:39 PM
Grub - multi OS boot hiteshmaisheri Linux - Software 3 01-15-2006 11:19 AM
How to multi boot by GRUB? jiapei100 Linux From Scratch 3 02-22-2005 09:22 PM
Need help with boot loader. Multi boot questions. Grub? 1993gt40 Linux - Software 1 10-16-2003 08:28 PM
GRUB, Multi Linux/Multi Disk Boot gtnorton Linux - Software 1 03-16-2003 03:48 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:02 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration