LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Puppy Lucid 5.2.5 Full -clean- install grub loader fails. (http://www.linuxquestions.org/questions/linux-newbie-8/puppy-lucid-5-2-5-full-clean-install-grub-loader-fails-881309/)

WARemick 05-17-2011 09:30 PM

Puppy Lucid 5.2.5 Full -clean- install grub loader fails.
 
I have a problem trying to install a working grub to my new install. I think I am following the proper setup but as always I get an error 15 file not found. My layout is this... on a 40gig hard drive I have 5meg for grub as /dev/sda1 (set as boot).. next is 5meg for swap .. Last is the rest for my puppy linux install. I am aware that (hd0,0) is /dev/sda1 and (hd0,2) is /dev/sda3 but my editing of the menu.lst seems not to work. Please help out a noob, any help is GREATLY needed.
Thanks, BillR.

This is my menu.lst... and I did install grub to MBR and without .. still a no-go.
--------------------------------------------------------------------------------------
# GRUB configuration file '/boot/grub/menu.lst'.
# generated by 'grubconfig'. Tue May 17 04:25:05 2011
#
# The backup copy of the MBR for drive '/dev/sda' is
# here '/boot/grub/mbr.sda.7939'. You can restore it like this.
# dd if=/boot/grub/mbr.sda.7939 of=/dev/sda bs=512 count=1
#
# Start GRUB global section
#timeout 30
color light-gray/blue black/light-gray
# End GRUB global section
# Linux bootable partition config begins
title Linux (on /dev/sda1)
root (hd0,0)
kernel /boot/vmlinuz root=/dev/sda1 ro vga=normal
# Linux bootable partition config ends
# Linux bootable partition config begins
title Linux (on /dev/sda3)
root (hd0,2)
kernel /boot/vmlinuz root=/dev/sda3 ro vga=normal
# Linux bootable partition config ends
# Linux bootable partition config begins
title Linux (on /dev/sdb1)
root (hd1,0)
kernel /boot/vmlinuz root=/dev/sdb1 ro vga=normal
# Linux bootable partition config ends
title Install GRUB to floppy disk (on /dev/fd0)
pause Insert a formatted floppy disk and press enter.
root (hd0,0)
setup (fd0)
pause Press enter to continue.
title Install GRUB to Linux partition (on /dev/sda1)
root (hd0,0)
setup (hd0,0)
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)

Mr. Bill 05-17-2011 09:48 PM

You didn't really need a separate partition for grub, but it does need to go on the MBR of a boot partition. Also, it should've detected Puppy during grub installation. Did you try booting before editing menu.lst? It would help if you could post menu.lst so we can try find your problem.

Mr. Bill 05-25-2011 08:30 PM

In the future, please post requested info in a new post. We don't receive notifications for edits. :)

Grub is seeking a bootable kernel on all 3 partitions. You need to completely remove the entries for the grub and swap partitions from menu.lst. Puppy will find and mount the swap partition while booting.

Mr. Bill 05-25-2011 09:32 PM

Upon closer inspection, I noticed something you didn't mention:

Quote:

title Linux (on /dev/sdb1)
Do you have a second physical hdd installed? If so, what is on it?


All times are GMT -5. The time now is 01:40 PM.