Ar 25.10.10 09:57, scríobh Brendan Halpin:
> On Mon, Oct 25 2010, Lance Dryden wrote:
>>> One cheat for this might be to, in the running system, mount /boot,
>> then place a symlink in /boot called "boot" linking to ".".
>>>> Describing this is a little goofy; basically the output from "ls -l
>> /boot" for this should look like:
>>>> $ ls -l /boot
>> Total X
>> lrwxrwxrwx root root 1 boot -> .
>>> I thought of something like that and did
>> ln -s /boot /boot/boot
>> Is that strictly equivalent? I can see ways in which it might not be.
> Grub didn't like my version, complaining about too-deep nesting of
If you ran that "ln" from / on the running system, that's a problem.
>From Grub's point of view, it mounted the specified kernel partition as
"/", so your "/boot" looks like a link to "/boot".
If it helps, remember that the 1st pathname you provide to "ln -s"
doesn't have to exist or be otherwise sensible given the current tree of
filesystems. For example, from "/", the following command will complete
with status 0 when issued from the bash prompt as long as that I can
write to /home at the time:
ln -s '/dev/zero/Frobozz Magick Gunk Factory' /home/nonsense
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!