LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux Mint
User Name
Password
Linux Mint This forum is for the discussion of Linux Mint.

Notices


Reply
  Search this Thread
Old 06-02-2010, 02:53 AM   #1
ldmn
LQ Newbie
 
Registered: May 2010
Posts: 12

Rep: Reputation: Disabled
Adding Puppy frugal install to GRUB


Greetings.

Would add a Puppy frugal install to Mint's GRUB.

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 if you can help.
 
Old 06-02-2010, 07:20 AM   #2
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
Hello ldmn

here is grub2 grub.conf for puppy frugal

Code:
menuentry "Puppy Linux 501 frugal in sda5 dir puppy501" {
	set root=(hd0,4)
	search --no-floppy --fs-uuid --set (put output of "blkid" as root here)
        kernel /puppy501/vmlinuz pmedia=atahd psubdir=puppy501 nosmp
        initrd /puppy501/initrd.gz
}
to really do it though check it /etc/default/grub
 
1 members found this post helpful.
Old 06-03-2010, 01:58 AM   #3
ldmn
LQ Newbie
 
Registered: May 2010
Posts: 12

Original Poster
Rep: Reputation: Disabled
Greets Linus.

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
}

Last edited by ldmn; 06-03-2010 at 01:59 AM.
 
Old 08-16-2010, 05:09 AM   #4
kindofabuzz
Member
 
Registered: Mar 2010
Location: There
Distribution: Linux Mint 17.1
Posts: 237

Rep: Reputation: 46
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.
 
Old 01-22-2012, 01:49 PM   #5
Seneka77
LQ Newbie
 
Registered: Jan 2012
Location: Sanlúcar de Barrameda, Cádiz
Distribution: Puppy, Devuan, Guadalinex, TinyLinux, antiX, Wifiway, Zorin
Posts: 7

Rep: Reputation: Disabled
Thanks

It helps me a lot =)
Greetings from anlúcar, SW of Spain
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
linpus linux dual boot puppy frugal install ovidiuignat Linux - Newbie 2 12-27-2009 09:54 AM
problem with adding a custom kernel in DSL frugal install on Flash monikarjain Linux - Kernel 0 12-18-2009 01:13 AM
Puppy 430 -frugal install. difficulty -'pup-430.sfs (not found) message' Benny7440 Puppy 10 10-27-2009 06:52 PM
adding Puppy to grub?? stratotak Debian 1 12-23-2008 10:06 PM
Adding extra parameters to Grub, Puppy Linux How? silencer07 Linux - General 4 11-26-2008 01:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux Mint

All times are GMT -5. The time now is 12:51 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration