[01:44] <esv> hey folks, I accidentally on purpose deleted all intramfs files on my Ubuntu 22.04 and the darn thing still boots, may I know why?
[01:45] <esv> it's a very cool feature but I'd like to understand why.
[01:46] <esv> or how it is accomplished 
[02:02] <bryceh> esv, https://manpages.ubuntu.com/manpages/focal/en/man8/update-initramfs.8.html
[02:03] <bryceh> esv your initramfs files are analogous to the "source code", that this tool builds and installs into your bootloader.  Bit more complicated than that but that's a basic way to understand it.
[02:04] <esv> right, but if I delete them from /boot, how's the machine still starting.
[02:17] <bryceh> esv, again, the stuff in /boot is just the source.  update-initramfs installs the image into the UEFI firmware, and BIOS loads that directly.  Google initramfs and EFI for more details, I'm far from an expert in this, and there's more than one way to do it.
[02:23] <esv> right, but every other OS I've tested fails to boot if initramfs/initrd is not present in /boot, even Ubuntu 18.04. 
[02:23] <esv> thanks, I'll dig further. 
[04:51] <alkisg> esv: if you wish, send us the output of these commands: (cat /proc/cmdline; sudo cat /boot/grub/grub.cfg; sudo lsblk -fe7; df -h; sudo find /boot -ls) | nc termbin.com 9999
[11:03] <esv> https://termbin.com/niak
[11:03] <esv> alkisg, thnx
[11:06] <esv> ahhhhh! it is taking the initrdfail path 
[11:08] <esv> err, initrdless option 
[11:08] <esv> pretty nifty 
[19:22] <lunatiq> I chmod -R 777 to open permissions for something and it doesn't change it from 444
[19:22] <lunatiq> I chattr -i -R and I get an error
[19:56] <rbasak> lunatiq: I suggest you start by stating what you're actually trying to achieve. See https://xyproblem.info/
[19:58] <lunatiq> I'm trying to open permissions so I can edit a file. For some reason .nfs files are being created at the same time the hacked file is being edited.
[19:59] <lunatiq> its happening every millisecond
[20:00] <sarnold> heh, take a few more steps back..
[20:05] <lunatiq> I can't change permission and Im root
[20:16] <sarnold> pastebin the commands that you're running and the error output you get?
[20:22] <lunatiq> I don't get any error from chmod -R 7777 /dir
[20:22] <lunatiq> 777
[20:45] <sarnold> lunatiq: alright, and namei -l /dir  ?