2.17 frugal install not booting from grub SOLVED

Booting, installing, newbie
Post Reply
Message
Author
BigEd
Posts: 11
Joined: Wed 21 Nov 2007, 14:44
Location: London, England

2.17 frugal install not booting from grub SOLVED

#1 Post by BigEd »

Hi, I hope some of you lovely, sexy, good looking, highly inteligent people maybe able to help me with my proplem :D
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

mcewanw
Posts: 3169
Joined: Thu 16 Aug 2007, 10:48
Contact:

Re: Puppy not booting fron grub

#2 Post by mcewanw »

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.

User avatar
Béèm
Posts: 11763
Joined: Wed 22 Nov 2006, 00:47
Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win

#3 Post by Béèm »

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/linnwi ... innwin.htm
Time savers:
Find packages in a snap and install using Puppy Package Manager (Menu).
[url=http://puppylinux.org/wikka/HomePage]Consult Wikka[/url]
Use peppyy's [url=http://wellminded.com/puppy/pupsearch.html]puppysearch[/url]

mcewanw
Posts: 3169
Joined: Thu 16 Aug 2007, 10:48
Contact:

Re: Puppy not booting fron grub

#4 Post by mcewanw »

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: Select all

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.

BigEd
Posts: 11
Joined: Wed 21 Nov 2007, 14:44
Location: London, England

#5 Post by BigEd »

thanks guys.
the z may well be a 2, i noted down that on a back of a envolope rather than copy and paste :)
Will have a play with it when i get home, unfortunatly the internet connection hasnt been put in yet (new house) :(
The lin'n'win looks good at a quick glance :D

BigEd
Posts: 11
Joined: Wed 21 Nov 2007, 14:44
Location: London, England

#6 Post by BigEd »

made a bit of headway last night :D still doesnt work though :(

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)

mcewanw
Posts: 3169
Joined: Thu 16 Aug 2007, 10:48
Contact:

you need to post exact details

#7 Post by mcewanw »

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.

BigEd
Posts: 11
Joined: Wed 21 Nov 2007, 14:44
Location: London, England

#8 Post by BigEd »

thanks, will pop home at lunch time and copy and paste it on to a memory stick :D

BigEd
Posts: 11
Joined: Wed 21 Nov 2007, 14:44
Location: London, England

#9 Post by BigEd »

# 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.

muggins
Posts: 6724
Joined: Fri 20 Jan 2006, 10:44
Location: hobart

#10 Post by muggins »

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

Should be:

Code: Select all

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..

BigEd
Posts: 11
Joined: Wed 21 Nov 2007, 14:44
Location: London, England

#11 Post by BigEd »

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

User avatar
Ian
Official Dog Handler
Posts: 1234
Joined: Wed 04 May 2005, 12:00
Location: Queensland

#12 Post by Ian »

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.

BigEd
Posts: 11
Joined: Wed 21 Nov 2007, 14:44
Location: London, England

#13 Post by BigEd »

Thats done it thanks :)

Post Reply