LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-13-2012, 04:10 PM   #1
tvjohn
LQ Newbie
 
Registered: Sep 2012
Location: Morris County, NJ USA
Distribution: SuSE 9.3
Posts: 4

Rep: Reputation: Disabled
SuSE system that was working now fails to boot


Greetings. I'm not even a newbie yet.
I have a dell 2650 server, raid 5 in good condition. We installed SuSE 9.3 in 2006 and use this machine as an SFTP server. it has been rock solid until a recent power cycle.
Am getting Grub error 17 when it starts so i booted from the CD. Used YAST to look at the logs and when the fault occured i see "linux modules FATAL: could not load /lib/modules/2.6.11.4-20A-default-modules.dep"
I also see I/O error dev fd0 sector 0. The raid controller says the array is optimal so this error is confusing.
Any ideas? remember I know near nothing about linux yet.
Thanks in Advance!
John
 
Old 10-13-2012, 04:59 PM   #2
tvjohn
LQ Newbie
 
Registered: Sep 2012
Location: Morris County, NJ USA
Distribution: SuSE 9.3
Posts: 4

Original Poster
Rep: Reputation: Disabled
more info from YAST auto repair

I ran the automatic repair and at the end I get the following message:
grup> setup-- stage 2=/boot/grub/stage2 (hd0)(hd0,1)
ERROR 24: attempt to access block outside partition.
grub> quit

i have no idea how to fix this.

Thanks,
John
 
Old 10-13-2012, 05:17 PM   #3
JaseP
Senior Member
 
Registered: Jun 2002
Location: Eastern PA, USA
Distribution: K/Ubuntu 18.04-14.04, Scientific Linux 6.3-6.4, Android-x86, Pretty much all distros at one point...
Posts: 1,802

Rep: Reputation: 157Reputation: 157
Step one...

Get yourself a copy of both of the following;
Gparted Live CD
&
PartedMagic Live CD

If you look at the following blog, you will notice that this is an error which is not unheard of (maybe a little less anxiety can be found in that);
http://jaykinzer.blogspot.com/2008/0...ess-block.html

However, that blogger's solution is probably beyond you... and you're going to need tools to do it that will make you more comfortable,... hence my download suggestions...

From the Live CDs, it should be possible to fix your grub error (SuSE 9.3 almost assured used Grub as opposed to Grub2). And, the Live CDs will likely let you do it with a graphical text editor... But having the Live CDs will help make sure that the error wasn't cause by another problem (physical problem like failing sectors, etc.).
 
1 members found this post helpful.
Old 10-15-2012, 09:28 AM   #4
tvjohn
LQ Newbie
 
Registered: Sep 2012
Location: Morris County, NJ USA
Distribution: SuSE 9.3
Posts: 4

Original Poster
Rep: Reputation: Disabled
further tests and results

Thank you for the very quick reply and advice.
Here is what I did:

I downloaded Gparted Live and used it to check the raid array. Results said there was nothing wrong.

Then loaded partedmagic 6.7 and looked at the hardware (OK).
Using file manager i inspected /boot/grub/menu.lst and it appears to be OK when I compare the file to a beta desktop pc we used originally as a test platform.

Next I opened a terminal and from root, tried the procedure in one of your links:
I typed
# grub

reply
grub>

I typed
find /boot/grub/menu.lst

reply
error 15 file not found

Not sure what's going on since the file is present.
Any further advice?
John
 
Old 10-15-2012, 10:29 AM   #5
tvjohn
LQ Newbie
 
Registered: Sep 2012
Location: Morris County, NJ USA
Distribution: SuSE 9.3
Posts: 4

Original Poster
Rep: Reputation: Disabled
Found a strange nested file structure where grub is located

As I was looking at parted magic file manager, i see that there is a large number of nested boot folders
Specifically, I have the following structure:

/media/sda2/bootboot/boot/boot/boot/boot and continuing 41 times!
This seems wrong to me.
each of the boot folders has the same files in it.
Can anyone explain how this happened and is there any advice on how to clean this mess up?

Thanks,
john
 
Old 10-15-2012, 11:00 AM   #6
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,289

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
Wow.

I managed /boot/boot once, and felt a real twit. Once you start into grub config files, '/' means '/boot' and repeated 'setup' or 'install' commands to grub (as from a script) might just do that. In there at the back might be a grub/ subdirectory that the system is using. First try
Code:
 cd /boot
du -sh boot
My /boot/grub/ is a bit shy of 350k - just to give you an idea of size. If you do find a subdirectory in there you could try something like this
Code:
 cd /boot
mv boot/boot/ . . . . .boot/boot/grub /boot
ln -s ./ boot
This will always show a symlink 'boot' pointing to the current directory :-D. It's probably too much of a bodge to work, and I would set grub up once more to be sure.
 
1 members found this post helpful.
  


Reply



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
Lenny fails after first boot (dual boot system) sag0th Linux - Newbie 1 07-21-2010 06:50 PM
system fails to boot to kde peteraiea Linux - General 5 09-10-2007 05:30 PM
System hangs on boot - "Mounting root file system" fails with Via VT6410 enabled Eagleorn Linux - Hardware 3 09-21-2006 12:58 PM
SUSE 10.0 - K3b not working... mount of cdrw fails too! JustInterested SUSE / openSUSE 11 04-19-2006 06:54 AM
After updating SuSE 9.2 packages, system fails boot without mounting /dev/hda2 orgcandman Linux - Software 5 08-16-2005 08:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:49 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration