From: Brian Brunswick <[EMAIL PROTECTED]>
Subject: Re: /sbin/grub problems
Date: Tue, 11 May 1999 12:40:28 +0100 (BST)

> Problems may occur because (under linux) grub does everything through
> the whole disk device, say /dev/hda. This means that any changes it
> makes can not be seen through partition devices, until those devices
> get flushed as well.  The sync calls on /dev/hda do no good.
> Something like dd < /dev/hda2 > /dev/null count=64 bs=1M suffices, for
> a 64MB memory machine. Is there a better way?

  Linux should have a syscall which invalidates the cache and re-read
the partition table. However, as long as you read/write the stage1
and/or stage2 only via /sbin/grub, there is no problem.

----------------------------------------------------------------------
OKUJI Yoshinori  <[EMAIL PROTECTED]>           ^o-o^
http://duff.kuicr.kyoto-u.ac.jp/~okuji (in English)     m /

Reply via email to