LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   MBR / GRUB backup oSuSE 11.0 running dd command (bash shell) `permission denied' (https://www.linuxquestions.org/questions/linux-newbie-8/mbr-grub-backup-osuse-11-0-running-dd-command-bash-shell-%60permission-denied-661018/)

digital8doug 08-06-2008 08:30 PM

MBR / GRUB backup oSuSE 11.0 running dd command (bash shell) `permission denied'
 
dd Command will not successfully run from terminal option of openSuSE 11.0,
I get dd: opening `/dev/sda' permission denied,
not sure why. dd does not appear listed as a bash command, but dd --help shows what I expected.
I have a 200 GB Seagate SATA HD in Asus G1S-B1

http://www.linuxquestions.org/questi...ml#post3221758

dd if=/dev/sda of=/media/TOP4G/mbr.boot bs=512 count=1
as my 4GB SDHC card is `TOP4G'

7aug08; TY bigrigdriver, figured it was something easy I'd forgotten. `sudo' worked!

bigrigdriver 08-06-2008 11:38 PM

Quote:

I get dd: opening `/dev/sda' permission denied,
not sure why. dd does not appear listed as a bash command,
That is to be expected if you try to run the dd command as user and not as root. dd is not in the user's path.

Su to root, then try again.


All times are GMT -5. The time now is 05:03 AM.