Linux Live Kit *also* failed to produce a working Live CD/DVD image for Teo En Ming Linux
Subject: Linux Live Kit *also* failed to produce a working Live CD/DVD image for Teo En Ming Linux
Dear Tomas Matejicek,
On 12 Mar 2020, I have successfully created my own custom Linux distribution by following the Linux From Scratch 20200302-systemd book. It is installed on my
Toshiba 1 TB 3.5 inch SATA internal harddisk /dev/sdb2. I named my own custom Linux distribution "Teo En Ming Linux".
After the initial success, I proceeded to create a Live CD/DVD image by following Jimmy Anderson's guide at the LFS hints mailing list. I think that the init script for
the initial ramdisk (initramfs) was very outdated and could not produce a working Live CD/DVD image. It resulted in a kernel panic. Linux kernel boot messages show
trampoline_32bit and booted via startup_32(). I am guessing that the 64-bit Linux kernel on my Live CD/DVD booted up in 32-bit mode, and when it tried to execute 64-bit
/sbin/init (which is a symlink to systemd binary), it resulted in a kernel panic. The exact error is: "kernel panic - not syncing: Attempted to kill init!
exit code=0x00000200".
You can get more details at
Blog post: "Teo En Ming's Linux From Scratch (LFS) 20200302-systemd Bootable Live CD/DVD Kernel Panic"
URL: https://tdtemcerts.blogspot.com/2020/03/teo-en-mings-linux-from-scratch-lfs.html
With the failure to produce a working Live CD/DVD from my LFS 20200302-systemd build using Jimmy Anderson's guide, I began searching for other alternatives to create a Live
CD/DVD image. That is when I chanced upon your Linux Live Kit project. I downloaded Tomas-M-linux-live-v2.3-45-g56dc040.tar.gz and created a Live CD/DVD image of my custom Linux distribution. However, the generated Live CD/DVD image also ended up with a kernel panic. This time the kernel panic is different. The exact error is: "Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)"
You can view a screenshot of the kernel panic at the following URL
https://tdtemcerts.blogspot.com/2020/03/kernel-panic-not-syncing-vfs-unable-to.html
Is the kernel panic happening because I used GRUB2 and systemd (and not System V) on Teo En Ming Linux? How can I modify the init script for initramfs to avoid kernel panics and produce a working Live CD/DVD image? Is there a good tutorial on this?
Please advise.
Thank you very much.
REFERENCES
===========
[1] https://groups.google.com/forum/m/#!topic/slax-users/ThZ26UJN_qU
Dear Tomas Matejicek,
On 12 Mar 2020, I have successfully created my own custom Linux distribution by following the Linux From Scratch 20200302-systemd book. It is installed on my
Toshiba 1 TB 3.5 inch SATA internal harddisk /dev/sdb2. I named my own custom Linux distribution "Teo En Ming Linux".
After the initial success, I proceeded to create a Live CD/DVD image by following Jimmy Anderson's guide at the LFS hints mailing list. I think that the init script for
the initial ramdisk (initramfs) was very outdated and could not produce a working Live CD/DVD image. It resulted in a kernel panic. Linux kernel boot messages show
trampoline_32bit and booted via startup_32(). I am guessing that the 64-bit Linux kernel on my Live CD/DVD booted up in 32-bit mode, and when it tried to execute 64-bit
/sbin/init (which is a symlink to systemd binary), it resulted in a kernel panic. The exact error is: "kernel panic - not syncing: Attempted to kill init!
exit code=0x00000200".
You can get more details at
Blog post: "Teo En Ming's Linux From Scratch (LFS) 20200302-systemd Bootable Live CD/DVD Kernel Panic"
URL: https://tdtemcerts.blogspot.com/2020/03/teo-en-mings-linux-from-scratch-lfs.html
With the failure to produce a working Live CD/DVD from my LFS 20200302-systemd build using Jimmy Anderson's guide, I began searching for other alternatives to create a Live
CD/DVD image. That is when I chanced upon your Linux Live Kit project. I downloaded Tomas-M-linux-live-v2.3-45-g56dc040.tar.gz and created a Live CD/DVD image of my custom Linux distribution. However, the generated Live CD/DVD image also ended up with a kernel panic. This time the kernel panic is different. The exact error is: "Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)"
You can view a screenshot of the kernel panic at the following URL
https://tdtemcerts.blogspot.com/2020/03/kernel-panic-not-syncing-vfs-unable-to.html
Is the kernel panic happening because I used GRUB2 and systemd (and not System V) on Teo En Ming Linux? How can I modify the init script for initramfs to avoid kernel panics and produce a working Live CD/DVD image? Is there a good tutorial on this?
Please advise.
Thank you very much.
REFERENCES
===========
[1] https://groups.google.com/forum/m/#!topic/slax-users/ThZ26UJN_qU
Comments
Post a Comment