LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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


Reply
  Search this Thread
Old 01-29-2006, 04:20 PM   #1
iacopop
LQ Newbie
 
Registered: Dec 2005
Location: Italy
Distribution: debian
Posts: 6

Rep: Reputation: 0
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
 
Old 01-29-2006, 06:07 PM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
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.
 
Old 01-30-2006, 03:07 AM   #3
iacopop
LQ Newbie
 
Registered: Dec 2005
Location: Italy
Distribution: debian
Posts: 6

Original Poster
Rep: Reputation: 0
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
 
Old 01-30-2006, 08:20 AM   #4
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
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
 
Old 01-30-2006, 12:45 PM   #5
iacopop
LQ Newbie
 
Registered: Dec 2005
Location: Italy
Distribution: debian
Posts: 6

Original Poster
Rep: Reputation: 0
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Cloning 1 hard disk to smaller hard disk, dd or ghost? fireman949 Linux - Hardware 8 12-23-2012 12:51 AM
Rescue disk UmneyDurak Mandriva 5 08-03-2004 02:49 AM
Hard Disk question - Making a big hard disk MrAnonym Linux - General 2 09-15-2003 06:08 PM
Boot disk, rescue disk deepika Linux - General 3 07-08-2003 01:17 PM
Hard disk now displaying "not a valid block device" when booting in rescue mode alphasure Linux - Hardware 4 06-05-2003 07:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:42 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration