LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This 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


Reply
  Search this Thread
Old 02-13-2007, 07:59 PM   #1
steevols
Member
 
Registered: Dec 2006
Location: Eastcoast US
Distribution: Slackware 11
Posts: 52

Rep: Reputation: 15
Lightbulb Brilliant idea? Boot CD ISO selecter


I've read many, many relatively complicated tutorials on how to boot an ISO straight off of the hard drive. In a potentially brilliant fit of despair, I hit upon it... a LiveCD/boot CD that where you could key in the location (eventually) manually, and then boot the ISO.

Concept:

1. Boot the CD (some tiny console linux setup)
2. Mount partition (IE, mount /dev/hda1 /folder1)
3. start a script for selecting the iso
4. enter the ISO location
5. Mount the iso with a loop (mount install.iso /folder2 -o loop)
5. boot that ISO

Couldn't that be done? I don't think I could do it, but shouldn't that be possible? It would seemingly be almost the same as a normal LiveCD.
 
Old 02-13-2007, 08:53 PM   #2
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
The problem here are the last two steps:

Quote:
5. Mount the iso with a loop (mount install.iso /folder2 -o loop)
5. boot that ISO
Perhaps it is ironic that they are numbered that way actually...

You see, it is easy to mount an ISO via the loopback file system. But the trick is somehow booting that from inside of a running Linux system.

As far as I know, that is as near to impossible as something can get under Linux. If it was an ISO of a Linux system, then you could maybe do some trickery with chroot, but if it was say, a Windows XP install ISO, then that is a whole other story.
 
Old 02-13-2007, 08:58 PM   #3
steevols
Member
 
Registered: Dec 2006
Location: Eastcoast US
Distribution: Slackware 11
Posts: 52

Original Poster
Rep: Reputation: 15
Oops, my bad. I did 5b first, and then thought of 5a later. Oops!

I've heard many success stories of booting ISO's though, so this has got to be possible in one way or another.
 
Old 02-13-2007, 10:15 PM   #4
osor
HCL Maintainer
 
Registered: Jan 2006
Distribution: (H)LFS, Gentoo
Posts: 2,450

Rep: Reputation: 78
Quote:
Originally Posted by MS3FGX
The problem here are the last two steps:



Perhaps it is ironic that they are numbered that way actually...

You see, it is easy to mount an ISO via the loopback file system. But the trick is somehow booting that from inside of a running Linux system.

As far as I know, that is as near to impossible as something can get under Linux. If it was an ISO of a Linux system, then you could maybe do some trickery with chroot, but if it was say, a Windows XP install ISO, then that is a whole other story.
Perhaps someone could create a bootloader that recognizes iso files on already recognized partitions.
 
Old 02-13-2007, 10:23 PM   #5
steevols
Member
 
Registered: Dec 2006
Location: Eastcoast US
Distribution: Slackware 11
Posts: 52

Original Poster
Rep: Reputation: 15
That's more or less what I was thinking of, I just thought it would be neat to have a boot-disk you could use, rather than screwing up your existing grub/lilo/whatever.

Signing off for the night!
 
  


Reply

Tags
boot, install, iso, live, livecd



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Brilliant on 1 machine Zilch on another Mad Malc MEPIS 8 06-05-2005 09:53 PM
Wink - Brilliant Software henryg Linux - Software 0 05-11-2005 06:00 AM
Dual Boot Idea slappycakes Linux - Hardware 4 10-16-2003 04:35 PM
LinuxQuestions is Brilliant ! onurb LinuxQuestions.org Member Success Stories 18 03-20-2003 11:59 AM
Brilliant Geeks, need engine (as in motor) help MasterC General 1 05-19-2002 07:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:10 AM.

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