milis/bin/milis-kur

21 lines
398 B
Text
Raw Normal View History

2016-05-01 02:25:33 +00:00
yardim() {
cat <<_EOF
2016-03-16 01:25:06 +00:00
2016-05-01 02:25:33 +00:00
Milis Linux Kurulumu
2016-03-16 01:25:06 +00:00
2016-05-01 02:25:33 +00:00
1-hedef disk bolumunu formatla ( mkfs.ext4 /dev/sdax )
2016-03-16 01:25:06 +00:00
2016-05-01 02:25:33 +00:00
2-bolumu /mnt altına bagla ( mount /dev/sdax /mnt )
2016-03-16 01:25:06 +00:00
2016-05-01 02:25:33 +00:00
3-mevcut dosya sistemini hedefe kopyala ( cp -axvnu / /mnt )
2016-03-16 01:25:06 +00:00
2016-05-01 02:25:33 +00:00
4-initramfs ( baslatici) oluştur ( chroot /mnt dracut --no-hostonly --add-drivers "ahci" -f /boot/initramfs )
2016-03-16 01:25:06 +00:00
2016-05-01 02:25:33 +00:00
5-gerekli grub ayarlarını yap.
2016-03-16 01:25:06 +00:00
2016-05-01 02:25:33 +00:00
_EOF
2016-03-16 01:25:06 +00:00
exit 1
2016-05-01 02:25:33 +00:00
}
2016-03-16 01:25:06 +00:00
2016-05-01 02:25:33 +00:00
yardim