LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 01-02-2010, 02:31 PM   #1
toomuchespresso
LQ Newbie
 
Registered: Jan 2010
Location: Villa Park, IL
Distribution: Ubuntu 9.10
Posts: 4

Rep: Reputation: 0
Altering GRUB2


I have recently upgraded to GRUB2 and have noticed that the "howmany" feature is no longer available. I have read through drask's post http://www.linuxquestions.org/blog/d...r-grub-2-2466/ and tried to duplicate. I am getting an error when I run update-grub of:
/usr/sbin/grub-mkconfig: 228: GRUB_HOWMANY: not found.

Any ideas on how to fix this error?
 
Old 01-02-2010, 05:55 PM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,283

Rep: Reputation: 1028Reputation: 1028Reputation: 1028Reputation: 1028Reputation: 1028Reputation: 1028Reputation: 1028Reputation: 1028
Haven't tried it, but when you added the GRUB_HOWMANY, did you add the backslash to what had been the (previous) last line.
 
1 members found this post helpful.
Old 01-02-2010, 10:26 PM   #3
malekmustaq
Senior Member
 
Registered: Dec 2008
Location: /root
Distribution: Slackware & BSD
Posts: 1,215

Rep: Reputation: 231Reputation: 231Reputation: 231
toomuchespresso,

Take note that in your reading there could have something that tells the truth: Grub2 is not a sequel to Grub1 (Legacy), it is a complete rewrite with completely different implementation. This means: you will need to learn new things under Grub2; while, the power you had under /boot/grub/menu.lst is no longer offered under Grub2.

My usual word to newbies: THERE IS NO NEED TO UPGRADE IF YOUR BOOTING IS GOOD under Legacy Grub (Grub1), unless you have enough time to Study closely Grub2 before you jump into it. However, newbies have more important things to give priority to, rather than modifying a software whose job is merely to pass Duty from Bios to Kernel --a job that is completed in only few seconds in any of your uptime.

The simplest solution is: deinstall Grub2 and reinstall Grub1. Then you can use your spare time learning more relevant topics in Linux, Bash, etc. that could be more productive for a new user.

Hope this helps.

Good luck.
 
Old 01-03-2010, 04:01 AM   #4
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Debian "Jessie"
Posts: 6,012

Rep: Reputation: 367Reputation: 367Reputation: 367Reputation: 367
Quote:
deinstall Grub2 and reinstall Grub1
But he's running ubuntu 9.10, which offers ext4 as a filesystem, which grub legacy cannot read.

The Ubuntu wiki page for grub2: https://wiki.ubuntu.com/Grub2
 
Old 01-03-2010, 10:07 AM   #5
toomuchespresso
LQ Newbie
 
Registered: Jan 2010
Location: Villa Park, IL
Distribution: Ubuntu 9.10
Posts: 4

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by syg00 View Post
Haven't tried it, but when you added the GRUB_HOWMANY, did you add the backslash to what had been the (previous) last line.
Thanks!!! That did it.
 
  


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
Altering multiple files at once ZimMonkey Programming 2 08-17-2009 02:05 AM
Altering Ethernet Speed Paris Heng Solaris / OpenSolaris 7 12-19-2008 12:17 AM
altering qdisc_restart shrishailnk Linux - Networking 0 04-13-2006 10:33 AM
altering cd command, can it be done? glingon Linux - Software 9 11-24-2004 08:47 PM
altering .iso's adam_boz Linux - General 9 11-05-2002 10:35 PM


All times are GMT -5. The time now is 03:48 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration