My HTPC locked up and just failed to reboot last week. Attempted reboot saw the POST move really slowly taking almost 5 minutes to discover all attached devices. Attempting to boot from the hard drive results in gfxmenu not found (hd1,7) and then "grub error 22" no such partition.
The three HD's attached are S.M.A.R.T capable and enabled; all three show OK health. Seagate's diag run on the boot disc (a 320 GB Barracuda) shows the disc failing with age, but not imminently so.
When I boot into a GUI (Mageia live CD) I can use the partition manager to see /dev/sdb8 (/boot) full of the files and directories that you would see in the /boot directory. They're all there. But when I boot the Magia DVD into rescue mode and mount all the existing partitions under /mnt, I can see the /mnt/boot partition in the terminal, but it is empty.
The fdisk -l command yields:
- Code: Select all
fdisk -l
Disk /dev/sda: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x72ba2115
Device Boot Start End Blocks Id System
/dev/sda1 * 1 30401 244196001 83 Linux
Disk /dev/sdb: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000001
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 1275 10241406 7 HPFS/NTFS
/dev/sdb2 1276 38913 302327235 5 Extended
/dev/sdb5 1276 1784 4088511 83 Linux
/dev/sdb6 1785 2293 4088511 82 Linux swap / Solaris
/dev/sdb7 2294 3312 8185086 83 Linux
/dev/sdb8 3313 3950 5124703+ 83 Linux
/dev/sdb9 3951 7259 26579511 83 Linux
/dev/sdb10 7260 7583 2602498+ 83 Linux
/dev/sdb11 7584 21525 111989083+ 83 Linux
/dev/sdb12 25526 38913 107539078+ 83 Linux
/dev/sdb13 21526 25525 32129968+ 83 Linux
Partition table entries are not in disk order
Disk /dev/sdc: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x8aa3d05b
Device Boot Start End Blocks Id System
/dev/sdc1 * 1 60801 488384001 83 Linux
Tried the following:
- 1. Used cfdisk to turn off boot flags on sda and sdc. Verified boot flag set on sdb (hd1,7).
2. Reboot. Observe gfxmenu not found (hd1,7) and then "grub error 22" no such partition.
3. Booted Mageia DVD in rescue mode and attempted to reload boot loader - guessmounts failed at /usr/bin/install_bootloader line 28
4. Reinstall grub:
grub> root (hd1,7)
grub> setup (hd1)
grub> quit
5. Reboot. Observe gfxmenu not found (hd1,7) and then "grub error 22" no such partition.
6. Disconnected non-boot drives and tried it all over again - no change
I see 2 possibilities here:
1. The hard drive is failing. I attempted to replace that drive with a reconditioned 1TB drive that I had. Initial installation of Mageia 1 went well, but while attempting to update, after about 10 minutes or so, the update failed claiming that the file system was marked read only. This happened several times. I tend to suspect the disc but it's possible that...
2. The motherboard is failing. The glacially slow POST bothers me. It can take several minutes to detect the drives. It can also take several minutes to produce the BIOS menus or the boot device menu if one of those options is selected on boot. Once a boot device is selected, or if I just let it boot, it eventually (I'm talking 5 - 10 minutes) kicks that boot device and proceeds to boot the CD or fail on the hard drive as described above. The pace at which the POST proceeds is not consistent from boot-to-boot. Some are slower than others.
I have another hd ordered and if that one misbehaves, I'll start looking to replace the mobo, but if anybody out there has any wisdom on this before I start throwing time and money at it, I'd appreciate hearing from you about it.
Thanks much.
Mark