[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: GRUB2 error



On 05/21/2013 07:24 PM, Gary Roach wrote:
Hi

My wife let her Debian machine get over 450 packages behind before I
caught it. What a mess. The last problem is that when booting up the
Welcome to Grub notice appears and then:
         error:file not found
         Entering rescue mode
         grubrescue>

If I run "ls" I find that the root directory should be (hd0,msdos1) and
that grub is under the /boot directory. Therefore I run:
         set prefix="(hd0,msdos1)/boot/grub"  <enter>
         set root="(hd0,msdos1)"  <enter>
         insmod normal  <enter>
         normal   <enter>
and the system boots up and runs fine; until I reboot and then the mess
starts all over again. How do I fix this. I suspect that I need to
somehow reset the grub file but that's just a SWAG. Help!!!!!

Oh yes, we are running Debian Wheezy (stable) and KDE desktop and fdisk
gives the following:

    root@supercrunch:/media# fdisk -l

    Disk /dev/sda: 500.1 GB, 500107862016 bytes
    255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x000b79ef

        Device Boot      Start         End      Blocks   Id  System
    /dev/sda1   *        2048   960036863   480017408   83  Linux
    /dev/sda2       960038910   976771071     8366081    5  Extended
    /dev/sda5       960038912   976771071     8366080   82  Linux swap /
    Solaris



Gary R.


I am no GRUB expert...but it seems to me you should boot the machine..get into a root terminal and run update-grub.
Or you can boot into rescue mode and do the same thing.



--
Cheers
Frank


Reply to: