openSUSE 11.1

Here is a mini walk-through for those interested in openSuse on their Mac. I'm still a babe-in-the-woods, but thought I'd present my findings in a casual manner.

You basically have two choices - download an entire DVD, or do a net-install, where you download about 128mb for the net-install image to boot from, and the installer downloads the rest depending on your choices.

You can go through their choices to pick what to download here:

http://software.opensuse.org/

Note that what you see may differ depending on if you have javascript turned on or off in your browser. You can also get it here:

http://download.opensuse.org/distribution/11.1/iso/

Pick either the DVD or the NET image for ppc. Even better is to use a mirror - I won't go into great detail here as that is covered in their docs.

Assumptions: You now have either the dvd or netinstall image burned as an iso, and preferably at a low speed, and can boot from it by holding down the "C" key upon startup. Although I haven't tried it, reports say that you can also boot from within openfirmware with

boot cd;,install
or
boot cd:,install video=ofonly

FIRST CHOICE

If you have enough ram to support a graphical installation, you can try to install it at the very first prompt with:

install

If you don't have enough ram, or if for some reason your graphics are not configured properly, you can install with the text-based ncurses style of installer:

install textmode=1

For DVD users, you can skip much of the next part since it will concentrate on the net-install method

Make sure that CD number 1 is in your drive
1. ok
2. back

The cd is surely in your drive, but instead of choosing 1, choose 2 to go back!

Main Menu
1. Start Installation
2. Settings
3. Expert
4. Reboot

Let's start the installation by choosing 1.

Start Installation
1. Start installation or update
2. Boot installed system
3. Start rescue system

Again, we want to start the installation, so choose 1.

Choose The Source Medium
1. DVD / CDrom
2. Network
3. Hard Disk

Here we choose 2 to get the rest from the network

Choose The Network Protocol
1. FTP
2. HTTP
3. NFS
4. SMB / CIFS (windows share)
5. TFTP

I decided to try HTTP to do my first install with, so I chose #2.

Automatic Configuration via DHCP?
1. Yes
2. No

Since I am behind a home router that is set up for dhcp, I chose #1

Enter the ip address of the http server
>

For the ip address, I actually used a url:

powerpc.opensuse.org

Enter Directory On The Server
>

/distribution/11.1/repo/oss/

Note the trailing slash! Also, it is here where more advanced users may want to specify mirrors or other repos. I have chosen to use just the canonical setup. :)

Do you need a username or password to access the http server?
1. Yes
2. No

I chose #2, no.

Use an HTTP Proxy?
1. Yes
2. No

I chose #2, no, here as I'm not behind a proxy.

At this point, the installer will download about 80mb of more installation data and will start the install. Be patient!

MAIN INSTALLER NOTES

You should now be presented with the installer, and if you have chosen install textmode=1 at the beginning, the ncurses text-based installer will show up. If you are using that, then use TAB to navigate around, and SPACEBAR to make selections.

I won't go into extreme detail, but off the bat I'd say that for new users, you will want to create a new partition setup, and then let the partitioner "use the whole disk". Of course, this will wipe out everything, but you won't have to have special knowledge on how to set up tricky apple-specific partitions in addition to the normal Linux partitions.

OpenSuse also allows for the user to determine if they want seperate user / root users, and if they want to use sudo. Pretty flexible.

Choosing your Desktop Environment

At this stage, many might want to install Gnome, or KDE 4.x which are the main ones. If you choose "OTHER", you now have the ability to install the older KDE 3.x, XFCE, Lightweight Minimal X, or Server.

These are pretty self-explanatory, but I have chosen to install the Lightweight Minimal X and will follow up with some further notes about that!

The Minimal X installation - instead of a desktop environment, many might want to use just a window-manager to save on ram, or perhaps you just like a very tidy system. Other distros may only offer XFCE or the server as your choices for minimal installs, but openSuse's Minimal X fills a very unique spot.

Typically in Debian or other systems, one can build up their own window-manager lightweight system by installing the server-version, or cli-only version, and then adding in all the other components necessary. OpenSuse saves you this step with the Minimal X - which is great if one isn't familiar with all the components needed.

Ok, so you have chosen the Minimal X option, and what do you get upon reboot? The TWM window manager! For many, that is just TOO spartan! TWM is the default window manager supplied with X. If you like it, great - but openSuse also includes a more modern ICEWM window manager.

If you are familiar with TWM and opensuse already, perhaps you have just called up an xterm, and as root, fired up yast2 and reconfigured everything. There are two ways to get the included ICEWM to come up.

How to Configure for ICEWM instead of TWM

All you need to do is make a change in your /etc/sysconfig/windowmanager file.

If you aren't familiar with TWM, just left-click, hold and drag to get to the xterm menu. Got xterm up? Yeah, it is ugly but it will get the job done. If you want to resize xterm, look in the upper right corner. Left-click and hold it - without letting go, drag the mouse to the lower-right corner and drag that corner to the size you want the xterm to be and let go. Still ugly! Now, CTRL-right-click and hold to see the menu pop up, and drag the mouse to change the font size to something you can use and let go. Ah, much better.

Alternatively, one could just go into a virtual terminal via ctrl-alt-f2, and login....

If your graphics are ok, you can edit the file with your favorite text-based editor, or you can call up the gui mousepad editor, which comes supplied, and is just a piece of it's bigger brother, xfce. VI users will have no problem, but you can also use JOE which is part of the install. You can download others right away such as nano, but at this stage, you probably aren't reading this walk-through. :)

(You'll have to edit the file as root, so depending on your choices, you either change into your root account with su, or preface the following commands with sudo.)

In an xterm, fire up mousepad if your graphics are ok:

mousepad

OR, fire up joe for text based editing:

joe /etc/sysconfig/windowmanager

Note - new joe users can call up the help screen with this combo: CTRL-K (release) H. CTRL-K (release) is the key to using joe.

Now, just change the default window manager to icewm-session:

# Here you can set the default window manager (kde, fvwm, ...)
# changes here require at least a re-login
# DEFAULT_WM="twm" 
DEFAULT_WM="icewm-session" 

Now just save the file, and logout and log back in. Or just simply reboot.

Great - icewm should now be shown upon startup instead of twm. I won't go into detail on customizing icewm in this thread, but at least you'll have something a bit easier to use than twm now.

Configuring your new system

If you are unfamiliar with yast2, or if you are coming from an apt-get cli-environment as in Debian etc you may want to do the following right away - as root, either with su or sudo depending on your choices initially:

zypper update

This should update your system to the latest.

Perhaps get the nano editor:

zypper install nano

Get a browser:

zypper install MozillaFirefox

If you are low on ram, perhaps install links (that is with an "i", not the older lynx with a "y", but obviously you can install that too..)

zypper install links

The reason I recommend links is that you can get a very low-memory graphical browser with just framebuffer support by starting links as such:

links -g

Then, with links -g up and running, go to your favorite website:

g

enter the url:

ppclinux.co.uk/

That is just one way to do it, but thought I'd throw this out for the low-memory users.

Yast2 is the graphical way to set things up, but zypper is the native version of apt-get for openSuse users.

Well, that's about it. It isn't too comprehensive, but hopefully this might help someone get over a few hurdles. I'm new to openSuse myself, so I have a lot to learn.

Replies

 

RE: 11.1 installation walk-through and comments - Added by fox 358 days ago

Assuming one was installing this as a dual or triple boot, what would you recommend for a partition setup, say, with 10gb available HD space?

 

RE: 11.1 installation walk-through and comments - Added by stream303 358 days ago

I'm not too hip to special partitioning, as I mostly just "use the whole disk". However, I did get a successfull dual-boot with two linux installs by sharing a swap partition, and then just using the rest of the free space for the entire root partition for the second one. I didn't get fancy with separate /home directories, etc. My first Linux install took care of making the two special apple partitions for me.

 

RE: 11.1 installation walk-through and comments - Added by oswaldkelso 358 days ago

fox: This is my multi boot setup.

The Apple partiton map is hard wired as I understand it. (/dev/hda1)
Then a small boot partition (/dev/hda2)
Then a swap. traditionally it was twice your ram but now I find I rarely go into my ram so set it quite often to half my ram and it still doesn't get used. I never set it to more than 1 gb. (/dev/hda4)
Then I set normally aside 7-10gb for a root partition (/dev/hda3)
Then I decide how much space I want for my home partition (/dev/hda5 )
Then I would leave free space to install my next distro (/dev/hda7 )

/dev/hda # type name length base ( size ) system
/dev/hda1 Apple_partition_map Apple 63 @ 1 ( 31.5k) Partition map
/dev/hda2 Apple_Bootstrap untitled 1954 @ 64 (977.0k) NewWorld bootblock
/dev/hda3 Apple_UNIX_SVR2 root 18554688 @ 2018 ( 8.8G) Linux native
/dev/hda4 Apple_UNIX_SVR2 swap 976563 @ 18556706 (476.8M) Linux swap
/dev/hda5 Apple_UNIX_SVR2 home 62500001 @ 19533269 ( 29.8G) Linux native
/dev/hda6 Apple_UNIX_SVR2 untitled 78038390 @ 82033270 ( 37.2G) Linux native
/dev/hda7 Apple_Free Extra 14868 @ 160071660 ( 7.3M) Free space

The trick is to think about your hard drive size. If you have a main distro and just want to try other etc. I have my main Debian install with seprate root partition and home partitions. But I would usualy put other distros onto a single partiton. As you can see in my partition table above. /dev/hda7 has 37gb free. I could install say Fedora on to that partition but give it say 20gb. It would then create /hda8 as 17gb free space to which I could install say suse. All distros would use the same swap. I never share my home partition though some people do. I think its to risky. If I wanted to share data I would create a "store" partition on say the leftover 17gb and keep documents, images, etc in there. Then just add that partition to mt fstab file and it would mount automatically.

As an note Suse was the only distro I could not get to add other distros to the boot menu. I suspect it was because it uses lilo? and the others use grub though it may have just been me :)

 

RE: 11.1 installation walk-through and comments - Added by Richard_MQ 357 days ago

Just finished installing 11.1 on my 1999 Powerbook G3, so thought I might add a few comments:

I originally used the Mac OS-X CDs to set up the partitions, telling it to partition my 40G HDD with 10G for OS-X and 30G unallocated. I then installed OpenSuSE and split this unallocated space for 512M swap, 10G for / and the balance for /home. I've since learnt that the YaST partitioner is _supposed_to be able to do this too, though I've not yet had the opportunity to test it0. I always allocate some swap - generally 500M to 2G dependent on RAM (the Powerbook has only 384M, hence the low end choice) and generally a separate /home too as it makes backups and upgrades easier. I'm an alpha / beta tester for OpenSuSE so this last is a frequent event. My honest feeling is that 10G is really the minimum usable disc size, just split for swap (see above) and the rest for /

My desktop of choice for low-end hardware is definately XFCE4 - it's really solid and powerful, but quick even on this platform. Installing KDE3 applications too (uses more disk space of course!) allows these to be run from XFCE though with a speed penalty.

My preferred installation method is to get the DVD image using aria (see [1]) along with the NET cd. Either put the DVD in an external USB drive - which I have seen is found and chained automagically - or loop-mount the image and share on FTP.

The only real problem that I have concerns sound - or rather its abscence. OpenSuSE 11.1 default is to use pulseaudio, this reported an initialisation error and didn't work. Un-installing and attempting to use alsa instead has so far been unsuccessful. And of course for BBC listen-again fans, the lack of Flash player remains a problem. Realplayer is available but I can't get it to work yet.

[0] The partitioning is different from the x86 systems, and not readable by e.g. fdisk, gparted etc., use pdisk instead in CLI or the ppc YaST partitioner. If you try this latter and it doesn't work, please report it as a bug, also perhaps a note on this thread if you've time.

[1] http://www.ppclinux.co.uk/boards/3/topics/show/191

 

RE: 11.1 installation walk-through and comments - Added by fox 356 days ago

OK, that's two of you with sound problems on PPC openSUSE, and I had sound problems in an x86 installation I did through VMware Fusion. Sound works just fine in 11.0 on my PowerBook; I'm thinking this isn't the time to wipe it and install 11.1.

I had the same experience as oswaldkelso with regard to adding distros on the menu, except as I recall, Yellow Dog didn't do it either. As long as the last distro you install is a Debian derivative, you get all your distros detected and the option to show them on the boot menu.

 

RE: 11.1 installation walk-through and comments - Added by oswaldkelso 356 days ago

Richard_MQ. re Listen again or any other iplayer content: UK residents only.

You need iplayer_dl or get_iplayer http://forums.debian.net/viewtopic.php?t=34015&highlight=

 

RE: 11.1 installation walk-through and comments - Added by Richard_MQ 344 days ago

@Oswaldkelso - many thanks for link. At first glance I thought it just led to the beeb's beta test programme, luckily I had a closer look and realised how useful it is. I had to build mplayer from source (couldn't find a recent PPC rpm anywhere?) and of course that's a bit of a fiddle, but well worth it.

It would be even better with a wrapper to generate a web page (on a local server) to provide clickable links. I don't suppose anyone has done such a thing...?

 

RE: 11.1 installation walk-through and comments - Added by oswaldkelso 343 days ago

@Richard_MQ
No gui except for windows :) I don't have a TV (though his may change soon) so get_iplayer is great. I only use ~get_iplayer to get the listings scroll through, note what I want then ~get_iplayer -g 121 26 401 222 etc. the search is ok but I find scrolling faster. I've not played with it that much so need to figure out streaming, if you get that working let me know. Maybe a media section in the wiki if we can gather enough info.

 

RE: 11.1 installation walk-through and comments - Added by oswaldkelso 283 days ago

Spam-deleted

 

RE: 11.1 installation walk-through and comments - Added by stream303 283 days ago

One possible solution to the audio problem may be to make sure that ALSA is the last module loaded.

I haven't run OpenSuse for awhile now, so I don't have any specific instructions. Then again, we could wait for 11.2 :)

© 2002-2012 Jeroen Diederen. Drupal theme by Kiwi Themes.