On 05/21/2013 04: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.
To all the questions.
I reinstalled grub2. The same problem persists.
I have run update-grub2 (a stub that runs grub-mkconfig for grub2)
several times with no improvement. i also ran grub-mkconfig directly.
Same results. See listing below.
I've had Wheezy on these systems for a long time. I didn't check the
wifes system for a long time and there was a flurry of changes shortly
before Wheezy went stable. I think that is why there where so many
updates. I have also checked /etc/apt/source.list to make sure.
Everything is set to stable at this point.
root@xxxxxx:/etc/apt# grub-mkconfig -o /boot/grub/grub.cfg
Generating grub.cfg ...
Found background image: /usr/share/images/desktop-base/desktop-grub.png
Found linux image: /boot/vmlinuz-3.2.0-4-686-pae
Found initrd image: /boot/initrd.img-3.2.0-4-686-pae
Found linux image: /boot/vmlinuz-2.6.32-5-686
Found initrd image: /boot/initrd.img-2.6.32-5-686
done
I hope this answers everyone's questions.
Gary R.