nareshovの日記

(TL note: nareshov's diary)

Posts Tagged ‘FreeBSD

Yet another new beginning

leave a comment »

Howdy all, it’s a yet-another-distro-hop post!

I had Debian/Kubuntu for more than a semester now. For the past few weeks I was on Kubuntu Hardy. Drastic changes (as expected) were taking place everyday. A couple of days ago X started crashing whenever I played a h264 video using mplayer. It was quite random. The same video would play again, randomly. Decided to resurrect my FreeBSD installation and headed over to boot it. Didn’t happen. Hardy’s grub recognised my (hd0,1,a) as jfs o_o. I even reinstalled FreeBSD (it’s always a breeze). Didn’t work. I redid it with the FreeBSD’s bootloader overwriting Kubuntu’s grub. I could boot into FreeBSD now. Fine. Let’s go back to Hardy and check newsgroups now (using KNode, keeps my unread items, read items in shape). Didn’t work. Couldn’t boot into Kubuntu now. Oh, and, I had made this terrible mistake of installing Kubuntu on JFS partitions (fsck.jfs latest version dates back to 2006). So I dug through my old CDs to get a live image so I could chroot into Kubuntu and restore the grub. First, I tried the ‘Ubuntu Server 6.06 (i386)’ CD, it couldn’t chroot into my amd64 installation >_>. Next was the Fedora rescue CD. For some reason it couldn’t mount the JFS partition (methinks it was missing JFS support in kernel). Next up was the ‘OpenSUSE 10.3 (x86_64)’ DVD. Although I could see from ‘dmesg’ that it recognised the partition as JFS, it failed to mount it.

I assumed my Kubuntu root partition was a goner and started off with a fresh OpenSUSE installation. I chose ‘minimal graphical environment’ thinking that the installation time would be small. For some reason the network didn’t work after installation. I redid it but this time chose KDE as the default desktop (and XFS root partition). Smooth. Installation is just a smooth ride. It installed most packages I would have manually installed on Kubuntu (like Adobe Flash plugin, good-looking monospace fonts, interesting console-utilities…).

OpenSUSE 10.3 has an annoying proxy related bug. Something to do with the format of the /root/.culrc file. The installation sets up:
# Changed by YaST2 module proxy 09/04/08
--proxy-user "proxyuser:proxypass"
--proxy "http://172.31.1.227:3128/"

which is supposed to look like:
# Changed by YaST2 module proxy 09/04/08
# Fixing a most-annoying-bug for 10.3
--proxy-user = "proxyuser:proxypass"
--proxy = "http://172.31.1.227:3128/"

Once this was fixed, I proceeded to disable my installation DVD as a software source and added the suse-oss, suse-non-oss and suse-update repositories using zypper. All that was left now was a zypper refresh && zypper update and a reboot. The first update was a fix for zypper (which takes care of reading the /root/.culrc properly). The subsequent updates take place after the reboot (see screenshot).

If somebody knows the equivalent of Debian/Kubuntu’s following few steps for OpenSUSE please let me know:

sudo dpkg-reconfigure fontconfig-config, selecting the option that enables sub-pixel font-rendering and applying as a default throughout the system. Thanks!

OpenSUSE 10.3, with a working update-manager

Advertisements

Written by Naresh

April 9, 2008 at 7:15 pm

Been a while again!

with 3 comments

So, I’ve been away from blogging for a while now. Several things have happened around me during this period.

Formation of the SSCVC:

We called for what might have been the first informal Anime-club meet at the campus. Most of were present (bheekling was asleep) and presented our idea for forming a formal club under the Students’ Gymkhana. We hadn’t thought of a name yet and we hadn’t met people either. The following weekend, we arranged for a show in the hall1 TV room. We were a little late and some people had turned back. But then, we went and called some people to come and watch :D. We screened the first two episodes of “NHK ni youkoso” and “GITS: GIG 1”. (Lord Vash’s wide-screen and , BigBong’s laptop were used). We couldn’t bear it anymore and basilisk and I decided to meet Amitabha Mukherjee (a prof. in the CSE dept., who we reportedly heard from Nishant Singh that he was into anime(!), which turned out to be false). He pointed us to Satyaki Roy’s direction >_>. Next stop was Suchitra Mathur ;). Bheekling got us appointment and LordVash, himself and I met her. She was interested with the plan and all that and we still hadn’t come up with the name. I remembered Genshiken and how it was about an anime club. I quickly googled to get its full-form. It was the SSMVC – Society for Study of Modern Visual Culture. In a day, we met with Satyaki and he suggested that we change it to SSCVC – Society for Study of Contemporary Visual Culture. Woah! We still haven’t put out our proposal for the club yet. Hopefully the iitk-animesociety should help us out here 😉

Revamp of my data:

I have two hard-disks. Started off with a Samsung 160GB SATA disk three years ago. It had a warranty of period of one year as compared to Seagate and I yet went with it :\. Something I soon realised was that Samsung and LG were these two Korean companies that dumped junk in India for a while (only recently have they set up their own plants in the country and get decent products). Another thing being – to not buy computer products such as hard-disks, motherboards or CPUs in Kanpur (and maybe in the whole of UP!) . One – I have personally come across cases where a dealer takes screwed up disks from you, refurnishes them and sell them to someone else. Same is the case with mobos and CPUs. A model of RAM you bought at one time won’t be available a few months later (suppose you have 512MB and wanted another identical stick – tough luck).

Some time ago (during the summers, I think), I had repartitioned my data and set up ZFS via FUSE on linux. Wasn’t production ready and very shaky at times. Couldn’t share my whole data on DC++. During the past few days, basilisk had tried to install Gentoo and ended up cleaning up his 250Gb harddisk with Ubuntu :P. I transferred all my Anime, Movie and TV onto his disk, the Music went into a confidential location. Set up four partitions on my reliable ATA Seagate disk, one Boot, one Root (20GB), one Swap and one large Home. The other unreliable disk is one big reisrefs partition 🙂 Removed my FreeBSD and that extended partition windows had created. I had played around with FreeBSD too to get good ZFS performance before I removed it. Updated to 7.0-CURRENT and zpool segfaulted at zpool import :\ Considering the hassles I’d have to go through if I had stuck with FreeBSD amd64, I decided to stay with Linux itself. If at all I need to experiment with any of those at a later point of time, they’ll be on a different hardware :X! (Notes: don’t ask me how I went to 7.0-CURRENT from within the campus)

Food:

Yes, I’ve been eating mostly in the canteen or at the gate. I spent a lot of money. Just for food. (I payed off my earlier debts too)

Classes(!):

I haven’t been to classes for a couple of weeks. It’s a bad thing. It suddenly turned cold here and you feel like staying in your bed like nothing else’s important. Exams are coming soon – 8th Oct.! I have to do whatever has to be done. This sucks 😐 For now, I should try not to waste time on anything else (:P).

Written by Naresh

September 29, 2007 at 12:28 am

A New Semester

leave a comment »

Been a week since the new semester began. All the initial registration/post-registration/add-drop exercise is finally over (damn! we need to replace those UG office clerks by software :X).

The first week tends to be a little boring and happens to give me time to check out distros 🙂 (Has this become a semesterly-routine after I’ve started using Gentoo :})
This semester’s distro check was special. Tired of endless compiles on my 1800Ghz AMD64 machine I went out looking for candidates that could replace my Gentoo.
First, it was OpenSUSE. The last time I tried OpenSUSE was version 10.0 – had given up after experiencing KDE apps crashing. This time, it was beranger’s blog that prompted me to give it another shot and 10.2 ended up occupying my harddisk for a couple of days :P.

OpenSUSE seems to not respect GNOME’s default look and try customise it with mono-goodness (sarcasm? maybe). Novell is into UI and Interaction design research and all that, maybe they are doing a better job. Probably just me not able to cope up with a new default GNOME look-feel-experience after using upstream’s for a long time. OpenSUSE did have a lot of packages and yet there were several unofficial repositories floating around. IIRC there was privoxy in one of them but no tor 😐 (which I need in order to browse sites such as Orkut in my campus). For some reason, the beagled seemed to use up a lot of CPU although I thought it must’ve finished the first-time crawl after the install. The package-manager (Yast2) did a nasty job (refreshing mirror info) at every fireup – was annoying.

Next up was OpenBSD. I had tried this one out once during it’s 3.8 days. Now it’s 4.1 and expected my sound device to work. Unfortunately it didn’t. All that disabling and enabling USB etc. just made me give up on this. Their packages are sweet though. KDE was well packaged (except for konqueror crashing at times when I’m browsing the openbsd ftp mirror). GNOME was stuck up at 2.8 I think.
Ah yes, I tried FreeBSD before this and after too. I had done a silly thing with

setenv ftp_proxy username:passwd@proxy:3128

and blamed fetch for timing out 😛 (that was silly of me, I even managed to get people flaming on wget vs. fetch on ##FreeBSD =P.
The correct scheme was

setenv ftp_proxy http://username:passwd@proxy:3128

. For some reason portsnap never worked for me. (It could fetch, but not extract). Was a little weary of the i386 packages. Thought they were suboptimal. Tried out amd64 too. No ease. FreeBSD doesn’t satisfy my desktop-usage needs.

After seeing Rohit going ga ga over freeculture and fedora thought I’d try fedora too! Oh yeah, Manu Vajpai was distro-hunting too. He too was “let’s try this one out dude”. Since my DVD writer doesn’t seem to write properly I started using my brains a little and downloaded the fedora install cd’s kernel image and initrd and put in on my /boot. I quickly downloaded the F-7 DVD from one of the mirrors on LAN onto my hard disk. Next boot was a simple grub command line invocation to boot fedora’s installer kernel and point at my DVD iso on the hard disk. Installation was fast :}. The fun ends soon though. For some reason I wasn’t comfortable even after disabling SELinux. There was no linuxdcpp in the repositories – which gives you a clue that there is something missing here, more like, “this distro is so damn US-centric that it doesn’t even have a p2p program that’s immensely popular in Europe and LANs in India”. Probably something else. They’re one of the few distros that have Indic fonts.

It looked like I missed an important distro. Yes – Debian. I was playing with debian when amd64 port was still unofficial. Now the port is not only official but has plenty of packages that interest me. No need for unofficial repositories and all related hassle. I used a netinstallation CD which was a weekly snapshot of the testing version. Unlike Fedora or OpenSUSE, this netinstall CD has support for (authenticating) proxy! This is amazing for us “third world” countries who depend on proxy servers while some institutes enjoy class A networks. Well, let’s leave that for another day. I upgraded to sid/unstable and nothing has broken so far – unlike ubuntu in the < 6.04 days (haven’t used the recent versions and don’t plan to).
Debian is maturing. It’s always been. Today, I see useful apps such as the module-assistant. Handy when it comes to dealing with nvidia drivers. The Iceweasel and Icedove is something else. Doesn’t matter to me as long as it does my job like Firefox and Thunderbird did.

TODO: get ZFS-fuse working 🙂

Written by Naresh

August 8, 2007 at 11:49 pm

Operating Systems on my comp…

with one comment



finally i’ve settled on my oses…
i did take a look at the things win xp x64 didn’t support and it didn’t look very good. moreover it requires a minimum of 1gb ram! i still have 512mb
so i decided to go for the 32 bit one.
so…
lets see what i’ve got here..
20 gb for windows (x86)
20 gb for gentoo linux (amd64) and
10 gb for freebsd (x86).

i downloaded and burnt the 4 cds of solaris 10 the other day…
but badluck….it couldn’t “find” any disks….mine as you can see is a sata hdd
when unix clones like freebsd and linux can support can support the newer sata drives why can’t solaris ?
i was a little dissappointed with this.
today i went out and bought this months “linux for u”
fedora core 4 dvd included :)…its got that new openoffice 2 beta..people say its a lot better than its predecessors

the first pic is about emerging gnome-light

well another week or so to go….
will be leaving to mumbai on 18th…and leave mumbai for kanpur on 25th i think
there i’m coming to the end of my holidays
and my third semester starts officially on 27th

Written by Naresh

July 9, 2005 at 11:02 pm

Posted in College Life, Linux/BSD, Software

Tagged with , ,