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

Re: GRUB2 error



On Tue, May 21, 2013 at 04:24:39PM -0700, 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.

Hi,

Can you share with us the output of `grub-mkconfig`?

For reference I link the Debian wiki page on GRUB:
http://wiki.debian.org/Grub

-- 
staticsafe
O< ascii ribbon campaign - stop html mail - www.asciiribbon.org
Please don't top post - http://goo.gl/YrmAb
Don't CC me! I'm subscribed to whatever list I just posted on.


Reply to: