LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 02-09-2006, 07:22 AM   #1
engcheng_sg
LQ Newbie
 
Registered: Feb 2006
Posts: 6

Rep: Reputation: 0
how to multiboot through GRUB using many ISOs


Hi all.

I've this wild thought which I'm not too sure if its possible. Hereby sharing with you for a second option or perhaps, a laugh.

There are many live CDs distros on the web which some are focused on multimedia, some desktop while some are meant for PenTest. Harddisk space is cheap and I have abundance of them. The question is, how can I configured GRUB to boot from these ISO files which are stored on the harddisk?

For example, on the GRUB menu:

1. MULTIMEDIA
2. DESKTOP
3. PENTEST

Then according to the selection, 1 goes to boot a multimedia focused distro's iso, 2 boots a desktop iso, so on so forth.

Any advise? Thanks
 
Old 02-09-2006, 09:00 AM   #2
qanopus
Senior Member
 
Registered: Jul 2002
Location: New York
Distribution: Slackware
Posts: 1,358

Rep: Reputation: 45
dude, there is no way in hell you can boot from an iso image... would be nice though.
 
Old 02-09-2006, 03:47 PM   #3
darinbolson
Member
 
Registered: Jan 2006
Distribution: multi booting whatever I feel like. Grub rocks!
Posts: 85

Rep: Reputation: 15
While this does NOT allow you to boot from an iso on your hard disk, it might offer you "kinda" what you are looking for:

The following was found at http://en.wikipedia.org/wiki/VMware

Besides bridging to network adapters, CD-ROM readers, hard disk drives, and USB devices, VMware Workstation also provides the ability to simulate some hardware. For example, an ISO file can be mounted as a CDROM, .vmdk files can be mounted as hard disks, and the network adapter driver can be configured to use network address translation through the host machine rather than bridging through it (which would require an IP address for each guest OS on the host network).

VMware Workstation also allows LiveCDs to be tested without first burning them onto physical discs or rebooting the computer.
 
Old 02-10-2006, 04:16 AM   #4
engcheng_sg
LQ Newbie
 
Registered: Feb 2006
Posts: 6

Original Poster
Rep: Reputation: 0
Hi guys,

Thanks for your help.

darinbolson: I've ran VMware workstation for quite some time and is certainly deeply awed by its features and capabilities. However, I don't like the idea of running a guest OS underneath the actual OS which I'm keen to run. There's sort of performance issues. But thanks for the suggesting anyway.

schatoor: Can I find out from you why its not possible? Thought its simply to 'bluff' the GRUB to read the ISO as a CDROM disk? Do you know of anyone that's keen to explore this implementation via code writing? This may potentially turn any Linux box into a highly versatile machine and increase the adoption of Open-source. Just my 2cents thoughts

Wishing all a great weekend ahead.
 
Old 02-10-2006, 05:33 PM   #5
qanopus
Senior Member
 
Registered: Jul 2002
Location: New York
Distribution: Slackware
Posts: 1,358

Rep: Reputation: 45
Hi again,

I don't think something like that can ever work. I know grub can load files from the hard drive in to the memory, but these are small files, maybe a few times 10 kB... not an ISO image of 700 MB.
Suppose I point grub to an ISO image and it extracts the boot sector from that ISO file and loads it in to the memory. What then? How will the boot loader from the ISO image load the kernel? And how will it get the rest of the critical software from the ISO image in to the memory?
The only way I can think of to make something like that work, is to make an boot loader your self, that is sophisticated enough to mount the ISO image an an loop back device of some kind. I have no idea if that could work though. But I know this, grub will not be able to do it.

Cheers dude, and have a nice weekend your self
 
Old 02-11-2006, 05:17 AM   #6
mjolnir
Member
 
Registered: Apr 2003
Posts: 821

Rep: Reputation: 101Reputation: 101
http://www.linuxquestions.org/questi...hlight=knoppix

Here is a link to some info that may help.
 
Old 02-11-2006, 05:30 AM   #7
qanopus
Senior Member
 
Registered: Jul 2002
Location: New York
Distribution: Slackware
Posts: 1,358

Rep: Reputation: 45
Wow!!! cool. Guess I was wrong. Thanks mjolnir!
 
Old 02-12-2006, 04:12 AM   #8
mjolnir
Member
 
Registered: Apr 2003
Posts: 821

Rep: Reputation: 101Reputation: 101
No problem schatoor. It is a pretty cool strategy. For awhile I was booting Knoppix 3.7 from XP using grub and an entry in boot.ini using the method developed in that forum.
 
  


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
Grub Multiboot question PacMansRancor Linux - Newbie 4 09-22-2004 12:40 AM
Grub ?????? [Multiboot] UsualTuxpect Linux - Software 4 09-13-2004 12:37 AM
multiboot (GRUB) problem GoK Linux - Newbie 15 07-24-2003 08:03 AM
GRUB multiboot zokik Linux - General 7 06-25-2003 06:41 AM
Problems using grub to multiboot amp2000 Linux - General 2 10-18-2002 12:40 PM

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

All times are GMT -5. The time now is 01:39 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