LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 07-18-2011, 07:31 PM   #1
slackingclement
LQ Newbie
 
Registered: Jun 2011
Posts: 17

Rep: Reputation: Disabled
can't find debian iso image when trying to install from hard disk


hy guys!
i'm trying to install debian-6.0.2.1 from hard diskand it can't find my iso image wich is on the slackware partition.i downloaded initrd.gz an vmlinuz,added some lines to lilo.conf so that i can boot but then when it searches for the iso image doesn't find it .
how can i fix this(if there's a way)?
any ideas will be highly appreciated
 
Old 07-18-2011, 08:34 PM   #2
jefro
Moderator
 
Registered: Mar 2008
Posts: 22,046

Rep: Reputation: 3632Reputation: 3632Reputation: 3632Reputation: 3632Reputation: 3632Reputation: 3632Reputation: 3632Reputation: 3632Reputation: 3632Reputation: 3632Reputation: 3632
Where did you see instructions on this method?

I think that some distro's can boot from grub4dos or maybe grub24dos and maybe even some grub2 installs could boot to an iso. Most folks I'd think would either burn a cd or use maybe gpxe to boot to an iso.
 
Old 07-18-2011, 08:41 PM   #3
slackingclement
LQ Newbie
 
Registered: Jun 2011
Posts: 17

Original Poster
Rep: Reputation: Disabled
i read about his from Debian official installation documentation.it also botts the kernel but when it comes to finding the iso the problem arises as it can't find it although i put it in / directory.
Can it be that it couldn't read from ext4 which is my FS on slackware

Last edited by slackingclement; 07-18-2011 at 08:49 PM.
 
Old 07-18-2011, 09:52 PM   #4
andrewthomas
Senior Member
 
Registered: May 2010
Location: Chicago Metro
Distribution: Arch, Gentoo, Slackware
Posts: 1,690

Rep: Reputation: 312Reputation: 312Reputation: 312Reputation: 312
Is this what you are referring to?


Quote:
5.1.4. Booting from Linux Using LILO or GRUB

To boot the installer from hard disk, you must first download and place the needed files as described in Section 4.4, “Preparing Files for Hard Disk Booting”.

If you intend to use the hard drive only for booting and then download everything over the network, you should download the netboot/debian-installer/amd64/initrd.gz file and its corresponding kernel netboot/debian-installer/amd64/linux. This will allow you to repartition the hard disk from which you boot the installer, although you should do so with care.

Alternatively, if you intend to keep an existing partition on the hard drive unchanged during the install, you can download the hd-media/initrd.gz file and its kernel, as well as copy a CD (or DVD) iso to the drive (make sure the file is named ending in .iso). The installer can then boot from the drive and install from the CD/DVD image, without needing the network.

For LILO, you will need to configure two essential things in /etc/lilo.conf:

to load the initrd.gz installer at boot time;

have the vmlinuz kernel use a RAM disk as its root partition.

Here is a /etc/lilo.conf example:

Code:
image=/boot/newinstall/vmlinuz
       label=newinstall
       initrd=/boot/newinstall/initrd.gz
For more details, refer to the initrd(4) and lilo.conf(5) man pages. Now run lilo and reboot.

The procedure for GRUB is quite similar. Locate your menu.lst in the /boot/grub/ directory (or sometimes /boot/boot/grub/) and add an entry for the installer, for example (assuming /boot is on the first partition of the first disk in the system):

Code:
title  New Install
root   (hd0,0)
kernel /boot/newinstall/vmlinuz
initrd /boot/newinstall/initrd.gz
From here on, there should be no difference between GRUB or LILO.
Did you try putting the .iso in the /boot/newinstall/ directory?

Last edited by andrewthomas; 07-18-2011 at 09:53 PM.
 
Old 07-19-2011, 05:07 PM   #5
slackingclement
LQ Newbie
 
Registered: Jun 2011
Posts: 17

Original Poster
Rep: Reputation: Disabled
no,i haven'tbut i'm going to and see what happens.thanks alot!
 
Old 07-19-2011, 06:07 PM   #6
jefro
Moderator
 
Registered: Mar 2008
Posts: 22,046

Rep: Reputation: 3632Reputation: 3632Reputation: 3632Reputation: 3632Reputation: 3632Reputation: 3632Reputation: 3632Reputation: 3632Reputation: 3632Reputation: 3632Reputation: 3632
Sorry. I misunderstood that you wanted to boot to the iso image.

Your mini install program will allow you to find the iso in this case.
 
Old 07-20-2011, 09:16 PM   #7
slackingclement
LQ Newbie
 
Registered: Jun 2011
Posts: 17

Original Poster
Rep: Reputation: Disabled
It seems that initrd.gz can't read iso's from ext4.because i made a partition with ext3,put the iso in there and found it,and after all i installed debian ok.thanks anyway for the replies!
 
  


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
Install Linux from ISO image on hard disk without using a DVD ROM or CD Drive tkmsr SUSE / openSUSE 1 07-20-2009 05:42 AM
Install Linux from ISO image on hard disk without using a DVD ROM or CD Drive tkmsr General 1 07-20-2009 02:48 AM
fedora 10 install via hard disk got a wrong message!---Missing ISO 9660 image netyq Linux - Newbie 1 01-31-2009 09:28 AM

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

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