LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 05-31-2006, 09:48 AM   #1
NoobieDoobieDo
Member
 
Registered: Oct 2004
Distribution: Debian 4.0
Posts: 65

Rep: Reputation: 15
Install from ISO straight to HD ?


Hi,

Long story short I'm dealing with a failing CDROM drive. It's about to kick the bucket and isn't letting me install linux.

Is there a way to install directly from the ISO to the HD ?

Like ie ; take the puppylinux.iso and extract it off onto the HD ?

Thx
 
Old 05-31-2006, 09:59 AM   #2
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,153

Rep: Reputation: 331Reputation: 331Reputation: 331Reputation: 331
I've not tried it, but the GRUB2 (available from here) will, purportedly, let you boot from an ISO image on your HD.

Suggestion: If you try it, install it (GRUB2) on a floppy, and boot from there so the alpha software won't clobber your HD boot process.

Suggestion 2: If it does work, let us know here.
 
Old 07-11-2010, 08:55 AM   #3
sulekha
Member
 
Registered: Dec 2004
Location: India
Distribution: ubuntu 10.04 , centos 5.5 , Debian lenny, Freenas
Posts: 324

Rep: Reputation: 36
Quote:
Originally Posted by PTrenholme View Post
I've not tried it, but the GRUB2 (available from here) will, purportedly, let you boot from an ISO image on your HD.

Suggestion: If you try it, install it (GRUB2) on a floppy, and boot from there so the alpha software won't clobber your HD boot process.

Suggestion 2: If it does work, let us know here.

see:- http://www.linuxforu.com/teach-me/ti...t-from-an-iso/
 
Old 07-11-2010, 12:06 PM   #4
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,153

Rep: Reputation: 331Reputation: 331Reputation: 331Reputation: 331
Wow! Hey, sulekha I think you failed to note the date of that 2006 post.

At that time, GRUB2 was still in alpha testing, not released. If you're interested, here's a link to to one of the many sites where the use of GRUB2's loopback functionality to boot from ISO image files is discussed.

Basically, it's as simple as this. Assume you have a bootable ISO image with some Linux distribution on it, and that you're booting you system using GRUB2. Let's call the image Linux.img, and assume that it's located in your boot directory at /boot/iso/linux.img, and that the kernel ans inital RAM disk image files are at isolinux/kernel and isolinux/initd.img, respectively, in the image ISO image file. Then you just edit your /boot/grub.cfg file to add a stanza like this:
Code:
menuentry "Linux ISO image" {
 loopback loop /boot/iso/linux.iso
 linux (loop)/isolinux/kernel boot=linux iso-scan/filename=/boot/iso/linux.iso noeject noprompt --
 initrd (loop)/isolinux/initrd.img
}
 
Old 01-01-2011, 12:54 AM   #5
peter-b
LQ Newbie
 
Registered: Dec 2010
Posts: 1

Rep: Reputation: 0
@ PTrenholme and anyone interested,

yes, no problem there, it works flawless with (ubuntu persistent) or without persistent option. valid ONLY with live CD distro/installer; with alternate distro/installer I could not get it working (no casper)

I'm using ubuntu 10.04 & 10.10; within ubuntu 40_custom file with persistent option added on linux.... line I can get it installed but with an usb pendrive labelled casper-rw.

however, any suggestions re full ubuntu install on HD partition straight off ....iso (no bootable CD/USB install media) ? below are just some personal thoughts re this topic

maybe using (booting off) a live CD,
download the ...iso, (it would be great if live and alternate would work, or just the live)
extract/mount the ...iso to /mnt
dd the /mnt to a data partition on HD ("burn" the extracted ..iso to HD instead of CD to any folder ? on any partition ?)
use a grub2 floppy to boot
at grub> issue ls (to find the extracted ...iso folder ; will it see it ?)
set root=....
linux /.....
initrd /.....
boot
hopefully the installer will open (or maybe not).

or maybe some other grub cmds ? what do you think please ? would it be possible to get linux installed WITHOUT the need os a CD/USB ? straight off the HD ?

thank you.

or maybe just proceed with installation (use the install option) after the ...iso file is fully loaded following addition of

menuentry "Linux ISO image" {
loopback loop /boot/iso/linux.iso
linux (loop)/isolinux/kernel boot=linux iso-scan/filename=/boot/iso/linux.iso noeject noprompt --
initrd (loop)/isolinux/initrd.img
}

to /etc/grub.d/40_custom file ? did not try it (I was afraid that it'll mess up my good working 9.10 10.04 and 10.10.

thank you.

Last edited by peter-b; 01-01-2011 at 01:16 AM. Reason: some additional thoughts
 
Old 01-02-2011, 09:28 AM   #6
vonbiber
Member
 
Registered: Apr 2009
Distribution: slackware
Posts: 299

Rep: Reputation: 50
Quote:
Originally Posted by NoobieDoobieDo View Post
Hi,

Long story short I'm dealing with a failing CDROM drive. It's about to kick the bucket and isn't letting me install linux.

Is there a way to install directly from the ISO to the HD ?

Like ie ; take the puppylinux.iso and extract it off onto the HD ?

Thx
A while ago I posted some info on how I installed slackware
from an iso file. Perhaps you could adapt this to your
particular distro.
Basically, you'll need: the iso file, an available partition to install
your new system, another partition to store the files extracted from
the iso, a live linux system to boot from and to launch the
installation ...
Here's the info:
http://vonbiber.byethost17.com/slack...ocd/index.html
 
  


Reply

Tags
booting, grub2, iso


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
Cfdisk doesn't make a hdb1 on Slack10 install, goes straight to hdb2 Baix Slackware 9 09-01-2004 06:26 PM
Mandrake Install crashes almost straight away answerit Mandriva 8 08-13-2004 11:53 AM
Does anyone Know how to open either .iso.rz or these .iso.xdelta,.iso.bz2,.iso.lzma?? maximalred Debian 5 06-09-2004 07:15 AM
Init waxed, install cd scratched... can I install from public ISO? KeithSpook Mandriva 7 02-20-2004 05:23 PM
Straight answers on network card install Dicephalous Linux - Networking 0 12-25-2001 09:37 PM


All times are GMT -5. The time now is 06:43 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