Forum     

Go Back   Digit Technology Discussion Forum > Software > Open Source
Register FAQ Calendar Mark Forums Read

Open Source A place where you can talk to like-minded people about the fastest growing software movement today! Discuss anything and everything about Open Source software and Operating Systems.

Closed Thread
 
LinkBack Thread Tools Display Modes
Old 25-05-2008, 02:11 PM   #1 (permalink)
Wise Old Owl
 
Dark Star's Avatar
 
Join Date: Feb 2006
Location: /dev/hd0
Posts: 1,487
Default Partitions Corrupted .. Urgent Help needed !

Hi
I recently installed Ubuntu 8.04 dual boot with Mandriva 2008.1 .. Now Ubuntu has some problem with my system so I formatted the HDD partition of the same using Mandriva inbuilt Disk Manager in Mandriva Control Center.. After I formattedi mounted it at /media/hd1 .. I restated so that everything work fine.. Now it detects only one of the NTFS partition and Filesystem, when I open Mandriva Drive Manager it says the following error..




Now I has some valuable data . how can I recover that ? Any help would be appreciated !

fdisk -l


Code:
[root@localhost shashwat]# fdisk -l
Warning: ignoring extra data in partition table 5
Warning: ignoring extra data in partition table 5

Disk /dev/hda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x0dd6c6bd

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1   *           1        3187    25599546    7  HPFS/NTFS
/dev/hda2            3188        8287    40965687    f  W95 Ext'd (LBA)
/dev/hda3            8288        9607    10602900   83  Linux
/dev/hda4            9608        9729      979965   82  Linux swap / Solaris
/dev/hda5   ?        3597      122978   958924038+  70  DiskSecure Multi-Boot
/etc/fstab

Code:
# Entry for /dev/hda3 :
UUID=3235544d-f8bf-459d-966b-de3e541f3d12 / ext3 defaults 1 1
# Entry for /dev/hda1 :
UUID=CCE44E48E44E354C /media/hd ntfs-3g defaults 0 0
# Entry for /dev/hda7 :
UUID=0873F1E02F80CB85 /media/hd1 ntfs-3g defaults 0 0
# Entry for /dev/hda5 :
UUID=15BEB5322F467B42 /media/hd2 ntfs-3g defaults 0 0
# Entry for /dev/hda6 :
UUID=0BCF489D1C56ABAA /media/hd3 ntfs-3g defaults 0 0
none /proc proc defaults 0 0
# Entry for /dev/hda4 :
UUID=8bd4d2de-165a-46d0-a3da-85e9db62a11c swap swap defaults 0 0
Regards

Somebody help me .. Cause if I loose the data my sis will kill me
__________________
Me Myself and My Tux Blog :- http://tuxenclave.wordpress.com/

Last edited by Dark Star; 25-05-2008 at 04:47 PM. Reason: Automerged Doublepost
Dark Star is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 25-05-2008, 05:15 PM   #2 (permalink)
left this forum longback
 
praka123's Avatar
 
Join Date: Sep 2005
Location: -
Posts: 7,513
Default Re: Partitions Currupted .. Urgent Help needed !

well,why not fix the partition table first?
remember,after fixing partn table,you may not be able to boot into Linux.you have to put "fdisk -l" o/p here:
So,do this:
boot a livecd,open a terminal as root:
run :
Code:
fdisk /dev/hda
press "x" now.again press "f".type "quit" to exit.now do a "partprobe" in root terminal

now,u seems to have made a raid0 partition?there is no need for raid unless you got identical harddisks
read this:
http://ubuntuforums.org/showthread.php?t=706335
__________________
left this forum long back.Admin Can Delete this Account and posts Permanantly.Thank You
Get GNU/Linux - http://getgnulinux.org
praka123 is offline  
Old 25-05-2008, 05:17 PM   #3 (permalink)
Wise Old Owl
 
Dark Star's Avatar
 
Join Date: Feb 2006
Location: /dev/hd0
Posts: 1,487
Default Re: Partitions Currupted .. Urgent Help needed !

Code:
[shashwat@localhost ~]$ su root
Password:
[root@localhost shashwat]# fdisk /dev/hda

The number of cylinders for this disk is set to 9729.
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: ignoring extra data in partition table 5
Warning: ignoring extra data in partition table 5

Command (m for help): x

Expert command (m for help): f
Nothing to do. Ordering is correct already.


Expert command (m for help): partprobe

Disk /dev/hda: 255 heads, 63 sectors, 9729 cylinders

Nr AF  Hd Sec  Cyl  Hd Sec  Cyl     Start      Size ID
 1 80   1   1    0 254  63 1023         63   51199092 07
 2 00 254  63 1023 254  63 1023   51199281   81931374 0f
 3 00 254  63 1023 254  63 1023  133130655   21205800 83
 4 00 254  63 1023 254  63 1023  154336455    1959930 82
 5 20  99  47  365 114  37  371    6579571 1917848077 70

Expert command (m for help):
I did this ..Lemme reboot and see !
__________________
Me Myself and My Tux Blog :- http://tuxenclave.wordpress.com/
Dark Star is offline  
Old 25-05-2008, 05:21 PM   #4 (permalink)
left this forum longback
 
praka123's Avatar
 
Join Date: Sep 2005
Location: -
Posts: 7,513
Default Re: Partitions Currupted .. Urgent Help needed !

well,nothing much.you have to mount the raid partition and see.I dont know much about raid man!.follow the link I gave.
__________________
left this forum long back.Admin Can Delete this Account and posts Permanantly.Thank You
Get GNU/Linux - http://getgnulinux.org
praka123 is offline  
Old 25-05-2008, 05:45 PM   #5 (permalink)
Wise Old Owl
 
Dark Star's Avatar
 
Join Date: Feb 2006
Location: /dev/hd0
Posts: 1,487
Default Re: Partitions Currupted .. Urgent Help needed !

I don't have RAID only 1 HDD> Also that outputwas from Mandriva, boot into Ubuntu Live and when I tried the command I get this error

Code:
ubuntu@ubuntu:~$ sudo fdisk /dev/hda

Unable to open /dev/hda
ubuntu@ubuntu:~$
__________________
Me Myself and My Tux Blog :- http://tuxenclave.wordpress.com/
Dark Star is offline  
Old 25-05-2008, 06:24 PM   #6 (permalink)
in search of myself
 
CadCrazy's Avatar
 
Join Date: Sep 2006
Location: Gurgaon
Posts: 1,719
Default Re: Partitions Currupted .. Urgent Help needed !

Use
sudo fdisk /dev/sda
__________________
::::::::::::::::::::
Unban Praka123
::::::::::::::::::::
Vista is my Secretary | Mac is my Girlfriend | Linux is my Wife
"Ek Se Mera Kya Hoga"
CadCrazy is offline  
Old 25-05-2008, 06:37 PM   #7 (permalink)
Broken In
 
r2d2's Avatar
 
Join Date: Oct 2006
Posts: 174
Default Re: Partitions Currupted .. Urgent Help needed !

You have a pretty messed up partition table there, hda3 and hda4 looks like primary partitions to me, in that case the extended partition (hda2) should be the last partition. Also hda5 is overlapping with hda2.
r2d2 is offline  
Old 25-05-2008, 07:13 PM   #8 (permalink)
Wise Old Owl
 
Dark Star's Avatar
 
Join Date: Feb 2006
Location: /dev/hd0
Posts: 1,487
Default Re: Partitions Currupted .. Urgent Help needed !

How do I fix it ! Ok will try sda
__________________
Me Myself and My Tux Blog :- http://tuxenclave.wordpress.com/
Dark Star is offline  
Old 25-05-2008, 07:27 PM   #9 (permalink)
left this forum longback
 
praka123's Avatar
 
Join Date: Sep 2005
Location: -
Posts: 7,513
Smile Re: Partitions Currupted .. Urgent Help needed !

well shashwat,you accidentally made a software raid-0 like partition then
partition 70 means " 70 DiskSecure Multi-Boot "
I will recommend you,mount this raid(ntfs?) and backup your data.format it to a regular ext3 partition.

always make partitions manually or using gparted,then show the distro the path to install.
follow this as earlier told:
http://ubuntuforums.org/archive/index.php/t-706335.html

no other solution I can think of
__________________
left this forum long back.Admin Can Delete this Account and posts Permanantly.Thank You
Get GNU/Linux - http://getgnulinux.org
praka123 is offline  
Old 25-05-2008, 07:55 PM   #10 (permalink)
Wise Old Owl
 
Dark Star's Avatar
 
Join Date: Feb 2006
Location: /dev/hd0
Posts: 1,487
Default Re: Partitions Currupted .. Urgent Help needed !

Here is the output with sda in Ubuntu Live Cd

Code:
ubuntu@ubuntu:~$ sudo fdisk /dev/sda

The number of cylinders for this disk is set to 9729.
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: ignoring extra data in partition table 5
Warning: ignoring extra data in partition table 5

Command (m for help): x

Expert command (m for help): f
Nothing to do. Ordering is correct already.


Expert command (m for help): quit

ubuntu@ubuntu:~$ partprobe
Warning: Unable to open /dev/fd0 read-write (Read-only file system).  /dev/fd0 has been opened read-only.
Warning: Unable to open /dev/scd0 read-write (Read-only file system).  /dev/scd0 has been opened read-only.
ubuntu@ubuntu:~$
@parka : lemme check that link Just hope I recover the data

Isn't there software for backup ! I don't wanna lose the photo and docs . Other data doesn't matter to me "|
__________________
Me Myself and My Tux Blog :- http://tuxenclave.wordpress.com/

Last edited by Dark Star; 25-05-2008 at 08:16 PM. Reason: Automerged Doublepost
Dark Star is offline  
Old 25-05-2008, 08:29 PM   #11 (permalink)
left this forum longback
 
praka123's Avatar
 
Join Date: Sep 2005
Location: -
Posts: 7,513
Default Re: Partitions Currupted .. Urgent Help needed !

wait,shashwat:
do you have winblows vista installed on 80GB partition?
__________________
left this forum long back.Admin Can Delete this Account and posts Permanantly.Thank You
Get GNU/Linux - http://getgnulinux.org
praka123 is offline  
Old 25-05-2008, 08:34 PM   #12 (permalink)
Wise Old Owl
 
Dark Star's Avatar
 
Join Date: Feb 2006
Location: /dev/hd0
Posts: 1,487
Default Re: Partitions Currupted .. Urgent Help needed !

NO I don't have windows

Code:
[shashwat@localhost ~]$ su root
Password:
[root@localhost shashwat]#  mount -t ntfs-3g /dev/mapper/isw_cdbechhbgi_Volume0 /media/raid0
ntfs-3g: Failed to access volume '/dev/mapper/isw_cdbechhbgi_Volume0': No such file or directory
Please type '/sbin/mount.ntfs-3g --help' for more information.
[root@localhost shashwat]# dmraid -r
No RAID disks
[root@localhost shashwat]#
__________________
Me Myself and My Tux Blog :- http://tuxenclave.wordpress.com/
Dark Star is offline  
Old 25-05-2008, 08:37 PM   #13 (permalink)
left this forum longback
 
praka123's Avatar
 
Join Date: Sep 2005
Location: -
Posts: 7,513
Smile Re: Partitions Currupted .. Urgent Help needed !

again what is the output of "fdisk -l" ?
do u have 2 harddisks?

also,install this utility called "testdisk" .it will come handy.
dont delete the partition in despair and panic.

I am completely clueless reg something with winblows
still,look what I found:
Quote:
DISKSECURE — Protects basic disk files from Viruses.
unrated
[added 1998-10-25]
Reviewed by Howard Schwartz (10-06-98)
DISKSECURE: There are three critical files (well, not actually files) at the beginning of your hard disk that perhaps up to 1/3 of the viruses in the wild like to hide in, or like to attack and corrupt:
  1. The "Master Boot Record" contains basic software that your computer executes every time you start up and boot your computer. If they hide here, "stealth" and/or "boot sector" viruses can get executed each time you start your computer, and then hide in ram.
  2. The "Partition Table" describes how many partitions you have on your disk, what type they are, and where they are.
  3. The "File Allocation Table" probably should be called the directory allocation table. It describes where to find all the directories on each partition, and, where to go on the disk, to find out which files are in each directory.
By corrupting or destroying any one of these three items, a virus can make a disk completely unusable. DISKSECURE protects items #1 and #2 from viruses:
  • Moving the Partition Table to a secret hiding place and replacing it with its own code.
  • Preventing any program from writing data to these parts of the disk.
  • Saving a good copy of #1 and #2 offline (e.g., on a floppy), so you can restore them, if the ones on the hard disk are deleted or corrupted.
  • Preventing any accidental booting of your computer from a floppy disk. Most viruses still enter a computer from a floppy disk, or other removable media.
  • If desired, requiring a password before your computer will boot to and access your hard disk.
DISKSECURE also includes a program that bypasses its defenses if you want a program to be able to access your hard disk's beginning sectors directly. DISKSECURE cannot protect your File Allocation Table in this way because it is constantly being written to and changed as new files are created, old ones deleted, etc. To protect this critical table, use a utility like STF.COM (save the FAT) to back it up each time you start your computer.
http://short.stop.home.att.net/frees...htm#disksecure

So,it will be some small file crapped by winblows? or freedos
/
__________________
left this forum long back.Admin Can Delete this Account and posts Permanantly.Thank You
Get GNU/Linux - http://getgnulinux.org

Last edited by praka123; 25-05-2008 at 09:09 PM. Reason: Automerged Doublepost
praka123 is offline  
Old 25-05-2008, 09:15 PM   #14 (permalink)
The Smaller Bang
 
MetalheadGautham's Avatar
 
Join Date: Sep 2007
Location: Gautham City
Posts: 7,431
Default Re: Partitions Currupted .. Urgent Help needed !

not only the partitions, your keyboard has also corrupted.
look at the topic title.
__________________
http://TheSmallerBang.wordpress.com
eMachines E725 - T4400 2.2GHz, 1GB, 160GB
Nokia 5130XM * T-Sonic 610 2GB
Nokia 2323C * Samsung Galaxy Y
Apple iPad 2 16GB WiFi
MetalheadGautham is offline  
Old 25-05-2008, 09:18 PM   #15 (permalink)
Wise Old Owl
 
Dark Star's Avatar
 
Join Date: Feb 2006
Location: /dev/hd0
Posts: 1,487
Default Re: Partitions Currupted .. Urgent Help needed !

I have posted the output of fdisk -l Check 1'st post , posting it again

Code:
[root@localhost shashwat]# fdisk -l
Warning: ignoring extra data in partition table 5
Warning: ignoring extra data in partition table 5

Disk /dev/hda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x0dd6c6bd

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1   *           1        3187    25599546    7  HPFS/NTFS
/dev/hda2            3188        8287    40965687    f  W95 Ext'd (LBA)
/dev/hda3            8288        9607    10602900   83  Linux
/dev/hda4            9608        9729      979965   82  Linux swap / Solaris
/dev/hda5   ?        3597      122978   958924038+  70  DiskSecure Multi-Boot
[root@localhost shashwat]#
I have only 1 80 Gb Hard Disk and No Windows
__________________
Me Myself and My Tux Blog :- http://tuxenclave.wordpress.com/
Dark Star is offline  
Old 26-05-2008, 01:28 AM   #16 (permalink)
left this forum longback
 
praka123's Avatar
 
Join Date: Sep 2005
Location: -
Posts: 7,513
Default Re: Partitions Currupted .. Urgent Help needed !

Code:
/dev/hda5   ?        3597      122978   958924038+  70  DiskSecure Multi-Boot
^this is suspicious,dont delete.I think in ubuntuforums,you may get a good answer(I know you posted there )
__________________
left this forum long back.Admin Can Delete this Account and posts Permanantly.Thank You
Get GNU/Linux - http://getgnulinux.org
praka123 is offline  
Old 26-05-2008, 09:15 AM   #17 (permalink)
Wise Old Owl
 
Dark Star's Avatar
 
Join Date: Feb 2006
Location: /dev/hd0
Posts: 1,487
Default Re: Partitions Currupted .. Urgent Help needed !

Let hope for the best .Will try Windows CD today ..
__________________
Me Myself and My Tux Blog :- http://tuxenclave.wordpress.com/
Dark Star is offline  
Closed Thread

Bookmarks

Thread Tools
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Currupted Nokia Pc suite hullap Software Q&A 2 07-02-2007 08:03 PM
help needed - creating recovery discs/partitions premrajeev QnA (read only) 2 28-06-2005 02:04 PM
XP profile currupted :( help ! vijaythefool Software Q&A 2 20-11-2004 07:30 PM
Help Badely Needed.......My Xp is currupted... saROMan Software Q&A 16 03-10-2004 03:03 PM


All times are GMT +5.5. The time now is 02:00 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2