Hi,
Not sure of this is the correct place but i didnt see a better one. the other day I tried to install a piece of software using a script, and i ran it as root but forgot to set a prefix, so it installed straight to the root drive, this caused a problem as it overwrote the bin folder, nothing else. i had an old copy of it on a backup, so i copied it over, and i get to kdm, and the mouse and keyboard don't work. If i boot into recovery and run startx as root, then it loads an xserver but i get notifications saying the keyboard and touchpad configurations aren't supported and the plasma deskop crashes. Is there a way to fix this, as i have done a lot to that install and it would be a massive faff redoing it all.
cheers, Bill.
recovery?
Forum rules
LMDE 2 has reached end of support as of 1-1-2019
LMDE 2 has reached end of support as of 1-1-2019
Re: recovery?
Try this, boot the recovery mode and use the command
you should have a working system now. Open the terminal and put in
if you get something like this
delete all the udev links from rc0.d to rc6.d. Don't touch rcS.d, it's needed as it is.
Code: Select all
telinit 5
Code: Select all
ls -l /etc/rc*.d/*udev*
Code: Select all
lrwxrwxrwx 1 root root 19 4. Jul 23:27 /etc/rc0.d/K01udev-mtab -> ../init.d/udev-mtab
lrwxrwxrwx 1 root root 14 29. Jun 21:39 /etc/rc0.d/K02udev -> ../init.d/udev
lrwxrwxrwx 1 root root 19 4. Jul 23:27 /etc/rc1.d/K01udev-mtab -> ../init.d/udev-mtab
lrwxrwxrwx 1 root root 14 29. Jun 21:39 /etc/rc1.d/K02udev -> ../init.d/udev
lrwxrwxrwx 1 root root 19 23. Aug 22:06 /etc/rc2.d/K01udev-mtab -> ../init.d/udev-mtab
lrwxrwxrwx 1 root root 14 13. Sep 22:28 /etc/rc2.d/S02udev -> ../init.d/udev
lrwxrwxrwx 1 root root 19 4. Jul 23:27 /etc/rc3.d/K01udev-mtab -> ../init.d/udev-mtab
lrwxrwxrwx 1 root root 14 29. Jun 21:39 /etc/rc3.d/K02udev -> ../init.d/udev
lrwxrwxrwx 1 root root 19 4. Jul 23:27 /etc/rc4.d/K01udev-mtab -> ../init.d/udev-mtab
lrwxrwxrwx 1 root root 14 29. Jun 21:39 /etc/rc4.d/K02udev -> ../init.d/udev
lrwxrwxrwx 1 root root 14 20. Sep 21:47 /etc/rc5.d/S02udev -> ../init.d/udev
lrwxrwxrwx 1 root root 19 20. Sep 23:33 /etc/rc5.d/S13udev-mtab -> ../init.d/udev-mtab
lrwxrwxrwx 1 root root 19 4. Jul 23:27 /etc/rc6.d/K01udev-mtab -> ../init.d/udev-mtab
lrwxrwxrwx 1 root root 14 29. Jun 21:39 /etc/rc6.d/K02udev -> ../init.d/udev
lrwxrwxrwx 1 root root 14 24. Feb 2010 /etc/rcS.d/S02udev -> ../init.d/udev
lrwxrwxrwx 1 root root 19 25. Feb 2010 /etc/rcS.d/S13udev-mtab -> ../init.d/udev-mtab
Re: recovery?
hi,
Ran the commands below, the telinit 5 command, and the xserver started and went to kdm like normal but the keyboard and touchpad still didnt work, so i ran the 2nd command and it only listed symlinks in rcs.d, an as they are needed i didnt fiddle with them. I had to run that command in the recovery terminal because i still cant use the xserver, any other ideas?
Cheers, Bill.
Ran the commands below, the telinit 5 command, and the xserver started and went to kdm like normal but the keyboard and touchpad still didnt work, so i ran the 2nd command and it only listed symlinks in rcs.d, an as they are needed i didnt fiddle with them. I had to run that command in the recovery terminal because i still cant use the xserver, any other ideas?
Code: Select all
telinit 5
ls -l /etc/rc*.d/*udev*
Re: recovery?
Sorry, no. The only reason i know for tochpad/mouse & keyboard not working is the rc0 - rc6 udev stuff.
Re: recovery?
Any packages i could reinstall?, im going to boot into it now and re install the xserver and xorg stuff see if that helps, providing i can connect it to the ethernet from the recovery terminal =p
Re: recovery?
Well i reinstalled some stuff, and got to my desktop but still no mouse or keypad, although i got a segmentation error on something, not sure if that has anything to do with it?
EDIT: cant be udev i tried a usb mouse, and i have reinstalled just about everything to do with any inputs, guess i have got to reinstall
EDIT: cant be udev i tried a usb mouse, and i have reinstalled just about everything to do with any inputs, guess i have got to reinstall