Simple Grub2 changes :
conf.d style
file location
configuration recipes
partition notation like grub legacy
change script boot order by changing numbers
os prober (find installs on disks)
install even while booted into OS
Summary: GRUB 2 has three main parts:
1. /etc/default/grub - the file containing GRUB 2 menu settings.
2. /etc/grub.d/ - the directory containing GRUB 2 menu creating scripts.
3. /boot/grub/grub.cfg - the GRUB 2 configuration file, not editable.
update-grub command reads the /etc/grub.d directory and looks for
executable scripts inside it. The scripts are read, in the order of
their numbering, and written into the grub.cfg file, along with the
menu settings read from the /etc/default/grub file.
Boot entries come from several sources - the default that comes with
the distribution, other operating systems probed on the connected
disks and custom scripts written by the user, following a strict
syntax. The scripts are written as shell (sh).
You can add/remove entries by simply chmod-ing the scripts; no need to
delete them. GRUB 2 can be reinstalled anytime you want, even while
booted in the OS
GRUB 2 targets at the following goals:
* Scripting support, such as conditionals, loops, variables and functions.
* Graphical interface.
* Dynamic loading of modules in order to extend itself at the run
time rather than at the build time.
* Portability for various architectures.
* Internationalization. This includes support for non-ASCII
character code, message catalogs like gettext, fonts, graphics
console, and so on.
* Real memory management, to make GNU GRUB more extensible.
* Modular, hierarchical, object-oriented framework for file
systems, files, devices, drives, terminals, commands, partition tables
and OS loaders.
* Cross-platform installation which allows for installing GRUB
from a different architecture.
* Rescue mode saves unbootable cases. Stage 1.5 was eliminated.
* Fix design mistakes in GRUB Legacy, which could not be solved
for backward-compatibility, such as the way of numbering partitions.
My experience is from Suse 11.0 BTW....
Reference:
http://www.gnu.org/software/grub/grub-2.en.html
On 12/28/09, Eric Shubert <
ejs@shubes.net> wrote:
> Lisa Kachold wrote:
>> Glad you got it going. It was interesting to read a bit about the
>> differences between Grub2 and grub...Thanks for the fun!
>
> I imagine that was interesting all right. Care to give us a recap?
>
>> On 12/28/09, Mark Phillips <mark@phillipsmarketing.biz> wrote:
>>> Thank-you for your suggestions. I also found this link that was helpful
>>> as
>>> well - http://linuxers.org/howto/how-fix-grub2-error-15-ubuntu. I was
>>> able
>>> to boot into my Debian partition with your help, and after running
>>> dpkg-reconfigure grub-pc one more time, grub found my windows partition
>>> and
>>> my dual boot grub 2 install is working again!
>>>
>>> Next time I will wait to finish my first cup of coffee before I try
>>> anything
>>> more taxing than reading email....;-)
>>>
>>> Thanks again!
>>>
>>> Mark
>>>
>>> On Mon, Dec 28, 2009 at 8:59 AM, Lisa Kachold
>>> <lisakachold@obnosis.com>wrote:
>>>
>>>> Or just try
>>>> 1) Boot into recovery CD/DVD or distro USB drive.
>>>> 2) sudo grub-install /dev/sda
>>>>
>>>> OMIT 3/4
>>>>
>>>> ??
>>>>
>>>> On 12/28/09, Lisa Kachold <lisakachold@obnosis.com> wrote:
>>>>> 1) Boot into recovery CD/DVD or distro USB drive.
>>>>> 2) Revert back http://ubuntuforums.org/showthread.php?t=1298932
>>>>> 3) Redo with correct box checked for SCSI sda.
>>>>> 4) Return to 1 if STILL not working (like many others are doing)....
>>>>>
>>>>> On 12/28/09, Mark Phillips <mark@phillipsmarketing.biz> wrote:
>>>>>> I was just finishing a new Debian squeeze install on a new laptop, and
>>>>>> the
>>>>>> last step was updating grub to grub 2. I went through
>>>>>> update-from-grub-legacy, but I hit return before I ticked the box for
>>>>>> sda.
>>>>>> Now my system won't boot - I get error 15 when it starts up with grub.
>>>>>> I
>>>>>> am
>>>>>> sure I just wiped out the old grub and did not install the new one.
>>>>>> Any
>>>>>> suggestions on how to go back and fix this problem? I can't boot into
>>>>>> either
>>>>>> windows or Debian.
>>>>>>
>>>>>> Thanks!
>>>>>>
>>>>>> Mark
>>>>>>
>>>>>
>>>>> --
>>>>> Skype: (623)239-3392
>>>>> AT&T: (503)754-4452
>>>>> www.it-clowns.com
>>>>> http://uncyclopedia.wikia.com/wiki/User:LisaKachold
>>>>>
>>>>
>>>> --
>>>> Skype: (623)239-3392
>>>> AT&T: (503)754-4452
>>>> www.it-clowns.com
>>>> http://uncyclopedia.wikia.com/wiki/User:LisaKachold
>>>> ---------------------------------------------------
>>>> PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
>>>> To subscribe, unsubscribe, or to change your mail settings:
>>>> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>>>>
>>
>>
>
>
> --
> -Eric 'shubes'
>
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>
--
Skype: (623)239-3392
AT&T: (503)754-4452
www.it-clowns.com
http://uncyclopedia.wikia.com/wiki/User:LisaKachold
---------------------------------------------------
PLUG-discuss mailing list -
PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss