General :: Accidentally Replaced The Partition Table Using GParted In UBUNTU

May 20, 2010

This machine has UBUNTU & wINDOWS XP. I'm currently logged into UBUNTU. I was just checking the features of GParted and accidentally clicked Device > Create Partition Table. A default MS-DOS partition table is created. Now if I re-start the Gparted there is nothing. Its showing entire disk as UNALLOCATED space.

Lucky thing is All the drives (C:, D:, E:) are currently mounted and I'm in UBUNTU. I guess its possible to re-create the partition table using current status. how to do this. This is a lab computer. If its not recoverable. I'm completely screwed!

View 3 Replies


Ubuntu :: Accidentally Created Partition Table On Primary HDD

Mar 9, 2010

Alright, so, I booted using linux live, and was poking around Gparted, and was going to test some things on my extra hdd (80gb, IDE) -I thought that extra hard drive was selected, what I clicked Create Partition Table. Apparently, it was my primary hdd, (250gb Sata, Windows Vista x64) that was selected. I think I may have tried to cancel it after a few seconds, realizing what was happening, but yeah, it now shows the entire hdd as unallocated space. I immediately shut down the computer, pulled out linux live and tried to boot to windows, but I immediately got an error saying the disk couldn't boot, asking for a system disk.

There was a thread with a guy who had a similar thing happen to him, but the thread dropped off... [URL]
sudo ./testdisk_static
Opened testdisk for me, but now that testdisk is open, I'm not really sure what I need to do. I'm guessing that the boot sector on that hdd is gone. Are my files gone forever? There are some files that I don't have backed up on there, that I'm hoping are not gone. I would love it even more if I could somehow just repair that boot sector, and not have to reinstall everything on my machine.

View 9 Replies View Related

Ubuntu :: Accidentally Deleted Partition Table..recovery?

Aug 26, 2010

I was messing around with the windows 7 install and wiped a valuable partition on a drive, I ripped the sata cable out afterwards... is there a way to reconstruct the table?

View 2 Replies View Related

Hardware :: Invalid Partition Table For Swap Partition That Moved With Gparted?

Feb 8, 2010

I was reading another thread about someone with a bad partition table and I decided to join this forum. I'm not going to take any drastic actions with the partition (/dev/sda3) in question. I am going to wait for instructions on what to do first. I am not very good with Linux and need some hand holding. System: DELL 4550 Dual-Booted with XP and Ubuntu. Works OK, just no swap. Well, here's what I did: I deleted a partition for Windows XP Pro because it was a trial, and it ran out. I then decided to slide the swap partition for the Ubuntu Linux that I dual-boot into over. (If this was successful, I was going to try expanding the root partition to take up the unused space.) I used Gparted on a CD to do this, as I figured it was safe to do.

I now cannot mount the swap space at bootup (and have to go into a backup version of the OS), although I can use Gparted in Linux to execute the "swapon" command, and it appears that it worked because I now see "swapoff" as an option on the context menu. (I actually don't even need a swap partition, except to hibernate.) If I highlight the swap partition and click on "Drive" on Gparted's menu bar and select "Create Partition Table", it will erase all data on /dev/sda, so how do I fix the bad partition table non-destructively?

View 14 Replies View Related

Ubuntu Installation :: Accidentally Deleted Partition Table On Lvm Physical Volume.

Jul 18, 2010

I was trying to remove the physical volume from an old drive. So I opened gparted and told it to rewrite the partition table. The only problem is I targeted the wrong volume, I wiped the partition table on my 4tb raid5 array This 4tb array has everything! All my movies, tv shows, music. The only things I have backup up off site are my smaller files like documents. I was about to lose my whole media collection.

I did some research and found a solution that I will post here in the hopes that someone will google "I deleted the partition table on my lvm" and be find the solution.You should find in your filesystem a /etc/lvm/backup folder. LVM puts a copy of the crucial lvm information there every time you change the the volume group.

In this folder you will find a file for each volume group. In this file you will find the uuid for all of the physical volumes that make up that group.The first step is to recreate each physical volume with their original uuids. In my case I had only 1 physical volume, which was my raid5 array. My recreation command looked like this:

pvcreate --uuid cLrY02-zrVi-D0Vi-cIPB-6fF5-ed0c-XFF0os /dev/md0

Now I have a physical volume with the same uuid it had before. It is essential that you correctly match up the uuids with the correct physical deviecs.The recreated pv is empty, the volume group needs to be recovered. This is done by using a special tool and the backup file. For me the command looked like this:

vgcfgrestore --file /etc/lvm/backup/raid5 raid5

This tells it to recreate the volume group using the information in the backup file. The backup files looks for the uuid of the PV, which now matches the correct volume. The coordinates in the backup file match up to the data on the array an suddenly everything is back!

When I deleted my LVM partition table I did not damage any of the actual volumes on the volume group, I just wiped out the table of contents. The backup file had the information needed to rewrite this table of contents.

View 1 Replies View Related

Ubuntu :: Partition Table Not Recognized In Gparted?

Aug 1, 2010

I upgraded Windows to 7 from Vista. My Acer laptop had a recovery partition with Vista on it. I don't know, what I was thinking, after the update I deleted the recovery partition. Then got in to problem that Partition Table is deleted. Recovered the partition and partition table with LiveUSB and gpart.

So laptop was working again in about 30mins. Now I see the following issue. Laptop boots and works fine both in Ubuntu (default OS) and Win7. In Disk Utility the partitions are shown as in attachment. In Gparted the disk is not recognized as partition table is not recognized (so I guess) Output of fdisk is here for ref;

home@home-laptop:~$ sudo fdisk -l
[sudo] password for home:
Warning: ignoring extra data in partition table 7
Warning: ignoring extra data in partition table 7
Warning: ignoring extra data in partition table 7


View 5 Replies View Related

Software :: Gparted Broken Partition Table?

Jul 4, 2010

While installing Ubuntu I have created 50MB boot partition and was sure is enogugh, but now with growing initrd and kernel size, an autoupdates which were always killed by no sufficient disk space I decided to increase its size. I had following partitions - in disk order:

sda1,primary bootable NTFS, 57GB
sda4, primary ext2, /boot, 47MB
extended sda2{
sda6, ext3, /(root), 43GB
8MB gap


Is the problem still in bad begining of the partition saved or data are already broken ? If the first is there any mount option to really not touch filesystem ? Because I've read even if we mount readonly there are some options saved to disk (as last mount time etc) and I'm aware it could destroy entrie filesystem.

Has the ext3 some partition header as NTFS do? Or is there a way to locate real start of partition? because testdisk and gdisk shows only this one starting sector for sda6. When I moved the sda6 partition there was space between begin of extended partition and begin of sda6, now there is no space, so that's the main reason of suspecting partition begining is in fact over 100MB further.Current partition schema in attached PNG. Also the swap partition was deleted, I don't know when, now there is 4GB hole.

View 15 Replies View Related

Ubuntu :: GParted - Hard Drive Is Not Partitioned And Has An Unrecognised Partition Table ?

Jul 31, 2010

GParted tells me my hard drive is not partitioned and has an unrecognised partition table, but I know it has because i'm using it now to write this on here, and fdisk shows the following:


Anyone know of anyreason GParted may not be working or can offer an alternative to create a partition?

View 3 Replies View Related

Ubuntu Installation :: 10.04 Install Sets Up Partition Table Incorrectly Gparted?

May 23, 2011

I have installed HP g6 notebook from live-cd with 10.04 LTS across multiple partitions, only to find that the partition table is not setup correctly. I place the following mount points on separate partitions:


View 3 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:

[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:

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

If I add the option with the filesystem I get:
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

Ubuntu :: Ctrl+Alt+Delete Keyboard Shortcut Accidentally Replaced?

Jan 16, 2011

I thought it would be a great idea to make Ctrl+Alt+Del a keyboard shortcut for the System Monitor (counterpart of Windows Task Manager). (So it wasn't really accidental)I want to revert to default, how do I do that?

View 1 Replies View Related

General :: Partition Gparted Fdisk / When Reduced The Size Of Some Linux Partitions Using Gparted?

Sep 18, 2009

I have 3 Ubuntu installations & a PCLINUXOS, plus Windows XP installed on one hard disk. I still can boot to each one of them and can mount each one using Ubuntu.

The problem "may" have occurred when I reduced the size of some linux partitions using gparted. I still have plenty of space in each of those partitions.

When I started gparted all of the HD was unallocated. I did that from each ubuntu installation and the PCLINUX installation, plus LIVECDs. All indicated the space was unallocated.

When I did an fdisk -l from a Puppy Linux LiveCD I got a normal start and ends of each partition.

When I tried it from Ubuntu installation or live cd, I received the following types of responses:

ubuntu@ubuntu:~$ sudo fdisk -l /dev/sda5

Disk /dev/sda5: 28.5 GB, 28566397440 bytes
255 heads, 63 sectors/track, 3473 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000
Device Boot Start End Blocks Id System
ubuntu@ubuntu:~$ sudo fdisk -u /dev/sda5

The number of cylinders for this disk is set to 3473.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) Plus the Windows partition seems to go over its limits.

Since all of my OS installations are still working, I don't know how critical this is. From reading another post, I understand this might be able to be fixed by making some changes in fstab.

View 2 Replies View Related

Software :: Thunar Accidentally Replaced Nautilus As Gnome's Default Window Manager

Feb 21, 2009

I was messing around with different GUI sessions, and I wanted to try XFCE. Well, I switched to XFCE for a session, and I played around in it. When I went back to a Gnome session, however, it appears that Thunar is now the default filesystem explorer.I get the Thunar explorer. I want the Nautilus explorer. How do I fix this issue?

View 9 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

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

General :: USB Flash Disk Partition Disappeared As Well As Partition Table?

Feb 17, 2011

USB flash disk partition disappeared as well as partition table I'm not sure about the cause


root@u# less /var/log/syslog
usb 5-1: New USB device found, idVendor=058f, idProduct=1234
usb 5-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0


Where did the partition table go? The device had one ext3 partition something around 4GB(size of USB storage device). I need to restore few files from this device.

View 3 Replies View Related

Ubuntu :: GParted Doesnt Regognize Table?

Oct 31, 2010

Im trying to do a new install(32bit to 64bit) but Ubuntu installer doesnt see my partitions nor does this installation. "Disk utility" sees them fine and im running my Ubuntu and XP on that disk. I dont wanna lose my XP and /home(Koti) partition so help needed.

Theres my fdisk -l:
Disk /dev/sdb: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes


View 8 Replies View Related

General :: Accidentally Wrote Over The Wrong Partition?

Mar 17, 2011

When doing an install of Linux Mint, I accidentally installed on a partition that already had data on it, so now that partition has a clean install of Mint instead of the data that was there before.I was hoping that I could at least recover some of the data from this partition, so my questions would be what, if anything, could I recover, and how would I go about doing that?

View 2 Replies View Related

General :: Install OpenBSD 4.6 On My PC And Accidentally Overwrote My Boot Partition ?

Jan 15, 2010

I was gonna install OpenBSD 4.6 on my PC and I accidentally overwrote my boot partition.

Initially my partition table looked something like this:


This doesn't look like a partition table

Probably you selected the wrong device.

Partition 4 does not end on cylinder boundary.

Partition table entries are not in disk order

That's what my partition table looks like according to fdisk. So I'm wondering how I'd go about recovering /dev/sda3 (what /dev/sda3 was before I blew it up).

View 4 Replies View Related

General :: Move Partition In GParted?

Apr 10, 2010

The following is a screenshot of GParted run on my system. There is a small unallocated space at the beginning of the list. This 1 MiB space is kind of annoying and I'd like to merge with any other partition except /dev/sda1, /dev/sda6 and /dev/sda4. When I right click on the unallocated partition, the only available operation is "New". And, if I click on "New", I get the following error message.

It is not possible to create more than 4 primary partitions

how to go about merging the small unallocated space with other partitions?

View 3 Replies View Related

General :: Use GParted To Make Another Partition?

Jun 26, 2011

I have 3 partitions on my hdd right now, a Windows 7 one, the associated System Reserved and my Linux Mint partition. I was trying to use GParted to make another partition by splitting my Linux Mint one in two smaller partitions. I can't, however, unmount it, and so can't partitions it. I have considered partitioning it from Windows 7, but I'm afraid it will screw some things up and stop booting up correctly. So, what could be making the partition unable to unmount?

View 11 Replies View Related

General :: Shrink Os Partition Using Gparted?

Feb 12, 2011

I would like to shrink my os partition without messing with it's data, to make room for a 2nd os. Will this happen if I command Gparted to Resize?

View 2 Replies View Related

General :: Unallocated Partition In Gparted?

Jun 27, 2010

I tried to repartition my hard (320GB) drive yesterday because I need (40 GB) more space in windows, below I mention the previous file system and later file system architecture. It is dual boot (windows 7 and Fedora 13). I am sorry that I did not take screenshot!

1. boot partition, 100 MB
2. windows-7, around 75 GB
3. extended, around 230 GB

inside extended 3 logical partitions:

3a. 125 GB for backupv(NTFS)
3b. 4 GB for linux swap
3c. 100 GB for linux

I used gparted. Since I had to create more space in between windows and logical partition for increasing windows, (I could not shrink Linux as it comes to the end) so I removed Linux (I reinstalled later) first, moved (hold in the middle and drag) backup partition to the right by 40 GB, created a primary partition out of the left portion of logical partition and merged with windows. Finally installed Fedora on the right most portion (60 GB now) in the logical partition. Now my file system looks like following;

1. boot partition, 100 MB
2. Windows-7, around 115 GB
3. extended, 190 GB


Now my problem is, I don't like that 7.84 MB unallocated space in the logical partition. I was told that it (smaller than the smallest chunk gparted can allocate to any partition) will always be there unless we allow some program to do the partitioning automatically rather than I manipulate/move it manually? It is true? If so is there (m)any software which can do this? Or simply how to get rid of this unallocated space.

View 1 Replies View Related

General :: Can't Boot After Resizing Partition With Gparted

Nov 11, 2010

First of all, the boot device is an 16GB SD card. I install Citrix XenServer on it but I make the partition too small (XenServer makes a lot of logs file). I resize the partition but now it give "Illegal OpCode" and red screen everytime it boot.I already create the image of the whole SD card using dd and already try these process three times = restore the image, test that it can boot properly, then resize the partition using gparted, then it can't boot.

I already post this question in XenServer forum (with screenshot) but nobody answer there.The hardware itself is HP Proliant ML350 G6 with internal SD slot.

View 5 Replies View Related

General :: Change F.s. Id In Partition Table ?

Jun 11, 2011

A couple of years ago, I got a 2TB drive and installed Debian on it.

I used the standard installation procedure, as I recall, and created three partitions, which are shown below in the output of "fdisk":

View 7 Replies View Related

General :: Create Partition Table ?

Jul 27, 2010

I have a problem with one hard disk,now it says its Unallocated,and i tried to create a new partition on it,but it says that first i need to create a partition table,but when i create one,choosing msdos label,it doesnt to nothing. I used Gparted in Fedora,how can i create a partition table,so i can use my hard disk again?

View 9 Replies View Related

General :: Create A Partition Using Gparted For Centos Installation?

May 24, 2011

I am trying to create a partition using gparted for my centos installation but I accidentally deleted my partition table. my partition was created on windows7 and dual boot with ubuntu. I am trying to recover it using test disk with ubuntu live cd but after I recover it still I neither can't boot on windows or Ubuntu here is the result of patition quick seart


Disk /dev/sda - 320 GB / 298 GiB - CHS 38914 255 63
Partition Start End Size in sectors
>D HPFS - NTFS 0 32 33 12 223 19 204800 [System Reserved]


I tried to set up my partition characteristic like this


Disk /dev/sda - 320 GB / 298 GiB - CHS 38914 255 63
Partition Start End Size in sectors
1 * HPFS - NTFS 0 32 33 12 223 19 204800 [System Reserved


and still can't reboot on my win7 or ubuntu

View 1 Replies View Related

General :: Ext4 Partition Turned Into Unknown According To Gparted?

Jul 7, 2010

I was using gparted to resize my /var partition, which is supposed to be an ext4 partition, and during the beginning stages of the resize/move procedure I cancelled out of the process despite the warning this might be bad. The process was in the middle of the "read" stage so I figured nothing can go wrong during a read, but now I cannot access this partition mount wise. Is there anyway to repair this?

View 6 Replies View Related

General :: Lost Windows Partition After Gparted Wiped Old One

Mar 21, 2011

I realise that this is not a pure Linux Q, but I am hoping for tolerance and even help!After removing the partitions (/,/home) that held an older Linux installation, gparted showed the original Windows XP partition followed by the new unallocated space. On rebooting, there was a Grub rescue error (text not noted, sorry). A live install running gparted shows a totally empty disk!

The removed OS was booted via Grub2 and I imagine that it is choking when there is no secondary(?) file to be found since it was vaped. I also imagine that this is a fairly straight-forward matter, something like replacing the MBR but I am so far from Windows these days that I am unsure how to progress with rescuing the partition. The machine has no floppy - that's how I would have initially booted it way back when. Is this something that I can do either through a Linux live distro or via a Windows CD?

View 13 Replies View Related

General :: Unable To Resize Fedora 12 Lvm Partition With Gparted

Jan 14, 2011

Unable to resize fedora 12 lvm parition with gparted. Need to resize to make room for ubuntu linux on same drive. When the fedora lvm parition is selected gparted says "No lvm support at this time". I am using gparted through the pmagic (partedmagic) linux boot disk. I have almost the lastest pmagic (5.7) there is a pmagic 5.8 on source forge.

View 2 Replies View Related

Copyrights 2005-15, All rights reserved