How to Do a Dual-Boot Install of Puppy with Windows XP

How to do things, solutions, recipes, tutorials
Message
Author
User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

How to Do a Dual-Boot Install of Puppy with Windows XP

#1 Post by rcrsn51 »

Update: This package now contains two installer scripts. You can either boot the target machine off a Live CD or a USB drive.

------------------------------------

If you want to install Puppy on a hard drive along with Windows, there are several strategies. Before starting, read here.

The method described below creates a separate partition for Puppy and makes it the "boot" partition. Your Windows setup is not changed. If you ever decide to delete Puppy and return to an all-Windows machine, you will only need to reset the Windows partition as bootable. (You can do this by running GParted from any Puppy Live CD.)

Be aware that this method may not work on some older machines whose BIOS cannot boot a partition at the far end of the hard drive.

If your machine already has another Linux installed, do not use this method unless you plan to delete it.

Download the attachment below, extract the folder "install-with-win" and save it to a flash drive. The folder contains two scripts named "install-cd" and "install-usb". You will use the one that matches how you boot the target machine.

There are three main steps to building your dual-boot setup.

Step One

Note: If you have Vista or Windows 7, do NOT use Gparted. Instead, use Windows' own Disk Management tool.

You must shrink your Windows partition to create space for Puppy. You will do this using the GParted program in Puppy's System menu or with a standalone Live CD like Parted Magic. Here are some hints:

1. Just to be safe, have Windows check the health of your hard drive before you start partitioning. Go to My Computer and right-click on the C: icon. Select Properties > Tools > Error-checking.

2. To run GParted from within Puppy, you must boot off the Live CD and use the option:

Code: Select all

puppy pfix=ram
This leaves the hard drive unlocked so you can change it.

3. Always shrink Windows from the end of its partition. Do not move the partition to the right to create space in front. Windows does not like to be moved around! If you are not comfortable doing this step, you should consider using the Lin'n'Win procedure instead.

4. In GParted, right-clicking on an entry brings up a menu of operations. Nothing permanent is done to your hard drive until you click the Apply button.

5. Format the new Puppy partition as ext3 primary. Your drive can have other NTFS or FAT32 partitions belonging to Windows. However, the installer will assume that the first ext partition it finds on the drive is reserved for Puppy.

6. A few GB of space is plenty for a basic Puppy frugal install. If you plan to save lots of content to your Puppy partition, make it larger.

7. You do not need to build a separate swap partition. The installer will automatically make a swap file for you.

8. After repartitioning, boot up Windows to check its integrity. Windows may go through its hardware rediscovery procedure or do a hard drive scan.

Step Two

Boot off the Puppy Live CD using

Code: Select all

puppy pfix=ram
Run GParted again. Right-click on the entry for the Windows partition and select Manage Flags. Note how the "boot" option is checked.

Now right-click on the new Puppy partition and select Manage Flags. Put a check mark on its "boot" option. The next time you boot your computer, it will start from the Puppy partition instead of Windows.

Step Three

Mount the flash drive, open the "install-with-win" folder and click on the icon "install-cd" or "install-usb".

The installer will identify the new ext3 partition and ask you a YES/NO question before continuing.

The installer does a frugal install and makes a swap file.

Finally, it configures the GRUB bootloader. It places the GRUB Stage1 code on the partition boot sector. The MBR of the hard drive is not changed.

If you have been keeping a pup_save file somewhere in your Windows setup, move it over to the new Puppy partition now.

Do a shutdown/reboot and make a pup_save file if you need one. Be sure to select the correct partition.

On the next boot, you will get a GRUB menu showing both Puppy and Windows. Your dual-boot setup is complete. If there are any left-over Puppy files still in the Windows partition, you can delete them.

Note: The GRUB menu assumes that Windows is in the first partition of the hard drive. But on many machines, the first partition contains a rescue system and Windows is on the second partition. You will need to edit the GRUB menu.lst file and change (hd0,0) to (hd0,1). Look for this file in the folder /boot/grub at the root of your Puppy partition.
Attachments
install-with-win.tar.gz
Updated 2011-12-04
(1.94 KiB) Downloaded 2589 times
Last edited by rcrsn51 on Mon 05 Dec 2011, 03:28, edited 10 times in total.

rscricket
Posts: 1
Joined: Mon 13 Jul 2009, 14:23

Problem with Step 3

#2 Post by rscricket »

new post -
i was able to install this just fine. the key is to exactly follow all the instructions. for the other poster who is having trouble, please re-read and make sure you are doing exactly what they said.

--------------
old post -
Puppy rocks! Great post to help install.

I partitioned my hard drive, formatted it to ext2, set this new partition as boot drive. At Step 3, I downloaded the gz file, extracted and clicked on frugal-with-XP icon, I get error ' sh:scripts/fru4win: no suh file or directory'.

What to do next? Help.

Thanks,
rsc
Last edited by rscricket on Fri 14 Aug 2009, 14:01, edited 1 time in total.

johnheav
Posts: 5
Joined: Sun 21 Jun 2009, 19:00

It worked perfectly....

#3 Post by johnheav »

Thank you for going to the trouble to do all this for us. I followed your instructions, and it resulted in a very elegant dual-boot solution.

wuppy
Posts: 15
Joined: Wed 18 Feb 2009, 23:52

#4 Post by wuppy »

I was wanting to install puppy 4.11 to an older pc pentium 3, 600 mgtz, 512 RAM but pup always hangs in the boot process at - disableing IRQ #10.


I sure wish it would run on that old PC. I would pull my hair out but I don't have any.

User avatar
ecomoney
Posts: 2178
Joined: Fri 25 Nov 2005, 07:00
Location: Lincolnshire, England
Contact:

#5 Post by ecomoney »

Seeker has produced some routines for creating .exe installers which will automatically set up dual boot when run on a windows only computer. This makes it very easy, download, click and run 8)

http://www.murga-linux.com/puppy/viewtopic.php?t=44098

You can download an .exe file which will automatically install puppy onto the XP machines here

http://www.ecomoney.eu/puppy/winstaller ... -pl421.exe

Ive done some testing with good results.
Puppy Linux's [url=http://www.murga-linux.com/puppy/viewtopic.php?p=296352#296352]Mission[/url]

Sorry, my server is down atm!

User avatar
Lady_Artemis
Posts: 81
Joined: Thu 25 Jun 2009, 09:44
Location: Gold Coast, Queensland

#6 Post by Lady_Artemis »

just wondering....will this method also work on empty partitions? i am planning to repartition one of my partitions into 2 partitions so i can install Puppy on it, if this method will allow me to select the partition that i want to use rather than automatically selecting the first partition, then i'll give it a go....

herra
Posts: 3
Joined: Sat 09 Jan 2010, 20:09

Re: How to Do a Dual-Boot Install of Puppy with Windows XP

#7 Post by herra »

rcrsn51 wrote:2. To run GParted from within Puppy, you must boot off the Live CD by typing:

Code: Select all

puppy pfix=ram
This leaves the hard drive unlocked so you can change it.
OK. You've lost me already.
Where do I type this?

herra
Posts: 3
Joined: Sat 09 Jan 2010, 20:09

#8 Post by herra »

ecomoney wrote:
You can download an .exe file which will automatically install puppy onto the XP machines here

http://www.ecomoney.eu/puppy/winstaller ... -pl421.exe
Dead Link

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#9 Post by rcrsn51 »

When you boot off the Live CD, there is a short initial pause during which a prompt appears. At that point, you can type

Code: Select all

puppy pfix=ram
However, for a Puppy newcomer, an install method that involves partitioning may not be the best choice.

Have you read the threads that discuss installing Puppy with a "co-exist" procedure?

Do you have a way of reinstalling Windows if something goes wrong?

willem1940NLD
Posts: 205
Joined: Wed 07 Jul 2010, 01:07
Location: Sittard, Limburg, The Netherlands

#10 Post by willem1940NLD »

Hi, I am new here but met several fine people already on pre-boiled /built-in Puppy chat.

Part of their advices / administrations and about a week's toiling worked out for me as follows:

Puppy Lupu 501.

- 2 rather old desktops computers, each having 2HD, most stubborn one only 425MHz 256RAM 2x20GB HD.

All attempts failed to install Grub for intended Multiboot till I ....

- set jumpers of totally WindowsME "master"HD, after giving extra Linuxswap partition using PartitionMagic inside Windows, to "slave" disk

- made other old slave disk the "master", formatted back to "factory virgin" using powermax/maxtor floppy (but many free downloadable manufacturers' tools will do) using function "low level format" (count about 2 hours for 20GB)

- Then, re-installed new "master" HD using Linux-based CD "GParted"
... renewed partition table
... primary partitions only, linux swap & linux ext2
... one extra (primary) partition "storage" FAT 32, usable for both windows & linux

Note; because of remarks I got at experiments (windows) with PartitionMagic "greater maybe unbootable" (older Bios), started with system partitions Windows 4000MB and Linux 7000 respectively, only ... to be manipulated later, at need.

Install went wonderful: Puppy FULL and DEFAULTS only, Grub immediately accepted, opening screen (grub) all partitions at choice for booting.

Very important, gaining computer speed especially at high system load, games, moving large packages etc.,: having 2xHD, (extra) swap on non-system disk crosswise, so banned WinME swap to available FAT32 partition on Linux disk and arranging already mentioned Linuxswap partition on Windows disk (Linux traces/uses every linux-swap-formatted partition at sight).

I happen to need older Windows, of which FULLY UPDATED (updates still freely available by clicking "Windows Update") Windows ME (unstable till last updates came available shortly before official support stopped) being the newest "oldie", because I have an old win95-era scanner "scanny" and moreover need "windows moviemaker" for home filming with webcam and microphone, both not (yet) replaceable in any Linux distro.

Puppy could not power-off the computer at first, but somebody whose name I don't remember (my old age, hehe) on Chat advised me to add on Kernel line of /boot/grub/menu.lst .... acpi=force ... and this works.

Moreover, BigMike (yes, I remember his name!) handed me a pet "Startmount" to keep (all) disks/partitions mounted on desktop computer.

O.k, I am not at all a technician, rather a "daring" user ... but maybe the results of my frantic experiments are of some use to others. At any rate, I got what I needed .... old Dutch proverb I try to translate: "if things can't go as they should, then they shall go as they could".

8)

User avatar
Toy4
Posts: 50
Joined: Sun 27 Jun 2010, 16:14
Location: Pedley, CA USA

Triple Boot

#11 Post by Toy4 »

I have a working XP and Puppy431 Dual Boot set up and want to add Lupu501 to the menu.lst but when I try to boot I get error 15 and have to go back and boot Puppy431 or nothing. I tried to copy what was in my menu.lst and add the changes to make Lupu501 boot. Here is what a portion of my menu.lst looks like.

title Puppy Linux 431 frugal
rootnoverify (hd0,0)
kernel /puppy431/vmlinuz pmedia=atahd psubdir=puppy431 nosmp
initrd /puppy431/initrd.gz

title Puppy Linux 501 frugal
rootnoverify (hd0,0)
kernel /lupu501/vmlinuz pmedia=atahd psubdir=lupu501 nosmp
initrd /lupu501/initrd.gz


The first part works for 431, the 2nd part doesn't for lupu501. It must be something simple. I am a noobie and I can't seem to find a menu.lst with 501 in it to see if the syntax is correct. Please direct me towards a solution, tx
Asus EeePc 900A w/Puppeee1.0 with 3G modem (Sierra 598U)
AMD Duron 797Mhz w/Puppy4.31 & Puppy2.14& Puppy4.20
Dell Dimension 2350 w/Quirky1.20Retro & Lucid Puppy5.10& Wolfe020

User avatar
James C
Posts: 6618
Joined: Thu 26 Mar 2009, 05:12
Location: Kentucky

Re: Triple Boot

#12 Post by James C »

Toy4 wrote:I have a working XP and Puppy431 Dual Boot set up and want to add Lupu501 to the menu.lst but when I try to boot I get error 15 and have to go back and boot Puppy431 or nothing. I tried to copy what was in my menu.lst and add the changes to make Lupu501 boot. Here is what a portion of my menu.lst looks like.

title Puppy Linux 431 frugal
rootnoverify (hd0,0)
kernel /puppy431/vmlinuz pmedia=atahd psubdir=puppy431 nosmp
initrd /puppy431/initrd.gz

title Puppy Linux 501 frugal
rootnoverify (hd0,0)
kernel /lupu501/vmlinuz pmedia=atahd psubdir=lupu501 nosmp
initrd /lupu501/initrd.gz


The first part works for 431, the 2nd part doesn't for lupu501. It must be something simple. I am a noobie and I can't seem to find a menu.lst with 501 in it to see if the syntax is correct. Please direct me towards a solution, tx
Your syntax looks correct.
Are both frugal installs in the same partition?
Is the psubdir named "lupu501"? The name must match exactly with no spaces or any differences.

Here's part of the menu lst showing my 501 frugal....I use extra boot parameters but the basics are the same....

title Lucid Puppy 501 frugal in sda5
rootnoverify (hd0,4)
kernel /puppy501/vmlinuz pfix=fsck pdev=sda5 pmedia=idehd psubdir=puppy501 nosmp acpi=force
initrd /puppy501/initrd.gz

title Quirky Linux 120 frugal in sda2
rootnoverify (hd0,1)
kernel /puppy120/vmlinuz pfix=fsck pdev=sda2 pmedia=idehd psubdir=puppy120 nosmp acpi=force
initrd /puppy120/initrd.gz


HTH.

User avatar
Toy4
Posts: 50
Joined: Sun 27 Jun 2010, 16:14
Location: Pedley, CA USA

Triple Boot

#13 Post by Toy4 »

There is only one partition and the others are installed inside that partition. The XP was there first and I followed instructions to get 431 to work with XP put without making it have it own partition (so far). So all three of them are in same partition. As far as I understand this the OSfile and save file are there and when asked to load into RAM and don't use the HDD for anything other than to save to.
This is on an older AMD Duron PC (tower) Maybe I am trying to do something that isn't possible. Thanks for your help.
Asus EeePc 900A w/Puppeee1.0 with 3G modem (Sierra 598U)
AMD Duron 797Mhz w/Puppy4.31 & Puppy2.14& Puppy4.20
Dell Dimension 2350 w/Quirky1.20Retro & Lucid Puppy5.10& Wolfe020

User avatar
Toy4
Posts: 50
Joined: Sun 27 Jun 2010, 16:14
Location: Pedley, CA USA

Triple Boot

#14 Post by Toy4 »

I went back in and deleted everything I did to Puppy501 and started over and used the puppy universal installer and it worked just fine and when it came around to edit the menu.lst it was just like I was told to do it by James C. I had changed it to be like that and it still didn't work, but it did after it was installed using the installer and it gave me the same stuff to put there so it was something else that was wrong. I am confused why it is called Puppy501 but the .iso is lupu501. I thought that would be the proper thing to call it, but then again I am not a Linux person, yet..... so this is fixed, thanks
Asus EeePc 900A w/Puppeee1.0 with 3G modem (Sierra 598U)
AMD Duron 797Mhz w/Puppy4.31 & Puppy2.14& Puppy4.20
Dell Dimension 2350 w/Quirky1.20Retro & Lucid Puppy5.10& Wolfe020

jjprzy
Posts: 3
Joined: Wed 14 Jul 2010, 20:55

XP won't boot

#15 Post by jjprzy »

Hi. I'm new here. Tried Puppy (Lupu 5.0.1) and love it. I want a dual-boot setup with XP. I have one 300GB hard drive, with XP in the first 50GB partition (ntfs), Puppy in the second 10GB (ext2), and the rest is fat32. It's an older machine Intel 867 with 512MB of RAM, but runs just fine.

Followed the instructions and had no problems 'til Step 3. Mounted the flash drive, clicked on the "install-with-XP" folder and it opened with XArchive. Clicked on the file "frugal-with-XP". Nothing. Double-clicked. Nothing. Extracted the "frugal-with-XP" file and clicked on it. A window opens then immediately closes. Too fast to read.

Decided to try a manual install. No problems at first. Files installed fine. GRUB loaded fine. Puppy boots up fine. But XP won't boot. Get an error message saying "Error 21: Selected disk does not exist"

I noticed that menu.lst for WinXP said (on /dev/sdb1). But XP is on /dev/sda1. Changed "b" to "a" in menu.lst but still get the same error message. I must have done something wrong in the GRUB config.

Menu.lst reads as follows:

title WinXP (on /dev/sda1) [but it was sdb1]
map (hd0) (hd1)
map (hd1) (hd0)
rootnoverify (hd1,0)
makeactive
chainloader +1

Any ideas? TX.

jjprzy
Posts: 3
Joined: Wed 14 Jul 2010, 20:55

XP won't boot

#16 Post by jjprzy »

Oh yeah, one more item. Puppy can mount sda1 and see all the Windows files just fine.

willem1940NLD
Posts: 205
Joined: Wed 07 Jul 2010, 01:07
Location: Sittard, Limburg, The Netherlands

#17 Post by willem1940NLD »

How ... sda & sdb on 1 HD together?

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

Re: XP won't boot

#18 Post by rcrsn51 »

jjprzy wrote: Mounted the flash drive, clicked on the "install-with-XP" folder and it opened with XArchive. Clicked on the file "frugal-with-XP". Nothing. Double-clicked. Nothing. Extracted the "frugal-with-XP" file and clicked on it. A window opens then immediately closes. Too fast to read.
When you do the extraction, make sure you get everything, including the subfolders,

jjprzy
Posts: 3
Joined: Wed 14 Jul 2010, 20:55

XP won't boot

#19 Post by jjprzy »

rcrsn51,

That took care of it! Problem solved! Thank you so very much! :D

User avatar
shinobar
Posts: 2672
Joined: Thu 28 May 2009, 09:26
Location: Japan
Contact:

Why don't you use Grub4Dos?

#20 Post by shinobar »

Think this article should be updated because the recent Puppy has Grub4Dos built in.
Or, Puppy-4.x and recent can install grub4dos-0.4.4.v1.5.3.pet.
See the next article:
http://www.murga-linux.com/puppy/viewtopic.php?t=61348
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]

Post Reply