Boot to any [Manjaro] live GUI disk. Use manjaro-chroot 1. Start by identifying the partition where your Manjaro installation controlling the active Grub menu resides and needs repairing. If you are in Graphical mode you can use an application called GPartEd , which should be in Menu > System > GPartEd. This will provide a simple visual illustration of the partitions on your hard drive(s). To do the same thing from terminal or TTY you can use this command lsblk -f 2. manjaro-chroot is a tool to easily setup a functional chroot into an installed Linux installation from a live boot of a Manjaro Installation Media. To setup the chroot use the command sudo manjaro-chroot -a You will be presented with a terminal. Wait until it shows a list with the available system partitions on your computer and choose the one you want to repair. 1.) First of all check the partition for the ESP (EFI System Partition). An ESP is a fat32 partition and contains .efi ...
to find writable files regardless of owner, group or others, you can check the
if you want to find owner write permission
w flag in the file permission column of ls.ls -l | awk '$1 ~ /^.*w.*/'
$1 is the first field, (ie the permission block of ls -l) , the
regular expression just say find the letter "w" in field one. that's
all.if you want to find owner write permission
ls -l | awk '$1 ~ /^..w/'
if you want to find group write permissionls -l | awk '$1 ~ /^.....w/'
if you want to find others write permissionls -l | awk '$1 ~ /w.$/'
with subdirs:
ls -ld `find . -type d` | awk '$1 ~ /w.$/'
ls -ld $(find .) | awk '$1 ~ /w.$/'
Comments
Post a Comment