johnnywellas
August 28th, 2008, 03:31 PM
Hey there. Please excuse me for consuming some of your time, but I've been trying to solve this difficulty, without success.
So here's the deal: I was happily using my desktop, when suddenly it became kinda slow. I checked Azureus (Vuze?) and it was mentioning some disk write error messages on the active torrents. That is awkward, but "normal", given that that hard disk has already had some read/write trouble (had to put it in the freezer to recover data), this sometimes happens, and it is solvable with a restart, ext3 journaling does its thing wonderfully.
Basically, i restarted the machine, it loaded grub (as it is on another hard drive), then it showed the splash screen, and as soon as it tries to mount the lvm partition i have, which has the root filesystem from which grub boots, it freezes (black screen with just the cursor blinking on the top left corner of the screen).
Given the circumstances, i ran a thorough surface test of the hard drive, with a utility on Hiren's Boot CD (which, shamefully, has no kind of recovery functionality that can mount or manage LVM), just to make sure it wasn't some physical medium failure. The surface test showed no errors whatsoever, so, i suppose that the origin of this problem could be something like LVM "headers" (if this does make any sense), as if the information contained may all be there, but the volume is unmountable.
I'll explain how my machine has the hard drives set up:
HD1 - 80GB
- /boot
- Linux Swap
- 2 NTFS Partitions with a defunct WinXP installation which i'll completely redo as soon as i have time/patience
HD2 - 200 GB
- Windows Swap
- LVM with root mount point, where i have all the data
(^^ This is the partition that the system won't mount, and therefore boot)
The thing is, even partition managers won't recognize the LVM filesystem, it just gets classified as "Other". I really don't know of any applications that can be booted from a cd or whatever that can solve this.
I'll leave the contents of the menu.lst file, if it can be of any usefulness:
root (hd0,3)
kernel /vmlinuz-2.6-19-rt root=dev/mapper/WD2000VG-WD2000LV ro splash vga=795
initrd /initrd.img-2.6.24-19-rt
quiet
(i had to write it all by hand from the edit option on grub, i suppose i didn't commit any typos here - anyway it always worked fine like this, so...)
Summing it all up - i don't even need to fully restore the system as it were. Being able to handle the LVM volume would be enough, so that i can copy some stuff i still hadn't backed up to an external hard drive. Having to completely reinstall the system would be fair enough, but of course that keeping what i had would be the preferable solution.
Well thanks in advance for having read this far, hope i'm not being too bothersome or inconvenient.
Hope you guys can help me out on this. And thanks again.
---------------------
Oh, i almost forgot! I also tried to recover the system with the ubuntu installation cd, and when i get to the menu where i'm supposed to select the partition where to try to recover the system, i select the lvm volume, and i get an error message saying that an error occured while trying to mount that volume. Hope this can be of any further help or clarification. Thanks.
So here's the deal: I was happily using my desktop, when suddenly it became kinda slow. I checked Azureus (Vuze?) and it was mentioning some disk write error messages on the active torrents. That is awkward, but "normal", given that that hard disk has already had some read/write trouble (had to put it in the freezer to recover data), this sometimes happens, and it is solvable with a restart, ext3 journaling does its thing wonderfully.
Basically, i restarted the machine, it loaded grub (as it is on another hard drive), then it showed the splash screen, and as soon as it tries to mount the lvm partition i have, which has the root filesystem from which grub boots, it freezes (black screen with just the cursor blinking on the top left corner of the screen).
Given the circumstances, i ran a thorough surface test of the hard drive, with a utility on Hiren's Boot CD (which, shamefully, has no kind of recovery functionality that can mount or manage LVM), just to make sure it wasn't some physical medium failure. The surface test showed no errors whatsoever, so, i suppose that the origin of this problem could be something like LVM "headers" (if this does make any sense), as if the information contained may all be there, but the volume is unmountable.
I'll explain how my machine has the hard drives set up:
HD1 - 80GB
- /boot
- Linux Swap
- 2 NTFS Partitions with a defunct WinXP installation which i'll completely redo as soon as i have time/patience
HD2 - 200 GB
- Windows Swap
- LVM with root mount point, where i have all the data
(^^ This is the partition that the system won't mount, and therefore boot)
The thing is, even partition managers won't recognize the LVM filesystem, it just gets classified as "Other". I really don't know of any applications that can be booted from a cd or whatever that can solve this.
I'll leave the contents of the menu.lst file, if it can be of any usefulness:
root (hd0,3)
kernel /vmlinuz-2.6-19-rt root=dev/mapper/WD2000VG-WD2000LV ro splash vga=795
initrd /initrd.img-2.6.24-19-rt
quiet
(i had to write it all by hand from the edit option on grub, i suppose i didn't commit any typos here - anyway it always worked fine like this, so...)
Summing it all up - i don't even need to fully restore the system as it were. Being able to handle the LVM volume would be enough, so that i can copy some stuff i still hadn't backed up to an external hard drive. Having to completely reinstall the system would be fair enough, but of course that keeping what i had would be the preferable solution.
Well thanks in advance for having read this far, hope i'm not being too bothersome or inconvenient.
Hope you guys can help me out on this. And thanks again.
---------------------
Oh, i almost forgot! I also tried to recover the system with the ubuntu installation cd, and when i get to the menu where i'm supposed to select the partition where to try to recover the system, i select the lvm volume, and i get an error message saying that an error occured while trying to mount that volume. Hope this can be of any further help or clarification. Thanks.