I'm not sure exactly what you're asking, but the whole point of the AUR is for people to share PKGBUILDs (something that describes how to compile a package from source).
That is, you must build AUR packages every time there is an update because all that is distributed is the source.
I guess the idea is if someone is really out to get you, they could modify your kernel/boot image to include something malicious (e.g. a keylogger module) and you wouldn't know.
I have my laptop setup with LVM on top of a LUKS encrypted partition. I just have one giant root partition inside LVM (so full disk encryption, including /boot).
What is neat is that GRUB can actually handle the decryption, so you don't need to separate out /boot somewhere (unless you want to put it on a USB...but that added hassle isn't worth a slight increase in security, for me).
Everyone here is recommending an ssh agent (and that will probably work), but here is an alternative that is imo simpler: SSH ControlMaster. What the following config options will do is actually cache/keep open all SSH connections for however long you specify (Google it for a better/more detailed explanation).
# add this to ~/.ssh/config
Host *
ControlMaster Auto
ControlPath ~/.ssh/cm/%r@%h:%p
ControlPersist 10m
If you don't want this enabled for all of your ssh connections, change the "*" above to "github.com". Also change the "10m" to however long you think is appropriate. So instead of caching your credentials, this persists the connection. (As a side effect, if you don't push/pull anything for a while you will see a timeout message, but this can be ignored. Simply means that next time you push/pull you will need to login again.)
I'm just kind of guessing at things that would fix it, but all of this would be on the developer's end (in the yaourt source code), so not your fault ;)
Yeah, there is something weird going on. But if you check your screenshot, on the line that yaourt outputs, I'm certain there are two spaces there (as it is a monospace font).
After looking at it a bit longer, awk actually formats the unixtime string it receives from stat with strftime defaults (this is whatever the locale specifies, so basically undefined behavior).
The solution would probably be to parse the file listing twice: once to print out a user-friendly time reading and secondly to format it in a known way.
Edit: After some digging and learning a bit more about bash substring removal, I've found the problem. This line of code tries to match everything after the first double space in the date/filename string.
Your locale formats the date string with a double space before PHT. After checking my locale string, it does not have any double spaces (it just ends in " EST 2014"). It seems that they only expected there to be a double space between the date string and filename, not inside the date string itself.
Edit2: As for fixing this problem, I'm not really sure. See my comment below.
I don't really remember and I'm not at my desktop so I can't check now, but I believe you will typically have your EFI partition mounted in /boot/EFI. So if it isn't mounted there, look through the wiki for how to do that and then work from there.
Taking a guess here, the problem is that you're logging into GitHub via public key credentials but when you 'sudo su' to get into '/srv/http' you're now accessing root's public keys and none of them are in your GitHub account.
Edit: So to resolve, you should probably generate a new key pair for root & add it to your GitHub account.
The way device naming works is kind of arbitrary with udev. So one way to find out which is which is to do something like 'fdisk /dev/sdb' or whatever and then see what it says about each partition type/size. But yes, also looking at drive sizes will tell.
In your case, you're trying to install Arch on a new SSD so that SSD will have no existing partitions on it. Then I'd say it is safe to assume sda is the correct one b/c it has no partitions.
I'm doing the same thing with my laptop. If you already have W7 installed, then just pop in your new SSD and run through this.
Assuming your new SSD is third, it will be something like:
/dev/sdc
So you'll just install arch onto that instead of /dev/sda (but check your drives to be sure, don't take my word for it).
To answer your question, yes, you can set the arch drive to 1st boot priority and then assuming you setup GRUB correctly, boot into W7 from there.
As for a file system, you probably just want to use ext4 and enable TRIM support (look in the wiki). If you have enough RAM 8gb (maybe?) you don't really need a swap partition, so honestly you can just create one giant root '/' partition on the SSD and leave it at that.
Edit: Also most of these questions are answered on the wiki, so try to search around there too for some useful insights. i.e. TRIM, Dual-boot, Partitioning.
bspwm !
I'm not sure exactly what you're asking, but the whole point of the AUR is for people to share PKGBUILDs (something that describes how to compile a package from source).
That is, you must build AUR packages every time there is an update because all that is distributed is the source.
Here is my desktop...though I dual boot Windows so it isn't entirely overkill.
I guess the idea is if someone is really out to get you, they could modify your kernel/boot image to include something malicious (e.g. a keylogger module) and you wouldn't know.
I have my laptop setup with LVM on top of a LUKS encrypted partition. I just have one giant root partition inside LVM (so full disk encryption, including /boot).
What is neat is that GRUB can actually handle the decryption, so you don't need to separate out /boot somewhere (unless you want to put it on a USB...but that added hassle isn't worth a slight increase in security, for me).
This blog post helped me get it working.
Everyone here is recommending an ssh agent (and that will probably work), but here is an alternative that is imo simpler: SSH ControlMaster. What the following config options will do is actually cache/keep open all SSH connections for however long you specify (Google it for a better/more detailed explanation).
If you don't want this enabled for all of your ssh connections, change the "*" above to "github.com". Also change the "10m" to however long you think is appropriate. So instead of caching your credentials, this persists the connection. (As a side effect, if you don't push/pull anything for a while you will see a timeout message, but this can be ignored. Simply means that next time you push/pull you will need to login again.)
One tip: don't set the sshd port >1024, because then non-root (and malicious) applications could impersonate it.
Recently used it a few weeks ago, and it worked great!
I'm just kind of guessing at things that would fix it, but all of this would be on the developer's end (in the yaourt source code), so not your fault ;)
I'm currently procrastinating studying for final exams, so I've never been more productive :)
I'll try to suggest a change to the author, if I can figure something out.
Edit: I've suggested a change here.
Yeah, there is something weird going on. But if you check your screenshot, on the line that yaourt outputs, I'm certain there are two spaces there (as it is a monospace font).
After looking at it a bit longer,
awkactually formats the unixtime string it receives fromstatwithstrftimedefaults (this is whatever the locale specifies, so basically undefined behavior).The solution would probably be to parse the file listing twice: once to print out a user-friendly time reading and secondly to format it in a known way.
Edit: After some digging and learning a bit more about bash substring removal, I've found the problem. This line of code tries to match everything after the first double space in the date/filename string.
Your locale formats the date string with a double space before PHT. After checking my locale string, it does not have any double spaces (it just ends in " EST 2014"). It seems that they only expected there to be a double space between the date string and filename, not inside the date string itself.
Edit2: As for fixing this problem,
I'm not really sure.See my comment below.Mine is pretty minimal...though chromium adds 5-10 more processes.
This is great! Can't wait to test.
I don't really remember and I'm not at my desktop so I can't check now, but I believe you will typically have your EFI partition mounted in /boot/EFI. So if it isn't mounted there, look through the wiki for how to do that and then work from there.
Edit: Maybe look here ?
Taking a guess here, the problem is that you're logging into GitHub via public key credentials but when you 'sudo su' to get into '/srv/http' you're now accessing root's public keys and none of them are in your GitHub account.
Edit: So to resolve, you should probably generate a new key pair for root & add it to your GitHub account.
Edit Edit: Do what /u/Katana__ said.
The way device naming works is kind of arbitrary with udev. So one way to find out which is which is to do something like 'fdisk /dev/sdb' or whatever and then see what it says about each partition type/size. But yes, also looking at drive sizes will tell.
In your case, you're trying to install Arch on a new SSD so that SSD will have no existing partitions on it. Then I'd say it is safe to assume sda is the correct one b/c it has no partitions.
I'm doing the same thing with my laptop. If you already have W7 installed, then just pop in your new SSD and run through this.
Assuming your new SSD is third, it will be something like:
So you'll just install arch onto that instead of /dev/sda (but check your drives to be sure, don't take my word for it).
To answer your question, yes, you can set the arch drive to 1st boot priority and then assuming you setup GRUB correctly, boot into W7 from there.
As for a file system, you probably just want to use ext4 and enable TRIM support (look in the wiki). If you have enough RAM 8gb (maybe?) you don't really need a swap partition, so honestly you can just create one giant root '/' partition on the SSD and leave it at that.
Edit: Also most of these questions are answered on the wiki, so try to search around there too for some useful insights. i.e. TRIM, Dual-boot, Partitioning.
End of this list.
Back to top