help-grub
[Top][All Lists]
Advanced

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

Re: Re (2): Grub on a Micron Trek 2.


From: Andrey Borzenkov
Subject: Re: Re (2): Grub on a Micron Trek 2.
Date: Thu, 3 Jul 2014 21:18:50 +0400

В Wed, 25 Jun 2014 10:28:42 -0700
address@hidden пишет:

> From: Jordan Uggla <address@hidden>
> Date: Sat, 14 Jun 2014 00:01:20 -0700
> > ... don't have a grub.cfg in (hd0,msdos1)/boot/grub/grub.cfg ...
> 
> It is there.  http://carnot.yi.org/GrubInstallationStory
> 
> > ... or that grub.cfg doesn't have any menu entries. 
> 
> There is an entry for Native Oberon.
>   http://carnot.yi.org/GrubInstallationStory
>   
> > Please post your complete grub.cfg ...
> 
> In GrubInstallationStory it follows "cat /mnt/boot/grub/grub.cfg".
> 
> > ... output of "grub-probe --target=device /boot/grub/grub.cfg" ...
> 
> At the end of the GrubInstallationStory.
> 
> > ... "grub-mkrelpath /boot/grub/grub.cfg".
> 
> Ditto.  
> 
> Just prior to the Grub command prompt is this screen.
>   http://carnot.yi.org/GrubScreen.png
> 
> ae5f..6e91 is the /root part in the host used to install 
> Grub; but Grub should be reading the hdd in the extant host.
> 

grub does exactly what grub.cfg tells it to do. And grub.cfg searches
for /root part of the host used to install grub. I'm not sure why you
thing it "should" do something different.

If everything you want is to display single menu entry, you do not need
grub-mkconfig at all. Just create grub.cfg that contains this single
menu entry in your boot directory.

> Commands "chainloader (hd0,5)+1", "boot" at the grub 
> prompt start the OS.  If Grub can be coerced to read the 
> hdd where it is, rather than hunt for the hdd were it was, 
> then the menu is likely work.
> 
> Incidentally, 
> https://www.gnu.org/software/grub/manual/html_node/Invoking-grub_002dmkconfig.html#Invoking-grub_002dmkconfig
> explains where output is delivered.  Equally important is the input  
> used to create the output.  It should be documented.
> 
> Thanks for the replies,     ... Peter E.
> 
> 
> 
> 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]