LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Gentoo-Im dumb and deleted /boot/boot Grub Says: Error 26 : Too many symbolic links (https://www.linuxquestions.org/questions/linux-software-2/gentoo-im-dumb-and-deleted-boot-boot-grub-says-error-26-too-many-symbolic-links-166648/)

smehi 04-05-2004 08:10 PM

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

BigNate 04-05-2004 08:22 PM

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?

smehi 04-05-2004 08:27 PM

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.

BigNate 04-05-2004 08:31 PM

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.

smehi 04-05-2004 08:36 PM

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

oscarangeli 06-24-2006 06:25 AM

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 ;-)


All times are GMT -5. The time now is 06:56 PM.