• General Linux Chat and Small Questions v. I broke my Arch Install
    6,886 replies, posted
It should be in the default repositories, what. If [I]synaptics[/I] isn't in the default ones then I really don't know anymore
It didn't show up on searches for some reason but it was on the main page if I scrolled down. What's the linux terminal equivalent of deleting system 32?
Just try adding it directly from apt, ILY. The software centre wasn't that good last time I used it [code]sudo apt-get update sudo apt-get upgrade sudo apt-get install synaptics[/code] [editline]26th May 2013[/editline] [QUOTE=l l;40794514]It didn't show up on searches for some reason but it was on the main page if I scrolled down. What's the linux terminal equivalent of deleting system 32?[/QUOTE] rm -rf /
t@t:~$ sudo rm -rf / [sudo] password for t: rm: it is dangerous to operate recursively on `/' rm: use --no-preserve-root to override this failsafe How can I force it? I know it says right there how to override it but I don't know how to apply that with the code.
--no-preserve-root cya
oh there it goes
3..2..1 [editline]26th May 2013[/editline] his window just closed :)
it didn't actually, its just sitting here telling me to restart firefox and everything else is gone is there something more I can do?
You're undead, then. There's not much you can do without a system
I just got Xfce 4 set up instead of Gnome 3 and must say I'm digging this much more. Problem is that I'd like to set up Slim as my login manager, but when I try to start the service I get a error message saying that the [B][I]file exists[/I][/B] and it doesn't start. [code][root@ArchAcerLaptop ~]# systemctl enable slim.service Failed to issue method call: File exists [root@ArchAcerLaptop ~]# [/code]
If only I had a bigger USB drive :( [editline]26th May 2013[/editline] [QUOTE=FlubberNugget;40794617]You're undead, then. There's not much you can do without a system[/QUOTE] What I meant was more commands to wipe it completely.
[QUOTE=l l;40794663]If only I had a bigger USB drive :( [editline]26th May 2013[/editline] What I meant was more commands to wipe it completely.[/QUOTE] That's what rm -rf / does, it deletes your root directory, which contains everything :v:
[QUOTE=l l;40794663]If only I had a bigger USB drive :( [editline]26th May 2013[/editline] What I meant was more commands to wipe it completely.[/QUOTE] rm may stop at filesystem border, so you might have to rm -rf /boot if you want to get rid of your bootloader configuration and rm -rf /home if you want to get rid of your personal files. Other than that, at present no program should be able to open anymore because no program exists anymore. If one is open it still can be used to recover the system. (I think someone once recovered the basic filesystem from just emacs - though knowing emacs...) [editline]27th May 2013[/editline] [QUOTE=PredGD;40794620]I just got Xfce 4 set up instead of Gnome 3 and must say I'm digging this much more. Problem is that I'd like to set up Slim as my login manager, but when I try to start the service I get a error message saying that the [B][I]file exists[/I][/B] and it doesn't start. [code][root@ArchAcerLaptop ~]# systemctl enable slim.service Failed to issue method call: File exists [root@ArchAcerLaptop ~]# [/code][/QUOTE] It's probably trying to create a pidfile or something but it exists already - the purpose of a pidfile, of course, being to prevent a program from opening several times. Check the contents of slim.service?
[QUOTE=FlubberNugget;40794768]That's what rm -rf / does, it deletes your root directory, which contains everything :v:[/QUOTE] Alrighty, is there anyone here experienced with using Wine and Winetricks? I've tried using guides for it but I always get caught on something I don't know how to fix.
[QUOTE=esalaka;40794780]rm may stop at filesystem border, so you might have to rm -rf /boot if you want to get rid of your bootloader configuration and rm -rf /home if you want to get rid of your personal files. Other than that, at present no program should be able to open anymore because no program exists anymore. If one is open it still can be used to recover the system. (I think someone once recovered the basic filesystem from just emacs - though knowing emacs...) [editline]27th May 2013[/editline] It's probably trying to create a pidfile or something but it exists already - the purpose of a pidfile, of course, being to prevent a program from opening several times. Check the contents of slim.service?[/QUOTE] Embarrassing if this is common knowledge, but how do I check its content?
use cat or a file editor like vim (from a terminal).
Use a text editor. It's in... /usr/lib/systemd/system/ or /etc/systemd/system or something
Or Gedit if you want a GUI.
Whoops I forgot that vim is a bit difficult for new users. I'm a bit out of touch here.
I've had a good impression with nano, been using it since I begun with Arch. I managed to start up slim by simply typing 'slim' however. Not sure if this will boot up with the system when I reboot however. A little confused over the location of slim.service though. Where can I find it? Was esalaka referring to that? [editline]27th May 2013[/editline] Found it. [editline]27th May 2013[/editline] [code] GNU nano 2.2.6 File: slim.service [Unit] Description=SLiM Simple Login Manager After=systemd-user-sessions.service [Service] ExecStart=/usr/bin/slim -nodaemon [Install] Alias=display-manager.service [/code] Is its contents.
Kill slim, see if problem persists. If it does, look for a file called slim.lock or similar in /var/run
Still not working after killing it. Did it like this. pidof slim <random number> kill <random number> tty1 starts systemctl enable slim.service Same error as earlier for whatever reason. [editline]27th May 2013[/editline] [code][root@ArchAcerLaptop ~]# killall -9 slim slim: no process found [root@ArchAcerLaptop ~]# systemctl enable slim.service Failed to issue method call: File exists [root@ArchAcerLaptop ~]# [/code] This doesn't work either.
Did you look for a file called slim.lock (or similar) in /var/run
My bad, I forgot to do so. Closest thing I see is slim.auth in /var/run/.
Did you have the gnome display manager(gdm) enabled before? If you didn't disable it before removing Gnome you'll have to manually remove the "/etc/systemd/system/display-manager.service" file. This is a symlink pointing to your display manager service. Slim is complaining because it's still pointing to the (nonexistant) gdm service.
Removed that file and it appears to be working now! [code][root@ArchAcerLaptop ~]# systemctl enable slim.service ln -s '/usr/lib/systemd/system/slim.service' '/etc/systemd/system/display-manager.service' [root@ArchAcerLaptop ~]# ^C [root@ArchAcerLaptop ~]# [/code] Thanks, again!
[QUOTE=PredGD;40794475]Reason I'm using Arch (as of now) must be the feeling of using a "true" linux system. Most likely poorly worded from my side, but it really feels like I'm using linux to its full extent by using Arch, which gives me this fuzzy warm feeling inside of me when I accomplish something with it.[/QUOTE] I just like the insanely low RAM usage since its so minimalist. Using a Pentium II as an Arch print server is perfect. 45 days since the last boot so it pretty much takes care of itself.
I have this really weird problem however... It happened after installing Arch and I'm not sure what could cause it. It's not really in the way or anything, just really abnormal. When I slap my laptop down (to enter sleep), it starts to whine and screech really loud for some reason. So I have to carefully put the screen down, figure out where the sound begins (it builds up the farther it is down) and take it back up and wait for it to enter sleep mode before smacking it down.
[QUOTE=TheCreeper;40792862]In Gentoo you are required to compile, install, and configure all of the software your self by downloading the sources from their repos or another repo of your choice. In Arch you are only required to install and configure the software from the Arch repos which significantly lowers the work load and time to building a working system.[/QUOTE] Gentoo takes more time, sure, but it's not really any harder than Arch. The compiling and downloading and everything is automated through Portage: just run, say, `emerge xorg-server`.
[QUOTE=lavacano;40797228]Gentoo takes more time, sure, but it's not really any harder than Arch. The compiling and downloading and everything is automated through Portage: just run, say, `emerge xorg-server`.[/QUOTE] Sounds like you're a wizard casting a spell.
Sorry, you need to Log In to post a reply to this thread.