Linux MintThis forum is for the discussion of Linux Mint.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
1- I dont even find 'menu.lst', maybe 'grub.cfg' is what needs configuration?
2-I have the Puppy template for 'menu.lst', where should I insert it, and what commands should be used?
Code:
If you have GRUB installed, find the 'menu.lst' file (usually in /boot
in the partition in which GRUB is installed) and insert this:
title Puppy Linux 501 frugal in sda5 dir puppy501
rootnoverify (hd0,4)
kernel /puppy501/vmlinuz pmedia=atahd psubdir=puppy501 nosmp
initrd /puppy501/initrd.gz
If you have GRUB4DOS installed, find the 'menu.lst' file (usually in /
in the partition in which GRUB4DOS is installed) and insert this:
title Puppy Linux 501 frugal in sda5 dir puppy501
find --set-root --ignore-floppies /puppy501/initrd.gz
kernel /puppy501/vmlinuz pmedia=atahd psubdir=puppy501 nosmp
initrd /puppy501/initrd.gz
And the Mint 'grub.cfg':
Code:
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by /usr/sbin/grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#
### BEGIN /etc/grub.d/00_header ###
if [ -s /boot/grub/grubenv ]; then
have_grubenv=true
load_env
fi
set default="0"
if [ ${prev_saved_entry} ]; then
saved_entry=${prev_saved_entry}
save_env saved_entry
prev_saved_entry=
save_env prev_saved_entry
fi
insmod ext2
set root=(hd0,2)
search --no-floppy --fs-uuid --set 01102c2c-3912-4075-a6f3-fd50333fec92
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=640x480
insmod gfxterm
insmod vbe
if terminal_output gfxterm ; then true ; else
# For backward compatibility with versions of terminal.mod that don't
# understand terminal_output
terminal gfxterm
fi
fi
if [ ${recordfail} = 1 ]; then
set timeout=-1
else
set timeout=10
fi
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/white
### END /etc/grub.d/05_debian_theme ###
### BEGIN /etc/grub.d/06_mint_theme ###
insmod ext2
set root=(hd0,2)
search --no-floppy --fs-uuid --set 01102c2c-3912-4075-a6f3-fd50333fec92
insmod png
if background_image /boot/grub/linuxmint.png ; then
set color_normal=white/black
set color_highlight=white/light-gray
else
set menu_color_normal=white/black
set menu_color_highlight=white/light-gray
fi
### END /etc/grub.d/06_mint_theme ###
### BEGIN /etc/grub.d/10_linux ###
menuentry "Linux Mint 8 Helena - Fluxbox CE, linux 2.6.31-14-generic (/dev/sda2)" {
recordfail=1
if [ -n ${have_grubenv} ]; then save_env recordfail; fi
set quiet=1
insmod ext2
set root=(hd0,2)
search --no-floppy --fs-uuid --set 01102c2c-3912-4075-a6f3-fd50333fec92
linux /boot/vmlinuz-2.6.31-14-generic root=UUID=01102c2c-3912-4075-a6f3-fd50333fec92 ro quiet splash
initrd /boot/initrd.img-2.6.31-14-generic
}
menuentry "Linux Mint 8 Helena - Fluxbox CE, linux 2.6.31-14-generic (recovery mode)" {
recordfail=1
if [ -n ${have_grubenv} ]; then save_env recordfail; fi
insmod ext2
set root=(hd0,2)
search --no-floppy --fs-uuid --set 01102c2c-3912-4075-a6f3-fd50333fec92
linux /boot/vmlinuz-2.6.31-14-generic root=UUID=01102c2c-3912-4075-a6f3-fd50333fec92 ro single
initrd /boot/initrd.img-2.6.31-14-generic
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###
### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Microsoft Windows XP Professional (on /dev/sda1)" {
insmod ntfs
set root=(hd0,1)
search --no-floppy --fs-uuid --set f47418d474189b84
drivemap -s (hd0) ${root}
chainloader +1
}
menuentry "Slackware Linux (Zenwalk 6.2) (on /dev/sda3)" {
insmod ext2
set root=(hd0,3)
search --no-floppy --fs-uuid --set 0b68c857-702c-4e3f-919c-42dbd2999543
linux /boot/vmlinuz-2.6.30.5 root=/dev/sda3
}
menuentry "VectorLinux (on /dev/sda6)" {
insmod reiserfs
set root=(hd0,6)
search --no-floppy --fs-uuid --set 9ebef548-b516-4e0e-b186-2d25325a4d57
linux /boot/vmlinuz root=/dev/hda6 ro vga = 791 append = "splash=silent
initrd /boot/initrd
}
### END /etc/grub.d/30_os-prober ###
### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###
Thanx for gr8 enligthment, with a little modif it succeeded !
(in /boot/grub/grub.cfg)
Code:
menuentry "Puppy Linux 501 frugal in sda5 dir puppy501" {
set root=(hd0,4)
search --no-floppy --fs-uuid --set 4bfcad71-422e-4c52-a730-d26660ff326c
linux /puppy501/vmlinuz root = /dev/sda5
initrd /puppy501/initrd.gz
}
Or you could've just installed Puppy's grub on the /boot partition of the Puppy install, then run sudo update-grub to in Mint and it will find Puppy and add it automatically.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.