Click here for How to with grub2 on Oneiric Ocelot/ Cliquez ici pour comment avec Grub2 sous Oneiric Ocelot

How to install puppy 410 within Ubuntu / Comment Installer Puppylinux 410 dans Ubuntu

I haven't tried it on other linux OS / Je ne l'ai pas essayer sur d'autres OS linux

I have Ubuntu 8.04. I will try to show you how i've installed puppy whithin ubuntu. When doing this i had help from the friends of #puppylinux irc. To mention a couple of them, BigMike, Wolf_pup, xrter & others. So, there may be some error, cause i'm still a newbie in linux in general, so the help was quite welcome.
J'ai Ubuntu 8.04. Je vais essayer de vous montrer comment j'ai installer Puppylinux dans Ubuntu, naturellement j'ai eu un peu d'aide des amis du irc #puppylinux. Pour n'en mentionner que quelques uns, BigMike,Wolf_pup, xrter & d'autres. je ne crois pas qu'il y ait d'erreur, mais si il y en avais, dites le moi sur le chat ci-haut mentionne, car je suis nouveau sous linux en general. Alors l'aide etait bienvenue.
So the thing is to put a couple of files into a directory, named puppy410, into the root of Ubuntu and change grub
Il ne s'agit que de mettre quelques fichiers dans un repertoire nomme puppy410, a la racine d'Ubuntu et de changer Grub

Since an image say's 1000 words

Comme une image vaut mille mots

for a better look of the image, right-click and show image

Afin de mieux voir les images, clique droit et afficher l'image

So as you can see there's a puppy410 directory, so you'll have to create it
Comme vous pouvez voir, vous n'avez qu'a mettre un repertoire nomme puppy410, que vous devrez creer


These are the files that must be in the directory. You must copy them from the cd (initrd.gz, pup_410.sfs, pup_save.2fs and pvmlinuz)
Ce sont les fichiers qui doivent etre mis dans le repertoire puppy410. Vous devez les copier du cd (initrd.gz, pup_410.sfs, pup_save.2fs and pvmlinuz)


Now you got to put these changes in menu.lst in /boot/grub/menu.lst.
Maintenant vous devez apporter ces changements dans menu.lst, il est a /boot/grub/menu.lst
That's all. This should do the thing. Just restart the computer
Et voila, c'est tout. Redemarrer l'ordinateur et vous devriez voir apparaitre puppy sous grub

Grub2 & oneiric ocelot

This his the entry i had to put in the 40_custom. Adjust to your files and HD UUID.
Grub2 starts counting from 1 not 0 for the HD. So it s the same as you're partition.
What made the difference is adding the search line.
Don't forget to update-grub after modifying the 40_custom.
Didn't use the pup_save.2fs file this time, but it offered to save at shutdown.
Other thing is that Grub2 gives me an error, but right after, it works anyway.

sudo nano /etc/grub.d/40_custom

J'ai du ajouté cette entrée dans le fichier 40_custom. Ajusté selon vos fichier et UUID du disque.
Grub2 compte les disques à partir de 1, pas 0. Alors c'est la même que la partition.
Ce qui a fait la différence est l'ajout de la ligne search...
N'oubliez pas de faire un update-grub après la modification de 40_custom.
Je n'ai pas utiliser le fichier pup_save.2fs, mais puppy offre d'enregistrer à la fermeture.
Aussi, Grub2 me donne un erreur à la selection, mais fonctionne tout de même.

menuentry "Puppy Linux browserpop frugal" {
set root=(hd0,7)
search --no-floppy --fs-uuid --set b6c22297-2230-44aa-82dd-7b528301fce3
linux /browserpup/vmlinuz root=/dev/sda7
initrd /browserpup/initrd.gz