LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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


Reply
  Search this Thread
Old 12-14-2008, 04:48 PM   #1
InMiserysShadow
LQ Newbie
 
Registered: Mar 2006
Posts: 3

Rep: Reputation: 0
I am trying to boot a live cd from my hard drive


KI know this question has been asked before but I never saw any real definitive solutions. Just alot of "hey, this might work" but it never does.

So, I am trying to boot live cd's from my hard drive. Weather it be from ISO files (preferably), or from unpacked ISO's. now I'm not a newb...I can do whatever I need to with instruction..edit grub, edit and format partitions if I need to...whatever it takes. Ive tried a few different methods and none have worked. It's not imperitive that I do this, but it would be nice to be able to....has anyone made this work before? I think I just dont understand enough about the advanced features of grub to make it work. any help out there?
 
Old 12-14-2008, 04:59 PM   #2
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
The short answer is no. You can't boot a machine to ISO's of unmodified operating systems. There is some trickery you can do by having GRUB boot and initrd that mounts the ISO and loads the rest of the OS from (Knoppix is able to do this, I believe), but it isn't something you can deploy on standard live CDs without going through some manual setup.

Your best bet would be to load the ISOs through a virtual machine and play around with them that way, assuming your machine is powerful enough to make that practical.
 
Old 12-14-2008, 07:14 PM   #3
mmmichael
LQ Newbie
 
Registered: Apr 2008
Location: USA
Distribution: Ubuntu,Puppy,Zenwalk,FreeBSD
Posts: 9

Rep: Reputation: 0
2 ways to boot iso images without burning a disk:

Use a virtual machine such as virtual box and select the iso as your cd drive.

Use unetbootin to add the iso image to your grub menu.
see http://unetbootin.sourceforge.net/. If you want to do an install off the iso it will need to be on a separate partition.
 
Old 12-14-2008, 07:50 PM   #4
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 133Reputation: 133
Well, some isos do boot off a hard drive. The procedure is like this:
- first you need to mount your iso and extract the kernel (vmlinuz) and initrd files
- next, you copy/move them to a boot directory (most convenient is if you already have a linux system set up although this should work even on windows)
- add an entry for the kernel and initrd to the bootloader (GRUB or windows bootloader)
- reboot and select the new entry
That is it, not all that hard. Unfortunately, I cannot say which distros will boot that way and which will fail.
 
Old 12-14-2008, 08:09 PM   #5
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172
It would be a lot easier to get a cdrw or use a usb stick(best buy had 8gb sticks for $24 today, sandisk ultra II).
 
  


Reply

Tags
boot, boot loader, grub, iso, mount



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
Get into a hard drive with a Live CD Gene-o Linux - Newbie 2 11-15-2007 09:52 PM
can i boot from the live cd demo and then switch to hard drive files jessica_lilly Linux - Newbie 5 11-03-2007 09:11 PM
Ubuntu: Installed to external hard drive; boot to primary hard drive gives error 22 dcorb62 Linux - General 7 09-04-2007 11:28 PM
mounting hard drive from live CD? ocicat Ubuntu 2 06-01-2007 02:03 AM
how to access hard drive using Knoppix live CD izquierdista Linux - Software 3 12-09-2005 04:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:10 PM.

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