Re: Error when running native-install
Patrik Olsson, le Fri 09 Apr 2010 16:56:50 +0200, a écrit :
> On Fri, 2010-04-09 at 15:35 +0200, Samuel Thibault wrote:
> > Patrik Olsson, le Fri 09 Apr 2010 15:13:17 +0200, a écrit :
> > > What am I doing wrong?
> > We can't say if you do not tell us what you do before ./native-install,
> > i.e. the grub configuration etc.
> I followed this guide from point 5 (using grub1):
Well, ok, but I had checked that the steps described in that guide do
work, so there is a problem of interpretation, we need to you explain
with your own words which precise commands you run. Simple things like
an extra --readonly or -s is already too much for native-install to
> > > By the way. Why is not GRUB installed and configured together with the
> > > system?
> > Because like so many other things, nobody took the time to set that up.
> If I only knew how to do it, I would do it now. Well, unless I knew it
> was a whole lot of complex work, which I assume it is since no one has
> done it yet. :-P
It's not necesarily so complex. I believe it has never been done before
simply because before, there wasn't so much use of qemu & such, people
would install it natively, and thus not want to see the installer
overwrite the MBR...
> As I understand it, the installation simply extracts a file called
> baseGNU.tgz (at least that's the only thing I noticed it did). So
> shouldn't it be possible to include grub configuration in it
Probably. Contact the author.
> and then make the installation execute grub-install or
> something. But I don't know, it's probably more complicated than that.
It's as simple as that, except that you need to prompt the user whether
to do so, and on which device.
> > > It takes like 5 minutes to write in all that magic to get GRUB
> > > starting the Hurd, and it is so error-prone.
> > You can throw them in a config file and load it from the grub prompt
> > thanks to the configfile command...
> I tried that, but it didn't work (I probably messed up, I had to write
> the file using cat).
Without describing the precise steps you followed, there is no way to
find out whether there is a bug that deserves fixing, or whether you
actually just messed up (but then the installation instruction probably
need fixing !!)