PDA

View Full Version : [other] how to add 2nd distro entry to existing GRUB in puppy4.2.1



cain071546
January 2nd, 2010, 10:00 AM
i have puppy 4.2.1 installed on my hdd and have frugal installed a older version inside the existing puppy and would like to add it to the existing GRUB menu
please help!

Moozillaaa
January 2nd, 2010, 10:14 AM
Not sure exactly what your situation is here...

Can you post up your menu.lst file?

And also post up the return for fdisk -l.

What version of GRUB do you have?

cain071546
January 2nd, 2010, 11:00 AM
grub menu reads


# GRUB configuration file '/boot/grub/menu.lst'.
# generated by 'grubconfig'. Sat Jan 2 00:38:35 2010
#
# Start GRUB global section
#timeout 30
color light-gray/blue black/light-gray
gfxmenu /boot/grub/deep_stage1
# 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
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)


i dont know how to tell what version of GRUB i have?
plz help


after frugal installing older puppy inside puppy4.2.1 it says to add this to the boot menu list but i cant figure out where in the list to put it?

title Puppy Linux 431 frugal
rootnoverify(hd0,0)
kernal/puppy431/vmlinuz pmedia=atahd psubdir=puppy431 nosmp
initrd/puppy431/initrd.gz


where do i put this on the menu list?????

prshah
January 2nd, 2010, 11:06 AM
i have puppy 4.2.1 installed on my hdd ... and would like to add it to the existing GRUB menu

At the end of the frugal install, puppy would have created a NEWGRUBTEXT file in your live session's /tmp. You can use that file to find your correct settings; if you have not saved it, then you can probably guess it pretty easily.

To add it to your grub menu, boot into your Ubuntu installation and edit the menu.lst file as superuser: Press Alt+F2, (Or open Applications-Accessories-Terminal) then give the command
gksudo gedit /boot/grub/menu.lst

Find a section similar to
### END DEBIAN AUTOMAGIC KERNELS LIST

# This is a divider, added to separate the menu items below from the Debian
# ones.
title Other operating systems:
root


and add below it
### END DEBIAN AUTOMAGIC KERNELS LIST

# This is a divider, added to separate the menu items below from the Debian
# ones.
title Other operating systems:
root
# This entry manually added for Puppy 4.2 OS
# on /dev/sda3
title Puppy Linux 420 frugal
rootnoverify (hd0,2)
kernel /puppy420/vmlinuz pmedia=atahd psubdir=puppy420 nosmp
initrd /puppy420/initrd.gz


Note that the part in blue will change depending on which partition you have installed Puppy to.

Save the file and quit. Run the command
sudo update-grub from a terminal. Then reboot, and you should find your Puppy installation listed in the GRUB menu.

Please post back with details if you need more help.

cain071546
January 2nd, 2010, 11:42 AM
ok so i added the NEWGRUBTEXT puppy saved in the temp file and still only the one puppy linux option at startup


this is grub menu after adding the text

# GRUB configuration file '/boot/grub/menu.lst'.
# generated by 'grubconfig'. Sat Jan 2 02:14:38 2010
#
# 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
#
title Puppy Linux 421 frugal
rootnoverify(hd0,1)
kernal/puppy421/vmlinuz pmedia=atahd psubdir=puppy421 nosmp
initrd/puppy421/initrd.gz
# 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)




this is GRUB MENU BEFORE ADDING TEXT

# GRUB configuration file '/boot/grub/menu.lst'.
# generated by 'grubconfig'. Sat Jan 2 02:14:38 2010
#
# 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
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)


all i want is to be able to pick wich puppy i boot to from GRUB menu i thought it would be easy i guess not lol
please help

cain071546
January 3rd, 2010, 12:15 AM
i still have not been able to do this can anyone help?

Moozillaaa
January 4th, 2010, 10:04 AM
The GRUB menus that you've posted look unfamiliar - almost like a Live CD GRUB. Can you boot up your main OS (Puppy?), then open a command line, and enter


fdisk -l. Also see if you can post up the Puppy GRUB menu. From a command line,


cat /boot/grub/menu.lstThe filepath for menu.lst might be different in Puppy, but the file contents we need to see.