problem installing 10.04 LTS partitioning for RAID

Nicolas Kovacs info at microlinux.fr
Tue May 24 11:07:16 UTC 2011


Le 24/05/2011 12:47, william drescher a écrit :
> As I was installing 10.04 I think I made an error in setting up RAID.
> The system froze. I tried to reinstall, but when it gets to Starting
> Partition manager, it stops at 39% and freezes.
>
> I have successfully and correctly partitioned the drives, but can not go
> on from here.
>
> Suggestions please.
>
> bill
>
>

I often use software RAID 1 on my Ubuntu servers. First thing I do is 
zeroing all partition tables.

1) Boot Ubuntu server CD

2) Switch to console : [Alt] + [F2]

3) Zero partition tables. Say your hard disks are /dev/sda and /dev/sdb:

# dd if=/dev/zero of=/dev/sda bs=512 count=64
# dd if=/dev/zero of=/dev/sdb bs=512 count=64

4) Partition your hard drives. Be sure to use "RAID" partition type.

5) One important point. Before setting up your RAID arrays, be sure to 
first erase any leftovers from previous RAID installation attempts. 
Check if there's any md0, md1, md2 etc. left and erase them. Then only 
create your new RAID arrays.

6) Yes, you want to boot it even if your system becomes degraded.

7) Install GRUB on both sda and sdb (default).

Cheers from the sunny South of France,

Niki Kovacs






More information about the ubuntu-users mailing list