All of lore.kernel.org
 help / color / mirror / Atom feed
* Does grub have to write to the boot device to boot a system?
@ 2008-03-17 20:26 Paul Albrecht
  2008-03-17 21:20 ` Pavel Roskin
  0 siblings, 1 reply; 7+ messages in thread
From: Paul Albrecht @ 2008-03-17 20:26 UTC (permalink / raw)
  To: grub-devel

Hi,

A question: Does grub have to write to the boot device to boot a system?
If not, is there an option to inhibit grub from writing to the boot
device?

-- 

Paul Albrecht



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Does grub have to write to the boot device to boot a system?
  2008-03-17 20:26 Does grub have to write to the boot device to boot a system? Paul Albrecht
@ 2008-03-17 21:20 ` Pavel Roskin
  2008-03-17 21:59   ` Paul Albrecht
  0 siblings, 1 reply; 7+ messages in thread
From: Pavel Roskin @ 2008-03-17 21:20 UTC (permalink / raw)
  To: The development of GRUB 2


On Mon, 2008-03-17 at 15:26 -0500, Paul Albrecht wrote:
> Hi,
> 
> A question: Does grub have to write to the boot device to boot a system?

No.

> If not, is there an option to inhibit grub from writing to the boot
> device?

No.

-- 
Regards,
Pavel Roskin



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Does grub have to write to the boot device to boot a system?
  2008-03-17 21:20 ` Pavel Roskin
@ 2008-03-17 21:59   ` Paul Albrecht
  2008-03-17 22:09     ` ardoRic
  2008-03-17 22:11     ` Pavel Roskin
  0 siblings, 2 replies; 7+ messages in thread
From: Paul Albrecht @ 2008-03-17 21:59 UTC (permalink / raw)
  To: The development of GRUB 2


On Mon, 2008-03-17 at 17:20 -0400, Pavel Roskin wrote:
> On Mon, 2008-03-17 at 15:26 -0500, Paul Albrecht wrote:
> > Hi,
> > 
> > A question: Does grub have to write to the boot device to boot a system?
> 
> No.
> 

I'm booting linux with grub and have setup a separate boot partition.
After I boot the system, I md5sum'ed the boot device and compared it
with one saved from a prior boot. They're always different.

Any idea why the md5sums for the boot device differ?

> > If not, is there an option to inhibit grub from writing to the boot
> > device?
> 
> No.
> 
-- 

Paul Albrecht



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Does grub have to write to the boot device to boot a system?
  2008-03-17 21:59   ` Paul Albrecht
@ 2008-03-17 22:09     ` ardoRic
  2008-03-18 13:31       ` Paul Albrecht
  2008-03-17 22:11     ` Pavel Roskin
  1 sibling, 1 reply; 7+ messages in thread
From: ardoRic @ 2008-03-17 22:09 UTC (permalink / raw)
  To: The development of GRUB 2

On Mon, Mar 17, 2008 at 9:59 PM, Paul Albrecht <albrecht@rdi1.com> wrote:
>
>  On Mon, 2008-03-17 at 17:20 -0400, Pavel Roskin wrote:
>  > On Mon, 2008-03-17 at 15:26 -0500, Paul Albrecht wrote:
>  > > Hi,
>  > >
>  > > A question: Does grub have to write to the boot device to boot a system?
>  >
>  > No.
>  >
>
>  I'm booting linux with grub and have setup a separate boot partition.
>  After I boot the system, I md5sum'ed the boot device and compared it
>  with one saved from a prior boot. They're always different.
>
>  Any idea why the md5sums for the boot device differ?
>

if it was mounted and it's not a read-only filesystem it's quite
probable that your OS changed something in the filesystem meta data.
Example would be updating last mount time.



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Does grub have to write to the boot device to boot a system?
  2008-03-17 21:59   ` Paul Albrecht
  2008-03-17 22:09     ` ardoRic
@ 2008-03-17 22:11     ` Pavel Roskin
  2008-03-18 13:33       ` Paul Albrecht
  1 sibling, 1 reply; 7+ messages in thread
From: Pavel Roskin @ 2008-03-17 22:11 UTC (permalink / raw)
  To: The development of GRUB 2

On Mon, 2008-03-17 at 16:59 -0500, Paul Albrecht wrote:
> On Mon, 2008-03-17 at 17:20 -0400, Pavel Roskin wrote:
> > On Mon, 2008-03-17 at 15:26 -0500, Paul Albrecht wrote:
> > > Hi,
> > > 
> > > A question: Does grub have to write to the boot device to boot a system?
> > 
> > No.
> > 
> 
> I'm booting linux with grub and have setup a separate boot partition.
> After I boot the system, I md5sum'ed the boot device and compared it
> with one saved from a prior boot. They're always different.
> 
> Any idea why the md5sums for the boot device differ?

Perhaps it's the mount counter and the mount timestamp (if it's ext2 or
ext3).

-- 
Regards,
Pavel Roskin



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Does grub have to write to the boot device to boot a system?
  2008-03-17 22:09     ` ardoRic
@ 2008-03-18 13:31       ` Paul Albrecht
  0 siblings, 0 replies; 7+ messages in thread
From: Paul Albrecht @ 2008-03-18 13:31 UTC (permalink / raw)
  To: The development of GRUB 2


On Mon, 2008-03-17 at 22:09 +0000, ardoRic wrote:
> On Mon, Mar 17, 2008 at 9:59 PM, Paul Albrecht <albrecht@rdi1.com> wrote:
> >
> >  On Mon, 2008-03-17 at 17:20 -0400, Pavel Roskin wrote:
> >  > On Mon, 2008-03-17 at 15:26 -0500, Paul Albrecht wrote:
> >  > > Hi,
> >  > >
> >  > > A question: Does grub have to write to the boot device to boot a system?
> >  >
> >  > No.
> >  >
> >
> >  I'm booting linux with grub and have setup a separate boot partition.
> >  After I boot the system, I md5sum'ed the boot device and compared it
> >  with one saved from a prior boot. They're always different.
> >
> >  Any idea why the md5sums for the boot device differ?
> >
> 
> if it was mounted and it's not a read-only filesystem it's quite
> probable that your OS changed something in the filesystem meta data.
> Example would be updating last mount time.
> 

That's it ... the boot partition was mounted by nautilus so at least the
mount time was updated. Thanks!

> 
> _______________________________________________
> Grub-devel mailing list
> Grub-devel@gnu.org
> http://lists.gnu.org/mailman/listinfo/grub-devel
-- 

Paul Albrecht



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Does grub have to write to the boot device to boot a system?
  2008-03-17 22:11     ` Pavel Roskin
@ 2008-03-18 13:33       ` Paul Albrecht
  0 siblings, 0 replies; 7+ messages in thread
From: Paul Albrecht @ 2008-03-18 13:33 UTC (permalink / raw)
  To: The development of GRUB 2


On Mon, 2008-03-17 at 18:11 -0400, Pavel Roskin wrote:
> On Mon, 2008-03-17 at 16:59 -0500, Paul Albrecht wrote:
> > On Mon, 2008-03-17 at 17:20 -0400, Pavel Roskin wrote:
> > > On Mon, 2008-03-17 at 15:26 -0500, Paul Albrecht wrote:
> > > > Hi,
> > > > 
> > > > A question: Does grub have to write to the boot device to boot a system?
> > > 
> > > No.
> > > 
> > 
> > I'm booting linux with grub and have setup a separate boot partition.
> > After I boot the system, I md5sum'ed the boot device and compared it
> > with one saved from a prior boot. They're always different.
> > 
> > Any idea why the md5sums for the boot device differ?
> 
> Perhaps it's the mount counter and the mount timestamp (if it's ext2 or
> ext3).

Yes, That's it ... nautilus mounted the boot partition which updated the
last mount time. Thanks!

> 
-- 

Paul Albrecht



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2008-03-18 13:33 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-17 20:26 Does grub have to write to the boot device to boot a system? Paul Albrecht
2008-03-17 21:20 ` Pavel Roskin
2008-03-17 21:59   ` Paul Albrecht
2008-03-17 22:09     ` ardoRic
2008-03-18 13:31       ` Paul Albrecht
2008-03-17 22:11     ` Pavel Roskin
2008-03-18 13:33       ` Paul Albrecht

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.