Results 1 to 17 of 17
  1. #1
    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
    Last edited by Dark Star; 25-05-2008 at 04:47 PM. Reason: Automerged Doublepost
    Me Myself and My Tux Blog :- http://tuxenclave.wordpress.com/

  2. #2
    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

  3. #3
    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/

  4. #4
    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

  5. #5
    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/

  6. #6
    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" :lol:

  7. #7
    Broken In r2d2's Avatar
    Join Date
    Oct 2006
    Posts
    177

    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.

  8. #8
    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/

  9. #9
    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

  10. #10
    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 "|
    Last edited by Dark Star; 25-05-2008 at 08:16 PM. Reason: Automerged Doublepost
    Me Myself and My Tux Blog :- http://tuxenclave.wordpress.com/

  11. #11
    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

  12. #12
    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/

  13. #13
    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:
    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
    /
    Last edited by praka123; 25-05-2008 at 09:09 PM. Reason: Automerged Doublepost
    left this forum long back.Admin Can Delete this Account and posts Permanantly.Thank You
    Get GNU/Linux - http://getgnulinux.org

  14. #14
    AFK MetalheadGautham's Avatar
    Join Date
    Sep 2007
    Location
    Hyderabad
    Posts
    7,599

    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 - Intel T4400 @ 2.2GHz, 5GB DDR3 RAM, 160GB Hitachi HDD

  15. #15
    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/

  16. #16
    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

  17. #17
    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/

Similar Threads

  1. HDD Partitions needed or not?
    By Sarath in forum Hardware Q&A
    Replies: 22
    Last Post: 05-06-2011, 11:44 AM
  2. Urgent:Pen Drive Currupted
    By nithinks in forum QnA (read only)
    Replies: 3
    Last Post: 07-01-2009, 09:01 AM
  3. help needed - creating recovery discs/partitions
    By premrajeev in forum QnA (read only)
    Replies: 2
    Last Post: 28-06-2005, 02:04 PM
  4. XP profile currupted :( help !
    By vijaythefool in forum Software Q&A
    Replies: 2
    Last Post: 20-11-2004, 07:30 PM
  5. Help Badely Needed.......My Xp is currupted...
    By saROMan in forum Software Q&A
    Replies: 16
    Last Post: 03-10-2004, 03:03 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Close