Sorry, I think it was more a result of missing the grub-pc-bin rather than the 
double slash ending up in the expanded path, though I still think it would be a 
code improvement to remove the trailing slash on a variable set to a directory.

For what it's worth, my specific error was this prompt when initiating grub 
stage2:
error: file '/grub/i386-pc/normal.mod' not found.
grub rescue>

The i386 modules were not being included in the grub core.img because they 
didn't exist or weren't found...I think it was actually because they didn't 
exist at all in /usr/lib/grub, not because of the double slash.

-----Original Message-----
From: Thomas Lange [mailto:la...@informatik.uni-koeln.de]
Sent: Thursday, December 04, 2014 5:41 PM
To: Kevin Newman; 772...@bugs.debian.org
Subject: Re: Bug#772085: fai-cd creates a grub2 image that may not boot due to 
missing modules

>>>>> On Thu, 4 Dec 2014 23:08:28 +0000, Kevin Newman <knew...@peak6.com> said:

    > When /usr/sbin/fai-cd is creating a bootable FAI Cd, it creates its GRUB 
core.img (/boot/grub/core.img) while referencing a mangled path
    > for the modules. This will eventually cause a fatal GRUB error and cause 
the system to drop to grub> rescue on boot since most/all of the
    > images will not be there.
What do you mean by "eventually". I cannot confirm this error, since it works 
for me. Can you please specify, in which situation this error occurs? Any error 
real message available?

--
regards Thomas

______________________________________________

See http://www.peak6.com/email_disclaimer/ for terms and conditions related to 
this email


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to