User Tools

Site Tools


ubuntu-raid1-conversion

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
ubuntu-raid1-conversion [2009/10/30 10:16] snargubuntu-raid1-conversion [2009/10/30 17:39] snarg
Line 214: Line 214:
 </code> </code>
 Now go back to the original terminal window and type: Now go back to the original terminal window and type:
 +<code>
 sudo nano /mnt/temp-newroot/etc/fstab sudo nano /mnt/temp-newroot/etc/fstab
 </code> </code>
Line 229: Line 230:
 Use CTRL+W to save the fstab and exit nano text file editor. Use CTRL+W to save the fstab and exit nano text file editor.
  
-==12. Adjust UUID in /boot/grub/menu.lst to point to the new arrays==+==12. Adjust UUID in /boot/grub/menu.lst to point to the new root array==
 This step will cause the bootloader to load up using the raid array (/dev/md0) instead of the old drive (/dev/sda1). This change is only temporary, as we are editting the file on the OLD root partition. We will fix this to be permanent once we reboot into the new system. This step will cause the bootloader to load up using the raid array (/dev/md0) instead of the old drive (/dev/sda1). This change is only temporary, as we are editting the file on the OLD root partition. We will fix this to be permanent once we reboot into the new system.
 <code> <code>
Line 315: Line 316:
 Also a one-liner: Also a one-liner:
 <code> <code>
-sudo mdadm --manage /dev/md1 --add /dev/sda2+sudo mdadm --manage /dev/md1 --add /dev/sda5
 </code> </code>
 ==17. Watch some rebuild stats. Dont forget the important last step.== ==17. Watch some rebuild stats. Dont forget the important last step.==
ubuntu-raid1-conversion.txt · Last modified: 2009/10/30 17:46 by snarg