LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   Where to get vmlinuz and initrd.gz files (https://www.linuxquestions.org/questions/debian-26/where-to-get-vmlinuz-and-initrd-gz-files-4175628735/)

igsen 04-30-2018 05:08 PM

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.

tofino_surfer 04-30-2018 05:56 PM

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.

fatmac 05-01-2018 03:11 AM

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).

ondoho 05-01-2018 09:35 AM

Quote:

Originally Posted by igsen (Post 5849101)
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

igsen 05-01-2018 07:27 PM

Quote:

Originally Posted by ondoho (Post 5849396)
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.

ondoho 05-03-2018 11:11 AM

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.

tofino_surfer 05-04-2018 01:18 PM

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.

arafatx 04-04-2021 01:47 AM

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 ?

hazel 04-04-2021 05:29 AM

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.

yancek 04-04-2021 07:25 AM

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.

evo2 04-12-2021 12:17 AM

Quote:

Originally Posted by arafatx (Post 6237045)
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.

pan64 04-12-2021 05:59 AM

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....


All times are GMT -5. The time now is 03:13 AM.