How can I hide a local disk in Finder at root level?
Here you go

/usr/bin/SetFile -a V /Volumes/Macintosh\ HD


You will need to get the command line tools installed from Xcode if your system lacks the setfile program.