LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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, 07: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, 08:07 PM   #2
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Devuan
Posts: 3,657
Blog Entries: 33

Rep: Reputation: 283Reputation: 283Reputation: 283
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, 08: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, 08: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, 09:45 PM   #5
rokytnji
LQ Veteran
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: antiX 23, MX 23
Posts: 7,113
Blog Entries: 21

Rep: Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474
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, 08:37 AM   #6
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Devuan
Posts: 3,657
Blog Entries: 33

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

Google is your friend.

lookup man dd
 
  


Reply



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 09:50 AM
How to fix MBR Renu Shah Linux - Newbie 8 07-12-2012 04:04 PM
Difference between a Shell terminal window and the KDE Linux Console terminal window? bostonantifan Fedora 2 03-25-2007 07:23 PM
by tring to fix the MBR i damage the MBR that was help... AKAKAK Fedora 4 03-21-2005 08:18 AM
How to fix MBR? snakeo2 Linux - Newbie 1 03-20-2005 04:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:29 PM.

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
Open Source Consulting | Domain Registration