How to run Puppy from Windows NTFS partition

How to do things, solutions, recipes, tutorials
Message
Author
drj
Posts: 41
Joined: Sun 26 Jun 2005, 17:45

How to run Puppy from Windows NTFS partition

#1 Post by drj »

OK, I finally made Puppy 1.0.3 working on NTFS partition. here comes step-by-step instructions how to do it:

Assumations:
1. Windows 2000/XP on the 1st partition of the 1st IDE disk (/dev/hda1)
2. NTFS used for Windows

What to do (all steps in Windows):
1. downloaded Puppy 1.0.3 ISO file
2. burn a live-CD or use WinISO to extract three files for the ISO file
usr_cram.fs to C:\
vmlinuz and image.gz to C:\boot\
3. download pup001.zip and unzip to C:\
4. download w32grub.zip and install it
5. copy and paste following into a file C:\boot\grub\menu.lst

default 0
timeout 0

title Puppy-1.0.3
rootnoverify (hd0,0)
kernel (hd0,0)/boot/vmlinuz root=/dev/ram PFILE=pup001-none-262144
initrd (hd0,0)/boot/image.gz
boot


6. run WinGrub GUI to install GRUB, an entry will be added to C:\boot.ini (a hiden file) as follows, or you can edit boot.ini manully

[boot loader]
timeout=10
default=multi(0)disk(0)rdisk(0)partition(1)\WINNT
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINNT="Microsoft Windows 2000 Professional" /fastdetect
C:\GRLDR="Puppy-1.0.3"


7. check all files are in place and reboot, and enjoy
GRLDR, pup001 and usr_cram.fs in C:\
vmlinuz and image.gz in C:\boot\
menu.lst in C:\boot\grub\

8. don't know how to move usr_cram.fs from C:\ to C:\boot\release, so that I can run multiple releases of Puppy. especially upcoming 1.0.4 has options to have different pup00? files (I guess I could modify rc.sysinit and remake a CD/image.gz). Anyway, it is good for now
Attachments
w32grub.zip
WinGrub Version 0.02 Build 6
(80.82 KiB) Downloaded 3900 times
Last edited by drj on Thu 07 Jul 2005, 15:06, edited 1 time in total.

User avatar
BarryK
Puppy Master
Posts: 9392
Joined: Mon 09 May 2005, 09:23
Location: Perth, Western Australia
Contact:

#2 Post by BarryK »

Thanks, for that! :D

thoughtjourney
Posts: 61
Joined: Thu 05 May 2005, 01:30
Location: Sutton, NSW

#3 Post by thoughtjourney »

Thanks, drj.

I followed your instructions, and am coming to you live from WinXP pup. Well, sort of. I was able to boot from windows, but because I have a fat32 partition, puppy would create a pup001 file there, and would get upset that he couldn't find usr_cram.fs. I copied usr_cram.fs to the fat32 partition, and here I am. I shall give it a whirl on my hubby's pure XP laptop while he's asleep ;)

Good stuff!

BTW, for those of you who are newbies to Windows like me, I found this website useful when I couldn't find boot.ini:

http://hacks.oreilly.com/pub/h/2337

Cheers
in the beginning was the Logos

http://thoughtjourney.aus.cc

drj
Posts: 41
Joined: Sun 26 Jun 2005, 17:45

#4 Post by drj »

glad you liked it. yes, c:\boot.ini is a hiden file

shouldn't you be by his side while he is asleep? :)

have a good day

thoughtjourney wrote:Thanks, drj.

I shall give it a whirl on my hubby's pure XP laptop while he's asleep ;)

thoughtjourney
Posts: 61
Joined: Thu 05 May 2005, 01:30
Location: Sutton, NSW

#5 Post by thoughtjourney »

shouldn't you be by his side while he is asleep?
That's the beauty of a laptop! I'm in bed right now :) I should be actually working, but there is only so much I can do on the global tourism environment before going crazy. Besides, it's 2 am, and I wanted to get this up and running.

So, I am running puppy from a poor man's install on a winxp (ntfs) partition. Yay! This is really cool!

Thanks drj, guestoo, and the person who made the initial suggestion.

I'm off to install some funky themes![/quote]
in the beginning was the Logos

http://thoughtjourney.aus.cc

User avatar
Stokey
Posts: 64
Joined: Thu 07 Jul 2005, 23:50
Location: Undeuxtrois, WA

Windows NFTS partition

#6 Post by Stokey »

Maybe a good idea to put the info given by drj in the Wiki page

Well done drj
Elvis Lives, three-dimensional

User avatar
Stokey
Posts: 64
Joined: Thu 07 Jul 2005, 23:50
Location: Undeuxtrois, WA

Windows NTFS partition

#7 Post by Stokey »

Correction to subject heading I meant NTFS not NFTS
Elvis Lives, three-dimensional

drj
Posts: 41
Joined: Sun 26 Jun 2005, 17:45

Re: Windows NFTS partition

#8 Post by drj »

It is there, under FAQs/Installation
Stokey wrote:Maybe a good idea to put the info given by drj in the Wiki page

Well done drj

Mr Doolie
Posts: 143
Joined: Tue 28 Jun 2005, 20:13

Hot Dog it works!

#9 Post by Mr Doolie »

drj, you are my new best friend!

drj
Posts: 41
Joined: Sun 26 Jun 2005, 17:45

Re: Hot Dog it works!

#10 Post by drj »

glad to be of assistance to you. :wink:
Mr Doolie wrote:drj, you are my new best friend!

raffy
Posts: 4798
Joined: Wed 25 May 2005, 12:20
Location: Manila

Hal.dll error

#11 Post by raffy »

This technique produces "missing or corrupt hal.dll" response during boot-time in Windows XP Home edition. What could be the problem :?:
Puppy user since Oct 2004. Want FreeOffice? [url=http://puppylinux.info/topic/freeoffice-2012-sfs]Get the sfs (English only)[/url].

drj
Posts: 41
Joined: Sun 26 Jun 2005, 17:45

Re: Hal.dll error

#12 Post by drj »

Google shew this:

If you get an error regarding a missing or corrupt hal.dll file, it might simply be the BOOT.INI file on the root of the C: drive that is misconfigured.

If possible, post your boot.ini here if you could not spot something obvious
raffy wrote:This technique produces "missing or corrupt hal.dll" response during boot-time in Windows XP Home edition. What could be the problem :?:

raffy
Posts: 4798
Joined: Wed 25 May 2005, 12:20
Location: Manila

EUREKA !

#13 Post by raffy »

Problems solved - please see

http://www.ph-islands.net/pupinstall/winxp.php

Thanks to drj and all!
Last edited by raffy on Thu 28 Jul 2005, 02:07, edited 2 times in total.
Puppy user since Oct 2004. Want FreeOffice? [url=http://puppylinux.info/topic/freeoffice-2012-sfs]Get the sfs (English only)[/url].

Mr Doolie
Posts: 143
Joined: Tue 28 Jun 2005, 20:13

Here's my boot.ini works fine

#14 Post by Mr Doolie »

[boot loader]
timeout=5
default=multi(0)disk(0)rdisk(0)partition(1)\WINNT
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINNT="Microsoft Windows 2000 Professional" /fastdetect
c:\bootgrub="Puppy Linux (Note to self: GoBack must not be active)"

menno

w98

#15 Post by menno »

I noticed that you method works also under windows98 .
Get out of grub_for_dos_0.4.1pr22.tar.gz (somewhere on the internet) the files grub.exe and fat_stage_5 . Then put them in \boot\grub .
Make in your config.sys (hopefull a menu driven one) a extra menu :

Code: Select all

[puppy]
install=c:\boot\grub\grub.exe
The menu.lst is the same for both . Greatings Menno

tempestuous
Posts: 5464
Joined: Fri 10 Jun 2005, 05:12
Location: Australia

#16 Post by tempestuous »

Thanks drj,
I had previously tried Grub4DOS/Grub4NTLDR unsuccessfully, but now I have it working with your menu.lst settings.

With one computer I have with a single NTFS partition, this works perfectly. Puppy accesses the pupfile and usr_cram.fs on the NTFS partition without a problem.

But as thoughtjourney mentioned, if your hard drive has any OTHER filesystem on separate partitions, Puppy will "insist" on looking for the pupfile and usr_cram.fs here, apparently ignoring the Grub specification for the location of the pupfile on the NTFS partition.
I think Puppy's rc.sysinit file needs refinement in this regard.

And I have just tried Grub4NTLDR to boot to USB flash drive. I will make a separate post for this.

choco

Puppy

#17 Post by choco »

I followed all the instructions from http://ph-islands.net/pupinstall/winxp.php but puppy can't find the usr_cram.fs file :oops: !! What to do?

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#18 Post by MU »

Puppy sometimes gets confused, if you have more than one Windows-Partition.
I altered image.gz to force Puppy to use C:


Try this:

http://www.murga.org/%7Epuppy/viewtopic.php?t=1834

Unfortunately the Article I refer to is lost for some days, as the corresponding Forum was cracked and destroyed. Restoring the backup will take some days.

It just will work on Drive C: , and with Windows XP (C: must be a NTFS -drive)

Short instruction:

Download this file and extract to C:\
http://prdownloads.sourceforge.net/povf ... r?download

then follow this readme.txt:


There are 3 ways to run this version of Puppy-Linux.

----------------------------------------------------------------------
_puppy_qemu_windows98.bat
----------------------------------------------------------------------
This will run the unaccellerated version of Qemu with Puppy.

----------------------------------------------------------------------
_puppy_qemu_windowsNt.bat
----------------------------------------------------------------------
This will run the accellerated version of Qemu with Puppy.
Before that:
copy
kqemu\kqemu.sys
to
c:\winnt\system32\drivers
or
c:\windows\system32\drivers

Then click on kqemu.reg to register it.
Run _puppy_qemu_windowsNt.bat to start puppylinux in accellerated quemu.

----------------------------------------------------------------------
puppyboot\install.bat (Windows NT/XP only)
----------------------------------------------------------------------
This will an entry to your c:\boot ini
It also will "setup" automatically the included bootmanager grub.
This is a file-based version, so your bootsector will NOT be touched!

Like this you can use it in addition to other bootmanagers like Linux-grub or lilo.

If you run "DEFRAG" on your c:\ -Drive, you might have to run "install.bat" again.

----------------------------------------------------------------------
Problems / tips
----------------------------------------------------------------------
You will find more configurable versions of puppy at http://www.goosee.com/puppy/

In Qemu, Puppy asks for a mouse. You MUST use PS/2, even if you have an USB-Mouse!

If you run Puppy with grub, it will not ask for a mouse.
If the mouse does not work, hit "CTRL-ALT-DEL" to exit the Desktop.

Then type:
rm /etc/mousedevice
xwin icewm

Then you will be asked from new what mouse you have.

The resolution is set to 800*600 for running Qemu in a window.
You can change this with the "Xvesa-Wizard" in the Puppy-Startmenue.

The network is set to DHCP to be able to use Ftp in Quemu to share files with windows.
When you use grub, the DHCP-detection fails, and you have to wait a minute.
Simply hit "CTRL-C" to interrupt the detection then.

raffy
Posts: 4798
Joined: Wed 25 May 2005, 12:20
Location: Manila

Confused as to Partition

#19 Post by raffy »

Ah, choco, an example of your problem is a Compaq installation of WinXP, that has a FAT for the first partition and NTFS for the WinXP partition. I still have to check the forum for this type of problem. Should you still have problems after Mark's (Mu's) advice, please feel free to post in the top section of the forum (Beginners or Regulars).

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#20 Post by MU »

I wrote an installer for XP, that includes this patch for Puppy 1.0.5:

http://www.murga.org/%7Epuppy/viewtopic.php?t=2525

So you don't need the older RAR-archive.

Mark

Post Reply