Gentoo-Im dumb and deleted /boot/boot Grub Says: Error 26 : Too many symbolic links
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Gentoo-Im dumb and deleted /boot/boot Grub Says: Error 26 : Too many symbolic links
Hi
I accidentally deleted the link /boot/boot
I tried "ln -sf /boot /boot/boot" to get it back but now grub says
Error 26 : Too many symbolic links
How the heck do I make the proper link in there so this works again?
This MUST BE something stupid and easy, and thats the only stupid thing I've done recently.
PLEASE HELP!!!
Grub w/ Dual boot windows &
Gentoo on Vanilla 2.6.4
/boot on /dev/hda2
/ on /dev/hda4
Distribution: Gentoo, Debian, Ubuntu, Red Hat/CentOS
Posts: 719
Rep:
I am not sure you need all those recursive /boot dirs. Did you mount and then delete your actual boot dir? Gentoo, unlike other distro's does not keep the boot partition mounted after it boots. What hda is boot on?
there was a link in /boot called "boot" that just led me to /boot
The symlinks I have been creating allow me to type "cd boot" over and over again so Ill end up with /boot/boot/boot/boot/boot etc etc
Originally if i did cd boot, it would just keep putting me in /boot
Boot = /dev/hda2
Root = /dev/hda4
I think its just syntax with the ln command or something?
If I remove the /boot/boot link entirely (which I did accidentally to start with), Grub spits out: Error 15: File not found.
Distribution: Gentoo, Debian, Ubuntu, Red Hat/CentOS
Posts: 719
Rep:
Huh, neat. Well I never deleted any of those..infact I never really went near them as I had little cause to. Having said that does login work with the way you have it? If so, forget about it. I, *think* it shouldn't matter, although like I said I never deleted them All your important boot stuff should be safe and sound on hda2. try to mount it and look around. It should all be there.
hehe, everything IS safe and sound, except the link I deleted =(
I mounted my boot partition after recompiling my kernel (minor changes, nothing that would cause this, EXCEPT Ram disk support maybe? doubtful)
Accidentally deleted that silly link called boot
I've had the same problem of smehi. You should boot with gentoo live cd then mount your hd and chroot as in the installation procedure. Once on /boot type "ln -s . boot" then with "ls -la" you should see " boot -> ."
Doing so all comes back to work ;-)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.