Results 1 to 4 of 4
Enjoy an ad free experience by logging in. Not a member yet? Register.
- Join Date
- Jun 2006
recover from badblocks destructive write?
Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel
Building a new DOS disklabel. Changes will remain in memory only,
until you decide to write them. After that, of course, the previous
content won't be recoverable.
The number of cylinders for this disk is set to 49360.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
(e.g., DOS FDISK, OS/2 FDISK)
Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite)
I ran the (unintentional) destructive badblocks test after seeing this message from
fsck -n -r /dev/sda1:
...Illegal triply indirect block found while reading bad blocks inode
... Bad block inode has illegal blocks
Now, when I check with fsck, it shows:
fsck.ext3: No such device or address while trying to open /dev/sda1
Possibly non-existent or swap device?
When I was running badblocks, I found that the log was filled with:
Jun 24 13:34:00 gal14 kernel: 08:01: rw=1, want=715827884, limit=396484168
Jun 24 13:34:00 gal14 kernel: attempt to access beyond end of device
Although, the raid disk showed no bad blocks from running badblocks command.
How can I tell how much data is lost? How can it be retrieved? Is there a way to fix the partition table safely?
06-27-2006 #2Is there a way to fix the partition table safely?
fdisk to re-enter the partition data, and they will magically reappear.
If you don't know this info, chances are slim.
- Join Date
- Jul 2003
- Stockholm, Sweden
badblocks in destructive mode is the best way to render data unrecoverable im afraid.
i'm sure it's recoverable, you'd just need to enlist the FBI and explain your porn stash
sorry, just feeling like a wind-up merchant todayHere's why Linux is easier than Windows:
Package Managers! Apt-Get and Portage (among others) allow users to install programs MUCH easier than Windows can.
Hardware Drivers. In SuSE, ALL the hardware is detected and installed automatically! How is this harder than Windows' constant disc changing and rebooting?