LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 08-06-2008, 08:30 PM   #1
digital8doug
Member
 
Registered: Aug 2006
Location: Near Binghamton, NY-the recent FLOOD zone
Distribution: Sabayon 351, Mepis8, oSuse11.3, Kubuntu8.1, Fed10, Slack12.1 #426299 RLU
Posts: 145
Blog Entries: 1

Rep: Reputation: 15
Question 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!

Last edited by digital8doug; 08-07-2008 at 12:02 AM. Reason: Forgot to sudo when issuing commands as a USER. Was in habit of typing in ROOT pw for Yast!
 
Old 08-06-2008, 11:38 PM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian Squeeze
Posts: 5,782

Rep: Reputation: 311Reputation: 311Reputation: 311Reputation: 311
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.
 
  


Reply

Tags
backup, dd, mbr


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
su: /bin/bash: Permission denied fedora4002 Linux - Security 5 01-29-2010 08:46 AM
Permission denied after backup via admin area of my shop NewBudda Linux - Server 2 01-22-2008 08:17 AM
using tar for backup - error permission denied homy Linux - Software 2 06-18-2007 03:01 PM
bash: Permission Denied Panagiotis_IOA Slackware 5 11-07-2006 10:25 PM
bash: /etc/profile: Permission denied Kanon Linux - Newbie 4 01-21-2005 08:01 AM


All times are GMT -5. The time now is 07:06 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration