.mrt memo

tail -f /dev/mind > blog

Posts Tagged ‘estobuntu

Estobuntu ja KDE 4.1

without comments

Nagu valatult ilmus mõni aeg tagasi KDE 4.1, mille paigaldamine *buntule on eriti lihtne. Kaasa aitas siin mõne kekkamine, kui ilus ja kiire KDE4 ikka on ja puha. Seega tegudele!

Lisa /etc/apt/sources.list-i järgmine repo:

deb http://ppa.launchpad.net/kubuntu-members-kde4/ubuntu hardy main

Seejärel uuenda pakkide puhvrit ja installi vajalik (mõnes kohas soovitati lihtsalt dist-upgrade, kuid mul mingil põhjusel jäi niiviisi suuremosa asju installimata):

sudo apt-get update
sudo apt-get install kubuntu-kde4-desktop
sudo apt-get install kdepim-kde4
sudo apt-get dist-upgrade

Nüüd saad sisse logides valida sessiooniks KDE4 vanema KDE3.5 asemel.

Muidu asi töötab, Compiz/Xgl-iga muide palju kiiremini kui KDE 3.5 (netis surfates jäi mulje, et süüdi on ATI driverid), kuid pisut häirib Katapulti mitte töötamine. Kes ei tea, siis tegemist oli programmijupiga, mis KDE3 all Alt+Space peale programmi nime lubas trükkida ja siis niimoodi K-menüüst kirjet otsis, et Enter vajutades siis otsitu kiirelt käivitada. Aga natuke leevendab olukorda uus K-menüü süsteem, mis sarnaneb OpenSUSE menüüsüsteemile, kuhu samuti võid trükkida programmi nime tema kiiremaks käivitamiseks. Katapult lihtsalt avanes juba kiirelt ühe klahvikombinatsiooniga, kuid Kickerit pead avama hiirega. Aga eks saab sellestki hiljem üle.

Eks alguses tundu kõik pisut võõrastav. Eriti kogu see widgetite süsteem, plasmoidid jms, kuid juba praegu on KDE 4.1 minu arvates piisavalt stabiilne tema kasutamiseks, rääkimata sellest, et teda jõudsalt arendatakse. KDE 4.1 on värske, kiire ja stabiilne.

Linke

Written by dotmrt

2008/08/01 at 00:13:27

Posted in estonia, it, linux, ubuntu

Tagged with , , , , , ,

Estobuntu 8.01 uuendamine Hardy-ks (8.04)

with 4 comments

Eestlaste oma Linuxi mugandus – Estobuntu – on vinge asi oma Kõu, ID-kaardi ja eestikeele toega, kuid seal on Firefox 2.0 ja muu vanem tarkvara. Samas on asi eesti keelne ja töötab.

Kuid tahaksin siiski kasutada igatsugu tarkvaradest viimast versiooni, mistõttu otsustasin upgradeda asja Ubuntu Hardy Heroni repode tasemele, kus on Firefox 3.0, KDE4 pakid jms. See käib õnneks suht lihtsalt. Nimelt /etc/apt/sources.lists failis vaja asendada “gutsy” stringiga “hardy” (välja arvatud Estobuntu repositoorium, millel on vaid gutsy kataloog praegu).

Uuendamise protseduur

Uuendamise käigus näitab ta et oma 800+ pakki on uuendada vaja ja asub kraami alla tirima isukalt.

sudo cp /etc/apt/sources.lists /etc/apt/sources.lists.backup
kdesudo kate /etc/apt/sources.lists
sudo apt-get update
sudo apt-get dist-upgrade
shutdown -r now

Distro upgrade ajal tekkis minul probleem “locales”, “language-support-writing-et” ja “language-support-translations-en” pakkidega, mille puhul jäi dpkg ootama mingi tegevuse taha, mis lõppeda ei tahtnud.

Hädast aitas välja see, kui ma hakkasin tapma maha neid protsesse, mis tegelesid nende pakkide paigale sättimisega. Peale seda sai dist-upgrade-ga tehtav tegevuste jada edasi minna:

ps -ef | grep dpkg

Sealt siis protsessi ID ja

kill -6 <PID>

Üks võimalus on ka teha

sudo dpkg -r locales

ja siis pärast rebooti “locales” pakk paika installida. Ei ole vaja karta, et Estobuntu ilma selleta üles ei boodi. Tuleb üles ja seejärel on võimalus locales pakk uuesti installida.

sudo apt-get install locales
sudo apt-get autoremove

Pärast uuendust

  • Töötab Kõu.
  • Firefox ei ole enam tõlgitud, kuna vastavad pluginad ei ühildu tulirebase kolmanda versiooniga.
  • ID-kaardi autentimine (PIN1) töötab veatult – proovisin Omnikey 1021 lugejaga. Sisenesin hansa.ee-sse ja emta.ee-sse probleemideta.
  • ID-kaardi allkirjastamist (PIN2) tahtsin proovida https://digidoc.sk.ee -s, kuid sain dokumendi allkirjastamise peale teate “Teie arvutisse in vaja installeerida PKCS#11 ohjurprogramm!”, millepeale loobusin

Tegelikult ma ID-kaarti elektroonselt üldse ei kasuta enam, kuna mulle meeldib palju rohkem mobiili-ID, kuid huvi pärast proovisin ära. Pmst on minu jaoks olulisim omadus Kõu, mis võiks kõmada probleemivabalt. See, et eesti keel Tulirebasest ära kadus on ka nohu minu jaoks. Samas on selge, et Estobuntut ei saa sellisel kujul Hardy (8.04) repode peale viia, sest eesmärk on ju eestikeelne distro.

Digiallkirjastamist ma võibolla lihtsalt ei osanud testida korralikult ja see Digidoci veebirakendus ongi pisut vigane. Samas mulle meenub Sertifitseerimiskeskuse digitaalse identiteedi konverentsil kuuldu, et käimas olla miski riigihange, mis pidada Linuxi ja Maci tuge parandama. Räägiti Digidoci uuest formaadist ja Linuxi kliendist, seega “kui asi ei peagi nii töötama”, on vast ainus võimalus lihtsalt oodata.

Written by dotmrt

2008/07/30 at 01:22:06

ThinkPad T60 dual boot – Windows XP & Linux (Estobuntu)

without comments

Another post for the users of ThinkPads. This time on dual booting with Windows XP, because it’s not that straightforward the way I did it.

Just for intormation – Estobuntu is an Estonian conversion of Kubuntu 7.10 with support to Estonian ID-card in Firefox 2, “Kõu” wireless internet connection covering almost all of Estonia and it’s meant to be used in Estonian. But the information below is applicable to any Linux you try to install onto your ThinkPad.

Outline

The objective was to dualboot XP and Estobuntu without harming the ThinkVantage maintenance partition from where you can restore and recover your system. If you don’t care about that, then there is no need to waste 5G-s of HD-space. Install XP and then Linux as with any other PC. But I wanted to preserve the 5G maintenance partition, because it appears Lenovo has some utilities like fingerprint enrolling and such available only in Windows. So if for nothing else, you should leave XP only for that reason.

And of course – I strongly suggest you make a backup of your installation after you get your XP up and running with your apps. ThinkVantage Rescue and Recovery has the facilities to do it, so why not use it? I had a bad experience with DVD-s (3 altogether – 1 for RnR partition recovery and 2 for my Windows installation recovery) so I would suggest a USB drive. The latter worked for me rather good and I was able to restore my system from it.

Some searching revealed some posts warning not to install GRUB boot loader on the usual place in MBR, but instead using WinXP’s boot loader to load Linux. So below I’ll give some links and quick memo of the installation. I also expect you know your own setup a bit, so you can replace /dev/sda (SCSI device) with /dev/hda (IDE device) or hd0,1 with hd1,3 where you see necessary – I’ll just write a short memo of the installation here. More information behind the links.

Probably it would be wise for you to read a nice post by Life is a Venture, who gives the warning about maintenance partition and points to some good howto’s. I’ll bring out some main point below.

Howto

You have Windows XP installed and backed up.

Boot into Linux livecd

First thing to do is to backup your MBR as described here. /dev/sda is your WinXP harddrive.

sudo dd if=/dev/sda of=MBRbackup.img bs=446 count=1

Next you install Linux as usual, begin with resizing the XP partition and move on to slicing yourself some Linux partitions. Only pay attention that you don’t install GRUB onto your MBR. Also don’t install it in (hd0,0) or (hd0,1) which respectively are your Windows XP partition and Lenovo maintenance partition. For example I installed GRUB on “/dev/sda4” aka “(hd0,3)” – where I installed my Linux. (hd0,2) is my Swap partition. You need to look for some advanced conf options in your Linux installer to install the GRUB into the right place.

After partitioning you need to take the first 512 Bytes aka the bootloader you just installed and make it available for WinXP bootloader. I used the LiveCD environment to copy the resulting bin-file to my USB stick and then booted to XP. More thorough description found here.

sudo dd if=/dev/sda4 of=/media/disk/estobuntu.bin bs=512 count=1

Reboot into Windows.

In XP copy estobuntu.bin to C:\. Then go to Control Panel – System – Advanced – Startup and Recovery – Edit. Notepad opens and you can add the following line into the end:

C:\estobuntu.bin=”Estobuntu”

As you can guess, the first is your first 512 bytes from the Linux partition. Between the quotes is the name appearing in the WinXP bootloader.

Now you can reboot and get into your fresh installation of Linux through Windows bootloader.

Links to more thorough articles:

Further study

  • A recovery install of XP from maintenance partition would destroy the Linux install – perhaps there is a way to avoid that?
  • Perpahs there is a way for GRUB to work with maintenance partition and the ThinkVantage blue button? I can see the maintenance partition in my GRUB and boot into the maintenance partition from there, so I’m not exactly sure if the fuss of NOT installing GRUB onto MBR has anything to it.

Written by dotmrt

2008/07/30 at 01:20:19