Software :: Deleting Partition With Fdisk?
Jul 17, 2009
I have a Windows Vista machine on which I selected "utilize free space on selected drives" to install Fedora 9 temporarily. Now, however, I'd like to remove the Fedora installation. I've tried using fdisk from the Fedora 9 rescue mode on the install DVD, but I seemed to merely mess up the cylinder boundaries. When I boot from the DVD, before entering rescue mode it says that /dev/sda contains a looped partition, and asks whether I want to reformat it (completely removing everything on the drive).
How do I remove the "looped" Linux partitions? (I cannot login to Windows, so any GUI applications won't be any help.)
View 4 Replies
ADVERTISEMENT
Jul 18, 2011
I just installed ubuntu via the windows executable and I couldn't mount my NTFS partition. I found this a little odd and I checked fdisk and it seems to think I don't have an ext4 partition as my entire internal HD is displayed as NTFS.
Here's the fdisk output:
When i try to mount the NTFS partition /dev/sda2 i get the following output:
I can't make heads or tails out of this. Anyone know what's going on here?
Windows recognizes that 30GB were taken from the NTFS partition for my linux install. It reads the max partition size as 465GB. fstab reports the NTFS partition size as 488GB.
View 2 Replies
View Related
Jul 2, 2011
i had installed fedora 14 into my new hardisk(1500gb) as new server the problem is how can i use the fdisk to partition the hardisk into two partition.
View 10 Replies
View Related
Aug 4, 2011
I wonder whether to place swap partition on LVM or on standard fdisk partition which will not be in LVM.What is better and more often used on production ?
View 4 Replies
View Related
Oct 9, 2010
I started withsda1 windows restore sda3 extendedsda5 swapsda6 /mandrivasda7 /SUSE 11.3
sda8 /SUSE 11.2I then made some changes with gparted (from PartedMagic 5.5) to create an ntfs partition to simulate a condition where someone may want to delete that partition and use the free space for linux. I then deleted that partition, sda2 then sda5 (swap) and taking some screenshots, went about resizing partitions to use that free space and then recreate swap. the intention being to create a basic guide on how to go about this.I have previously only had my swap at the end of the extended partition, deleting itand recreating it later had caused little trouble.I realize that a resize/move operation would have been a better choice.What I was not expecting was the partition number changes that occurred.
Code:
root@PartedMagic:~# fdisk -l
Disk /dev/sda: 80.0 GB, 80026361856 bytes
[code]...
View 9 Replies
View Related
Aug 20, 2009
i have one harddisk /dev/sda it is partitioned as below:
/dev/sda1: /
/dev/sda2: swap
after the centos is installed, i want to create another partition /dev/sda3 to use all remaining disk space. i used fdisk. after fdisk, it requires reboot. The partition table has been altered! Calling ioctl() to re-read partition table.
WARNING: Re-reading the partition table failed with error 16: Device or resource busy.The kernel still uses the old table. The new table will be used at the next reboot. Syncing disks.is reboot really necessary? is there any other tools which do not need to reboot?
View 1 Replies
View Related
May 6, 2011
I recently expanded the RAID on an iSCSI device which is shared out to a linux server. Fdisk correctly sees the new size but it won't let me add a third partition. It complains about overlapping partitions whenever I try to add it.If I 'remove' the partition, the overlapping error goes away. The interesting thing here is that when attempting to use the default sizes to setup the partition the printed screen shows completely different results (which I can understand is why its complaining about overlapping)
I'm not sure why its not accepting the cylinder sizes I want. Anyone have any ideas as to what's wrong here?
View 9 Replies
View Related
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
Mar 27, 2009
OS= Fedora 10
I have a secondary 250GB disk of which I created a 50G partition on to try and set-up an LFS system. I finished with the LFS system and now I want to destroy the partition and reclaim all of the 250GB. So i simply ran fdisk /dev/sdb and deleted the 2 Linux partitions ( one 83 and one swap). I then created a new partition as primary partition #1. fdisk appears to see the entire disk....I'm able to start at cylinder 1 and end at 30401 which is 250GB, however when i mount the partition it's shows as only 50G.....What the hell is going on here???
View 4 Replies
View Related
Apr 27, 2010
had trouble viewing partition table using fdisk, now realised i just cudnt view the whole table from Rescue terminal, please remove this thread, i can't find how ))
View 1 Replies
View Related
Dec 9, 2010
I have a physical drive of about 40GB, I want to create a partition of 10GB with FDISK on this drive.
View 2 Replies
View Related
Oct 8, 2010
Mis-allocated 10g instead of 30g to /var/lib/mysql and realized mistake After Fresh Install and upgraded all servers. Using Slackware13.1, Xfce did some googling wondering if its possible to resize the above partition with fdisk. Read some things about gparted and wonder if it will work using Xfce.. i've never use kde or gnome. There is also mention of using live cd; I have no experience with any of the mentioned tools; just fdisk to partition and install. What is the best or simplest way to backup & restore; (I do have an empty sdb 160g but don't want to get into complicated raid or LVM setups right now because I still have to learn howto backup & restore do data to the point where I feel comfortable with it)?
Current setup: sda 160gb Hdd used 73.5 for following partitions: sda1 512m /boot; sda2 Extended Rest of Hdd; sda5 1280m /swap; sda6 8g /home; sda7 2g /; sda8 8g /usr; sda9 8g /usr/local; sda10 10g /var; sda11 10g /var/log; *sda12 10g instead of 30g /var/lib/mysql; sda13 10g /opt; sda14 5g /tmp Haven't configure mysql... so /dev/sda12 is empty except for system disk data the same goes for /dev/sda13 /opt & /dev/sda14 /tmp
View 14 Replies
View Related
Apr 24, 2010
I had a 500gb hard drive that I wanted to use on my Ubuntu system as a media storage drive. The drive originally had two partitions on it,one was a Dell Recovery partition and the other was a Windows Vista partition. Using the Palimpsest Drive Utility that comes with Ubuntu, I deleted both partitions,created a Ext3 partition using 100% of the space and copied my data to the drive. After I finally got fstab to load the drive, I found another problem. First of all, when Grub loads, two options it offers are:
Windows Vista (loader) on sdc1
Windows Vista (loader) on sdc3
Aside from that, 100% of the drive is not being used by the Ext3 partition.It is showing 434.6gb available on the drive. Fdisk is not showing any other partitions on this drive, so A) why are the Windows loader options showing up under Grub and B) why do I not have 500gb available?Here is a copy of the output fdisk -l:
Code:
Disk /dev/sda: 80.0 GB, 80000000000 bytes
255 heads, 63 sectors/track, 9726 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes[code]....
View 5 Replies
View Related
May 7, 2010
I have a 120GB HDD with a 22GB partition for Ubuntu and the rest for Windows XP. Windows finally died on me so I attempted a fresh install on its partition. However, the install threw a ton of errors so I used a LiveCD to re-install Grub and I booted into Ubuntu. I open up the disk utility to re-format the Windows partition so I can re-try re-installing Windows, but immediately I notice that the partitions are not right. If you add up all the partitions, they are about, say, 18 million terabytes over my HDD's 120GB capacity. Ahhh! What do I do?
I don't think anything is terribly altered, since I can still boot into Ubuntu, but I am completely confused and slightly worried that I might kill any chances to save my HDD I can't post a screenshot due to my post count, so the image loses some of its efficacy in making it small enough for an attachment. Here is the output of fdisk -l: Code: omitting empty partition (5)
[Code]...
View 5 Replies
View Related
Aug 30, 2011
I am currently running a dual boot machine with Ubuntu 11.04 and Windows Vista.Is there any way I can delete the Linux partition and Grub boot loader without affecting the Windows partition at all?I would also like to be able to repartition all of the space that was previously occupied by Linux.
View 2 Replies
View Related
Dec 28, 2009
After trying without success change from windows to ubuntu (dual-boot unsolved problems), I decided to try slack as I have seen that user to user support for slack is usually best oriented and faster.But I am having some problems in order to install slack because of GPT support. As I know its a bad idea to start to asking for help without speak what I have tried, lets to this first:
At first I tried just to boot from DVD and went through the install using the help inside the disk. It doesn't work because either fdisk and cfdisk that are suggested in help doesn't offer support to GPT.
After that first try i looked to:url
But also it suggest the use of fdisk. However, it suggested too that I could use another partition application and since I have the live cd for ubuntu, I tried to partition from there and use those partitions for installation.
At first I tried to format as ext4, but i discovered that slack still dont offer support to this format (at least the version that I downloaded).So I tried again but this time using ext3 as format to my / and /home and use the swap offered in the application for use as swap (duh!)But every time I try to install using the dvd it doesnt find my partitions with fdisk, only with the parted command I can see my partition table displayed correctly.However, every time I try to run setup it say that it didnt found and linux partition (swap also when i try to target).So this is my dilemma, I cant use fdisk, in the parted manual (url) it only says that it supports ext2 (not mention ext3) and also i dont find any command to use with parted to mark the partition as 82.I ran through this 2 other posts (url), but as I am still waiting for some update there I decided to ask it here hoping to discover that this is an easy problem.
View 11 Replies
View Related
Apr 29, 2009
It seemed that it would be simple enough: take the 'f' option in the expert menu of fdisk to put partitions in order after a gap had been created by a deleted partition and then make corresponding changes in /boot/grub/grub.conf because the root partition was shifted.
Well, it didn't work out that way. No matter what I try, I either see the error 15 at Stage1.5 or the error 28, which is even stranger (file does not fit into memory). All this before I even see a grub menu. It just does not get that far.
Does anyone want to take as stab at guessing what might have happened here and whether I have a chance at recovering without having to reinstall? I can provide concrete data, if anyone would be kind to give it a try. Hoping that this is a known problem and something can be guessed from what I stated here but I can be as specific as needed, just don't want to generate noise if there are no takers.
View 3 Replies
View Related
Feb 23, 2010
If i have ubuntu dual-booted with windows already, and wanted to get rid of windows entirely, how would i delete its partition?
View 8 Replies
View Related
Sep 6, 2010
This is frustrating, I just can't wipe out the HD on the Fedora 13 live CD.. When I open up Disk Utility, it says something about the resource being busy.. It seems that it's the swap partition, the live CD is using the swap partition, and I just can't wipe out the HD.On Ubuntu live CD, I can go to GParted, and tell the swap partition "Swap Off", but I can't seem to do that here.. I tried to add Gparted while in the Live session, but the Authentication button does nothing at all..
Is there a terminal command to turn off the swap partition so I can format the HD completely?(I'd also like to try and install without LVM, for my laptop it's just overkill and wastes HD space).
View 1 Replies
View Related
Apr 4, 2010
I have deleted the ubuntu partition on my xp pc. Now at restart i have the following:
GRUB loading.
error: no such partition
grub rescue>
I have no idea what to do now. I have downloaded super grub - because one of the pages that i googled said it would help - but my pc does not read from either the cd or usb drives - don't know why.I need this pc recovered today .
View 6 Replies
View Related
Oct 17, 2009
I have my hard drive partitioned into 3 partitions with one operating system on each partition, as follows:Windows XP
Windows 7
Slackware 13.0
I want to delete the Windows XP partition to free up space on my hard drive, but I'm afraid that it will corrupt or delete the LILO bootloader and prevent me from loading either of the other 2 operating systems.What should I do? Can I save and restore the bootloader and its configuration somehow?
View 4 Replies
View Related
May 26, 2010
My cousin just deleted his Linux partition and another smaller partitio nand now Windows is not booting, no he does not have the recovery disc. When Windows tries to boot it goes to "GRUB" and says "partition not loaded". What are some GRUB commands? And is it possible to fix this without using the recovery CD?
View 1 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
Jan 20, 2011
I have two 500gb hdd. One of them crashed (the one which i used windows on) and its now getting sent to the warranty people. On my other hdd i do not have any OS installed, it's just one 500gb NTFS partition, i have there just some personal important stuff. I want to install ubuntu 10.10 x64 on it. I understood that when i will do this, from the available free space it will be created a new partition.
I have tryed to get along with linux a few years ago and i failed... Can you tell me if i will be able to delete the partition ubuntu is creating and merge the unpartitioned space back to NTFS without formating the drive? Also how big are the risks of losing my data when i try to install ubuntu and when i will try to go back to one big NTFS?
View 3 Replies
View Related
May 29, 2011
There is one directory in /oracle partition in test server which i use to delete that dir after copying in the same location with diff file/dir name. Like this i did so many times.evrytime i m deleting but the /oracle partition space is reducing by 1.5 or 2gb after deleting dirs of 80gb.Directory size is 80GB and partition size 400GB.plz let me knw with steps, is it requires to do De-fragmentation?
View 1 Replies
View Related
Sep 30, 2010
Windows 7 x64 was the only install with a separate boot partition which was already on the Dell laptop. I then shrunk the partition to allow me to put opensuse on. Then I made the stupid mistake of deleting the opensuse and boot partitions while in Windows. I was going to do this, copy pictures of my new born baby off then reboot and delete all stuff and redo all the partitions and installs again.Now I just get grub rescue with the following when I do ls command:(hd0) (hd0,1) (hd0,2)I would like advise on how to get the data off, I cannot afford to lose my babies pics as there are no other copies. I will then do a normal install of opensuse first then Windows 7 after it.
View 6 Replies
View Related
Oct 29, 2010
I was dual booting windows 7 with opensuse 11.3 and then realized I wasn't ever using Opensuse. I then deleted the partition it was in and now I cannot boot into windows. Grub immediately takes over upon booting but doesn't detect any partitions. I tried booting from an opensuse cd and changing the boot order priority, but grub still comes up. I don't have a windows 7 installation disc
View 4 Replies
View Related
Aug 4, 2011
I have a hard drive with the following layout:
I want to delete the first two partitions (a 243 MB Linux swap partition and a 5.87 GB root partition). Problem is, every time I deleted them, Windows would also delete Drive G: and H:, leaving only drive F: intact. Deleting the two Linux partitions using GParted from a Live CD also gave the same result. I've attempted this multiple times now and, after each attempt, TestDisk always managed to recover all the deleted partitions.
Any ideas on how to delete these two partitions without affecting the rest?
View 2 Replies
View Related
Oct 16, 2010
I have a major problem with Windows 7's MBR. I deleted Ubuntu's partition last night, and when I restarted, I saw:
Code:
error: no such partition
grub rescue>
I looked it up, put some code into a LiveCD terminal, and I thought it worked. But now, I says that I definitely need to put in a Windows 7 CD and do that MBR fix method. I did not own a Windows 7 CD; my laptop came with it pre-installed, and I have no recovery partition anymore.
View 9 Replies
View Related
Aug 20, 2009
I'm pretty new to linux, and I'm facing a problem with an ext3 partition on an external hdd. I'm not sure whether the hdd is about to crash or not, however I've had a few problems accessing it in the past.
I have a second external hdd, the exact same drive, that has the exact same partition configuration, but holds different data. So, my question is; is it possible to backup the partition structure of the second working drive, and using this information to rewrite the partition structure of the failing hdd without damaging the data stored on that drive?
View 2 Replies
View Related