Thursday, June 22, 2006

HOWTO: SuSE 10.1 With Smart, Multimedia, And OSx86

After Installation

We are going to install Smart to use instead of Yast to install packages because Yast is way too slow. Don't worry, you will still have a graphical interface for smart if you prefer it to the terminal.


First we need to take care of 2 dependencies, open the terminal and:

x86 (each code box is one line):

su

rpm -ihv ftp://ftp.belnet.be/mirrors/ftp.opensuse.org/opensuse/distribution/SL-10.1/inst-source/suse/i586/rpm-python-*.rpm


rpm -ihv ftp://ftp.belnet.be/mirrors/ftp.opensuse.org/opensuse/distribution/SL-10.1/inst-source/suse/i586/python-elementtree*.rpm

Then install Smart:
rpm -ihv http://ftp.gwdg.de/pub/linux/misc/suser-guru/rpm/packages/System/smart/smart-0.42-12.guru.suse101.i686.rpm


x86_64 (each code box is one line):

su

rpm -ihv ftp://ftp.belnet.be/mirrors/ftp.opensuse.org/opensuse/distribution/SL-10.1/inst-source/suse/x86_64/rpm-python-*.rpm


rpm -ihv ftp://ftp.belnet.be/mirrors/ftp.opensuse.org/opensuse/distribution/SL-10.1/inst-source/suse/x86_64/python-elementtree*.rpm

Then install Smart:
rpm -ihv http://ftp.gwdg.de/pub/linux/misc/suser-guru/rpm/packages/System/smart/smart-0.42-12.guru.suse101.x86_64.rpm


All processor types:
Now we do a:

sudo smart update

This will install apt and a sources.list and get the keys.
Lastly do:

sudo smart install smart-gui smart-ksmarttray
sudo smart upgrade

NOTE: It is a good idea not to try to install anything else or do anything in yast while updating.

Reboot.

TIP: For codecs and flash, java, etc. type the following line in the terminal (all one line):
sudo smart install vlc gstreamer010 libxine1* xvid java-1_5_0-sun-plugin totem-plugin RealPlayer banshee-plugins* flash-player
TIP:To get rid of the annoying updater icon in the systray and replace with a smart update notifier, right click on it and choose configure and uncheck the start on login box. Then open the control control center (Desktop>control center) and choose 'Sessions' in the system part. Click the Start up tab, then the add button and type 'ksmarttray' and close. Next time you reboot, all will be good.

The smart gui is in the menu under Applications>System>Configuration
IPB Image
You can also use the command line like apt:
"sudo smart update"
"sudo smart install "
"smart search "
"sudo smart upgrade"


For instructions on getting XGL to work go here.


OSx86 Support

First we will add OSx86 to the boot loader.

You will get a 'HFS partition error' when you try to boot OSx86 if you use yast to auto config grub, so we will manually change the 'menu.lst':

sudo nano /boot/grub/menu.lst
Add a 4 line entry to the end like this:

title OSx86
root (hd0,1)
makeactive
chainloader +1

(hint: 'hd0,1' was my /sda2, so if it is on the first partition it will be hd0,0)

Next we will set up SUSE so that it mounts OSx86 (Windows too if it doesn't already) each time at boot.

Open up the terminal (Applications>System>Terminal) and type the followinnew fileg:

sudo mkdir /media/OSx86
sudo mkdir /media/Windows
sudo nano /etc/fstab


You will see this in the terminal:
IPB Image
Notice the area I highlighted in black, i added the lines:

/dev/sda1 /media/Windows ntfs nls=utf8,umask=0222 0 0
/dev/sda4 /media/OSx86 hfsplus defaults 0 0


control X, yes, and enter (to save)

NOTE: use the partitioner in the 'System' part of YaST if you want to see the partitions.


No comments: