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'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.
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.
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
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.