Hi there,
I am trying to boot my system directly from ISO file. I am following this tutorial
https://www.howtogeek.com/196933/how-to ... ard-drive/
this is for ubuntu. But I want to know where is the kernel and initrd file is located in centos iso file.
i am looking forward to hearing from you soon.
Many thanks,
Rao
where is the kernel and initrd file located in CentOS ISO File
- kraomohsin75
- Posts: 3
- Joined: 2021/07/31 12:08:30
- Location: Karachi
- Contact:
where is the kernel and initrd file located in CentOS ISO File
Many Thanks,
Rao
Rao
-
- Posts: 215
- Joined: 2016/03/16 02:34:19
Re: where is the kernel and initrd file located in CentOS ISO File
Though I can't attest to this methodology, the items you are looking for are in the isolinux/ directory of the ISO file.
Copies of these also exist in images/pxeboot/. Just bear in mind the CentOS 8 ISO contents are installer only, not a live environment if that's part of your aim for doing this.
Cheers,
Mike
Code: Select all
$ mkdir /tmp/mnt && mount -o loop CentOS-[Stream-]<version>-<arch>-dvd1.iso /tmp/mnt
$ ll -h /tmp/mnt/isolinux
-r--r--r--. 1 root root 2.0K Jun 1 16:39 boot.cat
-r--r--r--. 1 root root 84 Jun 1 16:21 boot.msg
-r--r--r--. 1 root root 293 Jun 1 16:21 grub.conf
-r--r--r--. 2 root root 72M Jun 1 16:20 initrd.img # <----
-r--r--r--. 1 root root 38K Jun 1 16:21 isolinux.bin
-r--r--r--. 1 root root 3.1K Jun 1 16:21 isolinux.cfg
-r--r--r--. 1 root root 114K Nov 18 2020 ldlinux.c32
-r--r--r--. 1 root root 177K Nov 18 2020 libcom32.c32
-r--r--r--. 1 root root 23K Nov 18 2020 libutil.c32
-r--r--r--. 1 root root 179K Nov 16 2020 memtest
-r--r--r--. 1 root root 186 May 26 15:44 splash.png
-r--r--r--. 1 root root 2.9K Jun 1 16:39 TRANS.TBL
-r--r--r--. 1 root root 27K Nov 18 2020 vesamenu.c32
-r-xr-xr-x. 2 root root 9.6M Jun 1 12:22 vmlinuz # <----
Cheers,
Mike
Solution Architect @RedHat | RHCE
Former SysAdmin @BlueSkyStudios and @Pixar
Feature animation and VFX enthusiast
--
Report CentOS Stream 8 bugs: https://da.gd/c8s-bugs
Report CentOS Stream 9 bugs: https://da.gd/c9s-bugs
Former SysAdmin @BlueSkyStudios and @Pixar
Feature animation and VFX enthusiast
--
Report CentOS Stream 8 bugs: https://da.gd/c8s-bugs
Report CentOS Stream 9 bugs: https://da.gd/c9s-bugs