• General Linux Chat and Small Questions v. Year of the Linux Desktop!
    4,886 replies, posted
[QUOTE=Flapadar;47379328]For future reference - when grub dies you can normally fix it by reinstalling grub from live USB and booting using grub's command line if it hasn't listed your OS. Basically the below (use tab to list options if you're not sure) root(hd0,<partition>) kernel /vmlinuz-<version> ro root=/dev/sd<hd id> initrd /initramfs-<version>.img boot I've only ever had to use that method on CentOS boxes, so YMMV[/QUOTE] I believe I had something similar to that when I tried back then, though I believe my issue was something else. when trying to recover a few files in Windows using ext4browser or whatever it's called, it wasn't able to read my ext4 formatted linux partitions. partition manager told me they were RAW formatted so I believe my partitions somehow managed to get formatted. I suppose I won't impatiently reset the PC when the PC takes longer than usual to shut down next time.
[QUOTE=PredGD;47379661]I believe I had something similar to that when I tried back then, though I believe my issue was something else. when trying to recover a few files in Windows using ext4browser or whatever it's called, it wasn't able to read my ext4 formatted linux partitions. partition manager told me they were RAW formatted so I believe my partitions somehow managed to get formatted. I suppose I won't impatiently reset the PC when the PC takes longer than usual to shut down next time.[/QUOTE] Ouch. I imagine its most likely the MBR got overwritten - rather than a full format. Backup/restore can be done with dd or sfdisk - though of course it can only be done before the problem comes up - but might be worth doing to save yourself hassle if this ever happens again [url]http://www.cyberciti.biz/tips/linux-how-to-backup-hard-disk-partition-table-mbr.html[/url]
I'm considering setting up a server for sharing shit with friends. But I'm unsure whenever I should go with the recent Ubuntu server LTS or Debian Jessie (and do a netinstall with only SSH server as extra) So Optimistic rating for Ubuntu Server 14.04 (LTS). And Useful rating for Debian Jessie with only SSH server as extra install option.
I've just started using Linux again and I have this weird problem with my microphone. There seems to be weird static that happens either when I make a loud noise or if I change the microphones volume. The microphone sounds perfect in windows, however. I recorded an example of it while constantly changing the volume to reproduce it. [url]http://cdn.breakpoint.me/shittysoundlinux.wav[/url] I recorded this in audacity and tried with both pulseaudio and alsa and got the same results. It's not that awful when I'm talking, but I'd still like to find a solution.
I just solved longstanding problems by removing laptop-mode-tools. It's really weird because I distinctly remember removing it for similar reasons. It solved my mouse turning off after 5 seconds of non-use. Let's hope it fixes the problem with my login screen not registering every key stroke when entering my password the first time after boot. Seriously, you start to doubt yourself when your password is wrong that often.
Anyone experienced with LAMPP? It is the XAMPP version for Linux. The htdocs folder is in a location that needs Admin rights, is is possible to have it somewhere a normal user can use without sudo.
You could do what I usually do: [code]groupadd http chmod -R 775 /var/htdocs # or wherever your htdocs directory is chgrp -R http /var/htdocs setfacl -d -m g::rwx /var/htdocs # I'm never sure if this is needed, makes new files 775 by default gpasswd -a user http[/code] have user relog in et voilá
[QUOTE=FPtje;47392178]I just solved longstanding problems by removing laptop-mode-tools. It's really weird because I distinctly remember removing it for similar reasons. It solved my mouse turning off after 5 seconds of non-use. Let's hope it fixes the problem with my login screen not registering every key stroke when entering my password the first time after boot. Seriously, you start to doubt yourself when your password is wrong that often.[/QUOTE] To continue on this: Do you guys [I]ever[/I] feel like you've put a lot of effort into fixing the annoying things and that you now finally have a system that works exactly the way you want it? I seriously don't want to switch distros because of this. I've had mouse issues, trackpad issues, I had to change AwesomeWM to my likings, a lot of DPI issues with my 3200x1800 screen, the set of packages that I have installed. Sure you can copy config files and the like, but I'd never get [I]this[/I] system back. My name is Falco and I used to be a distro hopper. [editline]25th March 2015[/editline] Of course that kind of issue shouldn't be this rife in the first place, but I've seen no distro that's free of them. Not even the popular ones like Ubuntu.
Linux on the desktop still has issues. The difference is you can generally fix them yourself, or at least figure out why they happen and get them corrected. There's also no problem that has been solved in one Linux distribution that couldn't be solved in others. A distribution is just a collection of software and configuration, after all. Hell, technically, [url=http://web.archive.org/web/20081014160409/http://andrew.mcmillan.net.nz/blog/dapper_sid_quite_journey]there's nothing preventing you from distro hopping while your system is running[/url], it would just be completely insane.
sometimes the problem is really weird to accurately diagnose for instance i only just realized that knotify segfaulted so much because phonon-vlc is broken again
[QUOTE=FPtje;47395297] My name is Falco and I used to be a distro hopper.[/QUOTE] In [i]some[/i] ways, you remind me of a slightly younger version of myself. I guess the DarkRP continuation thing was no coincidence. I'm on Slackware for pretty much the reason you mentioned. I stopped hopping distros in about 2005.
[video=youtube;O2efSysPvy8]http://www.youtube.com/watch?v=O2efSysPvy8[/video] Some short time ago used archlinux exclusively, then i started having some weird problem with steam/libc/gl, said fuck it, downloaded fedora, ubuntu, and some other crap and tried them all; ended up just having arch, ubuntu(surprisingly good), and sabotage. Unity is actually not bad, and i like it more than gnome 3, atleast out of the box.
I'd just like to interject for a moment. What you’re referring to as Linux, is in fact, GNU/Linux, or as I’ve recently taken to calling it, GNU plus Linux. Linux is not an operating system unto itself, but rather another free component of a fully functioning GNU system made useful by the GNU corelibs, shell utilities and vital system components comprising a full OS as defined by POSIX. Many computer users run a modified version of the GNU system every day, without realizing it. Through a peculiar turn of events, the version of GNU which is widely used today is often called “Linux”, and many of its users are not aware that it is basically the GNU system, developed by the GNU Project. There really is a Linux, and these people are using it, but it is just a part of the system they use. Linux is the kernel: the program in the system that allocates the machine’s resources to the other programs that you run. The kernel is an essential part of an operating system, but useless by itself; it can only function in the context of a complete operating system. Linux is normally used in combination with the GNU operating system: the whole system is basically GNU with Linux added, or GNU/Linux. All the so-called “Linux” distributions are really distributions of GNU/Linux.
Any tips for slimming down the memory usage of mysql(actually mariadb)? Running lighttpd+php+mysql is putting my uncomfortably close to filling the memory on my 256MB vps.
Do any of you guys do server management? What should I expect for routines? I'll be running an osx yosemite server, which is reminiscently close to linux - mac oriented for the job. All internet is routed through the server, hosts our POS system, netboots and backups. Coworkers will ssh in off-site to use tools. I don't think that's too complicated, since it's running now. But I'll need to add netboots, probably try to speed up our internet (my first job is to take the server OFF a fucking wireless connection), and later (waay later) provide support for other servers I'll install - mainly for pos systems. just read the man pages?
So I'm having troubles with my Xubuntu install. After going to sleep or screenlock, any browser either crashes, or doesn't allow any text input anywhere. Address bar, text fields, whatever. This happens for FF, Chromium, and Chrome. Also I'm having a lot of difficulties with setting my sound to my E17 and it actually working with everything. Network management is a bit messed up, I have to manually start the nm-applet if I want to connect to wifi, and sound control only sometimes works. Am I best off just trying for a clean install?
[QUOTE=ph:lxyz;47396364]In [i]some[/i] ways, you remind me of a slightly younger version of myself. I guess the DarkRP continuation thing was no coincidence. I'm on Slackware for pretty much the reason you mentioned. I stopped hopping distros in about 2005.[/QUOTE] It was no coincidence, you guys made me [i]really[/i] mad.
[QUOTE=IpHa;47397160]Any tips for slimming down the memory usage of mysql(actually mariadb)? Running lighttpd+php+mysql is putting my uncomfortably close to filling the memory on my 256MB vps.[/QUOTE] Reduce max connections and if you're not using InnoDB (XtraDB in MariaDB) you can disable it. If you are using InnoDB you can try shrinking the buffer pool or switch to MyISAM if you don't need the functionality that InnoDB provides. A few other things you can do here: [URL]http://www.tocker.ca/2014/03/10/configuring-mysql-to-use-minimal-memory.html[/URL]
Does anyone know how to make KVM a bit faster as far as access to a physical disk goes? I have Windows 10 running in KVM with VGA Passthrough to my 750 TI which works great, but disk I/O is ungodly slow.
why the christ is kdenlive refusing to render video ffmpeg supports all the codecs but it's only spitting out audio only files
[QUOTE=Lyokanthrope;47407757]Does anyone know how to make KVM a bit faster as far as access to a physical disk goes? I have Windows 10 running in KVM with VGA Passthrough to my 750 TI which works great, but disk I/O is ungodly slow.[/QUOTE] Are you using the virtio driver?
[QUOTE=IpHa;47408234]Are you using the virtio driver?[/QUOTE] Yes.
[QUOTE=~Kiwi~v2;47397054]2edgy4me [editline]26th March 2015[/editline] I'm being serious that is an edgy as hell post.[/QUOTE] Pretty sure it's /g/ copypasta. Also, I've been a lazy bastard recently and have been doing everything on windows and just leaving my linux partition sit there.
so, when i plug in my HTC one M8 into my tower running Ubuntu, it starts charging but it's not showing up. how do i fix this?
[QUOTE=Havolis;47412705]so, when i plug in my HTC one M8 into my tower running Ubuntu, it starts charging but it's not showing up. how do i fix this?[/QUOTE] m8 there should be different usb media modes in the settings, one is like a usb drive and one is like a camera, perhaps you have got it on the wrong one?
[QUOTE=Lyokanthrope;47408892]Yes.[/QUOTE] By physical disk you mean you're using the raw block device yeah?
[QUOTE=ben1066;47417738]By physical disk you mean you're using the raw block device yeah?[/QUOTE] /dev/sda1, yep.
so i finally got around to reinstalling Zorin into a VM and poking it like I said I was going to do several pages ago i figured out what the problem I had was: if it doesn't autodetect your correct resolution from the moment it boots up, you're going to be in for a world of hurt. the system tray breaks, the menu always renders underneath the panel, basically a very unpleasant experience and you have to revert to making a shell script that runs xrandr when lightdm starts (since it doesn't have its own resolution settings for some reason). for most people this probably won't be a problem, but when you want your VM to run in 1440x1050 and VirtualBox reports the native res as 1024x768 for some bizarre reason... [editline]29th March 2015[/editline] i should clarify that if you ever get your resolution to not be a problem, it's pretty much an Ubuntu fork that's laid out like Win7 by default
[QUOTE=lavacano;47419360]so i finally got around to reinstalling Zorin into a VM and poking it like I said I was going to do several pages ago i figured out what the problem I had was: if it doesn't autodetect your correct resolution from the moment it boots up, you're going to be in for a world of hurt. the system tray breaks, the menu always renders underneath the panel, basically a very unpleasant experience and you have to revert to making a shell script that runs xrandr when lightdm starts (since it doesn't have its own resolution settings for some reason). for most people this probably won't be a problem, but when you want your VM to run in 1440x1050 and VirtualBox reports the native res as 1024x768 for some bizarre reason... [editline]29th March 2015[/editline] i should clarify that if you ever get your resolution to not be a problem, [B]it's pretty much an Ubuntu fork that's laid out like Win7 by default[/B][/QUOTE] Isn't this literally what it is?
isn't that pretty much what i just said
Sorry, you need to Log In to post a reply to this thread.