LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-24-2017, 02:06 PM   #1
revbish
Member
 
Registered: Jun 2008
Location: Bethlehem, Georgia, US
Distribution: Tahrpup-64 6.0.5, AntiX, MX-Linux,ROSA
Posts: 41

Rep: Reputation: 15
Grub Menu listing for GoboLinux?


I just installed GoboLinux on a separate partition on my laptop's hard drive to play with it awhile, however I didn't install a separate bootloader for it since I already have Grub on the first partition. I just need a boot menu entry on menu.lst in order to boot Gobo. I tried running the Grub4Dos app in my usual Tahrpup64 OS but it failed to even recognize that Gobo was there on a different partition, something I've never had happen before with any other OSes I was experimenting with. Does anyone have any ideas as to how to edit the Grub menu in order to boot Gobo? Thanks.
 
Old 02-25-2017, 01:53 AM   #2
hazel
Senior Member
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware, OpenBSD
Posts: 4,338
Blog Entries: 11

Rep: Reputation: 2456Reputation: 2456Reputation: 2456Reputation: 2456Reputation: 2456Reputation: 2456Reputation: 2456Reputation: 2456Reputation: 2456Reputation: 2456Reputation: 2456
You need to edit one of the grub scripts in /etc/grub.d. There are a couple of scripts with "custom" names and you can use one of these. Make an entry something like:

insmod ext2
menuentry "Gobolinux" {
linux /boot/vmlinuz-x.y.z root=/dev/sda2 ro
}

Then run update-grub.

Last edited by hazel; 02-25-2017 at 01:54 AM.
 
Old 02-25-2017, 06:21 AM   #3
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 9,059

Rep: Reputation: 1937Reputation: 1937Reputation: 1937Reputation: 1937Reputation: 1937Reputation: 1937Reputation: 1937Reputation: 1937Reputation: 1937Reputation: 1937Reputation: 1937
You might take a look at the link below at the Grub4Dos site. It has a number of example entries for your menu.lst file. Unfortunately, they are all 'chainload' entries which will not work if you did not install a bootloader on the specified partition.

http://diddy.boot-land.net/grub4dos/files/menu.htm

Or the puppy site dealing with Grub4Dos.

http://puppylinux.org/wikka/grub4dos
 
Old 02-25-2017, 07:57 AM   #4
hazel
Senior Member
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware, OpenBSD
Posts: 4,338
Blog Entries: 11

Rep: Reputation: 2456Reputation: 2456Reputation: 2456Reputation: 2456Reputation: 2456Reputation: 2456Reputation: 2456Reputation: 2456Reputation: 2456Reputation: 2456Reputation: 2456
Sorry, I thought this was GRUB2. If you have a menu.lst file, it's GRUB-legacy.
 
Old 02-25-2017, 08:56 PM   #5
colorpurple21859
Senior Member
 
Registered: Jan 2008
Location: florida panhandle
Distribution: slackware64-current, fedora,Xubuntu, others
Posts: 4,328

Rep: Reputation: 775Reputation: 775Reputation: 775Reputation: 775Reputation: 775Reputation: 775Reputation: 775
Gobolinux doesn't put files in the traditional linux locations, It will be something like this

kernel /System/Kernel/Boot/kernel-4.8.2-Gobo root=/dev/sda? ro

/boot is only a link and maybe causing the problem

Last edited by colorpurple21859; 02-25-2017 at 09:01 PM.
 
Old 02-26-2017, 01:08 AM   #6
hazel
Senior Member
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware, OpenBSD
Posts: 4,338
Blog Entries: 11

Rep: Reputation: 2456Reputation: 2456Reputation: 2456Reputation: 2456Reputation: 2456Reputation: 2456Reputation: 2456Reputation: 2456Reputation: 2456Reputation: 2456Reputation: 2456
In any case, if it's GRUB-legacy, you must edit menu.lst by hand, adding a stanza for your new system.
 
Old 02-26-2017, 07:04 AM   #7
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 9,059

Rep: Reputation: 1937Reputation: 1937Reputation: 1937Reputation: 1937Reputation: 1937Reputation: 1937Reputation: 1937Reputation: 1937Reputation: 1937Reputation: 1937Reputation: 1937
The OP indicates in his initial post that s/he is using Grub4Dos on his Puppy install. I've never used it myself and apparently it has something similar to the Ubuntu 'update-grub' which s/he refers to in the initial post. Not familiar with that app but with the Grub2 updater it is looking for boot files and I expect the non-standard layout of GoboLinux could be the problem. Not having installed Grub with GoboLinux would prevent the use of a chainloader entry so it looks like s/he will need to create a manual entry if not already done.
 
Old 02-26-2017, 10:45 AM   #8
revbish
Member
 
Registered: Jun 2008
Location: Bethlehem, Georgia, US
Distribution: Tahrpup-64 6.0.5, AntiX, MX-Linux,ROSA
Posts: 41

Original Poster
Rep: Reputation: 15
Thanks, everyone, for these suggestions. I'll try again, armed with this info and see if I can get it to boot.
Many thanks!
Sincerely,
revbish
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
[SOLVED] lost grub menu after windows installation & forgot to backup menu.lst jesman1 Linux - Kernel 4 08-12-2010 11:57 PM
teamviewer working but no listing in menu telltom Puppy 1 07-30-2010 01:15 PM
Grub Menu doesn't reflect menu.lst file fatsheep Linux - Software 4 06-11-2007 01:29 PM
xcdroast - Menu listing - Slackware ve1drg Slackware 1 11-12-2006 10:58 AM
SuSE, screensavers, menu listing linuxgamer Linux - Distributions 5 11-21-2003 01:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration