Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
01-29-2006, 04:20 PM
|
#1
|
LQ Newbie
Registered: Dec 2005
Location: Italy
Distribution: debian
Posts: 6
Rep:
|
hard-disk rescue
I have a problem caused by (i think) Partition magic under windows.
When i go to linux debian and i try to mount the home directory:
mount -t ext3 /dev/hda6 /mnt/hda6
mount: wrong fs type, bad option, bad superblock on /dev/hda6,
missing codepage or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
this is the error from dmesg:
FAT: bogus logical sector size 0
VFS: Can't find a valid FAT filesystem on dev 07:04.
VFS: Can't find ext3 filesystem on dev ide0(3,6).
i have created an image with dd:
dd if=/dev/hda6 of=image.img
How can i see what the image (hda6) contains?
Can i rescue my files?
Thank you All
Iacopo
|
|
|
01-29-2006, 06:07 PM
|
#2
|
LQ Veteran
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809
|
Need some info:
Total HD setup, partitions, etc. (fdisk -l --that's ell, not one)
Can you boot into the Linux install--are all the other directories OK?
Was /home not mounted by default in the Linux install?
Output of cat fstab--running under Linux.
|
|
|
01-30-2006, 03:07 AM
|
#3
|
LQ Newbie
Registered: Dec 2005
Location: Italy
Distribution: debian
Posts: 6
Original Poster
Rep:
|
info
I can log in my debian distr.
I have also fedora with 2 partition / (hda7) and /home (hda6).
I think the /home of fedora is corrupted.
This is the situation of cfdisk:
hda6 NC Logical Linux (no mount) 10478.98*
I see that there is not mount point.
Perhaps i i to put tha mount point?
fdisk -l /dev/hda6 prints:
Disk /dev/hda6: 10.4 GB, 10478942208 bytes
255 heads, 63 sectors/track, 1273 cylinders
Units = cylinders of 16065 * 512 = 8228280 bytes
Disk /dev/hda6 doesn't contain a valid partition table
Bye
Iacopo
|
|
|
01-30-2006, 08:20 AM
|
#4
|
LQ Veteran
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809
|
You did fdisk on a partition---I do not know how to interpret that.
do this: fdisk /dev/hda
then: "p" to list the partitions
|
|
|
01-30-2006, 12:45 PM
|
#5
|
LQ Newbie
Registered: Dec 2005
Location: Italy
Distribution: debian
Posts: 6
Original Poster
Rep:
|
fdisk /dev/hda
Command (m for help): p
Disk /dev/hda: 163.9 GB, 163928604672 bytes
255 heads, 63 sectors/track, 19929 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 8924 71681998+ 7 HPFS/NTFS
/dev/hda2 13958 19863 47439945 f W95 Ext'd (LBA)
/dev/hda3 8925 13957 40427572+ 83 Linux
/dev/hda5 13958 14024 538146 82 Linux swap / Solaris
/dev/hda6 14025 15298 10233342 83 Linux
/dev/hda7 15299 19863 36668331 83 Linux
bye
|
|
|
All times are GMT -5. The time now is 05:42 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|