Showing posts with label mandriva. Show all posts
Showing posts with label mandriva. Show all posts

Saturday, October 23, 2010

Back to PCLinuxOS

Most employees working on the distribution were laid off when Edge-IT was liquidated. We do not trust the plans of Mandriva SA anymore and we don't think the company (or any company) is a safe host for such a project."

Well, all-righty then.

I really don't feel like using a distro that is apparently soon-to-be-dead, so I've jumped the Mandrake/Mandriva ship again. And I'm back to PCLinuxOS. I've always liked the rolling release concept, vs the distinct versions and the obligatory version disaster^H^H^H upgrades. There's no 64-bit, but since you really only need that in order to access 4G of memory or more, it's not that big of a deal right now. Also, PCLOS has kernels that can indeed access much more than 4G of RAM while still being a 32-bit system.

So I'm good for now.

MakeMKV on PCLinuxOS

Well....goodbye Mandriva. Back to good ol' PCLOS. 32-bit, but I only have 3G RAM anyways. So now I need to build MakeMKV again.

Need to install these:
  • make
  • glibc
  • glibc-devel
  • libopenssl
  • libopenssl-devel
  • zlib
  • zlib1-devel
  • libqt4-devel
  • automoc4
  • libmesagl1-devel
  • gcc-c++
  • libexpat1-dev
And....we're back.

Sunday, July 18, 2010

Mandriva & MakeMKV

Well, having done a fresh install of Mandriva 2010.1, I needed to install all the development packages so that I can install MakeMKV. Since they only list the required packages if using something like Ubuntu, it takes some searching to figure exactly what is needed on Mandriva. So, here is the list of packages needed to build MakeMKV. This is only the basic list; a number of additional dependent packages will be installed as well:
  • lib64qt4
  • lib64qt4-devel
  • libstdc++-devel
  • automoc4
  • lib64mesagl1-devel
  • gcc-c++
  • lib64openssl1.0.0-devel
  • make
This is for a 64-bit system obviously.

Monday, May 18, 2009

Stop Wasting CDs When Installing Linux

Since, I've run out of blank CDs, I needed to find a way to install Linux some other way. I can't even count how many CDs I've thrown away because each one becomes worthless 6-9 months later when a new version is released.

Fortunately, if your BIOS supports it (and most newer ones do), you can also boot from a USB thumb drive. Then install Linux from a second thumb drive containing an installation ISO image. The ISO image can also reside on the local hard drive, but since you might end up formatting the entire drive, it's easier to just put it on a second flash drive.

Before you begin, make sure that the thumb drive is formatted ext2 or ext3. vfat (the default for USB keys) may work, but an NTFS formatted key definately causes problems. Just reformat it as ext2 or ext3 to be safe.

For Mandriva, you need to get the boot image for the release that you're going to install. Go to a Mandriva FTP site, and browse to /i586/install/images or /x86_64/install/images depending on your CPU architecture. The USB boot image is called all.img. Save this file somewhere on your hard drive.

Creating the USB Boot Device
To create the boot device, you must copy the boot image to your usb drive, using the dd command, not the copy command. To do this, plug in the drive, but do not mount it. To check where the drive is attached you can do one of two things. The first option is to open up /var/log/messages and look at the output generated when you plugged in the key. This will tell you where the drive is attached. The other, easier way is to open up Mandrake Control Center->Local disks->Manage disk partitions and look at the tabs at the top of the page. The thumb drive will (usually) be the only unmounted drive, and will often be the only other drive listed on most desktop systems. In my case the drive device node is /dev/sdb.

Next, open a konsole as root, and change directories to the location you saved the all.img file. Enter this command: dd if=all.img of=/dev/sdb In some cases, you may need to include the partition number as well: dd if=all.img of=/dev/sdb1 Adjust as necessary for your particular situation.

If creating the boot drive from within MSWindows, you will need WinImage.

Once that is done, you can reboot with the flash drive installed. During the boot process, it is usually a good idea to go into the BIOS and make sure Boot From USB Device is enabled, and that the flash drive containing the boot image is selected as the first boot device. Setting this up varies by motherboard. Older systems can not boot from a USB device, and a BIOS upgrade may or may not be able to remedy this situation. My ASUS A8V did provide a BIOS upgrade that added this functionality. Your mileage may vary.

Once the install screen comes up, plug in your second flash drive, and select Install From Hard Disk. From there enter the location of the ISO file, and away you go!

I recommend installing the Mandriva Free dual arch ISO. Once that is done, log in as root, and run urpmi task-kde4. From there login to KDE, and then using Mandrake Control Center, install all the other programs that you need. This results in a very small, quick system, with a full KDE4 install, with a minimum of running services.

It's also a good idea to visit easy urpmi to get all your software sources setup correctly. Just follow the easy directions and you're set.

The next experiment will be to do this with a Ubuntu based distribution: eBox Platform. Hopefully I can use the same boot device.

A final note: Be sure that there is no information on the thumb drive that you want to save, as the dd command will destroy some existing data on the drive. You have been warned.

Wednesday, May 06, 2009

From Cooker To Stable

Mandriva 2009.1 Spring just became stable.

So, naturally, I need to stop using cooker updates, because I really don't want to start using the new cooker yet.

So I need to change all my update repositories. There is, fortunately, an easy way to do this. Open up MCC, go to Software Management, and click on "Configure media sources for install and update."

Delete everything there.

Then, browse to easyurpmi, select the current stable version and architecture (2009.1 & i586 in this case), then scroll to the bottom to the "Advanced" area. Click on "Refresh commands." Finally, open a konsole, "su -", and paste those two lines into it.

Done.

Easy.