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:02
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
wakepup installing to hard drive
Moderators: Flash, Ian, JohnMurga
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 1 Posts_count  
Author Message
tentmaker_oz

Joined: 16 Oct 2006
Posts: 8
Location: Sydney

PostPosted: Tue 17 Oct 2006, 01:11    Post_subject:  wakepup installing to hard drive  

I am wondering if anyone has successfully installed wakepup on a fat32 harddrive to boot puppy files off the same hard drive.

I installed from Live CD to win98 fat32 hard drive, then copied and modified the files from the floppy to the C:\ root directory.

Config.sys errors on line 25
!SHELL=C:\COMMAND.COM C:\ /E:1024 /F /MSG /P=C:\AUTOEXEC.BAT

I can get past that, and everything appears to load, then it errors at init

VFS: Cannot open root devcie "<NULL>" or unknown-block (3,65)
please append a correct "root=" boot option
kernel panic...

Any help would be much appreciated

Thanks

Chris
Back to top
View user's profile Send_private_message YIM 
pakt


Joined: 04 Jun 2005
Posts: 1066
Location: Sweden

PostPosted: Tue 17 Oct 2006, 02:51    Post_subject:  

I think you might find it easier to use grub4dos or linld.com for this.

Have you seen this thread: http://www.murga.org/~puppy/viewtopic.php?t=5100 ?
Back to top
View user's profile Send_private_message 
tentmaker_oz

Joined: 16 Oct 2006
Posts: 8
Location: Sydney

PostPosted: Sun 22 Oct 2006, 12:52    Post_subject:  

I got it working,

I booted with puppylinux (seamonkey) and installed to the hard drive, and created a wakepup bootdisk.
I copied all the files of the wakepup bootdisk to the root of C: drive of a Windows 98 drive. I didn't over write command.com or the dos system files (renamed them first).

I edited the config.sys and autoexec.bat files, disablind everything config.sys
and in autoexec.bat I put this as the line for LINLD.COM

LINLD.COM image=c:\vmlinux initrd=c:\initrd.gz "cl=root=/dev/ram0 rw image=pup_210.sfs"

The only other thing I would like to add is the option to boot into windows.
I tried adding a 4th option in the choices list.

I know I could do this in grub, but using the choice program I should be able to run Windows by putting c:\windows\win.com

Any advice for that ?

Thanks

Chris
Back to top
View user's profile Send_private_message YIM 
rcrsn51


Joined: 05 Sep 2006
Posts: 3076
Location: Stratford, Ontario

PostPosted: Sun 22 Oct 2006, 22:04    Post_subject:  

Put these lines in your autoexec.bat file

choice /N /C:WP "Press W-Windows or P-Puppy Linux: "
if errorlevel 2 LINLD image=c:\vmlinux initrd=c:\initrd.gz "cl=root=/dev/ram0 rw image=pup_210.sfs"

If you press W, the autoexec will terminate normally and start Windows

Edited_time_total
Back to top
View user's profile Send_private_message 
tentmaker_oz

Joined: 16 Oct 2006
Posts: 8
Location: Sydney

PostPosted: Mon 23 Oct 2006, 18:29    Post_subject:  

too easy Very Happy

Thanks for that, I trashed the old autoexec.bat and created a new one.
It works like a dream.
Puppy is quite fast even on 128 meg of ram.
Kudos to the people who work hard to make it what it is.

Hopefully this topic will help people get dual booting happening on a Win 98 fat32 partition with LINLD having to do the following

1. Boot Puppy from CD and install the Puppy files on the hard drive.
2. Create the boot floppy, copy the linld.com and choice.exe files off the floppy to the root of the hard drive. (None of the other files seem to be needed) - Don't overwrite Win98 partition's command.com
3. Edit the autoexec.bat to read
choice /N /C:WP /t:p,15 "Press W-Windows or P-Puppy Linux: "
LINLD.COM image=c:\vmlinux initrd=c:\initrd.gz "cl=root=/dev/ram0 rw image=pup_210.sfs"

I hope this helps others

God Bless

Chris
Back to top
View user's profile Send_private_message YIM 
rcrsn51


Joined: 05 Sep 2006
Posts: 3076
Location: Stratford, Ontario

PostPosted: Mon 23 Oct 2006, 20:38    Post_subject:  

I had trouble using LINLD on a couple of machines. There was a video conflict with the initial Win98 bootup and the screen would scramble. So I went to GRUB.EXE from the Grub4DOS package and it always works. Just make a menu.lst file with these entries:

rootnoverify (hd0,0)
kernel /vmlinuz root=/dev/ram0 PMEDIA=idehd
initrd /initrd.gz
Back to top
View user's profile Send_private_message 
tentmaker_oz

Joined: 16 Oct 2006
Posts: 8
Location: Sydney

PostPosted: Tue 24 Oct 2006, 07:40    Post_subject:  

Great, it is good to have a couple of alternative ways to boot up, for different machines, I had problems with the Puppy Live CD even with boot floppy on a client's machine the other day.

can grub4dos run from a floppy ?

Chris
Back to top
View user's profile Send_private_message YIM 
rcrsn51


Joined: 05 Sep 2006
Posts: 3076
Location: Stratford, Ontario

PostPosted: Tue 24 Oct 2006, 09:10    Post_subject:  

Grub is pretty flexible. I expect that you can put grub.exe on a floppy and run it from autoexec.bat. You will need the menu.lst file I described above. It looks for the three Puppy files (vmlinuz, initrd.gz and pup_xxx.sfs) at the root of drive C:.
Back to top
View user's profile Send_private_message 
tentmaker_oz

Joined: 16 Oct 2006
Posts: 8
Location: Sydney

PostPosted: Wed 25 Oct 2006, 11:32    Post_subject:  

I actually had to change "PMEDIA=idehd" to read "image=pup_210.sfs" to get it to work on my Compaq Laptop with NTFS drive

I had the same problem with linld.com on the Win98 machine, if I put "PMEDIA=idehd" it would hang
Changing to ""image=pup_210.sfs" made it work

Regards

Chris
Back to top
View user's profile Send_private_message YIM 
neevok

Joined: 07 Jan 2007
Posts: 1

PostPosted: Sun 07 Jan 2007, 18:59    Post_subject:  WakePup from HDD
Sub_title: followup question
 

Quote:
Config.sys errors on line 25
!SHELL=C:\COMMAND.COM C:\ /E:1024 /F /MSG /P=C:\AUTOEXEC.BAT

I can get past that, and everything appears to load, then it errors at init


How did you get past this config.sys issue? I know that just leaving it out seems to be ok, but is there a better solution?
Deleting the FreeDos '!', leaves only the 'SHELL=' command which should run in MS-Dos

Could you post a copy of the working autoexec.bat and config.sys files? TIA!
Back to top
View user's profile Send_private_message Send_email 
rcrsn51


Joined: 05 Sep 2006
Posts: 3076
Location: Stratford, Ontario

PostPosted: Sun 07 Jan 2007, 22:23    Post_subject:  

Delete the SHELL line from your CONFIG.SYS. In fact, you should be able to launch Puppy with no CONFIG.SYS at all. For the AUTOEXEC.BAT, see my posting above dated Oct.22. The third line is a continuation of the command on the second line.
Back to top
View user's profile Send_private_message 
jim simon

Joined: 07 Dec 2007
Posts: 13

PostPosted: Wed 30 Jan 2008, 09:02    Post_subject:  

Sorry, I posted on wrong topic.
Back to top
View user's profile Send_private_message Send_email 
Bruce B


Joined: 18 May 2005
Posts: 7516
Location: Los Angeles

PostPosted: Thu 31 Jan 2008, 05:43    Post_subject:  

rcrsn51 wrote:
I had trouble using LINLD on a couple of machines. There was a video conflict with the initial Win98 bootup and the screen would scramble. So I went to GRUB.EXE from the Grub4DOS package and it always works. Just make a menu.lst file with these entries:

rootnoverify (hd0,0)
kernel /vmlinuz root=/dev/ram0 PMEDIA=idehd
initrd /initrd.gz


If it's the same screen scrambling I've seen, it can be eliminated by adding or changing the following line in c:\msdos.sys

[Options]
Logo=0
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » House Training » Users ( For the regulars )
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.2790s ][ Queries: 9 (0.0380s) ][ Debug on ]