Results 1 to 3 of 3
I made a stupid mkswap mistake. I typed
mkswap /dev/hda7
instead of mkswap /dev/hda6
and of course hda7 is where my important data is. Now I - newbie - don't ...
- 04-08-2006 #1Just Joined!
- Join Date
- Apr 2006
- Posts
- 3
HELP!: my stupid mkswap mistake
I made a stupid mkswap mistake. I typed
mkswap /dev/hda7
instead of mkswap /dev/hda6
and of course hda7 is where my important data is. Now I - newbie - don't know how to get my data back!
Grateful for help
Richard
- 04-11-2006 #2Linux Newbie
- Join Date
- Dec 2004
- Location
- Barrie, Ontario
- Posts
- 219
mkswap (or mke2fs, etc) is just like DOS's format command... your data is gone
Blog - KB5UMQ - Linux User #272983
3 Rules:
1) "It doesn't work..." is simply not useful information.
2) Don't cross post!
3) If you are asking for help, start by telling us your distro/os and version.
- 04-11-2006 #3Linux User
- Join Date
- Feb 2006
- Posts
- 484
try fsck on hda7
login with root account
umount the drive and type
fsck -fVa /dev/hda7
or try some windows based program like Get Data Back
and i advise to you think before do anything dangerous thing.


Reply With Quote
