LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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

Reply
 
Search this Thread
Old 04-05-2004, 08:10 PM   #1
smehi
LQ Newbie
 
Registered: Nov 2003
Posts: 25

Rep: Reputation: 15
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
 
Old 04-05-2004, 08:22 PM   #2
BigNate
Member
 
Registered: Mar 2003
Location: Harrisburg, PA
Distribution: Gentoo, Debian, Ubuntu, Red Hat/CentOS
Posts: 719

Rep: Reputation: 30
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?
 
Old 04-05-2004, 08:27 PM   #3
smehi
LQ Newbie
 
Registered: Nov 2003
Posts: 25

Original Poster
Rep: Reputation: 15
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.
 
Old 04-05-2004, 08:31 PM   #4
BigNate
Member
 
Registered: Mar 2003
Location: Harrisburg, PA
Distribution: Gentoo, Debian, Ubuntu, Red Hat/CentOS
Posts: 719

Rep: Reputation: 30
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.
 
Old 04-05-2004, 08:36 PM   #5
smehi
LQ Newbie
 
Registered: Nov 2003
Posts: 25

Original Poster
Rep: Reputation: 15
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
 
Old 06-24-2006, 06:25 AM   #6
oscarangeli
LQ Newbie
 
Registered: Jun 2006
Posts: 1

Rep: Reputation: 0
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 ;-)
 
  


Reply

Tags
boot, error, grub


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Gentoo Error can't boot with Grub therapture Linux - Distributions 4 02-14-2005 11:07 AM
deleted linux partition adn the boot loader was deleted also,now i have only gnu grub boris199 Linux - Laptop and Netbook 2 01-29-2005 04:53 PM
Boot error (GRUB GENTOO) linuxnoob2287 Linux - Distributions 4 10-28-2004 04:44 AM
Grub Error: 26, Deleted /boot/boot link. smehi Linux - Newbie 2 04-06-2004 11:53 AM
symbolic links in /boot itsjustme Slackware 4 05-19-2003 01:29 PM


All times are GMT -5. The time now is 07:17 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration