I’m trying to learn more about operating systems and I am currently taking a look how the Linux kernel is loaded and initialized. Thanks to several related questions and this book, I was mostly able to understand how the transition from real mode to protected mode works. However, the one thing I donR…
Tag: boot
Python – Crontab script not showing Pillow Images
My crontab is In new.sh I have In new.py I open images with the Pillow module and play music, but when I boot it only plays the music. Any help is appreciated. EDIT: The music plays perfectly. Edit: The shell script runs it fine in terminal. ANSWERED! Answer In the bash script, write export DISPLAY=”:0.…
How OpenVZ boot OS?
I bought VPS on OpenVZ virtualization and enabled Debian guest OS. Guest /boot dir is empty. /etc/inittab is empty. How is the OS initialization process performed? What is the meaning of reboot for OpenVZ container? Answer After research I clone vzctl tool as main job about starting/stopping done here: vzctl …
The difference between initrd and initramfs?
As far as I know, initrd acts as a block device, thus requiring a filesystem driver (such as ext2). The kernel must have at least one built-in module for detecting filesystem of initrd. In this article, Introducing initramfs, a new model for initial RAM disks, it is written that: But ramdisks actually waste e…