/srv/irclogs.ubuntu.com/2023/05/16/#ubuntu-server.txt

esvhey 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:44
esvit's a very cool feature but I'd like to understand why.01:45
esvor how it is accomplished 01:46
=== chris14_ is now known as chris14
brycehesv, https://manpages.ubuntu.com/manpages/focal/en/man8/update-initramfs.8.html02:02
brycehesv 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:03
esvright, but if I delete them from /boot, how's the machine still starting.02:04
brycehesv, 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:17
esvright, but every other OS I've tested fails to boot if initramfs/initrd is not present in /boot, even Ubuntu 18.04. 02:23
esvthanks, I'll dig further. 02:23
alkisgesv: 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 999904:51
esvhttps://termbin.com/niak11:03
esvalkisg, thnx11:03
esvahhhhh! it is taking the initrdfail path 11:06
esverr, initrdless option 11:08
esvpretty nifty 11:08
=== philroche_ is now known as philroche
lunatiqI chmod -R 777 to open permissions for something and it doesn't change it from 44419:22
lunatiqI chattr -i -R and I get an error19:22
rbasaklunatiq: I suggest you start by stating what you're actually trying to achieve. See https://xyproblem.info/19:56
lunatiqI'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:58
lunatiqits happening every millisecond19:59
sarnoldheh, take a few more steps back..20:00
lunatiqI can't change permission and Im root20:05
sarnoldpastebin the commands that you're running and the error output you get?20:16
lunatiqI don't get any error from chmod -R 7777 /dir20:22
lunatiq77720:22
sarnoldlunatiq: alright, and namei -l /dir  ?20:45

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!