LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   grub hard drive install problem (https://www.linuxquestions.org/questions/linux-newbie-8/grub-hard-drive-install-problem-661667/)

jombee 08-09-2008 05:29 PM

grub hard drive install problem
 
Installed puppy to hard drive, then ran grub. Says both installed. How do you add
title Puppy Linux 4.00 frugal
rootnoverify (hd0,5)
kernel /puppy400/vmlinuz pmedia=idehd psubdir=puppy400
initrd /puppy400/initrd.gz
At the end of the menu.lst?

amani 08-09-2008 05:38 PM

open the file as superuser and add it

#cd /boot/grub
#su
#kedit menu.lst

jombee 08-09-2008 05:53 PM

#cd/boot/grub
 
tried, it says theres no file or directory. I've mounted hda1 clicked boot then grub, menu.lst. opens in geany i think. tried to add at the end of file...

amani 08-09-2008 06:16 PM

Or is it grub.conf?
what do you get from
#ls /boot/grub ?

Also this form should be ok.

title Puppy Linux
root (hd0,5)
kernel /puppy400/vmlinuz pmedia=idehd psubdir=puppy400
initrd /puppy400/initrd.gz

syg00 08-09-2008 06:42 PM

Quote:

Originally Posted by jombee (Post 3242122)
tried, it says theres no file or directory.

Enter the command as it was given to you - there is a space after the "cd" (the command).

jombee 08-09-2008 07:52 PM

# superuser? typed #cd /boot/grub #Ls /boot/grub, still says no file or directory. At the top of menu.lst it says grub.config made

jombee 08-09-2008 07:57 PM

And Thanks for your help! I'm new to linux. Just made the switch from windows...

Larry Webb 08-09-2008 08:18 PM

If I remember puppy will not install boot from hd as default but here is step by step directions.

http://puppylinux.org/wiki/archives/...rddriveinstall

yancek 08-09-2008 08:22 PM

You've got Puppy as (hd0,5), what's on the other partitions and did you install the Puppy Grub or are you trying to put it in the menu.lst of another distro's menu.lst?

jombee 08-09-2008 08:36 PM

Thank You for the step-by-step Larry. I had a clean hard drive and no other partitions(But 9.77 GB of 40GB) On the menu.lst it says root (hd0,0), I used the example for the rootnoverify (hd0,5) from puppylinux.com. When adding it at the bottom of the menu.lst I used (hd0,0).


All times are GMT -5. The time now is 12:26 PM.