Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
Wow! Hey, sulekha I think you failed to note the date of that 2006 post.
At that time, GRUB2 was still in alpha testing, not released. If you're interested, here's a link to to one of the many sites where the use of GRUB2's loopback functionality to boot from ISO image files is discussed.
Basically, it's as simple as this. Assume you have a bootable ISO image with some Linux distribution on it, and that you're booting you system using GRUB2. Let's call the image Linux.img, and assume that it's located in your boot directory at /boot/iso/linux.img, and that the kernel ans inital RAM disk image files are at isolinux/kernel and isolinux/initd.img, respectively, in the image ISO image file. Then you just edit your /boot/grub.cfg file to add a stanza like this:
Code:
menuentry "Linux ISO image" {
loopback loop /boot/iso/linux.iso
linux (loop)/isolinux/kernel boot=linux iso-scan/filename=/boot/iso/linux.iso noeject noprompt --
initrd (loop)/isolinux/initrd.img
}
yes, no problem there, it works flawless with (ubuntu persistent) or without persistent option. valid ONLY with live CD distro/installer; with alternate distro/installer I could not get it working (no casper)
I'm using ubuntu 10.04 & 10.10; within ubuntu 40_custom file with persistent option added on linux.... line I can get it installed but with an usb pendrive labelled casper-rw.
however, any suggestions re full ubuntu install on HD partition straight off ....iso (no bootable CD/USB install media) ? below are just some personal thoughts re this topic
maybe using (booting off) a live CD,
download the ...iso, (it would be great if live and alternate would work, or just the live)
extract/mount the ...iso to /mnt
dd the /mnt to a data partition on HD ("burn" the extracted ..iso to HD instead of CD to any folder ? on any partition ?)
use a grub2 floppy to boot
at grub> issue ls (to find the extracted ...iso folder ; will it see it ?)
set root=....
linux /.....
initrd /.....
boot
hopefully the installer will open (or maybe not).
or maybe some other grub cmds ? what do you think please ? would it be possible to get linux installed WITHOUT the need os a CD/USB ? straight off the HD ?
thank you.
or maybe just proceed with installation (use the install option) after the ...iso file is fully loaded following addition of
menuentry "Linux ISO image" {
loopback loop /boot/iso/linux.iso
linux (loop)/isolinux/kernel boot=linux iso-scan/filename=/boot/iso/linux.iso noeject noprompt --
initrd (loop)/isolinux/initrd.img
}
to /etc/grub.d/40_custom file ? did not try it (I was afraid that it'll mess up my good working 9.10 10.04 and 10.10.
thank you.
Last edited by peter-b; 01-01-2011 at 12:16 AM.
Reason: some additional thoughts
Long story short I'm dealing with a failing CDROM drive. It's about to kick the bucket and isn't letting me install linux.
Is there a way to install directly from the ISO to the HD ?
Like ie ; take the puppylinux.iso and extract it off onto the HD ?
Thx
A while ago I posted some info on how I installed slackware
from an iso file. Perhaps you could adapt this to your
particular distro.
Basically, you'll need: the iso file, an available partition to install
your new system, another partition to store the files extracted from
the iso, a live linux system to boot from and to launch the
installation ...
Here's the info: http://vonbiber.byethost17.com/slack...ocd/index.html
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.