On Thu, Jul 03, 2008 at 03:48:15PM +0300, Omer Zak wrote:
> Since no one has already suggested the following, I'm making this
> suggestion:
> 1. cp -r /boot /tmp/boot-before
> 2. Untar the tarfile
> 3. cp -r /boot /tmp/boot-after
> 4. diff -r /tmp/boot-before /tmp/boot-after
> 5. Study the differences.

I am not a grub expert, but I'd point out the principal problem with
this method (which usually works as expected): grub is a boot loader, it
has parts which are outside of the filesystem. The files in /boot/grub
are installed by the grub package of your distribution, and grub-install
installs stage1 of grub where you tell it (usually on the mbr of your
boot disk). During this, it checks where stage2 (and perhaps other
things I do not know about) is on disk, and puts the offsets inside
stage1 so that it can load and execute it. As I said - this is only
principal. In reality there is stage1.5 and all kinds of interesting
things. BTW, in case you did not realize that, grub "legacy" (what you
know as grub) is basically frozen for many years now, and all energy of
the developers is put into grub2.
-- 
Didi


=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to