zeldor.biz

Linux, programming and more

Copyright © 2025
Log in

Backup your MBR

September 5, 2011 by Igor Drobot Leave a Comment

Master Boot Record (MBR), a small program that is executed when a computer boots up.

You can save your MBR with a simple DD-command to a file:

1
dd if=/dev/sda count=1 bs=512 > /var/backup/MBR

dd if=/dev/sda count=1 bs=512 > /var/backup/MBR

From this file you can restore your MBR very easy:

1
dd if=/var/backup/MBR of=/dev/sdb

dd if=/var/backup/MBR of=/dev/sdb

Filed Under: Linux Tagged With: Master Boot Record, MBR, Save MBR

RAID1 replace broken HDD

September 5, 2011 by Igor Drobot 2 Comments

If you see something like this on your monitor or in your logs, you should worry about your important data.

And immediately change your HDD!

1
2
3
4
5
6
7
8
9
10
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
ata1.00: failed command: FLUSH CACHE EXT
ata1.00: cmd ea/00:00:00:00:00/00:00:00:00:00/a0 tag 0
res 40/00:0c:b9:68:55/00:00:05:00:00/40 Emask 0x4 (timeout)
ata1.00: status: { DRDY }
ata1: hard resetting link
ata1: link is slow to respond, please be patient (ready=0)
ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
ata1.00: configured for UDMA/133
ata1: EH complete

ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen ata1.00: failed command: FLUSH CACHE EXT ata1.00: cmd ea/00:00:00:00:00/00:00:00:00:00/a0 tag 0 res 40/00:0c:b9:68:55/00:00:05:00:00/40 Emask 0x4 (timeout) ata1.00: status: { DRDY } ata1: hard resetting link ata1: link is slow to respond, please be patient (ready=0) ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300) ata1.00: configured for UDMA/133 ata1: EH complete

[Read more…]

Filed Under: Linux Tagged With: Debian, RAID, raid1, restore RAID, SMART, smartmontools, soft raid

Getting started with arduino Part II

August 16, 2011 by Igor Drobot 4 Comments

Hallelujah! My Arduino kit arrived it was a really far way for it, it was shipped from Hong Kong.

It was seized for one week by customs office in Germany and, now its arrived at my workplace. The package consists of tiny little packages with following content: [Read more…]

Filed Under: Linux Tagged With: arduino, arduino duemilanove, arduino IDE, Arduino Troubleshooting, ATmega328, DIY, IR

Unbound DNS-Server

August 9, 2011 by Igor Drobot 1 Comment

Unbound is a validating, recursive, and caching DNS server alternative to BIND(Berkeley Internet Name Daemon) its a software product from NLnet Labs, VeriSign, Nominet, and Kirei. And of course its open source under BSD license.

Unbound supports [Read more…]

Filed Under: Linux, Networking Tagged With: DNS, dns resolving, DNS Server, dnssec, resolution, Unbound

Nginx – Error 413: Request Entity Too Large

August 9, 2011 by Igor Drobot Leave a Comment

The default Nginx maximum body-size of a client request, or maximum file size is 1M. So when you try to upload something larger than 1M, you get the following error: 413: Request Entity Too Large

Create a new configuration file: [Read more…]

Filed Under: Debian, HTTP, Linux, Networking Tagged With: client_max_body_size, Error 413, Nginx

  • « Previous Page
  • 1
  • …
  • 31
  • 32
  • 33
  • 34
  • 35
  • …
  • 74
  • Next Page »
Yeaaah Cookie! We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.Ok