16-Aug-00 04:26 you wrote:

> --
> "... being a Linux user is sort of like living in a house inhabited
> by a large family of carpenters and architects. Every morning when
> you wake up, the house is a little different. Maybe there is a new
> turret, or some walls have moved. Or perhaps someone has temporarily
> removed the floor under your bed." - Unix for Dummies, 2nd Edition
>         -- found in the .sig of Rob Riggs, [EMAIL PROTECTED]

VERY true. Just now linux kernel developers temporarily removed floor from
under GRUB's bed (see lkml/bgml archives). So now we have:
  1. Versions before and including 0.5.95 CAN NOT work in such case at all.
  2. Version from CVS CAN WORK under 2.4.x, but NOT automagically - you need
     special options for setup command (see below).
Have you tried to install GRUB from native GRUB shell (loaded from floppy,
that is). For now it's THE ONLY 100% reliable way to install GRUB with
kernel 2.4 :-/ Workaround SHOULD work but it's NOT guaranteed :-((

P.S. GRUB works just fine with linux kernel 2.4.x. It's only setup command with
*nix grub-sheel is in trouble due to linux kernel changes (linux kernel
developers admitted that it's bug in kernel but since most programs are
not affected and fix is REAL hard it was postponed for 2.5 if not further).

-- cut --
9-Aug-00 01:57 you wrote:
>From sch57!gnu.org!bug-grub-request Wed Aug 09 22:26:11 2000
Received: by khim.sch57.msk.ru (UUPC/@ v7.00, 06Mar97) with UUCP
          id AA03068; Wed,  9 Aug 2000 22:26:11 +0400 (MSD)
Received: from rnktech.mccme.ru (rnktech.mccme.ru [195.133.68.53])
        by dell.sch57.msk.ru (8.8.8/8.8.8) with ESMTP id PAA10280
        for <[EMAIL PROTECTED]>; Wed, 9 Aug 2000 15:55:44 +0400
Received: from mescaline.gnu.org (mescaline.gnu.org [158.121.106.21])
        by rnktech.mccme.ru (8.8.8/8.8.8) with ESMTP id UAA30667
        for <[EMAIL PROTECTED]>; Tue, 8 Aug 2000 20:23:25 +0400
Received: (from slist@localhost)
        by mescaline.gnu.org (8.9.1a/8.9.1) id NAA19555
        for [EMAIL PROTECTED]; Tue, 8 Aug 2000 13:13:02 -0400
Resent-Date: Tue, 8 Aug 2000 13:13:02 -0400
Received: from duff.kuicr.kyoto-u.ac.jp ([EMAIL PROTECTED] 
[133.103.101.254])
        by mescaline.gnu.org (8.9.1a/8.9.1) with ESMTP id MAA19171
        for <[EMAIL PROTECTED]>; Tue, 8 Aug 2000 12:59:03 -0400
Received: from localhost (pppD207.kyoto-inet.or.jp [210.134.124.77])
        by duff.kuicr.kyoto-u.ac.jp (8.9.3/3.7W) with ESMTP id BAA18300
        for <[EMAIL PROTECTED]>; Wed, 9 Aug 2000 01:58:47 +0900
To: [EMAIL PROTECTED]
Subject: a workaround for the bug in Linux
From: OKUJI Yoshinori <[EMAIL PROTECTED]>
X-Mailer: Mew version 1.94.2 on Emacs 20.6 / Mule 4.0 (HANANOEN)
Mime-Version: 1.0
Message-Id: <[EMAIL PROTECTED]>
Date: Wed, 09 Aug 2000 01:57:33 +0900
X-Dispatcher: imput version 20000228(IM140)
Resent-Message-ID: <"v7-NR3.0.kh4.Rn3av"@mescaline.gnu.org>
Resent-From: [EMAIL PROTECTED]
X-Mailing-List: <[EMAIL PROTECTED]> archive/latest/1990
X-Loop: [EMAIL PROTECTED]
Precedence: list
Resent-Sender: [EMAIL PROTECTED]
Lines: 31
Content-Type: text/plain; charset=us-ascii
Content-Length: 1258

  Although I don't think this is a right way, I've checked in my hack
to avoid the bug in Linux 2.4. Instead of rewriting grub-install
heavily as I said, I have just modified the implementation of the
commands "setup", "install" and "embed".

  Because of my hack and a problem that we tried to forget as if it
had not existed, the installation procedure becomes more
complicated. *sigh*

  If you unmount the partition where your GRUB images reside, things
are quite easy, as you can merely run "setup", etc. as before, like
this:

grub> setup (hd0)

  But, if you *cannot* unmount the partition, it is necessary to
specify the file name of your Stage2 image under your operating
system, because the grub shell wants to access the file via the OS
service. Although I think it is also possible to detect the file name
in the grub shell automatically, I haven't chosen that way, since that
is very complicated. So you will have to run the command "setup" like
this:

grub> setup --stage2=/boot/grub/stage2 (hd0)

  As it seems like a nightmare to describe all caveats I know in
details, I'll rewrite the doc so that the user _shouldn't_ use the
grub shell directly. After all, I feel that using a boot floppy is the
easiest way to install GRUB. Uggh.

Okuji
-- cut --



Reply via email to