Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- #######################################
- # Arch Linux - Another Script Install #
- # Powered by: 51ckb01 #
- # Start #
- #######################################
- loadkeys it
- echo "export http_proxy=http://172.20.14.139:3128/" >> /etc/enviroment
- echo "export https_proxy=http://172.20.14.139:3128/" >> /etc/enviroment
- echo "export ftp_proxy=http://172.20.14.139:3128/" >> /etc/enviroment
- export http_proxy=http://172.20.14.139:3128/
- export https_proxy=$http_proxy
- export ftp_proxy=$http_proxy
- export rsync_proxy=$http_proxy
- echo 'Defaults env_keep += "http_proxy https_proxy ftp_proxy"' >> /etc/sudoers
- fdisk /dev/sda
- echo n
- echo -e '\r'
- echo p
- echo -e '\r'
- echo -e '\r'
- echo "+15G"
- echo -e '\r'
- echo n
- echo -e '\r'
- echo p
- echo -e '\r'
- echo -e '\r'
- echo -e '\r'
- echo "w"
- echo -e '\r'
- mkfs.ext4 /dev/sda1
- mkfs.ext4 /dev/sda2
- mount /dev/sda1 /mnt
- mkdir /mnt/home
- mount /dev/sda2 /mnt/home
- pacstrap /mnt base base-devel
- genfstab -p /mnt >> /mnt/etc/fstab
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement