GRUB "Error 2: Bad file or directory type" 0.97 won

You can see the problem below, GRUB recognizes my hard drive and sees the partitions but cannot access them.  This is from the GRUB boot disc I'm using.

What happened is that I had some power issues causing this system's power to be interrupted several times and basically an on/off on/off situation.

The system won't boot, I just get a flashing cursor and no message or error from GRUB.  Obviously the problem is that my MBR seems corrupt or some other issue.

My filesystem is ext3 and running fsck does not find any errors.  I'm stumped, this system won't boot and I can't even use GRUB to repair the MBR.  The data seems fine, the BIOS of course recognizes the HDD and I can mount all partitions without any difficulty.

 *Update

I was able to get my system to boot, it seems that maybe running the fsck did fix something.  I also believe there are differences between some GRUB versions, although both my boot CD and GRUB on my OS show .97, the boot disc was not able to read anything on the partition.  This is still very strange and I'm not sure why things changed and suddenly worked.

It seems this was caused by the 256 byte inode issue reported here: http://www.linuxplanet.com/linuxplanet/tutorials/6480/1/

But still, both versions are .97 but I assume the one on the OS partition is patched or updated to support the 256 byte inodes.  This is a very silly move on the part of the EXT3 filesystem maintainers and it would also be nice for GRUB to release an update to support this new style of inodes on EXT3 and EXT4 systems.

    GNU GRUB  version 0.97  (640K lower / 3072K upper memory)

       [ Minimal BASH-like line editing is supported.   For
         the   first   word,  TAB  lists  possible  command
         completions.  Anywhere else TAB lists the possible
         completions of a device/filename. ]

grub> root (hd0,0)/
Error 2: Bad file or directory type

grub> root (hd0,
 Possible partitions are:
   Partition num: 0,  Filesystem type is ext2fs, partition type 0x83
   Partition num: 1,  Filesystem type unknown, partition type 0x83
   Partition num: 2,  Filesystem type is ext2fs, partition type 0x83
   Partition num: 3,  Filesystem type is ext2fs, partition type 0x83

grub> root (hd0,

 


Tags:

grub, directory, wonyou, recognizes, partitions, disc, interrupted, flashing, cursor, mbr, corrupt, filesystem, ext, fsck, errors, stumped, repair, bios, hdd, mount, difficulty, update, differences, versions, os, partition, byte, inode, reported, http, www, linuxplanet, tutorials, patched, updated, inodes, maintainers, gnu, minimal, bash, editing, supported, tab, lists, completions, filename, hd, num, fs,

Latest Articles

  • How high can a Xeon CPU get?
  • bash fix PATH environment variable "command not found" solution
  • Ubuntu Linux Mint Debian Redhat Youtube Cannot Play HD or 4K videos, dropped frames or high CPU usage with Nvidia or AMD Driver
  • hostapd example configuration for high speed AC on 5GHz using WPA2
  • hostapd how to enable and use WPS to connect wireless devices like printers
  • Dell Server Workstation iDRAC Dead after Firmware Update Solution R720, R320, R730
  • Cloned VM/Server/Computer in Linux won't boot and goes to initramfs busybox Solution
  • How To Add Windows 7 8 10 11 to GRUB Boot List Dual Booting
  • How to configure OpenDKIM on Linux with Postfix and setup bind zonefile
  • Debian Ubuntu 10/11/12 Linux how to get tftpd-hpa server setup tutorial
  • efibootmgr: option requires an argument -- 'd' efibootmgr version 15 grub-install.real: error: efibootmgr failed to register the boot entry: Operation not permitted.
  • Apache Error Won't start SSL Cert Issue Solution Unable to configure verify locations for client authentication SSL Library Error: 151441510 error:0906D066:PEM routines:PEM_read_bio:bad end line SSL Library Error: 185090057 error:0B084009:x509 certif
  • Linux Debian Mint Ubuntu Bridge br0 gets random IP
  • redis requirements
  • How to kill a docker swarm
  • docker swarm silly issues
  • isc-dhcp-server dhcpd how to get longer lease
  • nvidia cannot resume from sleep Comm: nvidia-sleep.sh Tainted: Linux Ubuntu Mint Debian
  • zfs and LUKS how to recover in Linux
  • [error] (28)No space left on device: Cannot create SSLMutex Apache Solution Linux CentOS Ubuntu Debian Mint