kubuntu 14.04 Desktop Install on Raid Disk

ubuntu or kubuntu desktop 版都不支援安裝在 raid 的設備上, 所以需要一些技巧繞過去.

目前看到寫的最簡單的就是這一篇了.

How to Install Ubuntu 14.04 with RAID 1 using desktop installer?

apt-get install mdadm
mdadm --create /dev/md0 --bitmap=internal --level=1 -n 2 /dev/sda1 missing
fdisk /dev/md0

會產生 /dev/md0p1 /dev/md0p2 /dev/md0p3

用 try ubuntu 在 console 下這個指令安裝, 要做點小手腳

ubiquity -b

安裝的時候要選 /dev/md0p1 /dev/md0p2 /dev/md0p3 不要選別的.

安裝完之後, 要重新安裝 grub

sudo -s
mount /dev/md0p1 /mnt
mount -o bind /dev /mnt/dev
mount -o bind /dev/pts /mnt/dev/pts
mount -o bind /sys /mnt/sys
mount -o bind /proc /mnt/proc
chroot /mnt
apt-get install mdadm
nano /etc/grub.d/10_linux  # change quick_boot to 0
grub-install /dev/sda
grub-install /dev/sdb
update-grub
exit

如果 /etc/grub.d/10_linux quick_boot 沒有設成 0
開機會出現

error:  Diskfilter writes are not supported

On this day..

Related Posts

Leave a Comment


NOTE - You can use these HTML tags and attributes:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>