-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Mathias Krause wrote:
> Hi,
> 
>>>>> cat /mnt/hda2/boot/grub/menu.lst
>>>>> -> i/o error
>>>>>
>>>> That is really bad.
>>>>
>>>> Can you see any other files in grub folder by using ls -l?
>>> No. As i understand. /boot/grub is not recognized as a directory,  
>>> but as a
>>> file.
>> Can you rename or remove that file?
> 
> yeah. I am pretty sure i can do that. But i am still hoping, that  
> someone knows a way, how to re-store that directory.
> 
Right, once you move the file named "grub" out of the way (eg. something
like grub.old or something), the install grub command should do this for
you.  Worst case is that you have to reinstall grub via apt/aptitude.
This should not be necessary as everything in that directory can be
generated by the grub utilities, including the default menu.lst (which
is generated by the kernels grub finds in /boot).

Nothing can happen as long as there is a file with the same name as the
directory standing in the way.

>>>> What do you get when you do "ls -la /mnt/hda2/boot/grub/menu.lst"?
>>> i am sure i will get an i/o error, too, as /grub is not a directory  
>>> anymore.
>>> I will try ubuntu live disk if /grub folder is still okay.
>>>
>> grub-install is failing because it cannot write any files into that
>> directory.  /boot/grub needs to be a directory, not a file.
> 
> yeah, i understand that ...
> 
Then move the file /boot/grub out of the way (you don't have to delete
it if that bothers you, just rename it at the very least).

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkuRpB0ACgkQwRXgH3rKGfODtgCfdq5sw/hVcgHp53mU1jp33Uex
Zm4AnAhOzVy7fp5Z82bJRlEMTRxzZOXB
=yBLK
-----END PGP SIGNATURE-----
_______________________________________________
64studio-users mailing list
[email protected]
http://lists.64studio.com/mailman/listinfo/64studio-users

Reply via email to