On 10/18/2014 11:49 AM, Bruce Dubbs wrote:
Alan Feuerbacher wrote:
When I tried to begin working with my BLFS installation this morning, I
found that the normally blanked screen would not fire up into Linux. So
I powered the machine off and restarted. The usual Linux systemd
messages started up, then stopped with this message:
---[ end Kernel panic - not syncing: VRS: Unable to mount root fs on
unknow-block(8,19).
This smells to me like the hard drive (/dev/sdb) went bad, but that's
probably a wild guess.
I also let the machine boot up into Fedora, which is installed on
/dev/sda. I tried to get into the BLFS chroot environment, but when I
tried to mount the LFS sytem on /dev/sdb I got an error message that it
could not do it for several possible reasons, including "bad block".
Any suggestions for what I should look for?
It does indeed sound like a bad drive. A couple of things to check:
Does /dev/sdb exist? What about the partitions (/dev/sdb?)
Does fdisk/gdisk see the partition table?
If so, does a fsck on the partitions identify problems?
I ran both fdisk and gdisk on /dev/sda and /dev/sdb, which indicated no
issues. I also ran blkid and lsblk, with no issues indicated.
After some net searching (please note that I'm a complete tyro at this)
I found references to "badblocks", which after running now for several
hours has spit out 4 block? numbers. More searching, plus looking at man
pages, indicated that perhaps running e2fsch with appropriate switches
would be the way to go. Apparently that program can fix some problems
with the -p switch, but I hesitate to run that without much better
understanding of the consequences.
Online I found a link to recovery tools:
http://www.techrepublic.com/blog/10-things/10-linux-rescue-tools-for-recovering-linux-windows-or-mac-machines/
The references to Knoppix and Trinity Rescue Kit look promising.
Do you LFS guys have any experience with these tools?
I'm hoping that my past almost two months of installing LFS and BLFS
stuff won't be lost.
Alan
--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page