Create the repos. Read the news. Install and update eix, it will be useful later. Note: the config file will also work on the rented server I run this blog on. Now compile and install your kernel. Go take a coffee, it usually takes a few minutes. This will take anywhere between half an hour and several hours depending on your hardware. At the time of writing, the tar version on the minimal Gentoo install. To create a simple mirrored disk, make sure you have two partitions that have the same size and bring them together in your first RAID-1 disk:.
The disks in the mirror will now be synchronized also when there is no data or file system yet. When the root file system is located on a software RAID, an initramfs is necessary for automatic assembly. Genkernel 's initramfs can be used for that purpose. Then, add the domdadm parameter to the kernel command line.
Back to top. Posted: Thu Dec 25, pm Post subject:. You need to create the array with one drive "missing" for the time being. I think everything will fall in place after that, minus: 2. Dealing with the bootloader. I'd suggest getting the bootloader working on the "new" 1-disk "array" first before "wiping" the original disk and then mirroring to it.
Since it looks like you're converting disk formats, this is almost like a new install so there likely isn't any documentation out there. Best is to just set up your system as a 1-disk "degraded" array, copy everything to it, get boot working, and then reintroduce the old disk as the mirror device.
Keep in mind that the more layers of complexity you add, the more complicated your boot will be Trick is having a raid1 on these disks, but that's not the only complication - using LVM on the single large RAID5 partition member on each disk so I can continue to have 'partitions' Adding full disk encryption would make it even more of a mess I've posted details on thin topic several times on the forums. You are on the right lines. Be sure to test your degraded raid install before you wipe the single drive install.
Try googling Code:. Posted: Sun Dec 28, am Post subject:. Hello eccerr0r, NeddySeagoon, Thank you for your responses. I read the information you guys provided to me in addition to bunch of other sources. I ended up creating raid devices for each partition on the disk because creating raid for the entire disk gave me size mismatch error. After finishing including several reboots , create a partition on the Linux disk from Windows.
It should contain the whole disk, leaving no free space. Don't format it, don't assign it a drive letter. Now plug in your bootable USB disk, reboot the computer and boot from it. If dmraid does not list any RAID devices, list one with a strange stripe size this happens on my box or you don't want to use it, then you can't see the Windows disk.
Here you see the partion you created under Windows on the Linux disk. Copy the end sector of that partition to a text file or open another terminal where you execute a fdisk -l on the disk, to have it handy for later use. Now delete that partition and create new ones for your Linux. Only use primary partitions, no extended. If you use an extended, fdisk might complain about a partition 5 with an invalid signature and that it will correct it, when writing the partition table.
Set the last sector of the last primary partition to the sector of the deleted partition.
0コメント