Size: 2521
Comment: move all installation pages to subpages
|
← Revision 8 as of 2009-02-18 15:14:02 ⇥
Size: 181
Comment: Page Obsoleted
|
Deletions are marked like this. | Additions are marked like this. |
Line 1: | Line 1: |
## page was renamed from InstallingToRAID1 Fully installing to RAID1 is officially not supported in Warty. At least root partition should not be on RAID1. However, you can install it to RAID1. |
=== Page now obsolete === |
Line 4: | Line 3: |
First create your partitions and make the raid1 in the partitioner. Make at least one primary partition on each disk, and put them into one RAID. Simply ignore the warning message which warns you about RAID1 install problems. * After it, install the base system in normal way. * When you get to make system bootable with grub (or LILO), open a new terminal (with pressing Alt+F2 and Enter). On the terminal type the following: {{{ # chroot /target /bin/bash # mount -t proc none /proc # vi /etc/mkinitrd/modules }}} add two lines: {{{ raid1 md }}} exit from vi. {{{ # dpkg-reconfigure linux-image-2.6.8.1-3-386 # apt-get install lilo }}} create an /etc/lilo.conf file with the following content: {{{ boot=/dev/hda map=/boot/map vga=normal delay=20 image=/vmlinuz initrd=/initrd.img root=/dev/md0 <- choose the correct device depending on your current installation label=Linux read-only }}} then at the console type: {{{ # lilo }}} If everything is OK, close the console (typt Ctrl+d two times) and return to the installer (Alt+F1) Choose "continue without boot loader" The system should reboot without problem. After rebooting continue installing Ubuntu as usual. After installing Ubuntu you have one more step: make the system bootable with any disk. Edit your /etc/apt/sources.list, add universe to your repository (delete the comment sign from the appropriate line). {{{ $ sudo apt-get update $ sudo apt-get install mbr }}} (I have no idea why the mbr package in universe) {{{ $ sudo install-mbr /dev/hda $ sudo install-mbr /dev/hdc }}} (if the two raid disks are the primary master and secondary master) Then modify {{{/etc/lilo.conf}}}, change the {{{boot=/dev/hda}}} line to your primary partition (probably boot=/dev/md0). then type the {{{ # sudo lilo }}} command. You are ready with installing to RAID1, you can test it. From JonathanRiddell Thu Mar 10 15:46:12 +0000 2005 From: Jonathan Riddell Date: Thu, 10 Mar 2005 15:46:12 +0000 Subject: Thanks Message-ID: <20050310154612+0000@www.ubuntulinux.org> Many thanks for this excellent article. I found that installing lilo to md0 did not work, instead I just installed it to /dev/sdb then /dev/sda CategoryDocumentation CategoryCleanup |
Please see https://help.ubuntu.com/community/Installation/SoftwareRAID?action=fullsearch&context=180&value=Convert+to+software+raid&titlesearch=Titles |