Can all Kali Linux distros run Puppy?

Booting, installing, newbie
Post Reply
Message
Author
Mehrab_Max
Posts: 1
Joined: Fri 13 Oct 2017, 04:51

Can all Kali Linux distros run Puppy?

#1 Post by Mehrab_Max »

Hi,

i wanna know that in puppy linux, are all kali linux distro can run puppy linux ? :( [/b]

User avatar
Flash
Official Dog Handler
Posts: 13071
Joined: Wed 04 May 2005, 16:04
Location: Arizona USA

#2 Post by Flash »

Your question makes no sense. Puppy runs by itself, not from within another operating system. Did I misunderstand your question?

User avatar
ally
Posts: 1957
Joined: Sat 19 May 2012, 19:29
Location: lincoln, uk
Contact:

#3 Post by ally »

hi mehrab

ask again in your own language

:)

User avatar
mikeslr
Posts: 3890
Joined: Mon 16 Jun 2008, 21:20
Location: 500 seconds from Sol

#4 Post by mikeslr »

Hi All,

I've interpreted Mehrab_Max's question to mean: "Can you install and dual boot a Puppy and Kali OS if you are running Kali OS?"

Yes, you can.

The easiest way is to use Kali to install a Puppy to a USB-Stick, or burn it to a CD/DVD, and boot Puppy from there. You'll have to search for the applications Kali uses to do either.

But if you want to install a Puppy to the hard drive where Kali is installed, you can do the following, most of which you'll have to do while running as root under Kali:

1. Download Puppy's ISO. See Major Warning below.

2. Create a folder on any hard-drive partition. The partition which houses your Home Folder under Kali will be OK. Give that folder a name, such as My-Puppy, or suggestive of the puppy you chose, such as Xenialpup64.

3. Mount Puppy's ISO. See the following Youtubes on how to mount an ISO: https://www.google.com/url?sa=t&rct=j&q ... 9dbv4nb3l9; https://www.google.com/url?sa=t&rct=j&q ... INt4qegkuK

4. Into the folder you created, copy the following files from the mounted Puppy ISO: Initrd.gz, vmlinuz1 and every file ending in sfs, 2fs, 3fs or 4fs. Depending on the Puppy you chose, the items containing entries in red may be slightly different. And see Major Warning below.

5. Unmount Puppy's ISO. Rebooting into Kali may unmount it automatically.

6. Add Puppy to Kali's boot menu. As far as I know, Kali uses Grub. How to customize Grub under Kali is best asked about on a Kali Forum. However, this link may help: https://www.google.com/url?sa=t&rct=j&q ... NuAZVZCyGI. Basically, if your Puppy had been Puppy 431, with the files in Step 4 having been copied to a folder named puppy431 on partition sda6, the procedure would be something like:

go to a terminal and type Code:
sudo gedit (or the text editor Kali uses)
type in your password and then use "gedit" to open the 40_custom file.

Add Code:

menuentry "Puppy 431 frugal on sda6" {
set root=(hd0,6)
linux /puppy431/vmlinuz psubdir=puppy431
initrd /puppy431/initrd.gz
}
EOF

to the bottom of the file.

Then save the file and go back to the terminal to make the file executable by typing Code:

sudo chmod +x /etc/grub.d/40_custom

And finally in terminal type Code:

sudo update-grub

Note re above, the files "vmlinuz" and "initrd.gz" are those used by puppy431. Your grub entries should use names corresponding to those files in your "Puppy Folder".

Major warning: Kali's grub may require that only UEFI compliant operating systems can be used. If so, in Step 4 also copy the efi.img to your Puppy Folder. If the ISO of Puppy version you chose does not include an efi.img file, it is unlikely it will run. See the links from this post regarding Puppies, (u)efi requirements and work-arounds: http://murga-linux.com/puppy/viewtopic. ... 159#858159, particularly, http://www.murga-linux.com/puppy/viewto ... 421#879421 which itemizes Puppies known to be (u)efi compliant. Or look for Puppy ISOs which have "uefi" in their name.

mikesLr

Post Reply