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 Fri 18 Apr 2014, 14:59
All times are UTC - 4
 Forum index » House Training » Beginners Help ( Start Here)
2.17 frugal install not booting from grub SOLVED
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [13 Posts]  
Author Message
BigEd

Joined: 21 Nov 2007
Posts: 11
Location: London, England

PostPosted: Wed 21 Nov 2007, 11:01    Post subject:  2.17 frugal install not booting from grub SOLVED
Subject description: Grub boots XP ok
 

Hi, I hope some of you lovely, sexy, good looking, highly inteligent people maybe able to help me with my proplem Very Happy
I have just installed puppy (frugal install) after playing around with it on the live cd for a few days.
My hard drive was full of rubbish, viruses etc so i completley formatted it and reinstalled windows xp.
I created a ntfs partition for windows (15gb), a 2 gig ex2 partition for puppy a swap parition (256mb) and a fat32 (rest of hard drive, about 5 gigs from memory)
installed puppy 2.17 using the universal installer to the ex2 partition. Installed the gurb (through the universal installer) with the mbr saved to the main boot partition.

Now when i start the computer the grub menu comes up, i can boot xp fine from this.
When i try to boot puppy i get the following:

root (hdo,1)
filesystem type is ex2fs, partition type0x83
kernal/boot/vmlinuz root=/dev/hdaz ro vga=normal
error 15 : file not found


any ideas? computer is a 1200mhz with 256mb of ram.

Ed
Back to top
View user's profile Send private message 
mcewanw

Joined: 16 Aug 2007
Posts: 2013
Location: New Zealand

PostPosted: Wed 21 Nov 2007, 11:50    Post subject: Re: Puppy not booting fron grub  

BigEd wrote:

root (hdo,1)
filesystem type is ex2fs, partition type0x83
kernal/boot/vmlinuz root=/dev/hdaz ro vga=normal
error 15 : file not found


Unfortunately, I haven't used anything but a frugal install for so long I can't remember the details for a full install. I presume, however, that what you typed above is not exactly what your menu.lst has in it. For example, kernel does not have an 'a' in it (not kernal), there should be a space between kernel and /boot/vmlinuz; and partition names end with a number, so root=/dev/hdaz isn't going to help your cause.

It may be that these are just typos though and that some magic parameters are also missing, in which case I'll leave it to someone more used to such configs than I to sort it out for you.
Back to top
View user's profile Send private message Visit poster's website 
Béèm


Joined: 21 Nov 2006
Posts: 11782
Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win

PostPosted: Wed 21 Nov 2007, 11:51    Post subject:  

I have tried to install Puppy through the installer GRUB etc.. but didn't succeed to boot correctly.
I remembered someone referenced the Lin'N'Win project describing a simple procedure to boot Windows and Linux.
I applied this and I hove no boot problems anymore/
See: http://www.icpug.org.uk/national/linnwin/step00-linnwin.htm

_________________
Time savers:
Find packages in a snap and install using Puppy Package Manager (Menu).
Consult Wikka
Use peppyy's puppysearch
Back to top
View user's profile Send private message 
mcewanw

Joined: 16 Aug 2007
Posts: 2013
Location: New Zealand

PostPosted: Wed 21 Nov 2007, 11:56    Post subject: Re: Puppy not booting fron grub  

BigEd wrote:

root (hdo,1)
filesystem type is ex2fs, partition type0x83
kernal/boot/vmlinuz root=/dev/hdaz ro vga=normal
error 15 : file not found


Unfortunately, I haven't used anything but a frugal install for so long I can't remember the details for a full install. I presume, however, that what you typed above is not exactly what your menu.lst has in it. For example, kernel does not have an 'a' in it (not kernal), there should be a space between kernel and /boot/vmlinuz; and partition names end with a number, so root=/dev/hdaz isn't going to help your cause.

It may be that these are just typos though and that some magic parameters are also missing, in which case I'll leave it to someone more used to such configs than I to sort it out for you.

Oh, just noticed you say you did a frugal install. Here's what I have in my menu.lst, though I use grub4dos so there may be differences I don't know about. You have to adjust things to match whatever partition you have Puppy installed to as well [e.g. (hd0,1) or (hd0,2) or whatever...]:

Code:

title Puppy2171
kernel (hd0,0)/puppy2171/vmlinuz root=/dev/ram0 PMEDIA=idehd psubdir=puppy2171
initrd (hd0,0)/puppy2171/initrd.gz
boot


Sorry I can't help further. I'm brain dead and need to sleep - a common state for me recently I'm afraid. OOPS, double post, see what I mean about brain dead just now; don't know how I managed that. Just thought I should add that I have my vmlinuz and initrd.gz and pup_save files in a subdir puppy2171 as indicated. You'd have to alter that bit to suit wherever you have things stored. i.e. in what directory do you have vmlinuz, initrd.gz and your pup_save file? If you have them in the top directory (i.e. '/') and not in a subdir you may not need to use the psubdir parameter at all.
Back to top
View user's profile Send private message Visit poster's website 
BigEd

Joined: 21 Nov 2007
Posts: 11
Location: London, England

PostPosted: Wed 21 Nov 2007, 12:51    Post subject:  

thanks guys.
the z may well be a 2, i noted down that on a back of a envolope rather than copy and paste Smile
Will have a play with it when i get home, unfortunatly the internet connection hasnt been put in yet (new house) Sad
The lin'n'win looks good at a quick glance Very Happy
Back to top
View user's profile Send private message 
BigEd

Joined: 21 Nov 2007
Posts: 11
Location: London, England

PostPosted: Thu 22 Nov 2007, 06:59    Post subject:  

made a bit of headway last night Very Happy still doesnt work though Sad

I removed the /boot in the kernel path and added
initrd /initrd.gz

All started to load up fine then came up with this:

kernel panic - not syncing : VFS: unable to mount root fs on unknown-block(3,2)

is this somthing to do with the swap partition? (hda3 is a swap partition- 260mb)

I cant see anything in the grub at all that says (3,2)
Back to top
View user's profile Send private message 
mcewanw

Joined: 16 Aug 2007
Posts: 2013
Location: New Zealand

PostPosted: Thu 22 Nov 2007, 07:17    Post subject: you need to post exact details  

You really need to post exactly what your menu.lst contents are. We can't guess what the mistake might be!

Also need to know exactly what partitions you have stored all the puppy files in etc.

Can't help at all otherwise sorry.
Back to top
View user's profile Send private message Visit poster's website 
BigEd

Joined: 21 Nov 2007
Posts: 11
Location: London, England

PostPosted: Thu 22 Nov 2007, 07:33    Post subject:  

thanks, will pop home at lunch time and copy and paste it on to a memory stick Very Happy
Back to top
View user's profile Send private message 
BigEd

Joined: 21 Nov 2007
Posts: 11
Location: London, England

PostPosted: Thu 22 Nov 2007, 09:14    Post subject:  

# GRUB configuration file '/boot/grub/menu.lst'.
# generated by 'grubconfig'. Wed Nov 21 16:23:21 2007
#
# The backup copy of the MBR for drive '/dev/hda1' is
# here '/boot/grub/mbr.hda.14876'. You can restore it like this.
# dd if=/boot/grub/mbr.hda.14876 of=/dev/hda1 bs=512 count=1
#
# Start GRUB global section
#timeout 30
color light-gray/blue black/light-gray
# End GRUB global section
# Other bootable partition config begins
title Windows (on /dev/hda1)
rootnoverify (hd0,0)
makeactive
chainloader +1
# Other bootable partition config ends
# Linux bootable partition config begins
title Linux (on /dev/hda2)
root (hd0,1)
kernel /vmlinuz root=/dev/hda2 ro vga=normal acpi=force
initrd /initrd.gz
# Linux bootable partition config ends
# Other bootable partition config begins
title Windows (on /dev/hda4)
map (hd0,0) (hd0,3)
map (hd0,3) (hd0,0)
rootnoverify (hd0,3)
makeactive
chainloader +1
# Other bootable partition config ends
# Other bootable partition config begins
title Windows (on /dev/hdb1)
map (hd0) (hd1)
map (hd1) (hd0)
rootnoverify (hd1,0)
makeactive
chainloader +1
# Other bootable partition config ends
title Install GRUB to floppy disk (on /dev/fd0)
pause Insert a formatted floppy disk and press enter.
root (hd0,1)
setup (fd0)
pause Press enter to continue.
title Install GRUB to Linux partition (on /dev/hda2)
root (hd0,1)
setup (hd0,1)
pause Press enter to continue.
title - For help press 'c', then type: 'help'
root (hd0)
title - For usage examples, type: 'cat /boot/grub/usage.txt'
root (hd0)


puppy files are in hda2, a ex2 partition with nothing else on.
Back to top
View user's profile Send private message 
muggins

Joined: 20 Jan 2006
Posts: 6666
Location: lisbon

PostPosted: Thu 22 Nov 2007, 18:54    Post subject:  

Quote:

title Linux (on /dev/hda2)
root (hd0,1)
kernel /vmlinuz root=/dev/hda2 ro vga=normal acpi=force
initrd /initrd.gz



Should be:

Code:

title Linux (on /dev/hda2)
root (hd0,1)
kernel /vmlinuz root=/dev/ram0  ro vga=normal acpi=force
initrd /initrd.gz


I'm not sure if you still need PMEDIA=idehd or not. Try it & see.
Also check that initrd.gz & vmlinuz are actually located under /, and not /boot..
Back to top
View user's profile Send private message 
BigEd

Joined: 21 Nov 2007
Posts: 11
Location: London, England

PostPosted: Fri 23 Nov 2007, 11:04    Post subject:  

thanks will give it a go when i get in.
files are definatley in '/'
The grub original had /boot and i was geting 'error 15' until i removed it.

Ta

Ed
Back to top
View user's profile Send private message 
Ian
Official Dog Handler


Joined: 04 May 2005
Posts: 1237
Location: Queensland

PostPosted: Fri 23 Nov 2007, 22:30    Post subject:  

This entry in my menu.lst file boots my frugal install on the second partition:

title Puppy Linux Frugal(on /dev/hda2)
root (hd0,1)
kernel /vmlinuz root=/dev/ram0 pmedia=idehd ro vga=normal
initrd /initrd.gz

The boot directory is in / of hda1.
Back to top
View user's profile Send private message 
BigEd

Joined: 21 Nov 2007
Posts: 11
Location: London, England

PostPosted: Mon 26 Nov 2007, 08:09    Post subject:  

Thats done it thanks Smile
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [13 Posts]  
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.0648s ][ Queries: 11 (0.0031s) ][ GZIP on ]