Ubuntu :: GParted Deleted Wrong HDD Partition
Mar 17, 2011
Most times I use my brain but some how I really screwed up with deleting the wrong hdd's partition which was an 500GB NTFS with all of my custom programs, art, web design & so on which can not be replaced. Is there a way to reverse this process? Keep in mind I am not Linux friendly being I do not know the commands & so on so any copy paste commands with good detail on what it does would be greatly appreciated!
I used GParted to delete & already hit the accept but no other changes have been made on the HDD after that. I am currently running in Live mode as I was going to install on the 80GB which is the one I meant to delete but instead had a nice moment of insanity & deleted the 500 instead!
View 7 Replies
ADVERTISEMENT
Jan 25, 2010
10 yr old Dell laptop with NO WORKING DRIVES. i was dual booting xp and xubuntu when i decided it was time to cut the cord. so i installed gparted and deleted my windows partition. now it won't boot. my assumption is that i never installed grub. i got a usb to ide cable so i can access the hard drive from my desktop (xp home edition). i read that grub should be in a folder called "boot". i see on my hard drive that i have: "disks", "winboot" "install", "uninstall-wubi.exe", and "xubuntu.ico". if i expand the "disks" folder, there is a "boot" folder containing another folder called "grub", but the folder is empty. is this where i install it? am i an idiot and missing something stupid? where do i download grub if i need it?
View 9 Replies
View Related
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:
Code:
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
Feb 24, 2011
I have installed ubuntu many times before and never encountered this problem. The installer shows partition sizes which do not match my current sizes at all. This occurs during LiveCD too, I have taken a screenshot of the problem. GParted seems to be showing incorrect partitions while the one the right is correct.
View 9 Replies
View Related
Aug 31, 2010
I have some WD20EARS drives that I am trying to format into a pair of Linux software RAID1 devices. The problem is that at seemingly random steps during the process, the operating system decides the disk is a size much smaller than it actually is (2 TB, or as reported by the OS when it is acting normal, 1.82 TB). I follow this general layout of steps: first, I do fdisk -u /dev/sd[x], create a primary partition spanning the whole disk starting from sector 64 (to align the advanced format blocks properly). I set the partition type to fd (software RAID autodetect). Then, I assemble the arrays with mdadm:
Code:
mdadm --create /dev/md[z] --level=raid1 --raid-devices=2 /dev/sd[x]1 dev/sd[y]1
And then I create an ext4 filesystem:
Code:
mkfs.ext4 /dev/md[z]
For reasons I can't understand, fdisk, parted, and gparted (basically, everything) decides at any random point in that process that my disks are not 1.82 TB, but instead something like 172 GB or 500 GB. Once that happens, nothing I do to try to get my disks back seems to work. I've tried using expert mode in fdisk to manually reset the number of cylinders to the correct amount, but this hasn't worked either. Nothing short of reinstalling the system seems to work (but when I boot the installer, it seems to recognize the correct size of the disks).
View 6 Replies
View Related
Jul 20, 2010
If you're a fallible creature like myself you will sometimes uninstall packages using apt-get commands and then scratch your head when a dependency is missing and something that normally worked on your computer no longer does. So... I wrote this bash script that I think a lot of you will find more than useful. Execute this script before using any apt-get command and any package that is removed will be logged appropriately in ~/.oops .If you later find that something no longer works you can reinstall those packages . Just remember the "oops" script will continue to run until you turn it off. This can be done by pressing Ctrl+C while in your terminal.
Code:
#!/bin/bash
####################################################
[code]....
View 4 Replies
View Related
May 29, 2010
I made the unfortunate mistake of doing this (sudo rm -r /bin) instead of (sudo rm -r bin) in the folder I was in..I'm trying to copy my data over from my Karmic system using mount, but I'm unable to mount. When I try to mount I get errors of an wrong fs type..
I've done fdisk -l & I get this:
/dev/sda1 * 1 37599 302013936 83 Linux
What the heck filesystem is Linux? Is that like ext3 or something? I don't know. Here is what I'm trying to run:
mount -t ??? /dev/sda1 /media/disk -o force
Also, besides that. If there a way I can fix my OS without having to do a reinstall? Or at least is there a way can backup my files? I have a 1tb external so that's not the issue.
View 5 Replies
View Related
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
Dec 11, 2009
I usually repartition a disk by backing up, deleting the partitions, formatting them and repartition. I just did a 200 gig backup (so i am safe) and i want to join 2 (ext3) partition together, sdb1 (data4) and sdb5 (data5) into one big partition. Is there a way to do it without scraping the data in sdb5 (data5). It would save me from rewriting the data back to that new partition (200 gig is time consuming).
View 1 Replies
View Related
Aug 23, 2010
I was dicking around today and I deleted an LVM partition, is there anyway I can restore the partition and add it back to my volume group or is it game over?
View 5 Replies
View Related
Jun 20, 2010
i can't resize my partition sda1?
View 3 Replies
View Related
Aug 30, 2010
sda2 and sda5 are the same partition. i set up sda5 because i wanted it to be ext4 just like sda1. i thought if i went ahead and formatted the second partition to ext4 it would just show up, automount and always be there. in my case it hasnt worked that way. is anything wrong with this, if so, how do i fix it?
View 2 Replies
View Related
Sep 17, 2010
I have a laptop with a 320GB disk. Windows 7 and Ubuntu 10.04 It has 8 partitions: [From Testdisk]
[code]....
Long story short, after reinstalling windows 7 and messing around a little with its partition and the other ntfs one (resizing etc); Gparted won't open the disk. It shows all the disk as unallocated space, And throws a message to the terminal which says something like "Can't have a partition out of the disk." Funny thing is that *almost* everything is working fine. Everything works except that ubuntu can't use the swap. (Dmesg says: "Swap area shorter than signature indicates") Also, testdisk, if i run a deep search for partitions, finds the last partition twice, but the second time the partition goes from 37129 0 1 to 40240 254 63 , while the disk ends at 38913 255 63. The problem is that I can't use Gparted now and I want to resize a partition.Also I believe that going without swap is not good for ubuntu.
View 2 Replies
View Related
Jan 19, 2011
What partition type does Mac OS X use, and can gparted create one?
View 6 Replies
View Related
May 18, 2011
I have a laptop with dual boot and I think because it is a dual boot I can't find the linux partition, installed when I knew nothing about linux, so I most likely went with the default settings, I'm an absolute convert now and have run out of space for ubuntu.So got on the net and seen many screen shots of gparted with a clearly visible linux partition, swap etc, so I make myself a gparted live cd and mine is just not there.Really don't want to do another ubuntu re-install. This k52f has too many setting to correct with ubuntu and took me a really long time!!
Or is there is a different solution to to this other than expanding a possibly hidden linux partition? Is the alternative storing files on a shared partition both os can share?
View 9 Replies
View Related
Jun 7, 2011
I've almost run out of space on the Ubuntu partition, so I figured I would re-size it using Gparted. However, Gparted is not showing that I have any partition in the main hard disk. What's going on?
View 9 Replies
View Related
Jun 20, 2011
I want to resize my linux partition using gparted. The partition in my hdd right now looks like this:
Uploaded with ImageShack.us
I dont want to screw this up, I know I have to use the gparted boot disk. But really, can anyone give me sort of step by step guide of how to resize my linux partition ( I was thinking in expanding it from the current 25gb to 30gb).
View 3 Replies
View Related
Jan 3, 2010
I have a new 1.5tb internal drive I want to partition as NTFS (because Windoze machines need to see/use it) and in gparted, when I go to partition -> new, it says it could not add this operation to the list a partition cannot have a length of -1 sectors. I recall having this issue on my 2tb external drive and I ended up creating the NTFS parition on a Windoze machine and then bringing it to the Linux box but since this is an internal drive, that's not an option. I took all the defaults in the "Create new partition" screen.
View 1 Replies
View Related
Jan 8, 2010
I was resizing my windows partition and accidently turned my computer off. When I went to run a disk check from gparted I get multiple filesystem errors. Chkdsk /r when run from a recovery cd says it can't determine the size of the partition so it can't continue. Is there anyway to get my files off the corrupted partition from within linux. Right now Gparted shows that it has been resized but that it is corrupted and i can't even attempt to mount it. There are only a few files I need to get off the partition but they are really important.
View 3 Replies
View Related
May 8, 2010
I've been trying to resize my root partition with gparted. I resize a ntfs partition to get more freespace available and I got 30GB of freespace and when I try to resize my root partition (unmounted) I can't do it, it's like I don't have any freespace.
View 6 Replies
View Related
May 23, 2010
I just installed ubuntu on my laptop and I was recommended to create separate partitions for root, home and swap. I was told that 15GB would be enough for a root partition but I am actually running out of that space very quickly after installing a few programs.
I wanted to resize it so I loaded up my live cd with Gparted and It won't let me resize it by more than 1MB. I also have at least 30GB of unallocated space on my hard drive so I don't know why I can't use it.
Here's some screenshots of GParted:
View 8 Replies
View Related
Jun 29, 2010
I copied 10.4 from a 20gig hd. onto an 80 gig hd with Clonezilla and now I can't get Gparted to expand the partition to include the 50 gig that is unallocated. Obviously I cloned the drive incorrectly.
View 5 Replies
View Related
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;
Code:
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
[Code]...
View 5 Replies
View Related
Dec 29, 2010
I tried to install ubuntu on exernal drive and install grub there. But no joy. I had to do on primary master.
Now grub shows 2 linuxes on machine, which is a pain, since I cannot boot this other install on external from grub.
I am trying to delete and create that partion with gparted. But won't delete it, even after unmounting it.
View 5 Replies
View Related
Dec 31, 2010
I have tried to with the live cd. Here are a few screenshots.
http://i276.photobucket.com/albums/k...reenshot-2.png
http://i276.photobucket.com/albums/k...reenshot-1.png
View 9 Replies
View Related
Feb 27, 2011
think my partition table is messed up but i am not really able to fix it with my little knowledge about testdisk and fdisk. This is what the command fdisk -l -u reports:
Code:
Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
[code]....
View 5 Replies
View Related
Feb 28, 2011
So I was moving and resizing a ntfs partition and i just touched gparted window and it crashed!! it was about 66% of finishing the operation... Now i guess i have a big mess in my hard drive and i dont know how to start solving it! i am in a ubuntu live cd?
If i open gparted now it shows the same partition table than before resizing and moving.. so i guess now part of my data is in this unallocated space after the sda5 partition.
View 6 Replies
View Related
Mar 5, 2011
I am running a dual boot of WIndows XP and Xubuntu 10.10 and I want to have an NTFS partition so I access files in both OSs. From what I understand, it has to be a Primary Partition, not a logical one, right? The thing is, GParted doesn't give me the option to create a Primary Partition, only a Logical one inside sda2 (Xubuntu).
P. s.: I am running GParted from inside the Live CD.
View 9 Replies
View Related
Apr 1, 2011
I have a dual boot machine ( win 7 & Ubuntu 10.04 ) which is reporting insufficient space on the Linux partition. I boot up into gparted and reduce the size of the the preceding partition but when I try to increase the size of the following ( linux ) partition, it won't allow it. Attached is a screenshot of the gparted info screen.
View 6 Replies
View Related
Apr 21, 2011
I was trying to remove my windows partition using the live CD. While Windows no longer works on my system, GParted shows that I still have 40 gb of unallocated space. Have I not properly occupied the space left after I removed the Windows partition.
View 8 Replies
View Related