LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 02-10-2011, 03:59 AM   #1
qrange
Senior Member
 
Registered: Jul 2006
Location: Belgrade, Yugoslavia
Distribution: Debian stable/testing, amd64
Posts: 1,061

Rep: Reputation: 47
installing Debian from hdd


the documentation says to copy these files:
vmlinuz (kernel binary)
initrd.gz (ramdisk image)


to: /boot/newinstall/

but what about the rest of files in dvd.iso
where do i copy them? (does .iso need to be unpacked)
 
Old 02-10-2011, 04:26 AM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Hi,

It's not clear from your post if you want to do a netinstall.

If so: you don't need any other package, just use the correct kernel and initrd files (Have a look here: 5.1.4. Booting from Linux Using LILO or GRUB)

The netinstall files can be found here: Netboot: linux + initrd.gz

Hope this helps.
 
Old 02-10-2011, 05:00 AM   #3
qrange
Senior Member
 
Registered: Jul 2006
Location: Belgrade, Yugoslavia
Distribution: Debian stable/testing, amd64
Posts: 1,061

Original Poster
Rep: Reputation: 47
Thanks, but that's not what I want.
I downloaded 8 (!) dvd .isos (31Gb!) and want to install Debian64 without burning to DVD.

Already have Debian 32bit. Would it be better to start installation from it?
if possible, I'd like to use the same swap partition for both.
 
Old 02-10-2011, 05:36 AM   #4
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Hi again,

The first question that comes to mind: Why download all 8 ISO's? The only one you need is the first cd or dvd (quote: The first CD/DVD disk contains all the files necessary to install a standard Debian system.). Burning this first cd/dvd and running from that would be the way to go (just my opinion).

It is possible to use the 5.1.4. Booting from Linux Using LILO or GRUB. I'm not sure if you can place all dvd's to that location, but the documentation does say the following:
Quote:
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.
BTW: "Sharing" swap is no problem whatsoever.

Hope this helps.
 
Old 02-11-2011, 02:40 AM   #5
qrange
Senior Member
 
Registered: Jul 2006
Location: Belgrade, Yugoslavia
Distribution: Debian stable/testing, amd64
Posts: 1,061

Original Poster
Rep: Reputation: 47
this is terrible. I have been searching for hours and hours and only found this:
http://forums.debian.net/viewtopic.php?f=17&t=52153

why the hell isn't there step-by-step instructions in installer documentation.

Last edited by qrange; 02-11-2011 at 02:41 AM.
 
Old 02-11-2011, 03:09 AM   #6
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Hi,

What is your specific problem? The link you provide is for a net-install (which you don't want, see post #3).

All the info needed can be found in the Debian GNU/Linux Installation Guide (amd64 version)

In short, assuming you still want to use the ISO('s) from the hard-disk:

1) create a partition and format it,
2) create the /boot/newinstall directory on it,
3) place the initrd.gz, vmlinuz file and the ISO image into that directory (possibly all 8 ISO's, although I'm not sure if that works, see post #4. You can always try),
4) add the above to your current grub/lilo
5) reboot into this new entry,
6) start installing Debian.

Hope this helps.
 
Old 02-11-2011, 03:56 AM   #7
qrange
Senior Member
 
Registered: Jul 2006
Location: Belgrade, Yugoslavia
Distribution: Debian stable/testing, amd64
Posts: 1,061

Original Poster
Rep: Reputation: 47
I managed to install it using special initrd.gz and vmlinuz from
hd-media/initrd.gz

(I had been trying with vmlinuz from first .iso, that won't work)

btw, I'm very happy how fast 64bit version boots. hoping that installing additional applications won't slow it down much

Last edited by qrange; 02-11-2011 at 04:02 AM.
 
Old 02-12-2011, 04:34 AM   #8
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Hi,
Quote:
Originally Posted by qrange View Post
I managed to install it using special initrd.gz and vmlinuz from
hd-media/initrd.gz

(I had been trying with vmlinuz from first .iso, that won't work)
You indeed need to use one of the the special version (link was given by me in post #6 and it is mentioned in the install document).

Anyway: Glad to see you got this solved!

Can you put up the [SOLVED] tag (first post -> Thread Tools).
 
Old 05-06-2011, 11:09 AM   #9
qrange
Senior Member
 
Registered: Jul 2006
Location: Belgrade, Yugoslavia
Distribution: Debian stable/testing, amd64
Posts: 1,061

Original Poster
Rep: Reputation: 47
I am trying to install it again, but cannot find appropriate vmlinuz; official server (ftp.debian.org) has only this file:
[ ]installer-amd64/current/images/hd-media/ vmlinuz 17-Jan-2011 13:23 2.3M

it is TOO OLD. so there is 'kernel mismatch' error

argh..
 
Old 05-06-2011, 11:37 AM   #10
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Hi,

It isn't clear from your previous replies if you used my suggestion in post #6. It does look like it, in post #7 you talk about initrd.gz and vmlinuz from "hd-media/initrd.gz".

Here's the link again (same as post #6, point 3): Index of /debian/dists/squeeze/main/installer-amd64/current/images/hd-media/. Which holds the current (16:47 19-03-2011) versions of initrd.gz and vmlinuz.

Hope this helps.
 
Old 05-06-2011, 11:45 AM   #11
qrange
Senior Member
 
Registered: Jul 2006
Location: Belgrade, Yugoslavia
Distribution: Debian stable/testing, amd64
Posts: 1,061

Original Poster
Rep: Reputation: 47
thanks, but I tried your nl server too. its two months old and it gives an error when used with debiantesting.iso from this week.

it complains that kernel modules cannot be loaded because there is mismatch between installer and archive kernel.
 
Old 05-06-2011, 11:58 AM   #12
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Hi,

How about these: Index of /daily-images/amd64/daily/hd-media

Hope this helps.
 
Old 05-06-2011, 12:34 PM   #13
qrange
Senior Member
 
Registered: Jul 2006
Location: Belgrade, Yugoslavia
Distribution: Debian stable/testing, amd64
Posts: 1,061

Original Poster
Rep: Reputation: 47
that one fails with error 'cannot copy file from cdrom'...'check the media'...

but md5sum is ok, I checked it.

edit: another thing, the last vmlinuz (from daily images) is identical to the one inside .iso file.

edit2: installed it from DVD.

Last edited by qrange; 05-07-2011 at 05:21 AM.
 
  


Reply



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
1Tb sata hdd installing Debian how much space to allocate EDDY1 Linux - Newbie 9 12-10-2010 03:28 AM
copied Debian install from dead hdd to new hdd.now system fails to boot :S deepclutch Debian 18 02-15-2008 07:17 AM
Urgent: Installing debian etch on a new hdd but grub won't install (fatal error) MrInept Debian 4 09-14-2006 08:54 AM
Problem installing Debian woody 3.0r2 on a 200GB HDD pavlidisd Debian 10 11-27-2004 11:04 AM
Installing Debian on External HDD h0meb0y25 Debian 2 04-29-2004 12:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

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