update prep style, save pacstrap log
This commit is contained in:
parent
2c507f13b4
commit
fc240fbc4e
1 changed files with 6 additions and 9 deletions
15
archmate.sh
15
archmate.sh
|
|
@ -32,28 +32,25 @@ VBOXHOST=false
|
||||||
### BOTOP - DO NOT REMOVE OR ALTER THIS LINE ###
|
### BOTOP - DO NOT REMOVE OR ALTER THIS LINE ###
|
||||||
## These are typically done by hand based on partitioning, etc.
|
## These are typically done by hand based on partitioning, etc.
|
||||||
#
|
#
|
||||||
## MBR Style
|
## Common
|
||||||
# swapon /dev/mapper/vglocal-swap
|
# swapon /dev/mapper/vglocal-swap
|
||||||
# mount /dev/mapper/vglocal-root /mnt
|
# mount /dev/mapper/vglocal-root /mnt
|
||||||
# mkdir /mnt/{boot,home}
|
# mkdir /mnt/{boot,home}
|
||||||
# mount /dev/mapper/vglocal-home /mnt/home
|
# mount /dev/mapper/vglocal-home /mnt/home
|
||||||
|
#
|
||||||
|
## MBR Style
|
||||||
# mount /dev/sda1 /mnt/boot
|
# mount /dev/sda1 /mnt/boot
|
||||||
#
|
#
|
||||||
## UEFI Style
|
## UEFI Style
|
||||||
# swapon /dev/mapper/vglocal-swap
|
|
||||||
# mount /dev/mapper/vglocal-root /mnt
|
|
||||||
# mkdir /mnt/{boot,home}
|
|
||||||
# mount /dev/mapper/vglocal-home /mnt/home
|
|
||||||
# mount /dev/sda2 /mnt/boot
|
# mount /dev/sda2 /mnt/boot
|
||||||
# mkdir /mnt/boot/efi
|
# mkdir /mnt/boot/efi
|
||||||
# mount /dev/sda1 /mnt/boot/efi
|
# mount /dev/sda1 /mnt/boot/efi
|
||||||
#
|
#
|
||||||
# cp /etc/pacman.d/mirrorlist{,.bak}
|
## Pacstrap
|
||||||
# grep -A1 "United States" /etc/pacman.d/mirrorlist.bak | grep -v "^--" > \
|
# pacstrap /mnt base --noprogressbar 2>&1 | tee -a pacstrap.log
|
||||||
# /etc/pacman.d/mirrorlist
|
|
||||||
# pacstrap /mnt base
|
|
||||||
# genfstab -p /mnt >> /mnt/etc/fstab
|
# genfstab -p /mnt >> /mnt/etc/fstab
|
||||||
# cp archmate.sh /mnt/root/ && chmod +x /mnt/root/archmate.sh
|
# cp archmate.sh /mnt/root/ && chmod +x /mnt/root/archmate.sh
|
||||||
|
# cp pacstrap.log /mnt/root/
|
||||||
#
|
#
|
||||||
## arch-chroot /mnt
|
## arch-chroot /mnt
|
||||||
### EOTOP - DO NOT REMOVE OR ALTER THIS LINE ###
|
### EOTOP - DO NOT REMOVE OR ALTER THIS LINE ###
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue