Linux - NewbieThis 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
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.
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
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
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.).
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
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?
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
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.