skip to main
|
skip to sidebar
Techie Tips
A way to your Success...!
Pages
Popular Posts
Forcefully remove LVM
You may come across the below error while removing an LVM especially with Xen nodes. lvremove -f /dev/xen/vmXXX_img Logical volume xe...
Read-only locking type set. Write locks are prohibited. (LVM)
If you receive the following error while creating the LVM, here is the fix ----------------------------- Read-only locking type set. Wri...
Adaptec Raid Monitoring
You can download the source from here http://download.adaptec.com/raid/storage_manager/asm_linux_x64_v7_31_18856.tgz /usr/StorMan/arcc...
CentOS Rescue
Rebuilt the madadm . conf and re-configured grub on MBR of sda To rebuild the mdadm.com ==> mdadm --detail --scan >> /etc/ md...
FFMPEG Installation
Install ffmpeg, flvtool2, mplayer, mencoder and ffmpeg-php in Cpanel, CentOS, RHEL This is by far the easiest way to get up and running...
Limit Outgoing Bandwidth using 'tc' Command
You can limit the outgoing bandwidth on server with the tc tool as shown below (1) Limit the bandwidth to 1MBps on the no...
Install RPM packages to a Crashed server + RAID (software ) in rescue mode
(1) Boot in to the rescue mode. Since the server have packages dependency problems, it will not allow you to chroot . (2) Configure net...
Script to block IP address which has more connection to the port 80
###This will block the IP which has more than 50 connection to the port 80##### netstat - anpl | awk '{print $5}'| grep : 80...
Perl/Calfbot (spamming script) infection
Perl/Calfbot The presence of a /tmp/... file reveals if a server is infected and the file creation timestamp will accurately reflec...
Parted Partitioning Tool
Parted Installation ----------------------- You can install parted using yum #yum -y install parted How to Viewing the Current Partiti...
Blogroll
About
About Me
Unknown
View my complete profile
Powered by
Blogger
.
Sunday, December 22, 2013
Install grub from rescue mode: Software raid 1
I use CentOS CD and boot into Linuxrescue. From there i fixed master boot record.
1. open grub
2. grub> find /grub/grub.conf
3. This provide some thing like:
(hd0,2)
(hd1,2)
4. root (hd0,2)
5. setup (hd0)
6. root (hd1,2)
7. setup (hd1)
8. quit grub
0 comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
Blogger templates
Blogger news
Blog Archive
►
2016
(3)
►
January
(3)
►
Jan 28
(3)
►
2015
(3)
►
August
(1)
►
Aug 19
(1)
►
July
(2)
►
Jul 10
(2)
►
2014
(38)
►
November
(3)
►
Nov 14
(3)
►
July
(7)
►
Jul 12
(1)
►
Jul 07
(5)
►
Jul 06
(1)
►
June
(3)
►
Jun 15
(1)
►
Jun 14
(1)
►
Jun 11
(1)
►
May
(4)
►
May 13
(1)
►
May 12
(1)
►
May 03
(1)
►
May 02
(1)
►
April
(8)
►
Apr 30
(2)
►
Apr 28
(5)
►
Apr 19
(1)
►
March
(13)
►
Mar 29
(1)
►
Mar 25
(12)
▼
2013
(28)
▼
December
(2)
►
Dec 31
(1)
▼
Dec 22
(1)
Install grub from rescue mode: Software raid 1
►
October
(26)
►
Oct 31
(2)
►
Oct 09
(1)
►
Oct 05
(4)
►
Oct 04
(19)
0 comments:
Post a Comment