[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

/boot (was Installation experiences)

Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de> writes:

> On Tue, Feb 23, 1999 at 02:15:22PM +0200, Kalle Olavi Niemitalo wrote:
> > Because of BIOS problems with the 4.3GB IDE disk, I have a
> > separate partition for /boot.  In it, I have subdirectories grub/
> > and linux/ for GRUB files and Linux images.  It would be nice if
> > Hurd's /boot/gnumach and /boot/serverboot were moved to
> > /boot/hurd/.  /boot/servers.boot could be in /etc/.
> /boot/hurd is sort of redundant, because your configuration is pretty
> unusual.

I can't believe it would be unusual to boot GNU/Linux and
GNU/Hurd with GRUB and have a disk too big for the BIOS.

> You can help yourself by setting grub options correctly.
> title= hurd (hd2s1 multi-user)
> root=   (hd0,0)                              # SET /boot PART. HERE
> kernel= /boot/hurd/gnumach root=hd2s1        # but real Hurd part. here 
> module= /boot/hurd/serverboot                # I am not sure about this, though.

Not that simple :)  Since (hd0,0) is /boot/ and GRUB thinks it's /, I
must omit the /boot in kernel= and module=.

Here's what I do (from memory):

title = Debian GNU/Hurd (multi-user)
# no root= yet, since GRUB knows where it loaded its own files
kernel = /hurd/gnumach root=hd0s2
module = /hurd/serverboot
rootnoverify = (hd0,1)   # does this affect anything?

I could use dpkg-divert to move /boot/gnumach and
/boot/serverboot in /boot/hurd/ (although I haven't tried yet),
but /boot/servers.boot seems to be a problem since it wouldn't be
on the root filesystem.  I need a way to move it there, perhaps
in /etc/ since it's a configuration file.  I looked at the
serverboot source (from hurd-0.2) but couldn't find a way to pass
the filename of the script on the command line.  Has such an
option been added in newer versions?

I'm going to download the Hurd-side development libraries and GCC

Reply to: