Errors in /boot, now what?
Alan Dayley
plug-discuss@lists.plug.phoenix.az.us
Thu, 19 Jun 2003 21:31:55 +0200
Well, my hard drive decided to give my some hard errors in my /boot partition,
/dev/hda2. It will not boot, just gives the Going to GRUB stage 2 message.
I am now booted in Knoppix so I can attempt to repair things. See the
diagnostic data below.
So, I can get to my other partitions and save off the data, etc. This I will
do ASAP. But after that, is there anything I can do?
Ideally I would like to recover the /boot partition and keep using this disk.
May not be wise.
Second choice would be to recreate the /boot partition to some new partition
and keep using this disk. Maybe a pain and may not be wise.
Third choice is to replace the drive and then restore the data. Pain but
costly. It's only money.
Any pointers on any of these options?
I'll be back in a couple of hours.
Alan
=================================================
root@ttyp0[root]# fsck -t ext3 -CV /dev/hda2
fsck 1.32 (09-Nov-2002)
[/sbin/fsck.ext3 (1) -- /mnt/hda2] fsck.ext3 -C0 /dev/hda2
e2fsck 1.32 (09-Nov-2002)
/boot: Attempt to read block from filesystem resulted in short read while
reading block 273
/boot: Attempt to read block from filesystem resulted in short read reading
journal superblock
fsck.ext3: Attempt to read block from filesystem resulted in short read while
checking ext3 journal for /boot
root@ttyp0[root]#
=================================================
root@ttyp0[root]# dmesg | grep hda -
Kernel command line: ramdisk_size=100000 init=/etc/init lang=us apm=power-off
hda=scsi hdb=scsi hdc=scsi hdd=scsi hde=scsi hdf=scsi hdg=scsi hdh=scsi
vga=791 initrd=miniroot.gz nomce quiet BOOT_IMAGE=knoppix BOOT_IMAGE=vmlinuz
lang=us xmodule=vesa
ide_setup: hda=scsi
ide0: BM-DMA at 0x20a0-0x20a7, BIOS settings: hda:DMA, hdb:pio
hda: IC35L020AVER07-0, ATA DISK drive
hda: 40188960 sectors (20577 MB) w/1916KiB Cache, CHS=2658/240/63
hda: hda1 hda2 hda3 hda4 < hda5 >
hda: read_intr: status=0x59 { DriveReady SeekComplete DataRequest Error }
hda: read_intr: error=0x40 { UncorrectableError }, LBAsect=14334306,
sector=546
end_request: I/O error, dev 03:02 (hda), sector 546
hda: read_intr: status=0x59 { DriveReady SeekComplete DataRequest Error }
hda: read_intr: error=0x40 { UncorrectableError }, LBAsect=14334306,
sector=544
end_request: I/O error, dev 03:02 (hda), sector 544
hda: read_intr: status=0x59 { DriveReady SeekComplete DataRequest Error }
hda: read_intr: error=0x40 { UncorrectableError }, LBAsect=14334306,
sector=546
end_request: I/O error, dev 03:02 (hda), sector 546
hda: read_intr: status=0x59 { DriveReady SeekComplete DataRequest Error }
hda: read_intr: error=0x40 { UncorrectableError }, LBAsect=14334306,
sector=544
end_request: I/O error, dev 03:02 (hda), sector 544
hda: read_intr: status=0x59 { DriveReady SeekComplete DataRequest Error }
hda: read_intr: error=0x40 { UncorrectableError }, LBAsect=14334306,
sector=546
end_request: I/O error, dev 03:02 (hda), sector 546
hda: read_intr: status=0x59 { DriveReady SeekComplete DataRequest Error }
hda: read_intr: error=0x40 { UncorrectableError }, LBAsect=14334306,
sector=544
end_request: I/O error, dev 03:02 (hda), sector 544
hda: read_intr: status=0x59 { DriveReady SeekComplete DataRequest Error }
hda: read_intr: error=0x40 { UncorrectableError }, LBAsect=14334306,
sector=546
end_request: I/O error, dev 03:02 (hda), sector 546
hda: read_intr: status=0x59 { DriveReady SeekComplete DataRequest Error }
hda: read_intr: error=0x40 { UncorrectableError }, LBAsect=14334306,
sector=544
end_request: I/O error, dev 03:02 (hda), sector 544
hda: read_intr: status=0x59 { DriveReady SeekComplete DataRequest Error }
hda: read_intr: error=0x40 { UncorrectableError }, LBAsect=14334306,
sector=546
end_request: I/O error, dev 03:02 (hda), sector 546
hda: read_intr: status=0x59 { DriveReady SeekComplete DataRequest Error }
hda: read_intr: error=0x40 { UncorrectableError }, LBAsect=14334306,
sector=544
end_request: I/O error, dev 03:02 (hda), sector 544
hda: read_intr: status=0x59 { DriveReady SeekComplete DataRequest Error }
hda: read_intr: error=0x40 { UncorrectableError }, LBAsect=14334306,
sector=546
end_request: I/O error, dev 03:02 (hda), sector 546
hda: read_intr: status=0x59 { DriveReady SeekComplete DataRequest Error }
hda: read_intr: error=0x40 { UncorrectableError }, LBAsect=14334306,
sector=544
end_request: I/O error, dev 03:02 (hda), sector 544
hda: read_intr: status=0x59 { DriveReady SeekComplete DataRequest Error }
hda: read_intr: error=0x40 { UncorrectableError }, LBAsect=14334306,
sector=546
end_request: I/O error, dev 03:02 (hda), sector 546
root@ttyp0[root]#