Showing posts with label Hardy. Show all posts
Showing posts with label Hardy. Show all posts

Friday, October 24, 2008

Linux Mint 5 Fluxbox CE: Will it work on old hardware?

On the 21st October, 2008, Linux Mint 5 Fluxbox CE was released, of which as you may or may not know, I am the maintainer. The most common gripe most people have with this release seems to be that this distribution has higher system requirements than other Fluxbox based ones.

Since I do not have a really old computer to test how well Linux Mint 5 Fluxbox CE will work on such a machine, I devised a test to simulate an old machine using VMware Player. The host machine, my trusty Acer Aspire laptop with AMD Sempron 3000+ prcessor and 768MB DDRAM1 was throttled down to 800MHz (maximum CPU frequency is 1800MHz) so that my simulated machine would have:

  • 800MHz processor (at the most as some of those cycles will be used by the host)
  • 128MB RAM
  • 2.5GB HD formatted as FAT32, without swap
  • CDROM drive
  • Floppy drive
  • Ethernet card
  • Sound card
  • USB controller

This, I think adequately simulates an old Pentium 2 machine with Windows 98. I did manage to successfully install using only the Linux Mint 5 Fluxbox CE CD albeit with a hacked/workaround approach. Here is how I did it.

1.

On booting the Live CD, the boot process went on fine but the desktop did not appear even after some minutes. The only thing visible was the mouse cursor, which moved showing that X had not crashed. Also the CDROM was still reading.

2.

Restart X using Ctrl+Alt+Backspace to kill whatever was hogging resources. Wait for GDM to start and then type some nonsense in the GDM login field to buy 30 seconds before the Live CD user logs in automatically and hogs your RAM.

3.

Switch to the virtual terminal with Ctrl+Alt+F1 where the Live CD user is already logged in.

4.

Become root with sudo -i

5.

Kill GDM with killall gdm

6.

Kill all Live CD user processes that may have remained with pkill -u mint

7.

List existing partitions with fdisk -l

8.

Open the drive for partitioning with fdisk /dev/sda

9.

Delete all existing partitions with d

10.

Create a new partition for swap using n and the following options:

  • select primary partition (p),
  • partition number 1,
  • first cylinder 1,
  • last cylinder or +size: +300M

Create a new partition for your installation using n and the following options:

  • select primary partition (p),
  • partition number 2,
  • first cylinder: default (hit Enter)
  • last cylinder: default (hit Enter)

(You may create a separate partition for /home)

11.

Save and exit with w

12.

Format /dev/sda1 as swap with mkswap /dev/sda1

13.

Reboot with reboot

14.

Now you should have the Live CD environment working.

15.

Close mintUpdate, Wicd tray applet and the volume control to free up some RAM.

16.

Continue the installation as usual except for partitioning where you will have to set it up manually with the second partition mounted at root.

17.

After booting into your newly installed system, you can turn off services that you do not need using System Tools > Services. For really old machines, obvious things to turn off would be Bluetooth and CPU frequency manager. If you want even more control over the services, install sysvconfig. It is a command line tool that gives you more options. But you can break your system if you don't know what you are doing.

18.

You can also edit the applications that are run when you log in. For this you have to edit ~/.fluxbox/startup for each user. Comment out (add # at the beginning of the line) any applications you do not want to run at log in.

After following these steps I had a lighter setup that worked pretty well given the hardware I was trying to simulate. For any real figures one would have to test in on an actual machine. And such a machine is pretty hard to come by nowadays. Is anybody out there willing to test this?

On a better note, I did try to install again on the same setup but with 256MB RAM and no swap partition. Gladly, all went well without a hitch.

I do realize that users should not have to go through these steps in order to install this distribution. I will try to address this issue in the next release... within reasonable limits of course. I hope you enjoy using this edition of Linux Mint!

Tuesday, June 24, 2008

GPRS Easy Connect for Ubuntu Hardy Heron

Many members of an Ubuntu Community that I am a member of on Orkut seem to have problems getting their GPRS connections working. Someone found a tool call GPRS Easy Connect which seems to work well for some, especially in India.

This application is quite old and is not undergoing further development. The author, Simon Péter, informed me that he is rewriting the application from scratch but it will only be done around the end of 2008. Also the new version will work perfectly on Ubuntu as this is the distribution he is currently working on. The currently available version was built on Mandriva and requires a few fixes to get working in Ubuntu.

To make life easier for the newer users, I built a .deb package that incorporates these fixes for Ubuntu Hardy Heron. As far as I know, it has worked for at least two people and I thought I'd put it up for download for the benefit of others who would like a simple and easy solution.

The obligatory disclaimer: Use at your own risk!

Download GPRS Easy Connect - gprsec_1.0.1_i386.deb

Thursday, May 08, 2008

AcetoneISO2: The CD/DVD image manipulator for Linux

According to the AcetoneISO2 website,

AcetoneISO2, is a feature-rich and complete software application to manage CD/DVD images. Thanks to powerful open source tools such as fuseiso, AcetoneISO2 will let You mount typical proprietary images formats of the Windows world such as ISO BIN NRG MDF IMG and do plenty of other things. Everything will be done inside a handy GUI.


Their website as of now does not offer a .deb package for Ubuntu and I wanted to try it out so I compiled and built a .deb package for Ubuntu 'Hardy Heron'. My .deb package can be downloaded from here.

** Users who are to use AcetoneISO2 should be added to the group 'fuse'
This is done with the command:
sudo addgroup *your-username* fuse
(example: "sudo addgroup johndoe fuse")

The only downside I can see to this application is that it depends on Qt libraries which means that it will be a rather big download including dependencies. Otherwise, the interface is simple to use and makes mounting of the more dubious image formats a breeze. However, it did not mount the DAA format the reason for which I installed this program. Some other functions include image encrypting and compression, md5sum file creation and verification, converting from other formats (including Mac OS images) to ISO, floppy drive emulation and Video/DVD ripping and encoding.

The project's homepage is http://www.acetoneiso.netsons.org/.

P.S. The obligatory disclaimer: Use this package at your own risk!

[EDIT] I made some changes to the package on 2nd June, 2008 at the request of the AcetoneISO2 team. Basically, the change was concerning dependencies so that KDE4 users do not have to download KDE3 libraries. I have updated the link above.