Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy home page: puppylinux.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Thu 29 Jul 2010, 13:08
All times are UTC - 4
 Forum index » Taking the Puppy out for a walk » Announcements
Puppy-Installer for Windows XP (03)
Moderators: Flash, Ian, JohnMurga
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 4 Posts_count   Goto page: 1, 2, 3, 4 Next
Author Message
MU


Joined: 24 Aug 2005
Posts: 13575
Location: Karlsruhe, Germany

PostPosted: Wed 28 Sep 2005, 23:42    Post_subject:  Puppy-Installer for Windows XP (03)  



----------------------------------------------------
New: Updated 03 - seems to work now fine
also with SP2.
Thanks to Allen, Doc and Hank for their Bug-reports!
----------------------------------------------------

This Installer will download and install Puppy for you.
The CD-Iso-image is extracted, and copied to C:\ (usr_cram.fs and pup001) and C:\puppylinux1.0.5 (vmlinuz, image.gz).

The Bootloader "Grub" is copied to C:\boot

Then grubinstall is run, and you get a new entry in your Windows-XP-Bootmenue.

This version of Grub does not alter your Partitions or bootsector!

Download this file: http://noforum.de/dotpups/puppy-installerXPsetup.exe
and run puppy-installerXPsetup.exe.
Then you have an Icon on your Desktop to start it.

This Setup has a size of 10 MB, as I included a modified "image.gz".
In some cases Puppy cannot find "usr_cram.fs", then install this patched version (very simple, just click the button).
The patch forces Puppy to load usr_cram.fs from C:

Here is what I changed:
/etc/rc.d/rc.sysinit

line 304
Code:
#m#ALLPARTITIONS="`probepart -k 2> /tmp/probefail.txt | grep "/dev/"`"
 ALLPARTITIONS="/dev/hda1|none|20731851|OS/2 HPFS or NTFS"


Greets, Mark

Edited_times_total
Back to top
View user's profile Send_private_message Visit_website 
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 11715

PostPosted: Thu 29 Sep 2005, 01:30    Post_subject:  

Very Happy Congratulations Mark - gonna install this on every XP computer - could be become a trend Smile

Tell us how you get on people - now what is your excuse for running anything but the Cute Puppy?

_________________
Puppy Lucid 5.1 Please test 506 Now in beta status Very Happy
Back to top
View user's profile Send_private_message Send_email Visit_website 
MU


Joined: 24 Aug 2005
Posts: 13575
Location: Karlsruhe, Germany

PostPosted: Thu 29 Sep 2005, 01:46    Post_subject:  

Games and work.

I have a small minijob, where I develop wxBasic-applications for a sports-club/foundation.

They use XP in the bureau, so I must test the programs with it.

On Mandrake I used Win4Linux (Win98), but this requires a Kernel-Patch, so I don't use that in Puppy yet.

And games... yes, there are several not available for Linux.
You remember the time, when the Amiga was called "Game-Computer"? Some years later he was dead...
Well, XP ist my "Game-Computer" Wink

I had to reboot several times to test the installer - it is so anoying slow to boot XP!
Puppy is so extremely fast - the pure joy! Smile

Greets, Mark
Back to top
View user's profile Send_private_message Visit_website 
docmann


Joined: 25 Sep 2005
Posts: 9
Location: Oklahoma, USA

PostPosted: Thu 29 Sep 2005, 07:04    Post_subject:  

Hello Mark,
You must have been reading my mind...

I've been running the live CD version of Puppy for a week or so now and absolutely love it! Hat's off to Barry and all the other folks that have been involved with the development!

Anyway, since my laptop won't boot from a USB drive I was planning doing the XP install this weekend, so thanks for this. Very Happy

Questions:
Since I'm already dual booting into another distro using grub, I'm wondering if I might expect any type of problems or conflicts using Wingrub? Based on your comments about wingrb not modifying the bootsector, I would think not, but figured I'd better ask anyway.

Also, does Puppy still load into RAM, when booting from the HD?

I'd sure hate to give up that blazing speed. Wink

-Doc-
Back to top
View user's profile Send_private_message 
Allan

Joined: 10 May 2005
Posts: 15
Location: Sweden

PostPosted: Thu 29 Sep 2005, 07:56    Post_subject:  

Thanks!
Very easy to use, but unfortunately I ran into some kind of problem when I tried it on my old laptop (Dell latitude cpi p2/366-256ram)
After choosing puppy 1.0.5 from bootlist I only get to grub prompt instead of booting.
Back to top
View user's profile Send_private_message Send_email 
docmann


Joined: 25 Sep 2005
Posts: 9
Location: Oklahoma, USA

PostPosted: Thu 29 Sep 2005, 08:44    Post_subject:  

Quote:
After choosing puppy 1.0.5 from bootlist I only get to grub prompt instead of booting.


I went ahead and did the installation this morning and got the same results...

...will try a slightly different approach when I get back from work this evening.

-Doc-
Back to top
View user's profile Send_private_message 
royscott
Guest


PostPosted: Thu 29 Sep 2005, 09:14    Post_subject: Problems  

WGET would not work for me. I was able to download the ISO file from the site and place it in the proper location. The installer then ran OK. The system will not boot using the dual boot loader though as it does not like the version of hal.dll that I have with XP SP2. I do not want to change any Windows files so I would like information on how to safely remove both the Puppy and the installer.
Back to top
MU


Joined: 24 Aug 2005
Posts: 13575
Location: Karlsruhe, Germany

PostPosted: Thu 29 Sep 2005, 09:25    Post_subject:  

Doc, Allan:

So please try the following steps manually.

First check, if all files are there:
c:\usr_cram.fs
c:\pup001
c:\puppylinux\1.0.5\vmlinuz
c:\puppylinux\1.0.5\image.gz
c:\puppylinux\1.0.5\grub\menu.lst
c:\puppylinux\1.0.5\grub\Stage1
c:\puppylinux\1.0.5\grub\Stage2

If yes,first part of installation was ok.


Now try to run Grub manually in a DOS-Window:

c:\program files\Xp-Puppylinux-Installer\resource\puppyboot\resource\grubinstall -d C: -1 c:\puppylinux1.0.5\grub\stage1 -2 c:\puppylinux1.0.5\grub\stage2 -m c:\puppylinux1.0.5\grub\menu.lst

If it works then, I must make a modification to the installer.

---
Maybe also copy the installer from c:\program files\ to c:\
Maybe there is a problem with spaces in the Pathname, Though I tested that.

---
Doc, yes, you can use it aside another Grubinstall (not Wingrub, but the "real" Grub).
I have the Linux-Grub started in the Bootsector of hda, it allows me to choose Windows and Mandrakelinux and another Puppy.
---
Maybe the error has to do with Service Pack 2.
I will try to install it tonight.


Mark

Edited_times_total
Back to top
View user's profile Send_private_message Visit_website 
MU


Joined: 24 Aug 2005
Posts: 13575
Location: Karlsruhe, Germany

PostPosted: Thu 29 Sep 2005, 09:32    Post_subject:  

Royscott,

delete

c:\usr_cram.fs
c:\pup001
c:\puppylinux1.0.5\

Then type in a dosbox:
ATTRIB -R -H -S C:\boot.ini

Now open C:\boot.ini in the Windows-Notepad and remove the line with Puppy.
Save and in a Dosbox:
ATTRIB +R +H +S C:\boot.ini

Then uninstall the Puppy-Installer in the WindowsControlPanel -> Software.

Mark
Back to top
View user's profile Send_private_message Visit_website 
Allan

Joined: 10 May 2005
Posts: 15
Location: Sweden

PostPosted: Thu 29 Sep 2005, 10:46    Post_subject:  

Quote:
First check, if all files are there:
c:\usr_cram.fs
c:\pup001
c:\puppylinux\1.0.5\vmlinuz
c:\puppylinux\1.0.5\image.gz
c:\puppylinux\1.0.5\grub\menu.lst
c:\puppylinux\1.0.5\grub\Stage1
c:\puppylinux\1.0.5\grub\Stage2

If yes,first part of installation was ok.

ok


Quote:
Now try to run Grub manually in a DOS-Window:

c:\program files\Xp-Puppylinux-Installer\resource\puppyboot\resource\grubinstall -d C: -1 c:\puppylinux1.0.5\grub\stage1 -2 c:\puppylinux1.0.5\grub\stage2 -m c:\puppylinux1.0.5\grub\menu.lst

If it works then, I must make a modification to the installer


gives output

Ntfs mount succeded
stage1 (4980271)
version=3.2
boot_drive 0xff
force_lba=0
stage2_address=0x8000
stage2_sector=4980271
stage2_segment=0x800
stage2(4980271+214)
213 sectors to load from sector 4980272 at 0x820
menu '(hd0,0)/puppylinux1.0.5/grub/menu.lst'
stage2 configured on (hd0,0)

after reboot, still stopping at grub prompt Sad
Back to top
View user's profile Send_private_message Send_email 
Guest
Guest


PostPosted: Thu 29 Sep 2005, 11:00    Post_subject:  

MU wrote:
Royscott,

delete

c:\usr_cram.fs
c:\pup001
c:\puppylinux1.0.5\

Then type in a dosbox:
ATTRIB -R -H -S C:\boot.ini

Now open C:\boot.ini in the Windows-Notepad and remove the line with Puppy.
Save and in a Dosbox:
ATTRIB +R +H +S C:\boot.ini

Then uninstall the Puppy-Installer in the WindowsControlPanel -> Software.

Mark


Thank you Mark:
This was my first experience with dual booting on Win XP. I was unsure as to how to proceed.

I have no idea why the dual boot to Puppy did not like my hal.dll. Is this a problem with SP2? Since the dual boot said the hal.dll file was missing or currupted I checked and it is there and in the proper location. So the only guess I have is that it is an incompatible version.

If anyone has information on this problem or how to work around it I would appreciate it. I would like to be able to run Puppy on my XP Pro PC.
Back to top
MU


Joined: 24 Aug 2005
Posts: 13575
Location: Karlsruhe, Germany

PostPosted: Thu 29 Sep 2005, 14:27    Post_subject:  

Rolling Eyes I must admit I have no idea currently.

The message seems to be ok.

I will have to google to find some hints, this may take some days.
Doc, Allen, do you also have the service pack 2 installed?

I don't, but will do it today or tomorrow.

Greets, Mark

Edited_time_total
Back to top
View user's profile Send_private_message Visit_website 
Allan

Joined: 10 May 2005
Posts: 15
Location: Sweden

PostPosted: Thu 29 Sep 2005, 14:41    Post_subject:  

Quote:
...Allan, do you also have the service pack 2 installed?

yes and thanks for your efforts.
Back to top
View user's profile Send_private_message Send_email 
MU


Joined: 24 Aug 2005
Posts: 13575
Location: Karlsruhe, Germany

PostPosted: Thu 29 Sep 2005, 14:47    Post_subject:  

Ok, so it might be a bug with SP2.
I know from a Software called Netobjects Fusion (Windows HTML-Designer), that has several problems after SP2 was installed.

This will require some testing and recherche.

Thanks for the answers pointig me in this direction.
Mark
Back to top
View user's profile Send_private_message Visit_website 
docmann


Joined: 25 Sep 2005
Posts: 9
Location: Oklahoma, USA

PostPosted: Thu 29 Sep 2005, 18:55    Post_subject:  

Hello Mark,
Sorry for the delay in getting back to you... a 4 letter word (work) got in the way of playing with puppy.

Yes, I am also running SP2. I don't know if this is meaningful to solving the problem or not, but compare the following..

The command line options you specified in your post above generates:
Code:
grubinstall -d C: -1
[b]grubinstall: option requires an argument -- 1
unknown option '?'[/b]
   grubinstall [-d device] [-1 stage1] [-2 stage2] [-m menu] [-l] [-a] [-B]
   grubinstall [-s] [-1 stage1] [-2 stage2] [-m menu] [-l] [-a]
   grubinstall [-b] [-1 stage1] [-2 stage2]
   grubinstall [-i file] [-1 stage1] [-2 stage2]
       -d C:                  : partition where the files are
       -d (hd0,0)             : partition where the files are
       -1 C:\boot\stage1      : boot sector
       -2 C:\boot\stage2      : secondary boot loader
       -m /boot/menu.lst      : grub boot menu
       -l                     : force LBA mode
       -b                     : make boot floppy
       -B                     : store boot disk
       -i boot.img            : make boot disk image
       -s                     : scan partitions
       -a                     : alternate grub partition name for menu


While adding an extra " - " (as suggested by Wingrub) produces this result:

Code:
grubinstall -d C: --1
NTFS mount succeeded
NTFS dir failed for /boot/stage2
FAT mount failed
The file C:\boot\stage2 could not be found on volume C:


To make sure there were not any possible conflicts, I did a fresh boot directly into windows prior to running each command and as you can see, the second version produces what *might* be a significant error message. Confused

Thanks for the help!

-Doc-
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 1 of 4 Posts_count   Goto page: 1, 2, 3, 4 Next
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Taking the Puppy out for a walk » Announcements
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
hot copy
[ Time: 0.3055s ][ Queries: 8 (0.0141s) ][ Debug on ]