LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] More grub-related pain

[ILUG] More grub-related pain

Lance Dryden lkd-ilug at sky-haven.net
Tue Oct 26 02:06:07 IST 2010


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
> links.

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

  Best,
  Lance Dryden


More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


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!
RSS Version
Powered by Dell