Install debian with raid
Optional Type bash into the prompt, for easier command line editing and command history. Save the file and exit the editor. Type update-grub and press enter. This is very important, because otherwise the GRUB boot menu later wont be able to display your freshly installed kernel! Choose the one without the partition number and press enter. Everything should install now without an error. Now you should be back in the rescue system menu. Choose the Reboot system option.
Forgot your password? Get help. Password recovery. How to get character encoding of a file in Linux. Please enter your comment! Please enter your name here. You have entered an incorrect email address! On ubuntu I've follow this tutorial, everything went OK but grub. This part should be updated. I have follow the guid to do in debian 9 , everything works perfectly , thanks! Thanks for the article! I followed it and it was my primary reference.
However, I did encounter two issues while following it that I thought I should leave with you here. I'm using Ubuntu Also, after adding the original disk to the RAID array and rebooting I found myself in grub rescue mode. After researching more I discovered that I was required to install a module 'mdraid1x' in order for grub to be able to read the RAID array and find the kernel in order to boot.
And finally, when I test each drive separately to see if it will boot it does. Overview Before you start, make sure the following packages are installed: apt-get install mdadm rsync initramfs-tools Then go through these steps: Partition the new drive. Create new degraded RAID arrays. Install GRUB2 on both drives. Copy existing data onto the new drive. Reboot using the RAIDed drive and test system. Wipe the original drive by adding it to the RAID array.
0コメント