How to Check Bad Sectors or Bad Blocks on Hard Disk in Linux

Then scan your Linux disk drive to check for bad sectors/blocks by typing: $ sudo badblocks -v /dev/sda10 > badsectors.txt ———— Specifically for ext2/ext3/ext4 file-systems ———— $ sudo e2fsck -l badsectors.txt /dev/sda10 OR ———— For other file-systems ———— $ sudo fsck -l badsectors.txt /dev/sda10 Scan Bad Sectors on Linux Disk Using Smartmontools ———— On Debian/Ubuntu … Read more

Menambahkan Repo di openBSD

# cp /etc/examples/pkg.conf /etc/ # vi pkg.conf # buka negara yg deket misal jepang #pkg_add -ui -F update # pkg_add -ui -F updatedepends test : install nano pkg_add -iv nano

Setting IP Static in OpenBSD

# ifconfig Sample output: lo0: flags=8049 mtu 33224 groups: lo inet 127.0.0.1 netmask 0xff000000 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4 pcn0: flags=8843 mtu 1500 lladdr 00:0c:29:7a:b5:ce groups: egress media: Ethernet autoselect (autoselect) inet 74.86.49.141 netmask 0xfffffff0 broadcast 74.86.49.143 inet6 fe80::20c:29ff:fe7a:b5ce%pcn0 prefixlen 64 scopeid 0x1 pflog0: flags=0<> mtu 33224 enc0: flags=0<> mtu … Read more

Cara install OpenBSD

Welcome to the OpenBSD/i386 5.9 Installation Program. (I)nstall, (U)pgrade, (A)uto install or (S)hell ? I Choose your keyboarad layout (\’?\’ or L for list) [default] Enter System Hostname ? nothinux Which Network interfaces do you wish to configure? for \’done\’ [em0] Enter IPv4 address for em0? none IPv6 address for em0? none Which Network interfaces … Read more