Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 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 31 Jul 2014, 05:30
All times are UTC - 4
 Forum index » House Training » Beginners Help ( Start Here)
Puppy won't boot: 'pup_421.sfs not found'
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 2 [20 Posts]   Goto page: 1, 2 Next
Author Message
chade76

Joined: 13 Jun 2009
Posts: 11

PostPosted: Sat 13 Jun 2009, 19:04    Post subject:  Puppy won't boot: 'pup_421.sfs not found'  

forewarned .I dont have a floppy drive or cd drive to boot from.

I am booting from a flash drive on my other pc to the ide drive from my 366MHz Pentium II Vaio PCG-Z505R which is also connected via usb to ide converter. and putting back to my laptop as needed.

I have seen this post
and this one which is the creators of puppy laptop.

So what do I need to do? what am I missing? should I use a older version of puppy? Help please.
I also have grub loaded and ext2 on first partion , ext3 on second, and a 2 gig swap .
Back to top
View user's profile Send private message 
mikeb


Joined: 23 Nov 2006
Posts: 8039

PostPosted: Sun 14 Jun 2009, 12:28    Post subject:  

Try the retro version. The newer kernel may not be detecting your hard drive properly

mike
Back to top
View user's profile Send private message 
chade76

Joined: 13 Jun 2009
Posts: 11

PostPosted: Sun 14 Jun 2009, 12:58    Post subject:  

yep tried it same thing.

Im wondering if since I am running the reg verion on my flash. if when I do install to HD and it ask for the iso to use and I tell it the retro if its still using the reg version.
Back to top
View user's profile Send private message 
rjbrewer


Joined: 22 Jan 2008
Posts: 4422
Location: merriam, kansas

PostPosted: Sun 14 Jun 2009, 13:19    Post subject:  

A 2gb swap partition is extremely large and has caused problems
on other old laptops.

_________________

Inspiron 700m, Pent.M 1.6Ghz, 1Gb ram.
Msi Wind U100, N270 1.6>2.0Ghz, 1.5Gb ram.
Eeepc 8g 701, 900Mhz, 1Gb ram.
Full installs

Back to top
View user's profile Send private message 
mikeb


Joined: 23 Nov 2006
Posts: 8039

PostPosted: Sun 14 Jun 2009, 14:24    Post subject:  

good question but as a frugal it 'should' use the right files.
Anther thing to check would be the created menu.lst in /boot that's created...could post it here to check its not trying to boot the flash stick etc.
One machine needed pmedia=scsihd in the kernel boot line for frugal to work...flash stick and full install were fine.

vmlinuz should be around 1.7MB for the retro kernel.

mike
Back to top
View user's profile Send private message 
Bruce B


Joined: 18 May 2005
Posts: 11080
Location: The Peoples Republic of California

PostPosted: Sun 14 Jun 2009, 17:44    Post subject:  

Seek and do not find

vmlinux -
Puppy doesn't search for this file. It relies on
directives for the location.

initrd.gz - Puppy doesn't search for this file. It relies on
directives for the location.

pup_421.sfs - Puppy searches for this file. In a rough
sense the sequence is;

1) discover all the storage media on your computer

2) mount media, as needed, search it two levels deep,
unmount the media. Deferring to finds on fast media.

================

I modified init script to only search the media where the
pup_xxx.sfs actually is on my computer, by making use of
the PDEV1= variable

(that worked great, so;)

I then modified it again to eliminate all searching by utilizing
the both PDEV1= and the PSUBDIR=

Thus the location of pup_xxx.sfs is as explicit as the
location of vmlinux and initrd.gz

The programming logic in this scenerio is; if you know
where something is, no need to search.


~

_________________
New! Puppy Linux Links Page
Back to top
View user's profile Send private message 
chade76

Joined: 13 Jun 2009
Posts: 11

PostPosted: Sun 14 Jun 2009, 18:29    Post subject:  

ok so how did you modify it?
Back to top
View user's profile Send private message 
Bruce B


Joined: 18 May 2005
Posts: 11080
Location: The Peoples Republic of California

PostPosted: Sun 14 Jun 2009, 19:18    Post subject:  

chade76,

The file is init inside initrd.gz

The CD Disc is read only.

The ISO can be taken apart and put back together.

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

I manually install Puppy on the hard disk. This leaves
initrd.gz on writeable media where it can be opened and
modified.

This modified line filters out all media except the one
defined on the kernel line as PDEV1=

PCPARTSALL="`probepart_init -k | grep $PDEV1`"

Was probably like this:


PCPARTSALL="`probepart_init -k`"


By using PDEV1= as a filter, Puppy only knows of the
existence of one partition out of many. Thus any mounting
and searching will be limited to that one partition.

Now lots of line wrapping to follow, in Puppy everything in
dark red is one line, keep that in mind, here is Puppy's
search for the file it doesn't find for you.

FND_PUPXXXSFS="`find /mnt/data -maxdepth 2 -mount
-type f -name pup_${PUPPYVERSION}*.sfs | grep -v ' ' |
sed -e 's%^/mnt/data%%g' | tr '\n' ' '`"



Next in dark blue is the modification, Puppy is not allowed
to search and not find. I give it a directive where the
pup_xxx.sfs file actually is.

FND_PUPXXXSFS=/${PSUBDIR}/pup_400.sfs

================

Explained again for more clarity:

I use PDEV1 to limit any and all searching to one partition,
that partition is defined on the kernel line at boot time,
meaning, with this modification, I can install Puppy most
anywhere I want by using the value appropriate to the
variable

I use the PSUBDIR= variable to explicitly instruct Puppy
the location of pup_400.sfs (I'm using 4.00)

The PSUBDIR= is a variable used by Puppy for other
purposes as is the PDEV= , but as you can see, these
variables can be used to (1) make a broad search narrow
and (2) eliminate a search altogether, with a specific
directive.

Bruce

~

_________________
New! Puppy Linux Links Page
Back to top
View user's profile Send private message 
chade76

Joined: 13 Jun 2009
Posts: 11

PostPosted: Wed 17 Jun 2009, 23:41    Post subject:  

yep bruce was right and im back.

at the booting kernal part I am now getting
"kernel panic - not syncing: No init found. try passing init= option to kerna l I get it right after the kernal boot so it doesnt even give searching for drives

any ideas?
Back to top
View user's profile Send private message 
chade76

Joined: 13 Jun 2009
Posts: 11

PostPosted: Thu 18 Jun 2009, 00:22    Post subject:  

root (hd0,0)
filesystemtype ext2fs, partion type 0x83
kernal/boot/vmlinuz root=/dev/sda1 PMEDIA=idehd
[linux-bzImage, setup=0x2a00, size=0x18a82c]


unlzmang linux... done
booting kernel.
kernel panic - not syncing: no init fouind. try passing init= option to kernel.
Back to top
View user's profile Send private message 
8-bit


Joined: 03 Apr 2007
Posts: 3357
Location: Oregon

PostPosted: Thu 18 Jun 2009, 01:46    Post subject:  

Clairification needed:
Is this hard drive you want to use with your laptop one that you took out of the laptop and connected to a usb converter to install Puppy on it on another computer?
Or is this a usb hard drive that you are wanting to use as a usb connected hard drive on your laptop?
If your intention is to remove the hard drive from the usb converter to install back into your laptop, and you tried to do a frugal install to it,
you should have the files vmlinuz, initrd.gz and puppyxxx.sfs on it as well as grub installed complete with menu.lst.
Your menu.lst file should look like:
title Linux
root (hd0,0)
kernel vmlinuz root=/dev/ram0 pmedia=idehd
initrd initrd.gz

This is assuming you do not have the files in a subdirectory.
My example menu.lst should work for that if you come up with a menu when you boot.
If you do not, grub is not installed correctly.
If you did a full install (not frugal), the menu.lst would look different and
syslinux would also be a file on the drive.
Back to top
View user's profile Send private message 
mikeb


Joined: 23 Nov 2006
Posts: 8039

PostPosted: Thu 18 Jun 2009, 09:11    Post subject:  

Seems like initrd.gz is not being found..check references to it.

mike
Back to top
View user's profile Send private message 
chade76

Joined: 13 Jun 2009
Posts: 11

PostPosted: Thu 18 Jun 2009, 21:05    Post subject:  

hard drive I want to use with laptop that i took out of the laptop and connected to a usb converter to install Puppy on it on another computer..when doing install does not give me option for frugal or full. I would like to do a full install since I only have 64mb of ram.
Back to top
View user's profile Send private message 
chade76

Joined: 13 Jun 2009
Posts: 11

PostPosted: Thu 18 Jun 2009, 21:06    Post subject:  

mikeb wrote:
Seems like initrd.gz is not being found..check references to it.

mike

how do i check ref to it?
Back to top
View user's profile Send private message 
mikeb


Joined: 23 Nov 2006
Posts: 8039

PostPosted: Thu 18 Jun 2009, 22:18    Post subject:  

In the menu.lst there will be a line for initrd.gz.
You could post the contents of the file here.

Quote:
install does not give me option for frugal or full.

this usually means there is no ext or ext3 partition to install to .
If only fat or ntfs then frugal is the only option.
Gparted can be used to make such partitions.

mike
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 2 [20 Posts]   Goto page: 1, 2 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Beginners Help ( Start Here)
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0741s ][ Queries: 12 (0.0041s) ][ GZIP on ]