PCLinuxOS Poor Man Install

J’ai réussi à retrouver cet article, disparu depuis les bouleversements de l’année dernière. (Ancien wiki/nouveau wiki, disparition du nouveau wiki…) (Le site actuel, http://pclinuxos.com, contient un nouveau Wiki, démarré il y a quelques mois).

Finalement, il m’a suffit de mettre l’url de cet article, que j’avais conservé dans le billet Installer PCLinuxOS MiniMe sans CD (1) dans la « wayback machine » du site http://www.archive.org pour le retrouver. J’en fais ici un copié-collé intégral, car il contient des informations supplémentaires potentiellement utiles, quand on en vient à installer une distribution en faisant l’économie d’un CD-R ou d’un CD-RW (economie financière autant qu’écologique… surtout quand on fait beaucoup d’essais)

Source de l’article:

http://web.archive.org/web/20080323043809/http://oldwiki.mypclinuxos.com/PoorManInstall

PoorManInstall

From PCLinuxOS Documentation Wiki

Installing PCLinuxOS Manually

You can install the LiveCD by booting the LiveCD and starting the LiveCD installer, which should install PCLinuxOS for you nice and easy. If you have problem with the livecd-installer, here are the steps that you can take:

Login as root
Open a konsole
type draklive-install

If all this fails and you still have problems, try the method that Knoppix calls the poor man install: installing a new PCLinuxOS without burning the ISO, directly from the hard drive. As a matter of fact, I would recommend this method to everybody who has any Linux already installed.

The way to achieve that is to copy the content of the livecd into this partition. Then you can boot the livecd with livecd bootfrom=/dev/hdXx where hdXx is the partition you copied the /isolinux directory and the livecd.sqfs file. If you add the changes=/dev/hdXx parameter on the boot, then it will even save all the modifications you made in your « non installed » iso.

Supposing you downloaded the iso into the /tmp/pclinuxosp92.iso from your current install. You can copy the necessary files with the following commands:

mkdir /mnt/loop
mount –o loop /tmp/pclinuxosp92.iso /mnt/loop
cp –av --preserve /mnt/loop/* /

or for people who prefer GUI, there is a handy KDE utility Kiso, available for this in synaptics.

Best of all you can even create a « boot » floppy to boot this setup not from a cd, but from the boot floppy. That basically can be done with lilo (where you create the lilo on floppy).

In the following example my PCLinuxOS install is on the /dev/hdb12, the partition where I copied the livecd’s contents.

My /etc/lilo.floppy which is demonstrating this is here:

default="PCLinuxOS.91"
boot=/dev/fd0
map=/mnt/floppy/map
prompt
nowarn
timeout=100
image=/boot/vmlinuz
label="PCLinuxOS.91"
root=/dev/hdb12
initrd=/boot/initrd.img
append="noapic nolapic nomce devfs=nomount acpi=ht splash=verbose"
vga=791
read-only
other=/dev/hda2
label="WindowsXP"
table=/dev/hda
image=/mnt/removable1/isolinux/vmlinuz
label="liveusb"
root=/dev/sda1
initrd=/mnt/removable1/isolinux/initrd.gz
append="noapic nolapic nomce devfs=nomount acpi=ht splash=silent debug bootfrom=/dev/sda1"
vga=788
read-only
image=/isolinux/vmlinuz
label="livehd"
root=/dev/hdb12
initrd=/isolinux/initrd.gz
append="noapic nolapic nomce devfs=nomount acpi=ht splash=silent debug bootfrom=/dev/hdb12 changes=/dev/hdb12"
vga=788
read-only

and the commands to install it on the floppy are:

fdformat /dev/fd0
mke2fs /dev/fd0
mount /mnt/floopy
lilo -C /etc/lilo.floppy -b /dev/fd0 -i /mnt/floppy/boot.b –c