Come to the tropics and meet new friends!
Philippine teachers: at ease and cheerful


Puppy Install to Windows XP Drive
for versions 1.03 and newer
View comments

Click here for one-click Puppy installation in XP (Thanks to Mark Ulrich).

Update: For Puppy version 2.02+, any type of Windows partition can be safely resized, so you can use a dedicated partition for Puppy -- go here for the tutorial. Continue on if you want Puppy to "coexist" with Windows XP.

The following discusses installation of Puppy in WindowsXP/2000. If what you want is to use Puppy in a separate hard disk partition, click here. The procedure below is valid even if Windows XP uses a FAT-formatted drive. For Windows 98 install, see the comments farther down below.

If using Puppy 1+, first download pup001.zip from the version 1.01 folder of Puppy. (Check the download sites. Note: Newer versions did not release a new pup001.zip version, so it is in the version 1.01 folder.)

Make sure that you have logged in as an administrator in XP.

Choosing your system at boot time is the idea behind this procedure. Windows XP and its cousins (2000, NT) uses the hidden file, boot.ini in drive C to do this. What we want is to add the Puppy option to boot.ini. Grub, a friendly utility from the community, will help us do this. Get Grub here then unzip it in folder boot in drive C (create this folder if it is not there yet). Your boot folder will look like this.



Note that the files vmlinuz and image.gz are also in the boot folder. Copy these two files now from your Puppy CD.

Windows XP hides boot.ini so you must change the view settings of "My Computer" so you can see it. Click on the "Tools" then "Folder Options" in the menu, like this:



Find the "View" tab, choose the button "Show hidden files and folders", and un-check the "Hide Protected Operating System Files".



You will receive a warning like below, for which you respond "Yes".



Click the "Apply" or "OK" button to complete the changes. You will now see boot.ini in drive C, but you have to make it writable. Right-click on it and choose "Properties".



Un-check "Read-Only" then click "OK".



You wil now have boot.ini ready to be changed. If you view drive C (the "Local Disk"), you will see boot.ini plus these other files.



For version 1+, you still have to copy usr_cram.fs from the Puppy CD. Copy that file now to drive C so it will be seen together with boot.ini. Also download pup001.zip and unzip to drive C so you will have pup001 there. To get pup001.zip, see the version 1.01 folder of Puppy (check the download sites). Note: Newer versions did not release a new pup001.zip version, so it is in the version 1.01 folder.

For version 2+, copy pup_version.sfs to the C:\ drive root. ("version" is the Puppy 2+ version number, example is 212.)

Go back to your boot folder and double-click on "grubinstall.exe" (you may not see the ".exe" if Windows does not show you the filename extension).



Something will happen - the files "stage1" and "stage2" will be updated and a line will be inserted to your boot.ini file. Your boot.ini should now contain a last line like this:

C:\BOOT\STAGE1="GRUB"

(Note: You can put any phrase between the quotes.)

If it is not there yet, open boot.ini and add that as a last line. (Be imaginative, write something like:

C:\BOOT\STAGE1="Go Puppy, Go Free!"

Use any phrase you like - as long as you use normal writing characters in between the quotes, you shall be fine :)


Go back to "Tools" then "Folder Options", check the "Hide Protected Operating System Files" and click "OK".

And you're done! You can now use Puppy in the Windows XP drive. Don't forget to eject the Puppy CD from the drive and reboot.

Thanks to drj's How to run Puppy from Windows NTFS partition (from the Puppy forum)
that became the basis of this tutorial.


done for Puppy by Raffy Mananghaya

Viewed 48577 times since July 19, 2005

 

What to do if Win98 is on the C drive while I _must_ install Linux on the E, F or G partitions of a different hard disk?  
 
Try the other install instructions.  


Thanks! A tutorial that I could easily follow should be easy enough for everybody else 8  
 
I didn't get C:\GRUB\STAGE1="GRUB" written to my boot.ini so I got confused for a sec considering which line I should put there, C:\GRUB\STAGE1="GRUB" or C:\BOOT\STAGE1="Go Puppy, Go Free!" but I went for the last and it worked so I guess I picked a good one. Do both work equally well?  
 
Well done and thanks again,  
 
Allan  
 
Thanks, Allan, for pointing out the wrong reference to the grub folder - it must really be C:\BOOT. It is now corrected :)
 


About the same is working in windows 98 .  
You have to get grubdos.exe instead of w32grub.exe .  
And you have to add a menu into config.sys as:
 
[puppy]
instal=c:\boot\grub\grubdos.exe
 
The menu.lst is the same .  
 
Thanks, Menno. People interested in Grub4DOS can find more info and downloads here.  
 
And here is a well-reviewed tutorial for Windows 98 installation, updated for version 1.0.4.  
 
Tiny.exe is also used for loading Puppy in DOS (in both hard disk and USB drive).  
 
So far, the simplest install in DOS that I have seen is by Ben Wise (Wiki name WiseOwl, ICQ: 7901373,  
MSN: dotnet.3.wiseowl at spamgourmet.com).  
 
To boot puppy straight from hard disk under FAT32 partition Win98SE I used the following:  
 
linld.com download for linld.com∞  
puppy.lin (extract shown below - kernel parameter file)  
 
vmlinuz (in C:\) (from puppy iso)  
image.gz (in C:\) ( from puppy iso)  
usr_cram.fs (in C:\) (from puppy iso)  
 
Then I can just shutdown to MS-DOS mode and run  
 
linld.com image=c:\vmlinuz initrd=c:\image.gz cl=@puppy.lin  
(this line can be inserted in autoexec.bat)  
 
Voila! One happy puppy.  
 
My puppy.lin contains:  
 
root=/dev/ram0  
PFILE=pup001-none-262144  
PHOME=hda1  
 
# Commented out - these kernel parameters aren't needed for most people, just for my ancient laptop (PS/2 mouse interrupt issue)  
#pci=irqmask=0x8000  
#ide1=noprobe  
#ide2=noprobe  
#ide3=noprobe  
#end puppy.par  
 
I used isobuster to extract the files from the puppy live cd ISO.  
 
Why do it this way?  
 
Because when you want to add extra parameters you can't using tiny.exe (used by the puppy floppy boot disk) as the DOS command line has a limited number of characters. loadlin version 1.6c isn't reliable it seems - puppy didn't get the complete image.gz filesystem loaded (the kernel load showed ext2fs errors on the initial RAMDISK). Thank goodness for linld.com!  
 
Any corrections or suggestions on the above are most welcome.  
 
People uncomfortable with the filename "puppy.lin" can try the filename "puppy.txt" instead. Also, search for MagicISO for extracting files from ISO while in Windows.  
 
Good luck!  
 


Ive been trying to boot from the hdd for a while . I have XP installed and the drive is almost full (120G). I wanted to switch to linux and was just about to format and install ImpiLinux when I found puppy. Being unable to boot from USB, with a broken CDRom, I was in trouble. I couldnt get puppy to find the cram.fs file then I found this page: THANKS! Now Im dual booting 2 VERY different OS's .. even though Ive completely stopped using XP. aaaaahhhhh... A life of BLISS!!


i wanna install puppy on my ibm thinkpad hd using my cd. however, i only get a series of of numbers.shall i download the ms dos stuff cause there was no prompter at all. hellppp please---newbie here. :(  
 
You mean your Puppy CD? Most problems with the Puppy CD is about the burning speed - make sure you do it slowly, 4X or 2X. Also, do a checksum on your downloaded ISO, or at least check that it has downloaded completely (the downloaded file size being the same as that of the server file).  


Sorry.....brain had Window's freeze-up....did create one (the BOOT directory), and followed the tutorial.  
 
Everything seemed to go as it should, until the OS started to load.  
 
It got to the point on the screen...  
 
usb.c: Deregistering driver usbdevfs
 
 
and then hung there and would go no further.  
 
I downloaded puppy 1.0.5 four times, and it stopped at the same point each time.  
 
The cd did the exact same thing, and it was burned at 2x.  
 
Anything else I can do ?  
 
It's good you made sure first that the CD is burned properly. The ultimate test, though, is when you're able to use it successfully in another machine.  
 
As to USB, some users tried disabling the USB legacy option in the BIOS. It's even possible to disable the USB device if you're not actually using it.  
 
Moving back to older version of Puppy might also help. Version 1.02, for example, has a newer Linux kernel. It really does not change WinXP, though WinXP could check on itself soon after Puppy was used and XP is re-run. Some other forum members believe version 1.03 has the least problems.  
 
Hope that info helps! Try posting in the forum if you get more problems :)  


Thank you.  
 
I'll give 1.03 a shot, and hope for better luck.  
 
Greatly appreciate the help.  
 
d. :)


very good explanation, thanks a lot for your help!  
 
You're welcome. The link to Grub files that you asked about is in Menno's post.  


As a complete Noob, please bear with me.....The tutorial is very easy to follow, but just one problem.  
 
I can't find a BOOT folder...not blind...did a complete search...not there...what can I do please ?  
 
I have XP on NTFS, and after using one of the cd's, I would love to be able to use Linux.  
 
Thanks for any help.  
 
If it is not there yet, create it :) Cheers!  


Disclaimer: No warranty is given or implied above - use this tutorial at your own risk.