martedì 15 aprile 2014

Ubuntu Update old Repositories

Find Ubuntu version:
  1. In a terminal execute:
    lsb_release -dc
  2.  The output will be something like this:
    Description: Ubuntu 9.10
    Codename: karmic

    Open file /etc/apt/sources.list with a text editor. 

    Delete all entries and substitute with the following:


    deb http://old-releases.ubuntu.com/ubuntu/ CODENAME main universe restricted multiverse
    deb-src http://old-releases.ubuntu.com/ubuntu/ CODENAME main universe restricted multiverse
    
    deb http://old-releases.ubuntu.com/ubuntu/ CODENAME-security main universe restricted multiverse
    deb-src http://old-releases.ubuntu.com/ubuntu/ CODENAME-security main universe restricted multiverse
    
    deb http://old-releases.ubuntu.com/ubuntu/ CODENAME-updates main universe restricted multiverse
    deb-src http://old-releases.ubuntu.com/ubuntu/ CODENAME-updates main universe restricted multiverse

    Extra Repository
     
    Backports
deb http://old-releases.ubuntu.com/ubuntu/ CODENAME-backports main restricted universe multiverse deb-src http://old-releases.ubuntu.com/ubuntu/ CODENAME-backports main restricted universe multiverse 
 

Proposed:
deb http://old-releases.ubuntu.com/ubuntu/ CODENAME-proposed main restricted universe multiverse
deb-src http://old-releases.ubuntu.com/ubuntu/ CODENAME-proposed main restricted universe multiverse  
 
 Replace the worh CODENAME with the codename found in point 2  
 

giovedì 10 aprile 2014

Redhat CentOS Fedora Yum commands

If during update you get a dependences error then launch:

yum clean all
yum --disablerepo='*' --enablerepo=base,updates update

sabato 5 aprile 2014

Change Windows 7 Bootloader Timeout


By default, Windows 7 (at least Ultimate) has a 30 second bootloader timer which seems a bit overkill to me. Fortunately there is an easy way to edit this, along with other bootloader settings. Open up an admin command window by going to Start -> All Programs -> Accessories -> Command Prompt. Right click on the shortcut and select Run As Administrator. Now, the utility we want to use is called bcdedit, and you can invoke it with simply a bcdedit /? to see all of it's usages. To change the bootloader timeout to 10 seconds, use the following:


> bcdedit /timeout 10