LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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, 03: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, 06:55 PM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,340

Rep: Reputation: 4177Reputation: 4177Reputation: 4177Reputation: 4177Reputation: 4177Reputation: 4177Reputation: 4177Reputation: 4177Reputation: 4177Reputation: 4177Reputation: 4177
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, 11:26 PM   #3
malekmustaq
Senior Member
 
Registered: Dec 2008
Location: root
Distribution: Slackware & BSD
Posts: 1,669

Rep: Reputation: 498Reputation: 498Reputation: 498Reputation: 498Reputation: 498
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, 05:01 AM   #4
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora40
Posts: 6,153

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
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, 11: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 03:05 AM
Altering Ethernet Speed Paris Heng Solaris / OpenSolaris 7 12-19-2008 01:17 AM
altering qdisc_restart shrishailnk Linux - Networking 0 04-13-2006 11:33 AM
altering cd command, can it be done? glingon Linux - Software 9 11-24-2004 09:47 PM
altering .iso's adam_boz Linux - General 9 11-05-2002 11:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:20 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