Fedora :: Repair / Restore Partition Table?

Aug 6, 2010

I ve got a dual boot, XP and FC 12 on a single harddrive. After defragmentation of NTFS partition (With XP installation) cant'boot linux So, rub statrts with boot menu after selecting linux it tries to load linux but prints out some messages again and again (I do not remember contetn of messages) And these messages are circulating

View 14 Replies


ADVERTISEMENT

Ubuntu :: How To Repair Corrupt Partition Table

May 21, 2011

A few months ago I tried to shrink an NTFS partition using gparted and use the free space to install Haiku. However, gparted crashed in the middle of the resize, leading to a corrupt partition table. I tried to solve the problem myself, using testdisk to detect the partitions. However, the fix is not perfect, and it left me with a partition table that goes "outside" of the disk (i.e. the partition table has allocated more sectors than there actually are on the disk to the last partition).

Recently I need to reinstall Ubuntu Natty, but because the partition table is corrupt, the installer on the Ubuntu Natty Live CD (as well as gparted) see the disk as entirely unpartitioned. What is weird is that the Disk Utility (aka palimpsest), fdisk on my current Natty distro (upgraded from Maverick, which I want to replace with a fresh install), and GRUB 2 see the partitions fine (with some errors, such as listing a few trillion TBs of available space, a result of the corrupt partition table).

I am using an Asus U30Jc laptop with a single 500GB HDD. My current setup is supposed to be like this:
/dev/sda1: A hidden FAT32 recovery partition generated by Windows 7, listed as containing Windows Vista by GRUB 2
/dev/sda2: NTFS partition containing Windows 7 (labeled "OS")
/dev/sda3: Extended partition containing "DATA", Ubuntu, swap, and the erroneous trillions of TBs of space
/dev/sda5: NTFS partition containing user data (labeled "DATA")
/dev/sda6: Ext4 partition containing Ubuntu
/dev/sda7: swap partition
(*Though I'm not supposed to have it, and it isn't listed in /dev while running the Live CD, /dev/sda4 exists as a zero-length partition in the output from sfdisk; not sure why)

Currently I've tried the following:
- testdisk, using "deeper search" and writing the partition table back to disk; produced a (usable) partition table that was bad.
- [URL], fsck didn't do much at all, except raise various errors on all partitions except the one containing Natty.
- [URL], tried to substitute the numbers caljohnsmith gave to thegreat with the corresponding values from my run of fdisk -lu, but because caljohnsmith didn't explain where the values came from and what they meant (no offense to him), I was lost; after the last step (setting the end sector on the extended partition to the last cylinder boundary (which I didn't really understand; tell me if you need details on what I did)), gparted went from showing the trillions of TBs of free space as outside all partitions to showing them as inside the extended partition; this also somehow caused the partitions to overlap.(The error parted raises changed from "Error: Can't have a partition outside the disk!" to "Error: Can't have overlapping partitions.

Running fdisk from the Natty Live CD gives
Code:
ubuntu@ubuntu:~$ sudo fdisk -lu
Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x74ef0aca

Device Boot Start End Blocks Id System
/dev/sda1 2048 34812854 17405403+ 1c Hidden W95 FAT32 (LBA)
/dev/sda2 * 34812855 279000854 122094000 7 HPFS/NTFS
/dev/sda3 279000855 976768064 348883605 f W95 Ext'd (LBA)
/dev/sda5 279000918 875204030 298101556+ 7 HPFS/NTFS
/dev/sda6 875204608 972859391 48827392 83 Linux
/dev/sda7 972861440 976771055 1954808 82 Linux swap / Solaris
Running sfdisk -l from the Natty Live CD gives

Code:
ubuntu@ubuntu:~$ sudo sfdisk -l /dev/sda
Disk /dev/sda: 60801 cylinders, 255 heads, 63 sectors/track
Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0
Device Boot Start End #cyls #blocks Id System
/dev/sda1 0+ 2166 2167- 17405403+ 1c Hidden W95 FAT32 (LBA)
/dev/sda2 * 2167 17366 15200 122094000 7 HPFS/NTFS
/dev/sda3 17367 60800 43434 348883605 f W95 Ext'd (LBA)
/dev/sda4 0 - 0 0 0 Empty
/dev/sda5 17367+ 54478- 37112- 298101556+ 7 HPFS/NTFS
/dev/sda6 54478+ 60557- 6079- 48827392 83 Linux
/dev/sda7 60557+ 60801- 244- 1954808 82 Linux swap / Solaris

Running parted from the Natty Live CD gives
Code:
ubuntu@ubuntu:~$ sudo parted /dev/sda print
Error: Can't have overlapping partitions.

View 4 Replies View Related

Software :: Repair Missing Partition Table And Recover Data From Xfs?

Jun 15, 2009

I used to have a 1TB external drive with lots of stuff on it. But after a reported drive failure during a F11 install the partition table seems to have been lost. (I think F11 toasted it)

Disk /dev/sdc: 1000.2 GB, 1000215724032 bytes
255 heads, 63 sectors/track, 121602 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

[code]....

The drive used to have xfs and a partition. Is there any way to rebuild the partition? Or is my 1TB of data gone forever? The drives seem to be fine now... I just want to get it up enough to either pull any data or just to get a file list. Most of the stuff on the drive was from somewhere else.(ie 300GB of NRN data for all of North America.

View 3 Replies View Related

Ubuntu Servers :: Raid5 Repair Partition Table - Recognized Too Late

Feb 27, 2011

I opened GParted to create a new partition on a new drive. He wanted me to create a partition table first which I did, and it was created directly without any prompt like im used to see when creating partition. So I recognized too late, that i actually created a MBR on one of my 6 1TB raid5 drives. Not beeing sure if the ne MBR was really written, I have opened ubuntu disk utility and clicked on the check raid button. It directly made a resync. After the resync, mdadm --detail /dev/md0 told me everything is ok and synced. Then I wanted to mount it with:

mount /dev/md0 /mnt Then I get the following error: "mount: wrong fs type, bad option, bad superblock on /dev/md0, missing codepage or helper program, or other error In some cases useful info is found in syslog - try dmesg | tail or so" I think I just killed my raid5 ;(

I shouldnt work on my server when im tired and when I actually have no time ;( My last hope is the fact, that "Disk Utility" shows that there is a .0 TB ext4 volume on my raid (see screen below) [URL]

View 5 Replies View Related

Ubuntu :: How To Restore Partition Table

Oct 8, 2010

I got swap space full error and the ubuntu version of "blue screen of death". I used Disk Utilities to delete a 2.1GB unused partition. When I tried to create a swap space partition (with Disk Utilities) it failed. In the mean time ubuntu did some security updates. When I tried to create again Disk Uilities did not complain but only created a small ~ 500 kB partition. I deleted that and reboot and got "unknown filesystem grub rescue>". I booted from a USB key successfully. Now Disk Utilities and File Browser can see all the partitions and files on the hard drive, but GParted thinks the entire hard drive is unallocated. I vaguely remember that there are two partition table on the hard drive. It may be that one of them was deleted (when I removed the ~ 500 kB partition with Disk Utilities earlier maybe?). It seems at least the other partition table is still intact since Disk Utilities and File Browser can still see all the partitions and files. Is it possible to restore the deleted or damaged partition table and make the hard drive bootable again?

View 9 Replies View Related

Ubuntu Installation :: Partition Table Gone / Restore It?

Feb 23, 2010

I have searched and didnt find a situation like mine so i thought id ask. i have a dual boot setup on my hp pavillion windows vista /dev/sda1 and backtrack linux 3,while trying to install backtrack 4 (which is ubuntu based) i deleted the former partitons for bt3. im not quite sure what i clicked but using the ubiquity installer it deleted my partition table so now my entire drive is listed as unallocated space. i have some very important files on my windows partition other wise i would just format and start over. how can i restore the partition table and boot to windows to atleast grab the important stuff. the drive hasnt been formatted so the info is still there i just cant get to it anyone have any ideas?

View 5 Replies View Related

Ubuntu :: Partition Table Was Deleted / Cant Restore?

Mar 2, 2010

I was working on creating a partition on a new hard drive I was planning on using for storage. I wasn't paying attention and chose to delete the partition on my master. I am running a dual boot with Vista and Ubuntu. When I rebooted It will only go to the Grub> prompt. Ive ran TestDisk and though that I had corrected the problem but it didnt. After running TestDisk again here is what It came up with.

Disk /dev/sda - 320 GB / 298 GiB - CHS 38914 255 63
Partition Start End Size in sectors
L HPFS - NTFS 0 32 33 28554 254 63 458734027
L Linux 28555 1 1 38585 254 63 161147952
L Linux Swap 38586 1 1 38912 254 63 5253192
Structure: Ok. Use Up/Down Arrow keys to select partition.
Use Left/Right Arrow keys to CHANGE partition characteristics:
code....

After writing the table above I rebooted. Windows prompted me for my restore disk. I rebooted to the live cd again and ran Fdisk.

code....

View 3 Replies View Related

Ubuntu :: Restore Partition Table With Fdisk?

Jan 28, 2011

what I did was: - have NTFS (450GB + 4GB linux-swap + 44GB ext3 with ubuntu 10.10 upgraded from ubuntu 10.4). Ntfs partition contains data only, no windows.

- either with partition magic or paragon I tried to resize the NTFS and since then parted doesn't like my partitions anymore, but Ubuntu boots and works just fine..

- I took the output from fdisk -l and decided to remove the swap partition - ubuntu won't boot saying it needs the swap (although it was never mounted and i deleted the swap while ubuntu was active)

I have the following output from fdisk -l:

Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

[Code].....

**NOTE: Since the partitions are not on cylinder boundaries, using parted to recreate the partition table may not be good enough.. I don't have a backup of the partition table.

View 4 Replies View Related

Hardware :: Restore Partition Table Or Recover Data?

Mar 27, 2009

I was putting the cover back on my Antec p180b, and I guess it got stuck and gave it a hard bump (pretty much broke the cover). As a result, one of my hard drives, a Seagate Barracuda ST3750640AS, got messed up or something. All the other hard drives are fine. It's in an LVM with another hard drive, so now I can't boot up into my computer. So I booted into the installation CD:

Code:

# find /dev/sd[a-c][1-3]
/dev/sda1
/dev/sda2

[code]....

This led me to believe the partition was messed up. So I ran cfdisk, and it said something about a missing partition table or something. Additionally, instead of showing the single partition on it, it displays, from my recollection, Pri*Log. To my knowledge, this is the only problem with the hard drive. So now I need to either somehow create or restore the partition table without overwriting the data. Or get a new hard drive, and some how recover the data (LVM, partitions, and all).

View 4 Replies View Related

General :: Restore Windows Partition Table After Tried To Install Debian?

Jan 16, 2011

Do i have any chances to restore my windows partition table after tried to install debian and i used the entire disk instead of the free space i had alocated for this

after i figured out what i did i stoped the installation but was to late ... i answered yes at write partition table changes on disk question

i tried win7 automate recovery tool from dvd and manual install of mbr with no successful result

View 3 Replies View Related

Ubuntu :: Difference Between Using GPT Partition Table When Formating Hard Drives And MS-DOS Partition Table?

Aug 6, 2010

Is there a difference between using GPT partition table when formating hard drives and MS-DOS partition table? What are the advantages/disadvantages of using either?

View 2 Replies View Related

Fedora :: Repair Read-only Partition - 8GB USB With SanDisk U3

Jan 7, 2010

the U3 system mounts on dev/sr1 while the rest oi the 8 GB USB drive is usually /dev/sdb or sometimes /dev/sdc.

fdisk will not write to this /dev/sr1 partition

Code:

[root@localhost ~]# fdisk /dev/sr1
You will not be able to write the partition table.
Note: sector size is 2048 (not 512)

[code].....

View 11 Replies View Related

Ubuntu :: Repair Installation / System Restore?

Oct 3, 2010

OK, so about a week ago or so my Ubuntu 10.04 install no longer recognizes my iPod Touch or Iphone. I have had no luck getting them to work. i REALLY do not want to fresh install Ubuntu. Is there a way I can like repair or restore (a la "Window$") that will fix the OS itself without removing any programs or settings?

View 9 Replies View Related

Fedora :: Changed Partition Size - Repair Filesystem Error On Booting

Sep 19, 2009

I am using Fedora core 10. I have changed my partition size of Linux from windows. After I finished resizing the partition, I rebooted my system to the Linux platform. While booting it gave me an
error: repair filesytem #1:
I don't know what to do?

View 5 Replies View Related

CentOS 5 :: Repair Filesystem / Restore Logic Volume?

Aug 31, 2009

I have created two logic disks /dev/VolGroup00/LogVol00 and /dev/VolGroup02/LogVol02
After reboot has disappeared /dev/VolGroup02/LogVol02
How to restore logic volume?

View 13 Replies View Related

Ubuntu Installation :: Repair/restore Grubin A Multiboot System

Apr 3, 2010

I have a laptop with 250 GB SATA HD that has the following:

Win7 Pro installed first with sda1=system reserved partition, sda2=C: drive, sda5=separate software application programs to differentiate from Windows' Program Files. Ubuntu 9.10 was installed next (sda6=common swap partition for all Linux distros, sda7=Ubuntu root, sda8=Ubuntu home). Then Opensuse 11.2 was installed with sda12=root and sda13=home. Finally FedoraCore11 was installed with sda9=boot, sda10=root and sda11=home. Ubuntu and Suse have grub loader in their own root partitions.

Suse's grub menu controls all OS's. From this grub menu I can select Windows or any other Linuxes. Suse uses legacy grub because it was installed right after Ubuntu 9.10 which uses (legacy) grub.

Here is opensuse's grub menu:

# Modified by YaST2. Last modification on Wed Mar 31 11:49:28 EST 2010
# THIS FILE WILL BE PARTIALLY OVERWRITTEN by perl-Bootloader
# Configure custom boot parameters for updated kernels in /etc/sysconfig/bootloader
default 1

[Code]....

Somehow I also messed up Windows' boot file and boot partition table. Now I am still trying to use Windows installation CD to repair Windows but it has taken several hours and am still waiting for screen response. I cannot boot into any Linux distro either.

View 5 Replies View Related

Fedora :: Ls /dev/sda* Displaying Entries Not In Partition Table?

Sep 6, 2009

I have encountered something of a mystery here. The other day while in /dev I ran 'ls sda*' and noticed this...Quote:

ls -lZ /dev/sda*
brw-rw----. root disk system_u:object_r:fixed_disk_device_t:s0 /dev/sda
brw-rw----. root disk system_u:object_r:fixed_disk_device_t:s0 /dev/sda1

[code]...

View 3 Replies View Related

Fedora Installation :: No Bootable Partition In Table?

Aug 29, 2010

I am using a 8 GB usb flash to create a F13 Live Media. I created it using the livecd-creator. But when I use it to try to boot, it says "No bootable partition in table". What's wrong? I did some searches on google, but didn't find a solution.

View 7 Replies View Related

Fedora Installation :: F10 Does Not Recognize A F4 Partition Table / Resolve This?

Feb 23, 2009

I'm trying to install Fedora 10 from a USB memory stick on which i've installed Fedora-10-x86_64-DVD.iso and, early in the process of configuring the installation, i get messages about both my IDE hard drives having unrecognizable partition tables:

"The partition table on device sda (... my disk data ...) was unreadable. To create new partitions it must be initialized, causing the loss of ALL DATA on this drive."

Same for sdb.

My PC currently runs Fedora Core 4 (yes i know i should have gotten around to upgrading my OS earlier) and yes it recognizes both hard drives just fine.

The answers I've found on the web suggest to backup my drives and repartition. I'm not too hot on that "solution".

explain why a F4 partition table is not recognized by F10?

BTW, I've recently upgraded my motherboard, processor, DVD drive, regrouped both my IDE drives on the same bus, ... I consider it a miracle F4 still runs on this PC (although F4 does not support the motherboard's graphics card, so no X11).

View 8 Replies View Related

Fedora Hardware :: Can't Read Partition Table After Install F13?

May 27, 2010

I have installed the fedora 13 x86_64 live cd. I updated fedora as well as installing gparted.y hard disc containing my operating systems is not being read by gparted.unalloacted partition table. Also i am not able to mount a ntfs parition on the same hard disc.I did create the partition table on all hard discs with gparted livAnybody else had this problem? A kernel crash is also reported.DIT:I booted ubuntu 10.04 and opened gparted v5.1 without any problem. I booted fedora 13 again and now gparted 5.2

View 7 Replies View Related

Fedora :: Grub - Unknown Partition Table Signature

Jan 10, 2010

i have FC10, and have loss my grub because a windows 7 instalation (other partition). I am trying to re-install the grub version 0.97, so i used:

FC10 DVD install + repair a system

then:

Code:

chroot /mnt/sysimage
grub

but i got:

unknown partition table signature.

so i can not make any grub command:

Code:

grub> find /boot/grub/stage1
error 15: file not found

View 5 Replies View Related

Fedora :: Find Documents Or Repair - Add In A Repair Line?

Nov 10, 2010

i know i asked earlier but i got my usb to be mounted on a different fedora distro. how do i now find my documents or repair it? also how do i add in a repair line if possible?

View 2 Replies View Related

Fedora Installation :: OS Cannot Find A Free Spot In The Partition Table In MBR

Nov 1, 2010

I have a Toshiba laptop, running Vista Home Premium SP2 with AMD Athlon 64 X2 Dual-Core Processor, 1 gb ram & 150 gb HDD. I just shrunk the c: drive down to 92 gb to free up 43.5 gb so as to load the Fedora Linux OS into this free space & have a dual-boot configur'n. My problem is the partition table in the MBR. It shows 4 partitions there, so the fedora 13 Live CD which I use to install the OS cannot find a free spot in the partition table. I have the Ultimate Boot CD so I took a look at the MBR. Here are the 4 partitions that occupies its table:

1. (no drive letter) - file system: blank - EISA config'n - 1.46 gb - partition type code: x27
2. C: - fs: ntfs - system, boot, active, primary partition - 92.01 gb - code: x07
3. D: - fs: ntfs - primary - 5.98 gb - code: x07
4. (no drive letter) - fs: blank - primary - 5.64 gb - code: x17

c: is 17% free, d: is 99% free, the other two are 100% free Can you explain what is the purpose of D: ? How about the other two (with no drive letter)? I read somewhere that 'x17' code means 'hidden IFS (ex: HPFS)' & 'x27' means a rescue partition... true?

Would I be safe in replacing the partition table entry for #1, 3 or 4 with an entry for my Linux? (I have an editor that could modify the MBR). Or would it be better to leave MBR alone, put a boot program on a CD or USB stick, which boots Linux from the unallocated 'partition'? (have to somehow manually install Linux to the 43.5 gb area that I freed up).

View 6 Replies View Related

Fedora :: After Installing 14 - Cannot Windows Startup Without A Valid Partition Table

Jan 31, 2011

1.After I install fedora14, I can not start window7,It shows only a transverse line shining .

2.when I comes into inux , execute "fdisk-l " ,it shows 'no invalid partition table' this two points have relationship?

View 3 Replies View Related

Fedora Installation :: Broken Partition Table - Cause Significant Data Corruption ?

Jul 24, 2009

During a recent request to install fedora 11, I ran into an interesting problem. It seems that between fedora10 and fedora11, the developers switched from fdisk, to parted for creating the initial pre-mke2fs partition table creation.

It looks like the implementation of this is broken, as it's writing the partition table with overlapping cylinder boundaries. While this can sometimes be ignored, it can in certain cases cause significant data corruption.

On an installation I took it through, using the latest installation media, in both manual & automatic partition creation, the layout looked like this:

The last two partitions turn out fine, for some reason. However, those two partitions should not have overlapping cylinders. After my very first installation, the system was completely unbootable, and not even fsck wouldn't rescue it. If this is possible, then that means that a system that's been online for months or even years could simply drop out of functionality simply due to a byte or two of system-critical data falling on that last cylinder. Considering that a lot of the time kernel data ends up on /dev/sda1 (commonly the /boot partition), this is something that should not be ignored.

View 4 Replies View Related

Fedora :: Deleting Dev/sda Partition Table (msdos) Affect Windows 7 System?

Aug 5, 2011

Will deleting dev/sda partition table ( msdos ) affect my windows 7 system? I am trying to install Fedora 15 on Virtual Box.

View 1 Replies View Related

Fedora :: Gparted - Kernel Unable To Reread Partition Table On Disks

Jan 22, 2010

When I start gparted, to see if I can add extra harddisk where all my data is, I get the next error:

Code:
[root# gparted
libparted : 1.9.0

The kernel was unable to re-read the partition table on /dev/sda (Device or resource busy). This means Linux won't know anything about the modifications you made until you reboot. You should reboot your computer before doing anything with /dev/sda. I can start fedora 12 x64 amd whitout any problem. My partition layout on a single disk (80 gb sata maxtor) for the system is:
Code:
/
/home
swap

When I try to mount one of the extra disks (samsung spinpoint 1 tb, I have 4) I get to next error:
Code:
root# mount /dev/sdb1 /media/sdb1
mount: you must specify the filesystem type

If I add the option with the filesystem I get:
Code:
root# mount -t ext3 /dev/sdb1 /media/sdb1
mount: special device /dev/sdb1 does not exist

In gparted, when I select just a flag option, and deselect, press ok, the disk is forced to be reread by the program. After that I can also mount it. When I use any of the programs linked in this post, I am able to mount the disks whitout any problem. Except after a reboot, I get the same problem. SO whit each reboot, or poweroff, I need to do a re-read of the disks. The system is fedora 12 x64 for amd, installed from a live cd, the rest whit yums groupinstall, the latest kernel.

View 6 Replies View Related

Networking :: Restore Back The Default Ip Routing Table?

May 16, 2010

Is there any way to restore back the default ip routing table? For example, my current routing table is something like

Code:

Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
109.123.95.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
0.0.0.0 109.123.95.1 0.0.0.0 UG 0 0 0 eth0

Then i connect to a vpn service and the routing table get's changed..now when i close it, it doesn't reset back to my default routing table.

View 1 Replies View Related

OpenSUSE Install :: Invalid Partition Table / Error Message Corrupt Partition?

May 20, 2010

I was installing opensuse 11.2 in parallel with windows xp.but during installation suddenly power has gone and after that opensuse is giving me the error message corrupt partition.i am also not able to login in xp. so I decide to reinstall windows, I got the error saying "invalid partition table" after the first restart of windows xp installation.

I tried to use windows system recovery console and committing fixmbr and fixboot commands, but didn't work.
i have 2 window partition(1 for windows and 1 for data).i do,nt want to format 2,nd partition.

How can I installed windows?My plan was first to install windows xp, then opensuse again.

View 2 Replies View Related

General :: Automating USB Drive Configuration Of Partition Table, Partition And File System

Jan 26, 2011

I have tried to automate the configuration of a usb drive with not much success.

The problem that I have is that I have a large amount of usb drives that have a partition table of type "loop" and I need to change them to "msdos". The size of the drives vary and I need to use FAT32 or FAT16 file system.

I've tried various partitioning commands and gui applications but cant find one that I can give a one line command to to set the partition table, maximum partition size and file system.

View 9 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved