The Linux adventure continues
I have always considered Linux to be a bit of a geeky system.
I had hoped that with time, the front end would make things simpler, in the same way that Windows more or less made DOS obsolete. That isn’t the case.
The more I have used it, the more I like it. It is extremely fast, solid and also versatile. It is now my default operating system, so all I have to do is switch on the laptop and leave it to boot up. I only have to hover over the keyboard if I want to go into Windows.
In my last post, I mentioned how I was having problems with reinstalling Linux in a virtual file. I still haven’t solved that problem (despite having put an appeal out on the forums), but am developing a couple of theories. One is that apparently a hard disk can only handle four primary partitions? I had never heard this before but it could be the reason for my problem. My hard disk came with three partitions already set up. There is one small one that has an uncertain function. There is another that contains the factory restore code and then there is the main one which is around 320 Gb in size. My first job was to split that into and OS partition and a Data partition, not realising that I had now used up all my four partitions. Some day, I may restore to the factory default and then leave Windows in one partition and Linux in another.
Because I wasn’t able to reinstall, I had to get by by restoring my Linuxmint directory, and that is what I’m working off at the moment. I was also stuck with the size I had originally specified, which was 19Gb. This filled up pretty rapidly leaving me with a setup that lacked flexibility. I hunted the Internet and came up with a solution. Apparently, Linux is able to increase a file size without recreating it. I did say that Linux was flexible?
I tried it out last night and it worked. Or at least it partly worked. This is what I did.
My NTFS Data partition is the one that hold my Linux install. Linux is mounted in a folder called “linuxmint”, in two main files – “root.disk” and “swap.disk”. I can access these files directly from Linux using the path /host/linuxmint/disks/.
Using Terminal as Root I used the following –
cd /host/linuxmint/disks dd if=/dev/zero bs=1M count=10240 >> root.disk e2fsck -f root.disk resize2fs root.disk
The second line is the one that does the main work. It takes a very long time to run, and it is set to increase the size of root.disk by 10Gb. This can be varied by changing the value of “count”.
My problem now is that “root.disk” is 29Gb in size which is exactly what I intended, but when I examine the properties of any directory in Linux, it tells me that the disk size is still only 19Gb. Somehow i have to work out a solution to this little conundrum.
I will say one more thing in favour of Linux –
It certainly keeps an old man’s brain active!
Since I started my new job last week I was given an absolutely top notch laptop and two monitors. Because most of the work I will be doing is on Linux I have it running Ubuntu 10.04.
While I’ve been using Linux for over 12 years now I never considered it a worthy desktop operating system. There was, (and still is to some degree) something that would always crop up and annoy the life out of me.
I have to say though, it’s come a long way from the days where you could quite literally destroy your monitor if you didn’t know what you were doing.
It’s not quite there yet but for the moment I have no need nor want to switch back. The usability has leaped ahead.
My first experiences with Linux were back in the mid 90s when it was still relatively new. That was the time when virtually any programme you wanted to install had to be compiled in using command lines. It was a nightmare for the casual user.
It has come a long way since then, and most people would be quite at ease with Linux now. It’s only when you start tinkering under the bonnet that it becomes geeky again. This Mint installation was virtually flawless in that it detected all the hardware including screen resolution, wireless adapter and hard disks, so it was simply a matter of configuring the IP address and I was away.
The only reason really that I’m breaking it is that I have too much time on my hands! 😉
Ha! I know what having too much time on your hands feels like. Unfortunately I’ve now gone completely in the other direction 😐