Skip to main content

Timeline for file /proc/cmdline is empty

Current License: CC BY-SA 4.0

9 events
when toggle format what by license comment
Nov 10, 2019 at 0:00 vote accept MayAccer
Nov 10, 2019 at 0:00 answer added MayAccer timeline score: 1
Nov 7, 2019 at 7:47 comment added MayAccer before trying to read the cmdfile i mount proc with mount -t proc none /proc, and i can attest that it was mounted correctly as the directory is populated correctly.
Nov 7, 2019 at 7:08 comment added telcoM You're within initramfs, so have you mounted the /proc filesystem yet at this point?
Nov 7, 2019 at 0:23 comment added MayAccer I'm not using grub, but i tried with it passing the arguments in the grub shell: linux (hd0,x)/boot/vmlinuz-4.19-80 flags; initrd (hd0,x)/boot/initrd-4.19-80; boot But the flags didn't appeared inside /proc/cmdline, which was empty
Nov 6, 2019 at 23:41 comment added icarus At least with grub, you would expect to end up with a line like linux /filename1 param1 param2 param3 and a second initrd /filename2 to tell grub to load a kernel from filename1 and the initial ramdisk from filename2. The param1 param2 param3 stuff would go into memory and be accessed by the /proc/cmdline file. So are you providing this information, either by the commands you are giving to grub directly or via the grub.cfg file?
Nov 6, 2019 at 22:47 comment added MayAccer no, there's no /proc/config.gz, but i'm using the pre-compiled libre-linux from freesh, and in their site they give the config: linux-libre.fsfla.org/pub/linux-libre/freesh/configs/4.19/…
Nov 6, 2019 at 22:36 comment added Arkadiusz Drabczyk It might be that parameters are passed in device tree or that booting parameters are hardcoded. Does /proc/config.gz exist?
Nov 6, 2019 at 22:32 history asked MayAccer CC BY-SA 4.0