LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 04-30-2018, 05:08 PM   #1
igsen
Member
 
Registered: Mar 2009
Location: Phil. Is.
Distribution: Ubuntu 18.04
Posts: 80

Rep: Reputation: 15
Where to get vmlinuz and initrd.gz files


Distro hopping...

Found this guide at https://www.debian.org/releases/stab...h04s04.html.en

Quote:
4.4.1. Hard disk installer booting from Linux using LILO or GRUB

This section explains how to add to or even replace an existing linux installation using either LILO or GRUB.

At boot time, both bootloaders support loading in memory not only the kernel, but also a disk image. This RAM disk can be used as the root file-system by the kernel.

Copy the following files from the Debian archives to a convenient location on your hard drive (note that LILO can not boot from files on an NTFS file system), for instance to /boot/newinstall/.

vmlinuz (kernel binary)

initrd.gz (ramdisk image)

Finally, to configure the bootloader proceed to Section 5.1.5, “Booting from Linux using LILO or GRUB”.
I am trying to install debian via hard disk. Can someone please tell where to download these files.
 
Old 04-30-2018, 05:56 PM   #2
tofino_surfer
Member
 
Registered: Aug 2007
Posts: 470

Rep: Reputation: 140Reputation: 140
This guide is ancient. First of all LILO isn't used much anymore and grub2 has replaced grub which is now called legacy grub.

Second the following quote:

Quote:
A full, “pure network” installation can be achieved using this technique. This avoids all hassles of removable media, like finding and burning CD images or struggling with too numerous and unreliable floppy disks.
This guide is also pre-UEFI as it mentions only legacy BIOS.

You should find a much newer guide or you may not need one at all. A good installer will install grub2 for you automatically so you don't need to do anything manually.
 
Old 05-01-2018, 03:11 AM   #3
fatmac
Senior Member
 
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Posts: 4,077

Rep: Reputation: Disabled
The Net Install image is the smallest working system & only has the very basics to allow you to do an installation over a wired network connection, you will find both files on it, (plus a few others).
 
Old 05-01-2018, 09:35 AM   #4
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 16,896
Blog Entries: 10

Rep: Reputation: 5024Reputation: 5024Reputation: 5024Reputation: 5024Reputation: 5024Reputation: 5024Reputation: 5024Reputation: 5024Reputation: 5024Reputation: 5024Reputation: 5024
Quote:
Originally Posted by igsen View Post
I am trying to install debian via hard disk.
can you please expand on this.
the usual way nowadays is to "burn" the appropriate .iso file to a USB (or CD or DVD), and install from that, to hard drive.

for debian stable, you get the .iso here: https://www.debian.org/CD/http-ftp/#stable
 
Old 05-01-2018, 07:27 PM   #5
igsen
Member
 
Registered: Mar 2009
Location: Phil. Is.
Distribution: Ubuntu 18.04
Posts: 80

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by ondoho View Post
can you please expand on this.
the usual way nowadays is to "burn" the appropriate .iso file to a USB (or CD or DVD), and install from that, to hard drive.

for debian stable, you get the .iso here: https://www.debian.org/CD/http-ftp/#stable
What I want to achieve is to install Debian without the use of external media.
The "guide" says that it is possible.
 
Old 05-03-2018, 11:11 AM   #6
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 16,896
Blog Entries: 10

Rep: Reputation: 5024Reputation: 5024Reputation: 5024Reputation: 5024Reputation: 5024Reputation: 5024Reputation: 5024Reputation: 5024Reputation: 5024Reputation: 5024Reputation: 5024
i think this is still possible, however someone pointed out that the guide you linked is ancient.

reading here: https://wiki.debian.org/DebianInstall
i think (i am not experienced in this) the Debootstrap method is what you're looking for.
 
Old 05-04-2018, 01:18 PM   #7
tofino_surfer
Member
 
Registered: Aug 2007
Posts: 470

Rep: Reputation: 140Reputation: 140
I had a look at these instructions and they are too old for a systemd OS. Debian Jessie released in April 2015 and of course the newer Stretch are now systemd.

Code:
chroot # dselect
[ you may use aptitude, install mc and vim ... ]
 main # echo "8:23:respawn:/usr/sbin/chroot $MY_CHROOT " \
        "/sbin/getty 38400 tty8"  >> /etc/inittab
[ define a login tty that will use this system ]
[ i.e. create tty8 with `mknod tty8 c 4 8' and run `passwd' ]
 main # init q
[ reload init ]
The instructions tell you to add a line to /etc/inittab which isn't used at all with systemd. Also /sbin/getty doesn't really exist with systemd. Getty works differently. These instructions would have no effect with Jessie or Stretch.

The strange part is the modification date of the page Debootstrap (last modified 2017-02-27 09:16:11) is nearly two years after Jessie was released and so two years after these instructions were obsolete. Based on this guide and the one to which the OP referred I am not impressesed with Debian documentation.
 
Old 04-04-2021, 01:47 AM   #8
arafatx
LQ Newbie
 
Registered: Apr 2021
Posts: 1

Rep: Reputation: Disabled
Wow, no answer

This is a good question but it's sad that nobody answer this correctly. He asked "where to download" not "should I download it" ? Even if you use GRUB method you still need to have the downloaded files enabled. LILO is not outdated as today, it's still documented in the latest release of Debian. I still want to re-ask this kind of question, where to download those 2 files ?
 
Old 04-04-2021, 05:29 AM   #9
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 5,321
Blog Entries: 15

Rep: Reputation: 3110Reputation: 3110Reputation: 3110Reputation: 3110Reputation: 3110Reputation: 3110Reputation: 3110Reputation: 3110Reputation: 3110Reputation: 3110Reputation: 3110
As far as I can remember, Debian doesn't come with a pre-existing initrd. The installation program makes one for you based on your hardware.
 
Old 04-04-2021, 07:25 AM   #10
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 9,306

Rep: Reputation: 2056Reputation: 2056Reputation: 2056Reputation: 2056Reputation: 2056Reputation: 2056Reputation: 2056Reputation: 2056Reputation: 2056Reputation: 2056Reputation: 2056
Quote:
This is a good question but it's sad that nobody answer this correctly. He asked "where to download
In the original post, the OP answered his own question. The files are downloaded from the Debian archives so I guess he couldn't find them. Booting and installing a Linux OS using a 'live' or 'install' image on a hard drive partition is a very simple process with either Grub Legacy or Grub2 which is what the OP stated was the goal in post 5. I hope/expect the OP found an answer in the intervening 3 years.
 
Old 04-12-2021, 12:17 AM   #11
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,145

Rep: Reputation: 1496Reputation: 1496Reputation: 1496Reputation: 1496Reputation: 1496Reputation: 1496Reputation: 1496Reputation: 1496Reputation: 1496Reputation: 1496
Quote:
Originally Posted by arafatx View Post
I still want to re-ask this kind of question, where to download those 2 files ?
Under
http://http.us.debian.org/debian/dis...urrent/images/
See http://http.us.debian.org/debian/dis...mages/MANIFEST
for details.
 
Old 04-12-2021, 05:59 AM   #12
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 16,234

Rep: Reputation: 5451Reputation: 5451Reputation: 5451Reputation: 5451Reputation: 5451Reputation: 5451Reputation: 5451Reputation: 5451Reputation: 5451Reputation: 5451Reputation: 5451
1. necro thread
2. vmlinuz and initrd belong to the kernel, so will be installed together with the kernel.
https://packages.debian.org/search?s...uster&arch=any
3. usually we do not download these files, but the full package (and unpack if you really wish).
4. if you want to install a distro these two files will not be enough....
 
  


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
vmlinuz and initrd sujithspillai90 Linux - Newbie 4 09-13-2012 03:47 AM
Where can I find generic vmlinuz and initrd.img files? seannachie Linux - General 8 05-06-2012 02:25 PM
[SOLVED] difference between initrd and vmlinuz images samtoddler Linux - Server 6 07-21-2011 07:35 AM
Grub Re-Install (includes Vmlinuz/initrd files) danykallery Linux - Software 2 03-07-2011 07:23 PM
tiny multipurpose vmlinuz + initrd RaptorX Linux - General 0 07-10-2009 02:18 PM

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

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