Skip to content

u/reddubtor

In this archive from Jan 2014 to Oct 2018

0
posts
9
comments
0
media
17
score

creating complications

I doubt, that there are less complications if there are only scripts to install some binaries. Yes you need to sign keys to be able to install from a custom repo. But this will help to make sure that there is no mess with provided packages and also their dependecies.

With normal circumstances a user is good to go with the official repos and does not need to sign keys form custom packagers.

1 points

Repos are for installable pacman packages. It is a .tar.gz-file with metadata needed by pacman and stored in the pacman database.

PKGBUILDs are used to create packages taht will be put to a repo or will be installed local. It doesn't matter if the binaries (inside the resulting package) are compiled from source or a downloaded pre-compiled binary. The result will be a pacman compatible package with metadata and ready to be installed by pacman.

1 points

This! I was used to get arch up and running. Then i found out about antergos (formerly cinnarch) and really start loving cnchi for timesaving setups with new machines. The sad part: code quality of cnchi. I.e. hardcoded path to the home-directory. You can't use cnchi on a custom pen drive with a user who is not named antegos. Some other issues also exists with the cnchi source....

5 points

I've done this the last week. My system has 1 SSD (sda) und 2 HDD (sdb, sdc). I installed first only to the ssd and moved /home, /var and swap off the ssd. I installed Antergos and used the Live-ISO to perform following steps:

# rename lvm vg + lv
sudo vgrename AntergosVG vg0
sudo lvrename vg0 AntergosRoot root
sudo lvrename vg0 AntergosSwap swap

# add additional hdd
sudo pvcreate /dev/sdb
sudo pvcreate /dev/sdc
sudo vgcreate vg1 /dev/sdb /dev/sdc

# create logical volumnes
sudo lvcreate -i2 -I4 -L10G -nhome vg1
sudo lvcreate -i2 -I4 -L10G -nvar vg1
sudo lvcreate -i2 -I4 -L1.5G -nswap vg1

# create filesystem
sudo mkfs.ext4 /dev/mapper/vg1-home
sudo mkfs.ext4 /dev/mapper/vg1-var
sudo mkswap /dev/mapper/vg1-swap

# mount root
sudo mount /dev/mapper/vg0-root /mnt

# rename directories
sudo mv /mnt/home /mnt/home-old
sudo mv /mnt/var /mnt/var-old

# create directories
sudo mkdir /mnt/home
sudo mkdir /mnt/var

# mount volumes
sudo mount /dev/mapper/vg1-home /mnt/home
sudo mount /dev/mapper/vg1-var /mnt/var

# rsync files
sudo pacman -S rsync
sudo rsync -aAXv /mnt/home-old/  /mnt/home/
sudo rsync -aAXv /mnt/var-old/  /mnt/var/

# append info to fstab
#
sudo cp /mnt/etc/fstab /mnt/etc/fstab.bck
sudo echo "" >> /mnt/etc/fstab
sudo echo "# blkid output" >> /mnt/etc/fstab
sudo blkid >> /mnt/etc/fstab
sudo pacman -Sy
sudo pacman -S arch-install-scripts
sudo echo "" >> /mnt/etc/fstab
sudo echo "# genfstab output" >> /mnt/etc/fstab
sudo genfstab -p /mnt >> /mnt/etc/fstab

# edit fstab
sudo gedit /mnt/etc/fstab

sudo rm /mnt/etc/fstab.bck

# unmount directories
sudo umount /mnt/var
sudo umount /mnt/home
sudo umount /mnt

# resize root volumne
sudo e2fsck -f /dev/vg0/root
sudo resize2fs -p /dev/vg0/root 10G
sudo lvreduce -L10G /dev/vg0/root

# reboot 
sudo shutdown -r now

my 2 cents

2 points

End of this list.

Back to top

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.