Hi,

I mounted the problematic disk with a rescue disk.

Under /mnt/custom

Now when I try to run grub-install:
grub-install --root-directory=/mnt/custom /dev/sda

I get 
The file /mnt/custom/grub/boot/stage1 not read correctly


On Thursday 03 July 2008 13:46:48 Yedidyah Bar-David wrote:
> On Thu, Jul 03, 2008 at 01:26:48PM +0300, Noam Rathaus wrote:
> > Hi,
> >
> > We encountered a grub weirdness and I can't find any reference to this
> > issue on the Internet.
> >
> > Recipe:
> > 1) Install debian via debian-installer (testing version)
> > 2) Get a "standard desktop" running
> > 3) Download a tar.gz of another debian-installer based system
> > 4) Boot into a network-based rescue disk
> > 5) untar the tar.gz into the system
> > 6) Reboot
> >
> > From this point the grub boots and shows the prompt, Internet sites
> > suggest that the /boot/grub/ directory is malformed, or missing, or
> > doesn't have the configuration files - this is not true, everything is
> > there :)
> >
> > If I "move" the /boot/ directory to /boot.backup/ prior to untaring, then
> > move it back to /boot/ (replacing the one found inside the tar.gz) the
> > system boots - but with a wrong kernel, obviously.
> >
> > Ideas?
>
> Did you try to reinstall grub? E.g.
> grub-install /dev/sda
> Do this after untarring etc.


-- 
Noam Rathaus
CTO
[EMAIL PROTECTED]
http://www.beyondsecurity.com

"Know that you are safe."

Beyond Security Finalist for the "Red Herring 100 Global" Awards 2007

=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to