You are not logged in or registered. Please login or register to use the full functionality of this board...

Post Reply 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Replacing a failing /dev/sda in a mirror array
07-30-2012, 06:33 PM (This post was last modified: 07-31-2012 08:29 PM by knifebunny.)
Post: #1
Replacing a failing /dev/sda in a mirror array
Unplug sda

Plug sdb in drive 0 position (master position) on motherboard

1. Boot from a Linux CD-ROM type : linux rescue when at the boot prompt.

2. make a folder to mount the disk to: mkdir /mnt/temp

3. The mount the master disk to a temp mount. mount /dev/sda1 /mnt/temp

4. Go to the mount location and make sure everything is there for a reality check.

5. Now we will re-write the boot loader so we can boot the disk (assuming hd0 is our target drive position the sda1 partition becomes a 0 as grub start counting a 0). This comes together as (hd0,0)

grub> root (hd0,0)
grub> setup (hd0)
grub> quit

6. Now reboot the machine and your clone drive should be a bootable master disk.
Find all posts by this user
Quote this message in a reply
Post Reply 

Forum Jump:

User(s) browsing this thread: 1 Guest(s)