Friday 25 April 2014

Major Fail ...bios corruption...keyboard not working

Well last night I installed some software, well a few pieces of software actually and I didn't check them out just expected them to work and trusted the recommendations from a website. The articles name was something about "Things to install after a new install of Mint Petra" or something like that.
I was really tired and didn't switch the PC off that night just fell asleep on the sofa till this morning. i headed back to the PC and was just sorting e-mail and messaging friends when....Shutdown. The PC just crashed.

I have been messing about with help from the Mint forum's, changing my bios memory settings as Mint seems not to recognise both my memory chips on my ASROCK 960GM motherboard. I thought maybe this was it.

Or the problems I've had with USB 3.0 connections also. Maybe this was all connected to my current troubles in hindsight.

Anyway on boot up again, my keyboard was not recognised and I was unable to get into bios to check things there. I got the GRUB menu but with no keyboard I couldn't access my Desktop either.
I disconnected all my USB connections and tried the keyboard and mouse in other USB ports first (I've heard some motherboards will only recognise the first USB port), no luck, then up to the loft for an old style keyboard and mouse. plugged them in to the Din sockets. nothing again. The PC was still not working just hitting GRUB and staying there waiting for  input from the non existent keyboard.

I needed help from the internet.

No computer ....

Up to the loft again and I pulled out one of my old PC's (I never seem to get around to getting rid of them) and 3 hours later after searching through several Hard disks to find a working one I know have a running Intel 2Core E8400 with 1mb ram and 160gig hard disk. I loaded the Mint Live CD I always keep around up. It had Nadia on it so just used that to download Petra and burnt over that copy (it's on a re-writeable). I know I could have updated in other ways but it just seemed the simplest.

Anyway I now have second PC to play with and this one has a floppy disk on it so i can check out those dozens of really old floppy disks I have lying about that I've meant to check for anything interesting I may have put on them years ago.

Back to my immediate problem. After some forum searches I decided to replace the Bios battery in the faulty PC. This didn't work to get the keyboard running again but now I had access to my cloud storage (where I keep PDF manuals of all the stuff I have) I could check out the Motherboard manual and reset the Bios jumpers.

Well this has worked, I have my Keyboard working again.
My first thing to do now is what is happening this second. Back-up... I've loaded the Mint Petra disk on the faulty PC and I am copying all the files in the home folder to a second Hard drive. There's a lot and really this has not been done for a while so it also gives me a chance to sort the trash in there out as well.

***USEFUL BIT***
It seems when you use the LIVE CD it will not let you copy files from one drive to another. It says permission denied. To bypass this a quick search told me I needed to be administrator to do this, which makes sense. To be able to do this on the Desktop all you need to do is right click on the folder you want to copy from and open as root then right click on the folder you will be sending to and open that as root also. you can then pull files and folders over. Use go up one folder on the folder menu to access that folder to open it's child.

I'm thinking I may just do a re-install as I can't find any answers yet on how to remove a program from a broken installation from the terminal in a Live CD. I assume it may be possible but being root and checking the dependencies in where-ever the list of programs are kept by the package manager.
I'm thinking this just because Windows kept things in the Registry. I may be wrong but this is all a learning process eh.
At least I've got a spare PC out of this mess to use to sort things out with.

Saturday 5 April 2014

Opening a graphical program from Terminal

One thing I have had to work out myself as it may seem obvious to many or it may be stated somewhere I've never looked is sudo and gksudo

I've come across errors many times in Terminal such as

IBUS-WARNING

Gtk-WARNING

This I now know is because I was trying to open a programme with a graphical front end from within the Terminal.

I now know if I try to open it as root using the sudo command I need to do it as gksudo. This is to warn the system it is opening a graphical programme which may have other environmental variables it needs to set up which would not be otherwise.


So for example in Terminal and wanting to use gedit (the editing programme) I use from the command line:

$ gksudo gedit

and not

$ sudo gedit


Sunday 12 January 2014

Fixing Channel 4OD & Demand5 Video playback

So, I've always had a problem playing back 4OD streaming content. I've tried lots of fixes and none worked. I've finally found a fix that does work on this link.

http://forums.linuxmint.com/viewtopic.php?f=90&t=146676

Just in case it disappears the  process is:

Remove the adobe cache

Terminal
rm ~/.adobe -rf

Install hal and hal-info (hardware abstraction layer)

Terminal
sudo apt-get install hal hal-info

Then link (ln) hal between /usr/share and /etc/ (make sure of the space between hal/ And /etc/)

Terminal
sudo ln -sn /usr/share/hal/ /etc/hal

I then went to the adobe folder

Terminal
cd ~/.adobe/Flash_Player

and removed the three files NativeCache, AssetCache, APSPrivateData2

Terminal
rm -rf NativeCache AssetCache APSPrivateData2


I don't know if all the steps are needed but it seemed to work so I'm happy !

UPDATE:

Well since I upgraded to Mint 16 Petra, which uses Ubuntu Saucy
 13.10 Demand5 stopped working.
Found a fix here though:

http://www.omgubuntu.co.uk/2013/10/fixing-amazon-prime-streaming-drm-protected-flash-13-10

Quick note, close down chromium fully when in terminal, I cut and pasted the notes into Tomboy first. The Chromium icon is next to the time on the right side of the lower menu bar. Right click and exit fully closing the browser down. On next restart it should work using the ppa version fix I used.