grub2 - chmod hard drive at grub? - Ask Ubuntu


a computer of friend of mine used have command @ grub changed permissions hard drive 666 or whatever access vm without worrying groups &c. friend passed away few months ago , can’t remember had in grub file. may have involved having grub (or other startup process) run bash script included chmod -r 666 /dev/sdb. distinctly remember that, @ end of grub file, included “wait” command (in seconds) allow start processes complete before chmod command worked.

now i’m trying have pc work his. figure out more or less did?

i’ve managed solve through different route. aim make chmod on drive permanent. solution add line in /etc/rc.local file, before last line ("exit 0"). added line be:

chmod 666 /dev/sdb -r 

but i’ve opted less dramatic, change user ownership of drive:

chown -r [username] /dev/sdb 

this may pose other problems down line, far good.


Comments

Popular posts from this blog

download - Firefox cannot save files (most of the time), how to solve? - Super User

windows - "-2146893807 NTE_NOT_FOUND" when repair certificate store - Super User