155 lines
5.4 KiB
Text
155 lines
5.4 KiB
Text
From nobody Mon Feb 1 15:36:44 1999
|
|
X-From-Line: debian-hurd-request@lists.debian.org Sat Jan 09 01:50:49 1999
|
|
Return-Path: <debian-hurd-request@lists.debian.org>
|
|
Delivered-To: gord@trick.fig.org
|
|
Received: (qmail 25241 invoked from network); 9 Jan 1999 01:50:48 -0000
|
|
Received: from gen2-93ip34.cadvision.com (HELO bambam.m-tech.ab.ca) (209.91.93.34)
|
|
by ip223.net247210.cr.sk.ca with SMTP; 9 Jan 1999 01:50:48 -0000
|
|
Received: from murphy.novare.net (gateway [10.0.0.1])
|
|
by bambam.m-tech.ab.ca (8.8.7/8.8.7) with SMTP id SAA19193
|
|
for <gord@m-tech.ab.ca>; Fri, 8 Jan 1999 18:47:34 -0700
|
|
Received: (qmail 13337 invoked by uid 38); 9 Jan 1999 01:47:33 -0000
|
|
Resent-Date: 9 Jan 1999 01:47:32 -0000
|
|
Resent-Cc: recipient list not shown: ;
|
|
X-Envelope-Sender: ege@rano.demon.co.uk
|
|
To: Matthias.Pfisterer@gmx.de
|
|
CC: debian-hurd@lists.debian.org
|
|
In-reply-to: <36966815.9DA7E110@rupert.informatik.uni-stuttgart.de> (message
|
|
from Matthias Pfisterer on Fri, 08 Jan 1999 21:18:29 +0100)
|
|
Subject: Re: Debian GNU/Hurd Base Set "gnu-19990104" available now!
|
|
From: edmundo@rano.demon.co.uk
|
|
Message-Id: <E0zymXI-0001PY-00@localhost>
|
|
Sender: Edmund GRIMLEY EVANS <ege@rano.demon.co.uk>
|
|
Date: Sat, 9 Jan 1999 00:45:52 +0000
|
|
Resent-Message-ID: <"nJdi8B.A.LQD.zUrl2"@murphy>
|
|
Resent-From: debian-hurd@lists.debian.org
|
|
X-Mailing-List: <debian-hurd@lists.debian.org> archive/latest/581
|
|
X-Loop: debian-hurd@lists.debian.org
|
|
Precedence: list
|
|
Resent-Sender: debian-hurd-request@lists.debian.org
|
|
Lines: 64
|
|
Xref: trick.fig.org list.debian-hurd:748
|
|
|
|
> Also, there seems to be a problem booting from internal LS-120 drives.
|
|
> Normal operating systems (Windows...) can boot from internal drives if
|
|
> the BIOS can handle it. GRUB hangs when I try to boot from an ordinary
|
|
> 3,5" disk inserted into the LS-120. I've tested GRUB 0.4, but not
|
|
> further explored this issue. It may be a problem of GRUB, but perhaps it
|
|
> is a problem of the chipset or the BIOS. I will give a detailed report
|
|
> once I've tested it with the newest version of GRUB.
|
|
|
|
I wrote about this problem earlier in debian-hurd (2 Dec).
|
|
|
|
I hacked my copy of GRUB so that it works from my internal LS-120. I'm
|
|
copying the relevant paragraphs again, below.
|
|
|
|
By the way, SYSLINUX boots off my LS-120 without problems: it applies
|
|
a different algorithm for deciding whether the device is a floppy or a
|
|
hard disc. Boot sectors can be quite amusing, really ...
|
|
|
|
Edmund
|
|
|
|
|
|
|
|
As I wrote before, the GRUB boot floppy provided with gnu-0.2.tar.gz
|
|
doesn't work off my LS120 IDE floppy. Neither does the 0.5 release of
|
|
GRUB, which I built from source. However, after many failed
|
|
experiments, I managed to modify grub-0.5's boot sector so that it
|
|
works with both my ordinary and my IDE floppies. (I include the patch
|
|
below, and I will tell Erich about my experiences.)
|
|
|
|
...
|
|
|
|
My GRUB patch:
|
|
|
|
It's just a hack, not a serious attempt to improve the software, but it
|
|
did give a floppy that boots off both my ordinary and my IDE floppy drives.
|
|
|
|
In grub-0.5/stage1/stage1.S the patch is:
|
|
|
|
< andb $BIOS_HD_FLAG, %al
|
|
<
|
|
< /* jz floppy_probe */
|
|
< .byte 0x0f, 0x84; REL(floppy_probe)
|
|
---
|
|
> orb $BIOS_HD_FLAG, %al
|
|
>
|
|
> /* jz floppy_probe */
|
|
> .byte 0x0f, 0x84; REL(floppy_probe)
|
|
|
|
If you prefer to patch the binary boot sector, the change is:
|
|
|
|
< 24 80
|
|
---
|
|
> 0c 80
|
|
|
|
That's at address 0x55 in grub-0.5/bin/stage1; the address is
|
|
different, no doubt, in the Hurd's boot floppy, which is based on an
|
|
earlier release of GRUB, but the same change might work for that too.
|
|
|
|
Edmund
|
|
|
|
|
|
--
|
|
To UNSUBSCRIBE, email to debian-hurd-request@lists.debian.org
|
|
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
|
|
|
|
To: Erich Boleyn <erich@uruk.org>
|
|
cc: debian-hurd@lists.debian.org
|
|
Subject: GRUB installation thoughts
|
|
X-Attribution: Gord
|
|
Gcc: nnml:archive
|
|
Mime-Version: 1.0 (generated by tm-edit 7.106)
|
|
Content-Type: text/plain; charset=US-ASCII
|
|
From: Gordon Matzigkeit <gord@trick.fig.org>
|
|
Date: 02 Feb 1999 13:24:24 -0600
|
|
Message-ID: <86iudk1udz.fsf@trick.fig.org>
|
|
Lines: 47
|
|
--text follows this line--
|
|
Hi!
|
|
|
|
I've been thinking about GRUB and how to make installation easier.
|
|
Here is my plan of how Debian GNU/Hurd installation should work:
|
|
|
|
1) Boot from floppy or CD or whatever, and GRUB starts. You get
|
|
a menu like this:
|
|
|
|
Install Debian GNU/Hurd
|
|
Boot an installed Debian GNU/Hurd system
|
|
Install GRUB
|
|
|
|
2) Go through a typical Debian installation. The install process will
|
|
ask you to mark your partition(s) as type 63 (currently reserved
|
|
for the GNU Hurd, for some odd reason... I wonder how that
|
|
happened?).
|
|
|
|
3) When the base set is installed, the system reboots from the floppy
|
|
again. At that point, all the other menu options should work.
|
|
|
|
I'd like to implement a GRUB feature so that `(hd:0x63)' means `the
|
|
first hard disk partition that is of type 0x63'.
|
|
|
|
So, the floppy's menu.lst can look something like this:
|
|
|
|
title = Install Debian GNU/Hurd
|
|
root = (fd0)
|
|
kernel = /boot/gnumach.gz
|
|
|
|
title = Boot an installed Debian GNU/Hurd system
|
|
root = (hd:0x63)
|
|
kernel = /boot/gnumach.gz
|
|
|
|
title = Install GRUB in the Debian GNU/Hurd root partition
|
|
root = (hd:0x63)
|
|
install= (fd0)+1 (hd:0x63) (hd:0x63)/boot/grub/fs_stage1_5 0x2000 p
|
|
|
|
The last bit of magic is to make sure gnumach uses the Multiboot
|
|
`boot_device' parameter as its default root, so that we don't need to
|
|
specify a root= option to Mach.
|
|
|
|
Comments?
|
|
|
|
--
|
|
Gordon Matzigkeit <gord@fig.org> //\ I'm a FIG (http://www.fig.org/)
|
|
Lovers of freedom, unite! \// I use GNU (http://www.gnu.org/)
|
|
[Unfortunately, www.fig.org is broken. Please stay tuned for details.]
|