Helpful #2
Replies: 1 comment
-
Yeah, I haven't learned about switch_root yet, so I haven't written about it, but if you're interested, you're welcome to write an extension to the guide talking about setting up a mutable root file system with switch_root. It sounds super cool!
Ah, this seems like a much better solution than what I have currently. I will look into it and update accordingly. Thanks for the tip |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Thanks for this info. I'm trying to create a small system that can run off a HDD and/or a USB drive. I'm still not able to do a switch_root from the initramfs to a hardware root fs, but this helped get me to that point.
FYI, 'chmod +s su' will change the permissions of busybox and all the other commands. Others have created a separate small busybox binary with just the su and sudo commands built in, and given that binary the ability to elevate permissions.
Beta Was this translation helpful? Give feedback.
All reactions