LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Blogs > Angelo Fo. personal blog
User Name
Password

Notices

Angelo Fo. Blog [My OpenSource Project News, previews & announcements of my free posts on http://digitalpatch.blogspot.com]

In this blog I'll talk you about my projects about GNU/Linux and solutions regarding security, software development and my own FOSS projects.

I will also publish "previews & announcements" of my free posts on DigitalPatch (Security Blog)

Note: Digital Patch Posts by Angelo Fonzeca are licensed under a Creative Commons Attribution-Noncommercial-No Derivative Works 3.0 Unported License and are based on a work at http://digitalpatch.blogspot.com


NOTE: If you are interested in IT Security, join us at "GNU/Linux Security & Hardening" group on Linkedin
Rate this Entry

How to survive to OpenSuse 11.3 upgrade on PCs with NVIDIA Video Cards [ANNOUNCEMENT]

Posted 12-10-2010 at 08:09 AM by angelo.fonzeca
Updated 12-13-2010 at 06:31 AM by angelo.fonzeca

Introduction

In my opinion OpenSuse is one of the best GNU/Linux distribution... It is stable, it has maniac precision for the particulars, "branded" desktop... so you are REALLY productive since the first login and It's cool!

Another invaluable feature is th "YAST2 tool", a very fast, smart and useful control panel for services and system.

Anyway, I use this OS in my production PCs... OpenSuse never disappointed me!

On 15/07/2010 the 11.3 release has been published! I was excited to upgrade my systems (usually I never made upgrade of my OS as soon as a distribution is released, but I trust in Novell/OpenSuse quality of service, so I upgraded).

According to my upgrade experience, in this guide I'll show you how to

Upgrade the system easily (from 11.2)
How to prevent a xorg start failure after the first reboot ( if you have an NVIDIA card )


Requirements


1) Patience
2) Fast Connection (if you have not too much patience)
3) A recent backup of you home directory and important files
4) 8gb free space on your /
5) .........Patience


First step! (Only if you have a NVIDIA card)
  • Go to http://www.nvidia.it/Download/index5.aspx?lang=en
  • Select your operating system (Linux 64bit or 32bit) and your language
  • Accept agreement if you like it, then click on buttons for download.
  • Download the file NVIDIA-Linux-x86_64-256.35.run (or newer)
  • Save it into your home directory!
  • Connect your pc to UPS!


Step two!

Briefly, go to your terminal console, become "root" and follow these steps (full description here):

1) Run


zypper modifyrepo --enable repo-update

2) Add the update repository


zypper addrepo --check --name 'openSUSE-11.2-Update' http://download.opensuse.org/update/11.2/ repo-update

3) Update the system


zypper refresh
zypper update


4) Install your kernel source (will be used later...)

zypper install kernel-source



Step three! It's time to upgrade

Disable old repositories

zypper modifyrepo --all --disable


And set the 11.3 repositories


zypper addrepo --name "openSUSE-11.3 OSS" http://download.opensuse.org/distrib...11.3/repo/oss/ repo-11.3-oss
zypper addrepo --name "openSUSE-11.3 Non-OSS" http://download.opensuse.org/distrib.../repo/non-oss/ repo-11.3-non-oss
zypper addrepo --name "openSUSE-11.3 Updates" http://download.opensuse.org/update/11.3/ repo-11.3-update


Then write

zypper ref

Finally write

zypper dup --download "in-advance"

The previous command downloads all the packages before upgrading (more and more secure procedure). Go away from your system and come back... the next day...


Step four! Many hours later... (Keep attention! Before rebooting make the following modify! )


With your favourite editor (eg. vi, nano, etc), edit the following

/boot/grub/menu.lst

Search for:

###Don't change this comment - YaST2 identifier: Original name: linux###
title Desktop -- openSUSE 11.3 - 2.6.34-12
root (hd0,6)
kernel /boot/vmlinuz-2.6.34-12-desktop root=/dev/disk/by-id/ata-xxxxxxxx resume=/dev/disk/by-id/ata-yyyyyyyyy splash=silent quiet showopts vga=0x314
(note: root and resume parameter could be different)


After vga=0x314 option add the following


nomodeset


So the line will be like this:


###Don't change this comment - YaST2 identifier: Original name: linux###
title Desktop -- openSUSE 11.3 - 2.6.34-12
root (hd0,6)
kernel /boot/vmlinuz-2.6.34-12-desktop root=/dev/disk/by-id/ata-xxxxxxxx resume=/dev/disk/by-id/ata-yyyyyyyyy splash=silent quiet showopts vga=0x314 nomodeset




Step five! Reboot and fix!

It's time to restart the system! If you haven't NVIDIA card your system will start normally, else follow these steps:


1) With NVIDIA cards.... if all has been done well... the xorg won't run! No panic! Login with your usual account, then become root.

2) Go to the your home directory, change runlevel and run your NVIDIA card driver setup with

telinit 2
sh ./NVIDIA-Linux-x86_64-256.35.run


3) Follow the NVIDIA setup steps

4) Reboot your system

5) Now it should be ok else... write me!


Enjoy with your new OpenSuse 11.3 and NVIDIA Cards!

A>ngelo F.


Digital Patch Posts by Angelo Fonzeca are licensed under a Creative Commons Attribution-Noncommercial-No Derivative Works 3.0 Unported License.
Based on a work at digitalpatch.blogspot.com.
Views 1499 Comments 0
« Prev     Main     Next »
Total Comments 0

Comments

 

  



All times are GMT -5. The time now is 05:26 AM.

Main Menu
Advertisement

My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration