General Linux Chat and Small Questions v. I broke my Arch Install
6,886 replies, posted
I have a cheap VPS which I used to use for a minecraft server, I want to reactivate this but also make this server more useful, how do I go about say installing the minecraft server and have that running in the background alongside a web server?
[QUOTE=ThePunisher1;45571265]I have a cheap VPS which I used to use for a minecraft server, I want to reactivate this but also make this server more useful, how do I go about say installing the minecraft server and have that running in the background alongside a web server?[/QUOTE]
Really depends on the distro, or more specifically the init system and where you put the daemon scripts.
Here's the guide for systemd:
[url]https://wiki.archlinux.org/index.php/systemd#Writing_custom_.service_files[/url]
More info: [url]https://wiki.archlinux.org/index.php/daemons[/url]
Ubuntu upstart:
[url]http://buddylindsey.com/getting-started-with-and-understanding-upstart-scripts-on-ubuntu/[/url]
[QUOTE=ThePunisher1;45571265]I have a cheap VPS which I used to use for a minecraft server, I want to reactivate this but also make this server more useful, how do I go about say installing the minecraft server and have that running in the background alongside a web server?[/QUOTE]
While some people find it useful to use startup scripts, I personally just open a tmux session, fire up the server through a script that shits out logs and reboots a certain amount of times before quitting using either [url=https://github.com/visionmedia/mon]mon[/url] standalone or in combination with [url=https://github.com/jgallen23/mongroup]mongroup[/url] (yes I use both of these a lot, they are the best fucking tools for management of smaller user-space user-written non-system-wide applications and services).
[QUOTE=FPtje;45570849][t]http://i.imgur.com/N3YZx0D.png[/t]
How the fuck are you going to create a pull request if you don't know the basics of how the internet works? Use a local network? Send USB sticks to the maintainers?
How are you going to contribute [I]anything[/I] to Linux if you don't know what the internet is?[/QUOTE]
i didn't even notice that before
should probably email the linux foundation about that
I managed to fuck up 2 questions on the exam, but they give you 2 tries, so I just actually read the question after failing.
First one was some vim question, second one was how you check if a directory exists in a shell script. Read that one as file instead of directory, when I skimmed.
would booting using the on-board GPU, then use the dedicated GPU for KVM passthrough work? the post on the Arch forums explicitly says I need two GPUs, but I suppose the on-board one counts as one in this situation?
CPU also needs VT-d support which mine apparently doesn't have for this to work. I have the i5 4670k. I'm not sure how that affects if I can do the passthrough or not if the GPU I'm gonna passthrough is my dedicated one?
I'm finding conflicting information on whether passthough is possible without VT-d.
KVM definitely does not support passthrough without VT-d, it looks like Xen might.
[url]http://wiki.xen.org/wiki/XenPCIpassthrough#Overview_of_passthrough:[/url]
[quote]The solution to both of these is called an IOMMU. (The Intel name for the IOMMU functionality is VT-d; this document will use IOMMU to refer to both the AMD and Intel feature.) The IOMMU allows Xen to limit what memory a device is allowed to access. It also allows Xen to give the device the same virtualized memory layout that the guest sees. This solves both the security problem and the memory virtualization problem.
(Note that IOMMU/VT-d support is not the same as HVM support; it is possible to have HVM support without an IOMMU, or vice versa.)
For these reasons, it is highly recommended to use passthrough only on systems that have an IOMMU. [B]On systems without an IOMMU, devices can be passed through to trusted PV guests, but doing so removes the security or stability advantages (though not the performance advantages). Devices cannot be passed through to HVM guests on systems without an IOMMU.[/B]
Determining if you have IOMMU / VT-d support is covered in the FAQ below.[/quote]
one thing i'm definitely not going to miss when wayland becomes the standard is X11 inexplicably shitting itself and forcing me to REISUB.
Still waiting on someone to get some sort of proper tiling window management going on in Wayland, before I invest any significant amount of time trying to get it working.
The first popular thing is definitely going to be a Weston plugin/extension/whatever.
Word is the E team are working on making sure their tiling2 module works in Wayland.
At least it's something :v:
I have the open source video drivers installed and whenever I launch GMod it gives me this error:
[IMG]http://i.imgur.com/SpMFkIB.png[/IMG]
Steam throws this at me when I launch it:
[IMG]http://i.imgur.com/2LE6jYP.png[/IMG]
It doesn't do it with the proprietary drivers. Any idea why and how could I fix it?
[QUOTE=PredGD;45577654]would booting using the on-board GPU, then use the dedicated GPU for KVM passthrough work? the post on the Arch forums explicitly says I need two GPUs, but I suppose the on-board one counts as one in this situation?
CPU also needs VT-d support which mine apparently doesn't have for this to work. I have the i5 4670k. I'm not sure how that affects if I can do the passthrough or not if the GPU I'm gonna passthrough is my dedicated one?[/QUOTE]
You can do VGA passthrough when booting using the iGPU and using the dedicated card for the guest. You would however require vt-d for every method I am aware of, maybe Xen can do it but IIRC PV guests are only Linux anyway. The 4690k does have vt-d if you really wanted, as does pretty much every i5 that isn't a k part.
Both glxinfo and glxinfo32 reported that I do in fact have direct rendering. Consulting some material online, I decided to display verbose info about steam when it launches. So I found the following:
[code]libGL error: dlopen /usr/lib32/xorg/modules/dri/r600_dri.so failed (/home/supervoltage/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by /usr/lib32/xorg/modules/dri/r600_dri.so))[/code]
That libstdc++.so.6 library was symlinked to another library from the same directory, called libstc++.so.6.18. I compared versions with the one in /usr/lib, the one in /usr/lib being libstc++.so.6.20. So naturally, I removed libstdc++.so.18 and symlinked a file of the same name pointing towards the newer version of libstdc++. Everything is fine now!
[QUOTE=supervoltage;45588199]I have the open source video drivers installed and whenever I launch GMod it gives me this error:
[IMG]http://i.imgur.com/SpMFkIB.png[/IMG]
Steam throws this at me when I launch it:
[IMG]http://i.imgur.com/2LE6jYP.png[/IMG]
It doesn't do it with the proprietary drivers. Any idea why and how could I fix it?[/QUOTE]
Do you have 32-bit drivers/mesa installed?
Will installing crunch bang over Ubuntu cause any issues I should be aware of?
[QUOTE=supervoltage;45590055]
That libstdc++.so.6 library was symlinked to another library from the same directory, called libstc++.so.6.18. I compared versions with the one in /usr/lib, the one in /usr/lib being libstc++.so.6.20. So naturally, I removed libstdc++.so.18 and symlinked a file of the same name pointing towards the newer version of libstdc++. Everything is fine now![/QUOTE]
You can also just delete the steam runtime version of the library. It should automatically fall back to whatever version is installed on your system.
have a question regarding partitions. I just cleared off 500GB of junk off of my HDD. since I'm running low on space on my Arch install, I figured I would add 200GB onto that instead of the current 50GB on the /home partition. thing is, both / and /home are on my SSD on two different partitions. I want to put the /home on my HDD instead, then merge the two linux partitions into one bigger / partition.
[IMG]http://i.cubeupload.com/gNPBNs.png[/IMG]
Recovery, EFI, Windows boot, Arch / partition, Arch /home partition, and 20GB of overhead for the SSD
HDD is just a big dump where I put stuff.
how would I do this? if the /home partition already was on the HDD, I'd assume I could have just extended it and be done with it, but it's on the SSD which makes it trickier from my understanding of it. is there a way to safely move /home to the HDD, then use the old /home partition to extend the / partition?
[editline]5th August 2014[/editline]
[QUOTE=ben1066;45588366]You can do VGA passthrough when booting using the iGPU and using the dedicated card for the guest. You would however require vt-d for every method I am aware of, maybe Xen can do it but IIRC PV guests are only Linux anyway. The 4690k does have vt-d if you really wanted, as does pretty much every i5 that isn't a k part.[/QUOTE]
damn, that sucks. I looked through Intel's list of which CPU's have VT-d support or not, and I see that pretty much every 4th i5 CPU has it except for the i5 4670k. wonder why it doesn't support it
[QUOTE=XxThreedogxX;45592665]Will installing crunch bang over Ubuntu cause any issues I should be aware of?[/QUOTE]
unless you're on a netbook i wouldn't bother
if you want to tho, just be aware that some packages are very old
I decided to give wine a spin for CS:GO, and wow. I'm not sure if wine has improved or if this is exclusive to CS:GO, but it was completely flawless. everything maxed out and I played noticeably above 60fps. think I'm gonna have to give this a try for other games too. less of a reason to boot into windows, the better
[editline]5th August 2014[/editline]
[QUOTE=PredGD;45596236]have a question regarding partitions. I just cleared off 500GB of junk off of my HDD. since I'm running low on space on my Arch install, I figured I would add 200GB onto that instead of the current 50GB on the /home partition. thing is, both / and /home are on my SSD on two different partitions. I want to put the /home on my HDD instead, then merge the two linux partitions into one bigger / partition.
[IMG]http://i.cubeupload.com/gNPBNs.png[/IMG]
Recovery, EFI, Windows boot, Arch / partition, Arch /home partition, and 20GB of overhead for the SSD
HDD is just a big dump where I put stuff.
how would I do this? if the /home partition already was on the HDD, I'd assume I could have just extended it and be done with it, but it's on the SSD which makes it trickier from my understanding of it. is there a way to safely move /home to the HDD, then use the old /home partition to extend the / partition?
[/QUOTE]
solved this by going into maintenance mode, made the filesystem on a pre-partitioned partition, mounted it on /mnt, copied the home folder to /mnt's root (cp -rv /home/* /mnt), fixed up /etc/fstab by changing partition and UUID, then rebooted. had to fix permissions as /home/username was now owned by root, which is a simple chown -R username /home/username
[QUOTE=supervoltage;45588199]I have the open source video drivers installed and whenever I launch GMod it gives me this error:
[IMG]http://i.imgur.com/SpMFkIB.png[/IMG]
Steam throws this at me when I launch it:
[IMG]http://i.imgur.com/2LE6jYP.png[/IMG]
It doesn't do it with the proprietary drivers. Any idea why and how could I fix it?[/QUOTE]
I used to get this with the open source drivers on Arch, but on Ubuntu 14.04 it seems to work. Not sure what went wrong.
[editline]5th August 2014[/editline]
I'm considering purchasing some hardware for Linux development and operation, and I stumbled across this distributor: [url]http://www.rs-components.com/[/url]
Anyone know if they're any good? I'm not looking for alternatives either, I just want to know if these guys are reliable or not. They seem to be, and have a ISO-9001:2008 certificate, so I'm guessing it's good, but who knows?
[QUOTE=mastersrp;45598854]
I'm considering purchasing some hardware for Linux development and operation, and I stumbled across this distributor: [url]http://www.rs-components.com/[/url]
Anyone know if they're any good? I'm not looking for alternatives either, I just want to know if these guys are reliable or not. They seem to be, and have a ISO-9001:2008 certificate, so I'm guessing it's good, but who knows?[/QUOTE]
RS is one of the major global electronics/component supply companies alongside Farnell and Digikey. They're completely legit.
[QUOTE=Fuxed;45599934]RS is one of the major global electronics/component supply companies alongside Farnell and Digikey. They're completely legit.[/QUOTE]
Well, it seems to me that I can, as a private person and without a company registration, purchase and place orders on their online service. Is that legit as well? Because a lot of the electronics they sell are at a very competetive price, and sometimes blow local resellers completely out of the water.
[QUOTE=mastersrp;45600031]Well, it seems to me that I can, as a private person and without a company registration, purchase and place orders on their online service. Is that legit as well? Because a lot of the electronics they sell are at a very competetive price, and sometimes blow local resellers completely out of the water.[/QUOTE]
As far as I'm aware, personal orders are a-okay. You'd only have to be a licensed business to make use of their trade-counters. The only hang-up I can think of is that they may be picky about the use of certain kinds of debit cards.
I want an audio loopback similar to Virtual Audio Cable, without having to rely on the use of arecord and a file in /tmp like Google seems to suggest. Preferably I'd like the method to use built in things in ALSA and/or PulseAudio but I'm not opposed to downloading and building some sort of module if I have to.
Any suggestions?
[QUOTE=Dog;45597375]unless you're on a netbook i wouldn't bother
if you want to tho, just be aware that some packages are very old[/QUOTE]
I actually prefer stability and wouldn't have installed it without being aware of its age. Do to my own stupidity I broke grub and had to install over my windows partition. Luckily nothing important was lost.
I cant quite get the wifi working, I have a Thinkpad edge e545 and it uses a broadcom wireless adapter. and I have no way of connecting through Ethernet could someone lead me in the right direction here.
[video=youtube;HSgUPqygAww]http://www.youtube.com/watch?v=HSgUPqygAww[/video]
Dude uses a "walking desk". Very cool.
People keep sending him penguins for some reason. I wonder why.
Oh my god his room is a mess
[editline]7th August 2014[/editline]
Just went through and watched a bunch, all the kernel devs have gross cluttered rooms
yeah I figured it out.
Sorry, you need to Log In to post a reply to this thread.