From: Andrey Borzenkov <arvidjaar@gmail.com>
To: Ulf Zibis <Ulf.Zibis@gmx.de>
Cc: help-grub@gnu.org, grub-devel@gnu.org
Subject: Re: How many sectors for GRUB 2
Date: Sat, 3 Nov 2012 21:05:59 +0400 [thread overview]
Message-ID: <20121103210559.7b75a923@opensuse.site> (raw)
In-Reply-To: <50954871.7000300@gmx.de>
В Sat, 03 Nov 2012 17:38:09 +0100
Ulf Zibis <Ulf.Zibis@gmx.de> пишет:
> Am 03.11.2012 16:58, schrieb Andrey Borzenkov:
> >> No, I'm absolutely unsure. That's why I'm asking here on the list.
> >> My question in little other words: How to dertermine, how many
> >> bytes of the gap between MBR and 1st partition are used by GRUB 2,
> >> so should not be deleted or shrinked or used otherwise
> >>
> >
> > You could try findgrub
> > http://www.unixversal.com/linux/openSUSE/findgrub-4.4.1.tgz and/or
> > bootinfoscript
> > (https://github.com/arvidjaar/bootinfoscript/blob/master/bootinfoscript
> > - I point to my repo because SF variant did not work with GRUB2 we
> > have here on openSUSE). Both scripts scan disks for bootloaders.
>
> Thanks!
> Hm, it seems you are now getting unsure about your first answer:
> "core.img is *the* part of grub which is installed in MBR gap"
>
core.img is the part that is installed in MBR gap, but it does not mean
that it was this particular file. grub-install creates core.img
in /boot/grub and embeds it in the same run, but it is also possible to
directly use
grub-mkimage -o /tmp/foo.img ...
grub-bios-setup -c /tmp/foo.img ...
You wanted to be absolutely safe and sure. The only way to be is to
reinstall grub using grub-install.
> Hopefully some developers are reading this thread. Maybe they could
> implement a new option, reporting GRUB 2's size in the MBR gap.
>
Did you try any of script I mentioned? If they did not work we need to
fix them.
next prev parent reply other threads:[~2012-11-03 17:06 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <50945DB2.7090903@gmx.de>
[not found] ` <20121103132052.74bd4e47@opensuse.site>
[not found] ` <509522A8.20900@gmx.de>
[not found] ` <20121103180415.27b6be3f@opensuse.site>
[not found] ` <509528ED.7090105@gmx.de>
[not found] ` <20121103184636.70d8b574@opensuse.site>
[not found] ` <50953A5C.1070002@gmx.de>
[not found] ` <20121103195806.7d14a130@opensuse.site>
2012-11-03 16:38 ` How many sectors for GRUB 2 Ulf Zibis
2012-11-03 17:05 ` Andrey Borzenkov [this message]
2012-11-03 22:37 ` Ulf Zibis
2012-11-03 23:16 ` Chris Murphy
2012-11-03 23:31 ` Vladimir 'φ-coder/phcoder' Serbinenko
[not found] ` <20121104080219.562a0054@opensuse.site>
2012-11-04 13:39 ` Ulf Zibis
2012-11-04 13:56 ` Vladimir 'φ-coder/phcoder' Serbinenko
2012-11-05 5:57 ` Elliott, Robert (Server Storage)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20121103210559.7b75a923@opensuse.site \
--to=arvidjaar@gmail.com \
--cc=Ulf.Zibis@gmx.de \
--cc=grub-devel@gnu.org \
--cc=help-grub@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.