Crazy GRUB??
FedoraForum.org - Fedora Support Forums and Community
Results 1 to 4 of 4
  1. #1
    Join Date
    Apr 2005
    Posts
    82

    Crazy GRUB??

    Hi folks,
    I'm having a strange behaviour with GRUB, and I don't know much about it.
    The problem is that GRUB is looking at the wrong place when it starts.

    I have a /boot partition (/dev/sda1) with everything for booting and grub. This gets updated when I update, say, the kernel, grub, etc.
    But I also have a /backups partition (/dev/sda4) with a directory /backups/boot/grub that is a copy of /boot/grub. The /backups/boot directory only has the /backups/boot/grub directory, not the kernels, etc.

    If I delete the /backups/boot/grub directory, I get a "grub>" console at startup, and system doesn't boot.

    SO: Why is grub looking at /backups/boot/grub instead of /boot/grub and how can I fix this?

    This is my grub.conf, identical in both directories, and both pointing to /boot=/dev/sda1=(hd0,0):

    ================================================== ==
    # grub.conf generated by anaconda
    default=0
    timeout=5
    hiddenmenu
    title Fedora (2.6.34.7-63.fc13.i686.PAE)
    root (hd0,0)
    kernel /vmlinuz-2.6.34.7-63.fc13.i686.PAE [...]
    initrd /initramfs-2.6.34.7-63.fc13.i686.PAE.img
    ================================================== ==


    and this is my device.map:
    ================================================== ==
    (fd0) /dev/fd0
    (hd0) /dev/sda
    (hd1) /dev/sdb
    ================================================== ==

    Thanks a lot for your help!!!
    Cheers,
    L.
    Last edited by Luis; 11th December 2010 at 06:17 PM.

  2. #2
    Join Date
    Mar 2007
    Location
    Hasselt, Belgium
    Age
    46
    Posts
    21

    Re: Crazy GRUB??

    To which file is the /boot/grub/menu.lst file linked?

  3. #3
    Join Date
    Dec 2010
    Posts
    17

    Re: Crazy GRUB??

    It's crazy to do backup as cut and copy back.
    Did that really happen?

  4. #4
    Join Date
    Apr 2005
    Posts
    82

    Re: Crazy GRUB??

    Quote Originally Posted by fvangeirt
    To which file is the /boot/grub/menu.lst file linked?
    lrwxrwxrwx 1 root root 9 Oct 29 00:52 /boot/grub/menu.lst -> grub.conf

    Thanks,
    L.

    ---------- Post added at 05:20 PM ---------- Previous post was at 05:19 PM ----------

    Quote Originally Posted by sfystone
    It's crazy to do backup as cut and copy back.
    Did that really happen?
    Sorry, I didn't understand your question...
    I probably did some grub thing a while ago, and made a backup of the whole /boot partition in my /backups directory. Then, for some reason, GRUB is working with that one...

    Thanks,
    L.

    ---------- Post added at 06:13 PM ---------- Previous post was at 05:20 PM ----------

    Never mind. I reinstalled grub in sda, and now works fine.

    Thanks!!!
    L.

Similar Threads

  1. Help! - I think I'm going crazy!
    By Henry2630 in forum Servers & Networking
    Replies: 7
    Last Post: 2nd January 2008, 03:46 AM
  2. I'm going crazy
    By Stian1979 in forum Using Fedora
    Replies: 21
    Last Post: 10th March 2007, 02:45 PM
  3. Am I going crazy?
    By sadmac in forum Linux Chat
    Replies: 8
    Last Post: 18th October 2006, 06:50 AM
  4. Who is crazy - grub or me?
    By electron1948 in forum Installation, Upgrades and Live Media
    Replies: 7
    Last Post: 8th October 2005, 03:06 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •