My application is to do a secure erase on my system disk (an SSD) using hdparmfrom a shell script. So my thoughts were:create a ramdiskcopy the linux OS to the ramdiskunmount the original system drivedo a secure eraseI created the ramdisk and mounted it, but when I do a pivot_root, it can't find any of the applications. I copied all of /bin and /sbin to the ramdisk.
switching to ramdisk root
ramdisk