Running LIVE CD from hard disk, i.e. copying the iso on HD & then booting the same
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
There isn't really a good way to do this... what exactly are you trying to do? There could be a work around... either copying the iso to a partition (which may or may not work) or just mounting the iso and chroot into it (which is almost like booting it... kinda).
1. Live CD is a read only media, os if any thing goes wrong i.e. virus attack, trojans, rootkits, filesystem error, you hafta just reboot
2. What will I do with the HDD that comes by default with branded PC?
3. When Live CD is kept up for 24X7, then CD and the poor drive will get screwed up in no time. :-(
4. The performance will increase in case system runs from HDD rather than CD drive
5. Why i dont install Linux simply ? refer to 1.
>>mounting the iso and chroot into it (which is almost like booting it... kinda).
You will see just two files this way that too .gz which are good for nothing unless you boot from it, because its about 2G of data which is uncompressed on the fly as need arises.
The instruction is as per Wolvix site suggested for putting the Live CD onto a hard disk.
I did it just to boost the number of systems in the box to pass the 100 mark, as I ran out installable systems.
Personally I think it is far better to install a Live CD that comes with an installer. When you are not log in as the root user Linux is pretty safe from attack and in a world totally different from Windoze.
Putting a Live CD Linux onto a hard drive means you have to install its boot loader somewhere and that is as good as installing the distro formally and properly into a hard disk.
You can always use a system emulator like QEMU to run the ISO image, which would leave it intact. If you're already running a Linux system, you can even use KQEMU, AKA the QEMU Accelerator, to get rid of a good portion of the slowdown normally attributed to emulated systems.
Adding in , some of the live cds like damn small linux allows you to install the distro into your hdd.
But as your requirement is , even i am interested in knowing of a readonly distro booting from hdd so that i can host websites without any worries and security concerns.
Last edited by pradeepmenon777; 04-24-2006 at 03:02 PM.
It is possible to do it but without an iso file. I've done it with my live dynebolic cd
copying it all to a folder in the root directory and just hacking your lilo or grub loader
Chief , your idea seems good, I will try it out soon and let all know the results.
Everybody else,Thanks for the help!
But I know what vmware ESX/GSX/workstation, QEMU, Cygwin to microsoft virtual PC is..... , however I dont want them to be installed at first place, my problem is that I dont want to have any other OS installed other than one single iso [see reply #4 in this thread], which means everything works as a live CD, however you dont need to have a CDROM, for other users to mess with and also installing any kind of emulator on a host OS means users still have a host OS to mess with.
I know my requirements are quite strange, but that's how life is....