LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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!

Notices

Reply
 
Search this Thread
Old 12-22-2005, 03:39 AM   #1
nitinatindore
Member
 
Registered: Dec 2004
Location: India
Distribution: Mandrake, Mandriva, PclinuxOS
Posts: 114

Rep: Reputation: 15
Exclamation Running LIVE CD from hard disk, i.e. copying the iso on HD & then booting the same


I know that it sounds a bit stupid but i have very specfic need of running the live CD from the HARD DISK without installing it & without having need for a CD.

To be more precise, I want that once i copy a LiveCD iso to my harddisk, i should be able to boot from that iso on my harddisk, while keeping iso intact.

One way I think, that it could be done is that syslinux instead of booting from CDROM , boots from the .iso on my hard disk, but i dont know really how to go about it.

Any help would be highly appreciated.
 
Old 12-22-2005, 07:23 AM   #2
jbetten
LQ Newbie
 
Registered: Jan 2005
Posts: 19

Rep: Reputation: 0
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).
 
Old 12-22-2005, 07:28 AM   #3
arunvk
Member
 
Registered: Nov 2005
Location: India
Distribution: Fedora 11
Posts: 194

Rep: Reputation: 30
to the best of my knowledge,i dont think its possible. but then again i cud be wrong. iam curious how to do this. its a good idea.
 
Old 12-22-2005, 08:56 AM   #4
nitinatindore
Member
 
Registered: Dec 2004
Location: India
Distribution: Mandrake, Mandriva, PclinuxOS
Posts: 114

Original Poster
Rep: Reputation: 15
Why i want it?

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.

Anymore suggestions :-)
 
Old 12-22-2005, 09:05 AM   #5
homey
Senior Member
 
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 56
Quote:
I know that it sounds a bit stupid but i have very specfic need of running the live CD from the HARD DISK without installing it & without having need for a CD.

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
If you have the iso on the hard drive, in a filsystem, then you will have the usual risks.

However, maybe I'm just lucky but never had any of those problems anyway. I do keep a current backup though.
 
Old 12-22-2005, 10:02 AM   #6
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 112Reputation: 112
I have done it with Klax and Wolvix.

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.
 
Old 12-22-2005, 03:33 PM   #7
mikedeatworld
Member
 
Registered: Nov 2003
Location: Farmington Michigan
Distribution: UBUNTU - Slackware - SuSE 9.1 - Knoppix - Fedora
Posts: 828

Rep: Reputation: 30
Mepis does this...
 
Old 12-22-2005, 03:58 PM   #8
DarkElf109
Member
 
Registered: Dec 2005
Location: Phoenix, AZ
Distribution: Ubuntu, Debian, Gentoo
Posts: 43

Rep: Reputation: 15
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.
 
Old 03-10-2006, 04:30 AM   #9
pradeepmenon777
Member
 
Registered: Jan 2004
Location: India
Distribution: Ubuntu 8.04
Posts: 122

Rep: Reputation: 16
Thanks , wolvix allows you to have nocd boot option .
But about the others , I think a third party bootloader must be installed and an iso extraction must be done to ensure the need.

Do post in links related to this , if found effective and useful...
 
Old 03-10-2006, 04:30 AM   #10
pradeepmenon777
Member
 
Registered: Jan 2004
Location: India
Distribution: Ubuntu 8.04
Posts: 122

Rep: Reputation: 16
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.
 
Old 03-10-2006, 04:42 AM   #11
vangelis
Member
 
Registered: Nov 2004
Location: Hellas
Distribution: Zenwalk 6.4
Posts: 337
Blog Entries: 4

Rep: Reputation: 30
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

below is the link on how to do it with dynebolic maybe it works with other live distros why don't you give it a try?

dynebolic install on hard disk
 
Old 03-10-2006, 05:56 AM   #12
asimba
Member
 
Registered: Mar 2005
Location: 127.0.0.0
Distribution: Red Hat / Fedora
Posts: 349

Rep: Reputation: 42
just use cygwin if you wanna learn - else go in for vmware - vmware seems to be best solution in given case.

mepis - dunno - will love to know how mepis does this.
 
Old 03-12-2006, 04:20 AM   #13
nitinatindore
Member
 
Registered: Dec 2004
Location: India
Distribution: Mandrake, Mandriva, PclinuxOS
Posts: 114

Original Poster
Rep: Reputation: 15
@vangelis
Quote:
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....
 
Old 03-12-2006, 04:35 AM   #14
AnonymousX
LQ Newbie
 
Registered: Mar 2006
Distribution: SuSE Linux 10.0 , Knoppix 4.2 , Windows XP SP2
Posts: 12

Rep: Reputation: 0
For Knoppix, It's possible too.
When you insert a disc and reboot , You can do something like

knoppix tohd=/dev/hda1 <-- this will copy CD Files to Windows C:\ but it won't work with NTFS.

And if you want it to read data from C:\ just type

knoppix fromhd=/dev/hda1 , But you stil need Knoppix CD if you want to boot your linux...

Last edited by AnonymousX; 03-12-2006 at 07:55 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Boot an iso without a CD off a hard disk? boffin Linux - Software 9 12-31-2007 02:54 PM
Hard disk installation of a live cd fatrandy13 Linux - Software 5 09-02-2005 08:06 AM
Install from hard disk with ISO JermJHart Mandriva 1 11-24-2004 12:50 AM
making a ISO of my hard disk Bradless Linux - General 10 08-17-2004 11:46 AM
dual boot hard disk copying manthram Linux - General 1 05-05-2002 10:08 AM


All times are GMT -5. The time now is 02:58 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration