LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 07-18-2013, 08:45 PM   #1
yujwancab
LQ Newbie
 
Registered: Jul 2013
Posts: 3

Rep: Reputation: Disabled
How to fix sd card's MBR on terminal window?


Pls help me to have a command on how to fix mbr/format as new of my old sd cards.

Thank you.
 
Old 07-18-2013, 09:07 PM   #2
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Posts: 3,366
Blog Entries: 33

Rep: Reputation: 216Reputation: 216Reputation: 216
Quote:
Hi, Welcome to LQ!

LQ has a fantastic search function that may save you time waiting for an answer to a popular question.

With over 4 million posts to search it's possible the answer has been given.
to clean/wipe mbr...including partition table....
Code:
dd if=/dev/zero of=/dev/sd(x) bs=512 count=1
as root...My flashdrive usually uses /dev/sdd, check yours first!
Code:
sudo dd if=/dev/zero of=/dev/sdd bs=512 count=1
"NOT sda1, for flashdrives type mount and note the usb device info.
unmount the device and check you have the correct info, it should be gone.
Remount the device and continue."

Hope this helps, regards Glenn
 
1 members found this post helpful.
Old 07-18-2013, 09:16 PM   #3
yujwancab
LQ Newbie
 
Registered: Jul 2013
Posts: 3

Original Poster
Rep: Reputation: Disabled
Hi Mr. Glenn,

I appreciate for your help & quick response, I will post results.

Thank You.

BTW: I'm new here in LQ.

Regards,
Yujwancab
 
Old 07-18-2013, 09:22 PM   #4
yujwancab
LQ Newbie
 
Registered: Jul 2013
Posts: 3

Original Poster
Rep: Reputation: Disabled
Hi Mr. Glenn,

My SD cards size commonly 8GBytes. Is there any size to be given in "bs=512"?

Thanks.
 
Old 07-18-2013, 10:45 PM   #5
rokytnji
Senior Member
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: AntiX 15 , ChromeOS
Posts: 4,835
Blog Entries: 19

Rep: Reputation: 2027Reputation: 2027Reputation: 2027Reputation: 2027Reputation: 2027Reputation: 2027Reputation: 2027Reputation: 2027Reputation: 2027Reputation: 2027Reputation: 2027
Quote:
Originally Posted by yujwancab View Post
Hi Mr. Glenn,

My SD cards size commonly 8GBytes. Is there any size to be given in "bs=512"?

Thanks.
http://www.linuxquestions.org/questi...-query-606489/
 
Old 07-20-2013, 09:37 AM   #6
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Posts: 3,366
Blog Entries: 33

Rep: Reputation: 216Reputation: 216Reputation: 216
It won matter what size the memory is, that is the bs (byte size)

Google is your friend.

lookup man dd
 
  


Reply


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
How to fix mbr in linux or gparted, etc. (for a mbr partitioned disk) imayneed Linux - Newbie 2 08-26-2012 10:50 AM
How to fix MBR Renu Shah Linux - Newbie 8 07-12-2012 05:04 PM
Difference between a Shell terminal window and the KDE Linux Console terminal window? bostonantifan Fedora 2 03-25-2007 08:23 PM
by tring to fix the MBR i damage the MBR that was help... AKAKAK Fedora 4 03-21-2005 09:18 AM
How to fix MBR? snakeo2 Linux - Newbie 1 03-20-2005 05:59 PM


All times are GMT -5. The time now is 11:38 AM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration