• General Linux Chat and Small Questions v. I broke my Arch Install
    6,886 replies, posted
[QUOTE=digigamer17;39810041]I sound dumb for saying this, but do I need to make a partition first?[/QUOTE] You can do it inside the installer; usual disclaimer about backing up your shit applies.
I noticed the OP doesn't have CentOS. It seems popular for servers; how does it compare to Debian as a server OS? EDIT: actually I found a good answer [quote]Both CentOS and Debian are good choices - so you won't go too wrong in either case. CentOS uses RPM packages and is a repackaging of Red Hat Enterprise Linux. This means you will have a pretty smooth migration path if you wish to move to Red Hat at some stage in the future (or if your management require a "supported" Linux for some of their mission critical services). Most commercial software tends to be supplied as RPMs and to be "supported" on one of Red Hat or SuSE. CentOS, being a repackaged Red Hat should largely work ok with these commercial apps (unless they explicitly check the version and release of the OS which some do). CentOS is well maintained and, since it tracks RHEL, should quickly include patches and security fixes (particularly important for an internet-facing server). Debian uses DEB packages (a different format to RPM which arguably has better dependency management and has been geared towards automatic updating over the Internet since the early days). Debian is put together by a community of volunteers rather than having the backing of any commercial organisation. This means that new versions of Debian are released when the community regards them as ready for public use rather than when shareholders expect a release. The benefit of this approach is that stable releases of Debian tend to be very solid. The downside is that stable releases of Debian don't always contain the latest and greatest versions of software. For an internet facing server this shouldn't be an issue - having battle-test software with the latest patches should be. Debian will provide this. In summary, if you have no specific need for an RPM based solution - use Debian - the software is solid, they have a good security track-record and management of the system is easy once you learn how to use the tools. If you have a need for an RPM solution or plan on working with Red Hat at some stage in the future, use CentOS.[/quote] [url]http://stackoverflow.com/questions/62222/centos-or-debian-as-a-server-os[/url]
[url]http://www.phoronix.com/scan.php?page=news_item&px=MTMxODc[/url] not exactly distro related but sorta interesting technical jargon speculation about the customized distro the Steam Box will use
I just set up a github repo for my dotfiles. My life has never been better.
Wondering if I could ask for someone's expertise. I currently have Ubuntu Server 64bit installed on a virtual machine as I want to get the hang of it before I put it on my actual server. I've got Minecraft server and SSH working. FTP seems to be working too and apache2 is installed. I have all the web pages I need for my web server however I'm having trouble getting them onto my server. The html file location for apache2 is \var\www\... and I can see the default index.html file, but cannot delete it, replace it or add files to that location. Is there something I need to change? Or what's the easiest way of getting html and image files/folders into that directory?
sudo -i then you get a root shell. (Admin permissions) after that, you can rm /var/www/index.html and copy your stuff over.
Recently moved to LXDE. Jesus christ that thing is so fast. Let's see if I can configure openbox on my own.
Openbox is pretty straightforward.
I just installed mint over Sabayon. I couldn't get shit to work. Minecraft threw random exceptions, Optimus drivers were poop and no steam games worked. I don't have the time to mess with it until it works. Mint is nice and fast, but cinnamon seems to be a slight overkill for a DE.
[QUOTE=FPtje;39857328]I just installed mint over Sabayon. I couldn't get shit to work. Minecraft threw random exceptions, Optimus drivers were poop and no steam games worked. I don't have the time to mess with it until it works. Mint is nice and fast, but cinnamon seems to be a slight overkill for a DE.[/QUOTE] Cinnamon 2d and MATE are some good alternatives.
I'm very likely to switch to AwesomeWM when I'm done setting this stuff up. But thanks for the tip. Edit: First time running steam on this install. I burst out in laughter when I saw this: [img_thumb]http://i.imgur.com/NE0uqdD.jpg[/img_thumb] That face, hahaha It's fine after restarting steam. Holy shit that was a hilarious fuckup.
[QUOTE=FPtje;39857520]First time running steam on this install. I burst out in laughter when I saw this: [img_thumb]http://i.imgur.com/NE0uqdD.jpg[/img_thumb] That face, hahaha.[/QUOTE] :tinfoil:
I had a installation of Ubuntu on my hard drive, before I got a new SSD and installed Windows on that. Now I don't have a bootloader so I can't get access to the linux installation. Is there any way to get it back without reinstalling any OSes?
[QUOTE=Terin7;39862045]I had a installation of Ubuntu on my hard drive, before I got a new SSD and installed Windows on that. Now I don't have a bootloader so I can't get access to the linux installation. Is there any way to get it back without reinstalling any OSes?[/QUOTE] You should install the bootloader on the master hard drive/SSD. Follow this tutorial to install GRUB: [url]https://wiki.archlinux.org/index.php/GRUB2[/url] Even though the tutorial is for Arch Linux, it should be similar to Ubuntu. If you can't sort it out with Ubuntu, burn an Arch Linux CD and make the changes from there.
For [b]fuck's[/b] sake motherfucking cunt and shit. [code]/home/falco/.local/share/Steam/SteamApps/computerabcd/Team Fortress 2/hl2.sh: line 72: 2766 Segmentation fault ${GAME_DEBUGGER} "${GAMEROOT}"/${GAMEEXE} "$@" [/code] Steam can shove their segmentation faults up their asses. [code]The program 'hl2_linux' received an X Window System error. This probably reflects a bug in the program. The error was 'BadDrawable (invalid Pixmap or Window parameter)'. (Details: serial 139 error_code 9 request_code 14 minor_code 0) (Note to programmers: normally, X errors are reported asynchronously; that is, you will receive the error a while after causing it. To debug your program, run it with the --sync command line option to change this behavior. You can then get a meaningful backtrace from your debugger if you break on the gdk_x_error() function.) [/code] This is printed too. Holy shit I just tried windowed mode and it seems to work! Edit: The trick was to disable steam community in game. That and -window -noborder. CSS had the same. Windowed mode still gave the segmentation fault. It was fucked until I disabled the steam community in game. That shit is slow as fuck anyway, so w/e I'm glad it works. Edit: I can't get over how fluid this operating system is, hot damn.
[QUOTE=kaukassus;39851671]sudo -i then you get a root shell. (Admin permissions) after that, you can rm /var/www/index.html and copy your stuff over.[/QUOTE] What I meant was, I need those admin permissions in FTP to that folder, Filezilla for example. Never mind, I dropped all of the files in my user directory using FileZilla then switched to root in CLI and moved the files over manually. [editline]10th March 2013[/editline] But that obviously didn't work. Forbidden You don't have permission to access /index.html on this server.
[QUOTE=Adamhully;39868746]What I meant was, I need those admin permissions in FTP to that folder, Filezilla for example. Never mind, I dropped all of the files in my user directory using FileZilla then switched to root in CLI and moved the files over manually. [editline]10th March 2013[/editline] But that obviously didn't work. Forbidden You don't have permission to access /index.html on this server.[/QUOTE] try this: chmod -vR 755 /var/www
Tried GNOME 3 on a lark - I'm sure some of the "underlying technologies"'ll hang on like herpes. Oh well. I have to admit, though - GNOME 3's fallback mode's defaults does the good 'ol gnome-panel+metacity combo its justice. Beaten, but unbowed. It's got a statesmanlike weight to it now. "Here's the WM you first started using Linux with. You slapped geyes and Wanda the Fish on its panels." Unfortunately it's still all Cheerios in the end. I like easy app pinning too much to stay in it for long.
[QUOTE=kaukassus;39871395]try this: chmod -vR 755 /var/www[/QUOTE] Sweet, thanks.
[QUOTE=kaukassus;39871395]try this: chmod -vR 755 /var/www[/QUOTE] I prefer this method: [code]groupadd http gpasswd -a your_user http chgrp -R http /var/www chmod -R 775 /var/www[/code] That way if you want a user to be able to edit the contents of /var/www you don't have to make them the owner or grant them root access, just put them in the http group. Any new files they make should automatically be group-owned by http unless I forgot a step, and owned by whoever made the file (so you can track who decided it would be a good idea to install phpBB on your website)
[QUOTE=.EDI;39760927]Fedora is advanced distro more for "do it yourself" people. Id go with Mint.[/QUOTE] Fedora is for people that like shouting at the screen and pulling their hair out wondering why the idiot developers are making exponential horribly dumb changes to the OS on all levels. Do you remember the old GUI front end for the Anaconda installer, you know the sane linear one that walked you through step by step? The one that had been in Fedora since the first release? Well they threw that out and replaced it with this HORRIBLE nonsensical installer stylized like the Sugar DE (the DE made for those "one laptop per child" projects.) It's also no longer linear and starts you in a seemingly random area that can branch out in seemingly endless directions. It's impossible to use without a manual, and even with a manual it's just slightly less impossible. Even if you follow the same exact steps on multiple install iterations, the results are completely random. Another incredibly annoying change is that as of F17, /bin, /sbin, /lib and /lib64 no longer exist. They're now symlinks pointing to /usr/* (getting rid of the /usr split). While this may make the file system more contiguous and sane, it doesn't account for the millions of packages that still deposit files into those former directories, making it rather pointless. It also makes upgrading from a fedora prior to 17 a massive pain in the ass that doesn't completely guarantee your entire drive won't become horribly corrupted. The problems and annoyances just go on as you delve deeper into that which is Fedora. Nonsensical changes compounded on more nonsensical changes and broken implementations of things that you're forced to work around yourself. Even though Fedora is supposed to be a bleeding edge distro, each release is supposed to be stable and RELATIVELY free of bizarre and nonsensical problems.
What do the infinality fontconfig patches do by default, anyway? The only particular thing that I can think is missing from most freetype distributions is RGB subpixel antialiasing, and I'm sure some of the more unscrupulous distros put that in anyway. Not that I'm complaining, though - the default configs actually render most of the Windows and OS X core fonts in a way that actually [i]resembles[/i] how they're supposed to look. Just replaced Cantarell (I can't stand a typeface that just looks so [i]squat[/i]) with Lucida Grande and the resemblance is relieving.
Why can't I install grub2 on my USB stick? It spits out this: [code][root@svlinpc /]# grub-install --target=i386-pc --recheck /dev/sdb /usr/sbin/grub-bios-setup: warning: Attempting to install GRUB to a disk with multiple partition labels. This is not supported yet.. /usr/sbin/grub-bios-setup: warning: Embedding is not possible. GRUB can only be installed in this setup by using blocklists. However, blocklists are UNRELIABLE and their use is discouraged.. /usr/sbin/grub-bios-setup: error: will not proceed with blocklists. [root@svlinpc /]# [/code] My stick is partitioned like this: [img]http://gyazo.com/1a72b3758cfd2866d60787298533a069.png?1363195276[/img] The empty space will be used as a FAT32 partition later. I did this before and I'm sure it works, however I have no clue why it spits that error out now. I tried googling but to no avail. Help please?
[QUOTE=supervoltage;39900570]Why can't I install grub2 on my USB stick? It spits out this: [code][root@svlinpc /]# grub-install --target=i386-pc --recheck /dev/sdb /usr/sbin/grub-bios-setup: warning: Attempting to install GRUB to a disk with multiple partition labels. This is not supported yet.. /usr/sbin/grub-bios-setup: warning: Embedding is not possible. GRUB can only be installed in this setup by using blocklists. However, blocklists are UNRELIABLE and their use is discouraged.. /usr/sbin/grub-bios-setup: error: will not proceed with blocklists. [root@svlinpc /]# [/code] My stick is partitioned like this: [img]http://gyazo.com/1a72b3758cfd2866d60787298533a069.png?1363195276[/img] The empty space will be used as a FAT32 partition later. I did this before and I'm sure it works, however I have no clue why it spits that error out now. I tried googling but to no avail. Help please?[/QUOTE] looks like it doesen't like those partition labels. maybe remove them?
Well, then there's the fact that it thinks it's being installed into a partition's boot sector, rather than the MBR.
[QUOTE=HubmaN;39900690]Well, then there's the fact that it thinks it's being installed into a partition's boot sector, rather than the MBR.[/QUOTE] Then how would I go on to force it to install it on the MBR? Edit: I added --force on the command and it spat the same error, but this time, with a lovely "Installation finished successfully. No error reported" message at the end of the errors. I then did grub-mkconfig and it executed successfully. I'm yet to try it out; I'll do it tomorrow.
A note concerning tiling WMs. If you need more keys (I needed one modifier for most WM functions and another to temporarily bring up the status bar) but don't want to piss off Xorg it takes a bit more work-arounding than seems sane. I originally just moved Alt_R from mod1 to mod3 (which was empty) and used that; I didn't realize, however, that the if either of the Alt_ keysyms do not appear in mod1 then X won't let you use the Ctrl+Alt+Fn shortcut to swap TTYs. In order to get both of these things working simultaneously I had to do: [code] ! Swap ralt with rctrl so that we can make the physical ralt key known as mod3 ! and then use this as our modifier in i3. The reason for the indirectness is to ! trick Xorg into thinking Alt_R is still bound to mod1 so that it will let us ! swap TTYs with Ctrl+Alt+Fn. remove mod1 = Alt_R remove control = Control_R ! This must only occur once: if this script is invoked twice it will reverse ! the swap keysym Alt_R = Control_R keysym Control_R = Alt_R ! This is actually mapping the physical rctrl key to mod1 add mod1 = Alt_R ! And this is mapping the physical ralt key to mod3, our i3 modifier add mod3 = Control_R [/code] It works, but it seems like a bit of a stretch just to differentiate between the two Alt keys. I'm not sure if this is an X "bug" or whether it really matters that it is anyway, but it is a bit strange.
Control, alt and the windows key and any of them works fine for me in awesome wm.
[QUOTE=FPtje;39903663]Control, alt and the windows key and any of them works fine for me in awesome wm.[/QUOTE] They work, but you can't use them for different functions; I use the left alt key as a normal alt key (for normal applications running in i3), and the right alt as my i3 mod key.
I can confirm that using the --force option in grub-install has successfully installed grub. I also removed the partition labels as per kaukassus' instructions, but apparently it still complains about the "multilabel partitions" thingy. Regardless, it works like a charm. Thank you anyway!
Sorry, you need to Log In to post a reply to this thread.