Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 05-13-2011, 08:16 AM   #1
LQ Newbie
Registered: May 2011
Posts: 7

Rep: Reputation: 1
Troubles Booting (Fedora Core 14 SMB server)

I have been using Fedora Core 14 on an old desktop as my file server with three hard drives in it all configured in LVM except for /boot. The other day I couldn't connect via SMB and then I realized I couldn't ping it either, so I went and checked from the console and it was at a black screen - eek! So I powered it off and back on (CTRL+ALT+DEL wouldn't work; guess I could have tried opening another terminal but I don't think it would have worked either).

When it booted up, it didn't even get to grub, it went through bios post and then to a black screen with a cursor blinking. ack!

I booted from installation media and did an fsck but no joy.

I booted from installation media and looked at my /boot/grub/menu.1st file and it *looked* fine, but I saw a lot of posts about kernel updates having gone wrong and changing the hd info (i.e. hd0,0 to hd0,1). I of course didn't think to back THAT stuff up, just my data...

When I try to use grub shell to "find /boot/grub/menu.lst" I get an error - Error 15: file not found. I did indeed chroot /mnt/sysimage it and I confirm I was using an l (el) not a 1 (one) for menu.lst. If I try to do init3 as well, I get the error "Failed to connect to socket /ubuntu/com/upstart: connection refused". I couldn't find much of use about that error, and the file not found error gave me little hope for going through and guessing each disk/partition combo to use in menu.lst but if it comes to that I guess I have no choice...

So I guess I'm trying to figure out:
1/ Is there something I am doing wrong to determine if hd0,0 is indeed right in my menu.lst?
2/ Is this a boot/grub issue or is it upstart (new to me)?
3/ Am I WAY out to lunch on this and not even close to fixing it?

I presume it's a grub/boot issue because it doesn't load grub but if I get into rescue environment I can start up ssh and smb and use smb no problem (hehe). I looked at yum history (I had it cron'd to update every four hours) and it had indeed had kernel packages updated lately. We had a power failure the morning I discovered all this fun so I'm wondering if it wasn't indeed a kernel update gone bad (because this would be the first reboot since)? Maybe I should stick to manually yum'ing my boxes (however the same O/S install on another PC acting as a web server does the same thing but was fine - perhaps different disk counts and whatnot is what saved me there, or just dumb luck ha!).

Any help is appreciated. Hopefully I've provided sufficient detail to go on here.
Old 05-13-2011, 02:27 PM   #2
Registered: Sep 2008
Distribution: Fedora
Posts: 129

Rep: Reputation: 22
You don't happen to have those three disks in a linux software raid (mdadm) array as well do you? If so it might be looking for a device ID to get everything mounted which I've had change on me after a kernel update before. I'm afraid I don't know how to manually fix it as I wasn't running the system on the lvm on top of raid (just rebuilt the array and updated the mdadm config with the new ID.)
Old 05-13-2011, 03:40 PM   #3
LQ Newbie
Registered: May 2011
Posts: 7

Original Poster
Rep: Reputation: 1
No sir just LVM on top of the physical disks, no software raid (
Old 06-07-2011, 10:16 PM   #4
LQ Newbie
Registered: May 2011
Posts: 7

Original Poster
Rep: Reputation: 1
Got it!

Being a new Dad doesn't provide me much time to research this stuff on my own time anymore, so I had recently resigned myself to accepting having to boot into rescue mode to get the system up and running past GRUB.

Then today at work I was investigating block level alignment to VMware guests running RHEL with the storage back-end (NetApp SAN). I found a document that walks one through a utility that is a part of the ESX host utility kit from NetApp called MBRAlign. The document goes on to say that after you align Linux guests, grub likely needs to be reinstalled and they provided detailed steps - ding ding ding --> yay! This is exactly what I need. I was trying to fix my issue with "grub-install" and tried identifying the whole (hd0,0) thing with every possible combination I knew possible each time I had to reboot (due to power outage or whatnot). Then, I found this document and found the missing steps, which are (after booting into rescue mode and chrooting the system):

1 - grub
2 - root (hd0,0)
3 - setup (hd0)
4 - quit

This didn't work the first time, I tried something like hd1,0 in the second step and it worked! It got me to the boot loader to the point where I could see the kernels, but it still failed to boot however after a quit edit there to point it at hd1,0 instead of hd2,0, it works! Now I just need to make that change persistent in /boot/menu.lst and I am good

So the issue was that grub couldn't find the second part of the loader (or whatever).

yay!!! So happy

Did NOT want to reinstall and didn't have time to figure it out on my own, hopefully someone else in this situation can make use of this post and benefit them

Last edited by savan; 06-07-2011 at 10:17 PM. Reason: duplicate paragraph during drafting...


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
Mounting smb folder with Fedora Core 5? FLX Linux - Networking 23 07-03-2009 07:09 PM
Problematic Fedora Core 5? SMB / vSFTPd issues. danj_fc5usr Linux - Server 1 08-22-2006 11:16 PM
Troubles with Fedora Core 4, help please Ray Salamon Linux - Newbie 4 08-10-2005 10:34 PM
Trying to install Fedora Core 3 - CD troubles buzznick Fedora - Installation 1 03-30-2005 02:37 PM
Fedora Core 1 SMB Printing Auth Problem rdjurovich Linux - Software 4 12-01-2004 08:57 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:47 PM.

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