Author Elena the beautiful asked a question in the section Other languages ​​and technologies

how to install linux puppy along with windows, provided that windows is already installed (so that when turned on you can select the OS and got the best answer

Answer from Gnome-forever[guru]
You can put puppy on a flash drive, 256 MB is enough. .
or install grub in mbr. .

gnome-forever
Enlightened
(25348)
Olga, in principle, the manipulations are simple, but without such experience, you can get problems..
It is important to write grub correctly into the partition with puppy, and then into the mbr of the disk and you will have to edit menu.lst (manually register puppy and Windows)
The slightest mistake and Windows or puppy will not boot, although everything can be fixed with the LiveCD Puppy...
In other more well-known distributions - Ubuntu, Mandriva, OpenSUSE, etc.
all this is done automatically..
If you have more time, let's talk in private, don't do anything for now, or try putting a puppy on a flash drive, you'll get a useful experience..
In general, google and read more here
http://www.puppyrus.org/wiki/index.php?title=Установка_Puppy_Linux_на_flash-носитель

Answer from Silencer[guru]
Just allocate space on your hard drive for Linux and install it. The Linux bootloader will do everything itself, it will add Windows to the boot.

4.1.1 Hard drives, partitions and file systems

The hard drive can be divided into several parts (partitions). In the operating system, each such partition looks like a separate one HDD. On Windows, each partition hard drive(as well as floppy drives and CD-ROM drives) have their own letter. Typically A: is the floppy drive, C: is the primary partition of the hard drive, D: is CD-ROM drive, E: - second partition of the hard drive, etc. Most often Windows uses file NTFS system or FAT32.

On Linux, the primary partition is addressed as /dev/hda or /dev/sda. First letter ( h da) indicates the type of disk: “h” - idehd, “s” - satahd or flash, the second (h d a) the letter means: “d” - disk (disk), third (hd a) - disk number. For example, if your PC has second hard disk, it is addressed as /dev/hdb or /dev/sdb . Sections are numbered in order, starting with one. The hard drive partition /dev/hda1 corresponds to drive C in Windows, partition /dev/hda2 corresponds to drive E (if D is a CD-ROM), etc. Linux can work with many different file systems, including ext2, ext3 or ReiserFS. These FS in Windows will not be read without special software, but Linux can freely work with file files Windows systems. FAT32 is best supported in Linux, so for exchanging information and sharing data in Linux and Windows is better just use this FS. The main thing to remember is that you cannot place files on FAT32 if their size exceeds 4 GB..

4.1.2 Defragmenting the hard drive

Download the defragmentation program Defraggler. The good thing about the program is that it works faster than the built-in one. Windows defragmenter. Constantly updated and improved, unlike the last one. Russian interface is present. So there will be no difficulties when using it. Install Defraggler on your computer, launch it and first of all select the interface language:

After localization, select the disk that needs to be defragmented (1), click the Analyze button (2) and check the disk for fragmented (split into parts) files. Such files are displayed in red. If there are many such disk spaces and the disk size is large (40 GB or more), the defragmentation process may take a long time.

After reviewing the analysis results, click the Defragmentation button and wait for the operation to complete.

4.1.3 Creating partitions

Now you need to plan the number, size and type of partitions you will create. I recommend creating three more partitions in addition to the Windows partition. This example assumes that there is initially one Windows partition (drive C:). After partitioning, the hard drive will look something like this:

    Primary section: NTFS or FAT32 (Windows)

    Second section: ext2 or ext3 (we will install Puppy on this partition)

    Third section: Linux swap partition

    Fourth section: FAT32 (for file sharing between Windows and Linux)

We will leave Windows on the primary partition. The second partition will have a Linux file system (ext2 or ext3), here we will install Puppy. The third partition needs to be made slightly larger than the size of your computer’s RAM and formatted as a file Linux system swap. This is the section for swap files. The fourth FAT32 partition will be intended for exchanging files between Linux and Windows; its recommended size is all the remaining free space.

You can familiarize yourself with the procedure for dividing a disk into partitions (preparing for installation) by watching the video. Video clip

Video size: 516 Kb


At the end of all procedures you should get the following:

Close GParted. Now you can move on to installing Puppy Rus to your hard drive.

4.2 Installation

4.2.1 Frugal installation using the "Universal Installer PuppyRus (Puppy Universal Installer)"

Frugal Installation copies the Puppy image file from the CD to your hard drive. When the system starts, Puppy is read into RAM(RAM) the same way as if you were booting from a CD, but much faster. Thus, this method combines the advantages of booting from a CD (protection from unwanted spyware) and booting from a hard drive (speed). Moreover, the procedure for switching to new version Puppy - all you need is to replace some files. ()

To get acquainted with the installation process, you can watch the video. Video clip will start playing after it is fully loaded. Depending on the size of the video, loading may take a long time.

Video size: 4.8 Mb

Click to download and watch a screencast created with Wink!

You can also download the video for local viewing on your computer: Archive with video (4.8 Mb)
To watch the video, unpack the archive into a folder and run the html file.

4.2.2 Manual Frugal installation / Puppy update

To use this option, a bootloader must be installed on your computer. If the boot loader is not yet installed, we recommend using the “Grub Boot Loader Configuration” ().

    Boot from the CD using the puppy pfix=ram option. Copy the files PUP_301.SFS ZDRV_301.SFS INITRD.GZ VMLINUZ

    to a Linux partition (ext2/ext3) or FAT32.
    If you are updating Puppy, please rewrite existing files. Configure the GRUB boot loader by editing the menu.lst file. It is usually located on the Linux partition in the /boot/grub directory.

    Add the following lines to the menu.lst file: title Puppy Linux 301 frugal (on / dev/ hda2) rootnoverify (hd0,1) kernel / vmlinuz pmedia =idehd initrd / initrd.gz

    Note: (hd0,1) indicates the hard drive and partition on which the GRUB files are installed. Depending on the device you are booting from, you will need to set the value pmedia on usbflash, usbhd, usbcd, ideflash, idehd, idecd, idezip, satahd, →

On this moment Linux distributions are released with a thoroughly designed interface and all sorts of goodies. Compared to other distributions, Puppy Linux looks outdated and less attractive. Puppy Linux may not win a beauty contest, but it's what's on the inside that matters, not the outside. If you look at the distribution without paying attention to appearance, you'll discover a gem of a Linux distribution.

Puppy Linux was written by Australian professor Barry Kauler.

The distribution is designed to be small, efficient and user friendly. Familiar distributions such as Damn Small Linux, SLAX and SAM Linux fall into this category, but Puppy Linux has some serious advantages:

    Assembled almost from scratch. Puppy is very small and not demanding on hardware.

    When booting from a CD, the entire distro is loaded into RAM and starts without the need for CD access, which makes Puppy very fast.

    Puppy allows you to save session data to a separate file, even if you run the distro from a CD-RW.

    Puppy Linux can be installed on any media including a USB flash drive, hard drive or memory card.

    The system configuration can be easily changed using a convenient configuration tool.

    Puppy Linux includes fast and convenient applications for the Internet, office, graphics, video, audio and even a few games for fun.

    Puppy includes its own file manager while doing the installation additional applications nothing.

The result makes Puppy Linux an ideal distribution for use on older computers.

Just like with any other Linux distribution first you need to download ISO image Puppy latest version and burn it to CD. Make sure that the primary boot device is set to the CD drive in the BIOS.

Like other Live CD distros, Puppy supports boot options. For example, puppy pfix = ram parameter forces Puppy Linux to boot into RAM without loading the saved session, while puppy pfix = purge does a global purge of files, which can be very useful for system recovery. A complete list of boot parameters and their descriptors can be viewed on the Puppy Linux WIKI page.

During the boot process you have to select the X graphical server which consists of two options Xorg and Xvesa. Xorg supports many advanced settings for modern hardware, but may not run on older computers. Xvesa has a limited number of settings, but runs on almost any computer configuration. Usually users select Xorg first, if the screen does not show anything after that, then they can select Xvesa. Once Puppy has loaded, you need to select the optimal screen resolution. Puppy has great system permission management. All you need to do is select the desired resolution and press the TEST button. If everything is displayed correctly on the screen, you can continue working by clicking Okay. You can also determine the resolution manually. Once Puppy has finally loaded, take a look at the desktop image, which contains several hints, including information about the available RAM memory, Internet connection status and saving your settings and data.

Installing Puppy Linux

Although Puppy Linux runs fine from a CD, you can also install it on any media. Puppy includes own installer. Launch it by selecting Menu → Setup → Puppy universal installer from the menu. Installer includes detailed information about the installation process, and we recommend that you read everything carefully when choosing the options you want.

For example, to boot puppy from a USB flash drive that uses the FAT32 file system, you need to install the files into the boot sector. To install files into the boot sector, select the mbr.bin option when a dialog appears with a list of available bootloaders. If you are installing Puppy into a new USB flash drive, it is most likely not formatted as a bootable device. In this case you should run GParted.

Launch GParted, click on the flash drive partition right click mouse and select Manage Flags. Next, select Boot and click OK to close the window and confirm our changes by clicking the Apply button. Then we close GParted and the installer will finish the rest on its own. Installing Puppy on your hard drive is also easy. You need to choose between minimal (frugal) and full (full) installation. With a minimal installation, Puppy will simply copy a few files (vmlinuz, initrd.gz, pup_301.sfs and zdrv_301.sfs) from the CD to the selected logical drive, allowing you to run Puppy Linux as a Live CD distro, only from the hard drive and preserving the session and data on your hard drive. You also need to configure the GRUB bootloader manually. Full installation allows you to install the entire distribution on your hard drive in a logical drive of your choice.

Running Puppy Linux with QEMU

Puppy installed on a USB flash drive makes the distribution very compact. Instead of lugging around a laptop, you can use a flash drive to run Puppy on any computer. However, in some cases you will not be allowed to restart Windows and log into Puppy Linux. QEMU Manager is an emulator that allows you to run Puppy on Windows platform. It is also important that QEMU Manager is a compact program and therefore we can install it on a USB flash drive with Puppy Linux. To create virtual machine, based on QEMU with Puppy Linux, you need to download the QEMU program and an image of the latest version of Puppy Linux. Unpack QEMU Manager and copy the folder to a USB flash drive. Copy the ISO image to the directory with QEMU Manager and run QemuManager.exe. Click Create New Virtual Machine, then an assistant will appear that will help you set up a new virtual machine. All the assistant options are quite clear and you can install a new virtual machine (VM) without any problems.

Once all the steps in creating a VM have been completed, make sure that View Advanced Configuration Options After Saving Box is checked. Next, click the Save Virtual Machine button, which saves the new VM and opens the settings window. Next, go to the Disk Configuration tab. In the CD-ROM section, click the Browse button and select the ISO image with Puppy Linux. Select the Boot From CD-ROM option. Save the settings by clicking on the Save button and now you can close the window. After this, you can launch Puppy on the VM by clicking on the Launch button.

Setting up Puppy Linux

Puppy Linux has a control panel that will allow you to configure the OS without any problems. To open the control panel, select Menu → Setup → Wizard Wizard. This control panel will help you customize every aspect of Puppy, including local settings, sound, X video, internet connection and firewall. If Puppy has not configured the WIFI drivers properly, you can install them manually. To do this, click Load Module, select required module from the list of drivers, and click Load. If the driver is for your WIFI cards is not in the list, you have the opportunity to install the driver for Windows using NDISwrapper. Go to the More section, select NDISwrapper, indicate required driver and click OK.

Once the file is uploaded you need to create new profile(New profile). We indicate required device, click the appoptiate button, select Wireless, Create new profile and fill in the required fields. The assistant supports multiprofiles. With it you can switch between different wireless networks. To return the default settings, you can use the Menu → Desktop → Puppybackground image utility. You can also remove the icon from your desktop. Right-click on the desired icon and select Remove. If you chose a minimal installation or you are running Puppy with USB flash drives or another removable device, all your settings and data will be saved in separate file pup_save.2fs. The next time you boot, Puppy will automatically load the generated pup_save.2fs file.

Installing applications

Puppy Linux has its own package manager which can be used to install additional packages from the official repository. Puppy uses its own format called PET, so the list of applications available in PET packages is not large, but it contains basic applications such as Mozila FireFox, OpenOffice.org, GIMP and others. To install an application using the Puppy package manager, you just need to select the desired application and click Okay. Manager then downloads the selected package, verifies its integrity, and installs it. In addition, you can manage and.deb packages, which allow you to use Debian packages. To access this feature you need to install 2 packages using Puppy Package Manager: Dillo Web Browser and pb_debiainstaller.

Then you can download .deb packages from the Debian repository. Launch Terminal Menu → Utility → RXVT Terminal Emulator and enter the pb-debianinstaller command. This command will launch the installer in the Dillo browser. Click the Choose button and select the downloaded .deb package, click Check dependencies and install the required packages, if required. After clicking the Install now and Finish button, you are done.

After this, you can run the installed program from the terminal. For removing installed program you can use Puppy package manager. After installing Debian packages, be aware that pb_debianinstaller is still an experimental version and may make your system unstable. Use this program with caution and remember to do backup copy systems.

Rebuilding Puppy Linux

After you have configured the system and installed required applications, you can build your own Linux distro. Required program included in Puppy (Menu → Setup → Remaster Puppy Live-CD) allows you to rebuild it in just a few clicks. The program simply creates a file pup_301.sfs (Where 301 is the version number of Puppy), creates an ISO image and burns it to a CD-DVD. All you need to do is select the logical drive or drive from which the program will make an ISO image.

Process Linux installations Lucid Puppy 5.2.5 (Lupu-525) on a hard drive does not represent some kind of super task, however, some features of this process can lead a beginner into difficulty. Below, the installation of Lucid Puppy 5.2.5 will be described step by step, including the installation of the bootloader (Grub bootloader), with the reproduction of screen images issued by Lucid Puppy 5.2.5 during this process.

The operating system Lucid Puppy 5.2.5 has a data capacity of 128 mb on CD and is capable of working directly from a CD. Its distribution, distributed in the form of an iso file (CD image), is written to a CD, the CD is inserted into the tray, and the computer is restarted. If the BIOS shows the CD-ROM as the first boot device, the computer will “pick up” the CD, load the files into RAM, and after about 2 minutes, operating system Lucid Puppy 5.2.5 will be ready to work, even if another operating system is previously installed on the computer’s hard drive.

Working with Lucid Puppy 5.2.5 in live-CD mode has such significant advantages as reliable protection from viruses, since viruses cannot get onto a CD. However, in this case you have to put up with a long computer startup (copying files from CD), which is a significant drawback. Installing Lucid Puppy 5.2.5 on your hard drive allows you to significantly speed up loading, and use Puppy like a regular “stationary” operating system, and at the same time it is very fast.

So, installation on the hard drive.

The installer is ready to go, you can launch it by clicking the “Install Puppy to sda1” button, but we won’t rush it. The hard drive was previously formatted in NTFS, and besides, it has only one partition. It is not good. Linux, including Lucid Puppy, has its own file system; in addition, it will be useful to reduce the living space for Puppy somewhat, without giving it the entire hard drive (in order to be able to install another operating system on the same hard drive, if in the future we will need this). Thus, now our task is to create a Linux partition on disk sda1 with a capacity of, say, 5 Gigabytes. (It is not recommended to create a partition of less than 2 gigabytes for Puppy - taking into account the installation of additional Puppy programs, there will not be enough space.) Accordingly, click on the "Filesystem in partition" button.

Since the sda1 hard drive was formatted by us, it is clear that there is no Hornbeam on it. How to install Hornbeam - see the material "Grab downloader for Lucid Puppy 5.2.5", which directly continues this article.

I have a rather "old" computer: motherboard ABIT board ST6; Celeron processor 1100 MHz, “overclocked” to 1463 MHz (FSB=133 MHz); RAM 512 MB; NVIDIA video card GeForce FX5200/128M; additional USB 2.0 PCI controller GEMBIRD UPC-20-2P (since on motherboard USB ports 1.1); LAN card PCI Intel 100 Mb; HDD SAMSUNG 200 GB; CD/DVD drive Optiarc AD-5170A; floppy drive; PSU DELTA ELECTRONICS DPS-300KBD. I will briefly describe the process of installing Puppy-420-ru version v6, in the frugal version, on this computer, perhaps this will help someone starting to learn Puppy Linux (forum materials were used when writing this article).

First, on a PC with Windows and Internet access, we need to do the following: download the ISO image of Puppy-420-ru, burn the CD in this way, thus obtaining a Live-CD, defragment the HDD on which we are going to install Puppy- 420-ru (this is for the case when this HDD has FAT or NTFS partitions, like mine), and also download a small mkswap file (after downloading, remove the txt extension from it).

In Setup Computer BIOS install boot from CD-ROM, boot from burned Live-CD. Since the HDD I had had one NTFS 200 GB partition, the disk needs to be prepared accordingly. I decided to simply “cut off” from the existing partition - 9 GB for the system partition and 1 GB for the swap partition. To do this we go to "Menu" -> "System" -> "Gparted partition manager", mark our disk. Next, select our section, click "Resize or move", and reduce the size of the NTFS partition by 10240 MB by entering this number in the window "Free space after (MB)", press Enter, then "Edit" -> "Apply all operations", we wait. Now select the partition we created and have not yet marked up and click “Create”, select the file system type “ext3”, click the “+ Add” button, again "Edit" -> "Apply all operations", we wait. Make this partition bootable - right-click on it, select "Flag management" and check the "boot" box.

After completing this operation, we “cut off” 1024 MB in the same way, but from the created ext3 partition and get a 1 GB partition. Here's a small digression - Puppy-420-ru has a problem with system utility mkswap , and first we need to solve it. Minimize GParted, go to “Files” (shortcut on the desktop), then go up one level, look for the /sbin folder, find the mkswap link file in it, delete it, and copy the mkswap file we previously downloaded to /sbin. Expand GParted, select a 1 GB partition, click "Create", select the file system type "linux-swap", click the "+ Add" button, then "Edit" -> "Apply all operations", wait, the swap partition has been created.

Now you need to install the GRUB boot loader on the boot ext3 partition. Let's go "Menu" -> "System" ->. Follow the prompts (simple -> standard -> enter your disk, for example, /dev/sda2 -> MBR -> enter /dev/sda), wait, the /boot folder will appear on the second partition. Next you need to edit the GRUB boot menu. Go to the /boot/grub folder, find the menu.lst file, open it, delete everything that is there, and insert the following lines:

timeout 10
color light-gray/blue black/light-gray

title Puppy Linux 420 frugal
rootnoverify(hd0,1)
kernel /puppy-ru-420/vmlinuz pmedia=atahd psubdir=puppy-ru-420 nosmp

title Puppy Linux 420 frugal
rootnoverify(hd0,1)
kernel /puppy-ru-420/vmlinuz pfix=ram pmedia=atahd psubdir=puppy-ru-420 nosmp
initrd /puppy-ru-420/initrd.gz

title Puppy Linux 420 frugal
rootnoverify(hd0,1)
kernel /puppy-ru-420/vmlinuz pfix=fsck pmedia=atahd psubdir=puppy-ru-420 nosmp
initrd /puppy-ru-420/initrd.gz

title Reboot
reboot

title Shutdown
halt

the first point is a normal system boot (it will happen automatically after 10 seconds), the second point is a boot with the parameter to check and eliminate errors in file system, the fourth and fifth points are to reboot and turn off the computer, respectively. In principle, you can add as many items to this menu as you like; I chose only those that I actually use.

Install Puppy-420-ru: create a folder /puppy-ru-420 on our second ext3 partition, and copy the files initrd.gz, vmlinuz and pup_420-ru-42.sfs from the Live-CD there, also create an empty one in this folder ATAHD file. That's it, the system is installed, reboot ( "Menu" -> "Shut down" -> "Computer Restart"), we refuse the offer to save the session in a file. We put it away in Setup BIOS boot from CD-ROM, boot from HDD, after booting you can begin to master the system, after finishing work, when you select in "Menu" -> "Turn off" turning off the computer or rebooting it, we agree to the proposals to create a save file (the so-called “saved file”), select the proposed size of 512 MB, if it is not enough, then in the future it can be easily increased. Now we have the operating system Puppy-420-ru version v6 installed in the frugal version.

One of the installation options for Puppy-420-ru is described here; it is also quite possible to use "Universal installer Puppy", located in "Menu"->"Settings". For beginners, it is worth noting that "Universal Puppy Installer" does not install the GRUB boot loader, and after it finishes you need to go to "Menu" -> "System" -> "Grub - setting up the Grub boot loader" and install the bootloader, and then insert the necessary items into its menu (edit the file /boot/grub/menu.lst).

update: A small but important addition. In general, when installing Puppy Linux, it is not at all necessary to create a separate partition on your hard drive for it; you can install this system in a folder on an existing partition, and you only need to install and correctly configure the bootloader (GRUB, GRUB4DOS or some other). Creating a separate section is like a tradition, a classic method, which I used, talking about it in this article.

Works on the website "Electron55.ru"