LinuxQuestions.org
Visit Jeremy's Blog.
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 01-29-2002, 08:34 AM   #1
inv|s|ble
Member
 
Registered: Dec 2001
Distribution: freeBSD, slack 9/10/current
Posts: 59

Rep: Reputation: 15
ISO booting


I have read somewhere, that is it possible to just mount a distro's iso image, then add it to lilo, and boot, and install. My problem is, I dont remember where I saw this, and cant find anything on it, so I can install a 3rd distro on my play machine. I do not have a burner, nor a cd-rom in my play machine, I usually have to steal one out of my server, to install a new distro. Does anyone know how to boot from a mounted ISO, or where to find more info on it.
 
Old 01-29-2002, 10:05 AM   #2
theFuzzyOne
Member
 
Registered: Dec 2001
Distribution: redhat
Posts: 154

Rep: Reputation: 30
http://www.linuxdoc.org/HOWTO/Diskless-HOWTO-3.html
 
Old 01-29-2002, 11:14 AM   #3
inv|s|ble
Member
 
Registered: Dec 2001
Distribution: freeBSD, slack 9/10/current
Posts: 59

Original Poster
Rep: Reputation: 15
that would work if i had a burner, but seeing as i dont have a burner, i cant make a live linux cd, to boot from, i want to actually boot from a mounted iso ie "mount -o loop linux.iso /linux2" and then i can install from that iso. i have a working linu partition to work from, i just need to know how to add the iso to lilo, and fstab to get it to actually boot. lilo tells me the image is too big, if i try to add it like a normal new kernel image.


My bad, i didnt read it all, maybe i can make this work, but it isnt exactly what i was looking for.

Last edited by inv|s|ble; 01-29-2002 at 11:16 AM.
 
Old 01-29-2002, 11:40 AM   #4
Thymox
Senior Member
 
Registered: Apr 2001
Location: Plymouth, England.
Distribution: Debian + Ubuntu
Posts: 4,358

Rep: Reputation: 57
OK. Here's what you need to do. Download a program that will allow you to copy individual files from within ISO files (there's a Windows one called ISOBUSTER). Open the ISO file under Windows, find the relavent docs, read them, copy the 'installation boot-floppy image' to a file, copy the 'rawrite' programs and wright the file to a floppy.

For Mandy 8.1, the boot floppy images reside under /images, and the one you need is called hd.img. You should extract this file, and use the rawright program to copy it to a floppy. Ensure that the iso image is in the root directory on one of your Windows partitions, I would rename it as 1.iso for ease of remembering. Boot from the floppy, select the partition that the ISO image resides on, type 1.iso and away you go.

I believe that you can download these files from Mandy's website anyway, but I'm not sure.
 
Old 01-29-2002, 12:40 PM   #5
inv|s|ble
Member
 
Registered: Dec 2001
Distribution: freeBSD, slack 9/10/current
Posts: 59

Original Poster
Rep: Reputation: 15
Thymox,

i dont need isobuster, or any lame windows program. I am actually trying to install gentoo, there is no floppy image in the iso. if i was trying to install a distro such as mandrake or redhat, i would skip the whole iso part, and just do a ftp install, but seeing as gentoo doesnt support a ftp install, or floppy install from what i see, i cant do that. plus the computer doesnt have a floppy drive or cdrom in it at the moment, i will have to steal one from my bsd server, if i need it, that is why i am trying to boot from a mounted iso.
 
Old 01-29-2002, 02:30 PM   #6
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
Try http://www.freebsddiary.org/iso-mount.php
I don't know if it is only related to BSD or all *NIXes. Try it.
 
Old 01-29-2002, 02:39 PM   #7
inv|s|ble
Member
 
Registered: Dec 2001
Distribution: freeBSD, slack 9/10/current
Posts: 59

Original Poster
Rep: Reputation: 15
that is a bsd thing, i know how to mount it, just not get it to boot.
 
Old 01-29-2002, 06:23 PM   #8
inv|s|ble
Member
 
Registered: Dec 2001
Distribution: freeBSD, slack 9/10/current
Posts: 59

Original Poster
Rep: Reputation: 15
i figured it out, it was more simple than i was thinking. for future reference anyone trying to install a second distro from iso, without a cdrom, or floppy, just mount the iso, chroot the mount point, and have at it.
 
Old 01-30-2002, 02:35 AM   #9
Thymox
Senior Member
 
Registered: Apr 2001
Location: Plymouth, England.
Distribution: Debian + Ubuntu
Posts: 4,358

Rep: Reputation: 57
I am actually not entirely awake just yet, so I am unsure as to whether that was meant as a flame, or not. If it was, may I just remind you that you started the thread with less information than you really could have provided.

If I knew that you wanted to install gentoo, then I could have looked at the specifics of the situation.

Oh, and if the ISO image creates a bootable CD, then there is nothing stopping you from creating a small (650Mb?) partition at the beginning of the harddisk, dding the ISO image into that partition, setting that partition to be bootable, and then installing from the harddisk, to the harddisk without using boot floppies.

Last edited by Thymox; 01-30-2002 at 02:37 AM.
 
Old 01-30-2002, 07:23 AM   #10
inv|s|ble
Member
 
Registered: Dec 2001
Distribution: freeBSD, slack 9/10/current
Posts: 59

Original Poster
Rep: Reputation: 15
that was not a flame either, well it was a flame on m$ but not you. i thought ".Does anyone know how to boot from a mounted ISO " was pretty self explanatory, since you can not "mount" an ISO in windows, but i wasnt thinking, my bad for not giving more info. it is easier to just mount the iso, and chroot to it, and go from there. as far as gentoo making a difference it does, cause i changed my mind, and went ahead with beehive instead of gentoo for this machine.
 
Old 01-31-2002, 05:51 PM   #11
Thymox
Senior Member
 
Registered: Apr 2001
Location: Plymouth, England.
Distribution: Debian + Ubuntu
Posts: 4,358

Rep: Reputation: 57
Sorry buddy. Didn't mean to snap or anything. Over the past 3 weeks I've had a silly amount of Uni work to do, culminating in me getting about 15hours sleep in total for the last week. Guess I was just a bit techty. All over with now, so I should be OK.

Yeah, thinking about it, that would be easier. I just recalled that the 2nd method I gave was how I got Mandy SNF onto my brother's machine (no floppy, no CD, no OS = nightmare to think of how to install!). I had to copy the ISO to HDD and boot from the CD/HDD image type thing - it gave me a headache! All done and dusted now, though. It's been up for about 5 weeks. I am gleefully smug of myself - my brother really didn't want to get into Linux, but considering the hardware (P110, 32Mb RAM, buggered IDE card) I persuaded him.
 
Old 09-29-2003, 01:16 PM   #12
Mad_Tiger
LQ Newbie
 
Registered: Sep 2003
Posts: 7

Rep: Reputation: 0
Quote:
Oh, and if the ISO image creates a bootable CD, then there is nothing stopping you from creating a small (650Mb?) partition at the beginning of the harddisk, dding the ISO image into that partition, setting that partition to be bootable, and then installing from the harddisk, to the harddisk without using boot floppies.
How do i do that?
Now i have Win98 and i don't have a burner...

Thanks Advanced!
 
Old 09-30-2003, 08:23 AM   #13
Thymox
Senior Member
 
Registered: Apr 2001
Location: Plymouth, England.
Distribution: Debian + Ubuntu
Posts: 4,358

Rep: Reputation: 57
Welcome to LQ.

Unfortunately dd is a Linux program. What it does it to take every bit of the input file and put into/onto the output file. Since in Linux everything can be treated as files (even whole partitions and CDs) you can use this method to copy things from one place to another.

For example, to make a bitwise copy of a CD you could do dd if=/dev/cdrom of=cdrom.iso.
And, in my above example, what I did was this:
dd if=/dev/cdrom of=install.iso
switch off computer and insert another harddrive and restart computer
fdisk /dev/hdc (make partitions)
dd if=install.iso of=/dev/hdc1

With that I was able to then take the harddrive and put it back into the original computer (diskless, cdromless) and boot and then install! As far as the installation program was concerned, it was installing from a CD, but the CD was called /dev/hda1!

I do not think you will be able to do this kind of thing under Windows since it doesn't allow you easy access to the partitions themselves. Sorry.
 
Old 09-30-2003, 01:39 PM   #14
Mad_Tiger
LQ Newbie
 
Registered: Sep 2003
Posts: 7

Rep: Reputation: 0
So how can install gentoo on my computer?

BTW I have a cdrom & a floppy.

Last edited by Mad_Tiger; 09-30-2003 at 01:41 PM.
 
Old 09-30-2003, 06:25 PM   #15
Thymox
Senior Member
 
Registered: Apr 2001
Location: Plymouth, England.
Distribution: Debian + Ubuntu
Posts: 4,358

Rep: Reputation: 57
Do you have a spare partition already? If so, then you may be able to use inv|s|ble's method... sort of. If you want to attempt it then you could download a 'rescue' floppy like Toms. Mount your Windows partition, mount the ISO file, chroot to where-ever you mounted the ISO and start form there. I've not installed Gentoo (yet - maybe I'll try it at some point), so I do not know what you would need to do once you'd chrooted to your ISO's mountpoint.
 
  


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
Booting an .ISO from a CD-R TheDewAddict Linux - Newbie 9 04-09-2004 03:01 PM
Booting from a ISO CD Gerardo Mandriva 1 02-04-2004 12:13 PM
booting an .iso! how! Underworld Linux - Software 6 11-29-2003 04:36 PM
booting from iso shadowhunter Linux - General 5 10-29-2003 05:48 AM
booting an iso MightyKC Linux - General 11 10-29-2003 04:36 AM

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

All times are GMT -5. The time now is 07:37 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration