Software :: Creating 10GB Partition With FDISK
Dec 9, 2010I have a physical drive of about 40GB, I want to create a partition of 10GB with FDISK on this drive.
View 2 RepliesI have a physical drive of about 40GB, I want to create a partition of 10GB with FDISK on this drive.
View 2 RepliesSo the first 10Gb of a 450GB NTFS partition have just accidently been written over with an Ext4 filesystem that spans the entire partition instead. all foolishness asside, what can be repaired. Now I know Ext4 likes to jot bits of meta-data down (inodes blocks) along the way, and this can be about 5% of drive capacity, that said, there's alot of small text files and stuff, coe files so forth that can surely be recovered
I've looked into magicrescue and testdisk, but they fall into the only two groups to exist:
1) Filesystem independent, that is search almost like a patern - well exactly like a pattern match, to find the header and footer of files.
2) Filesystem recovery tools, like, damaged bootsector, so forth
I need one, that will be able to extract files, Iunderstand this will be a hard task, but.... text files; surely that'll be easy, anyway. This is my backup drive, they''re both WD you see, anyway. This is important, given the coding is ASCII surely.
i have 2 harddrives. a 6gb and an 11gb. IDE ATA. i want to install opensuse 11.2 on them, using EXT4, in a different way this time. i want the "/" partition to cover all of the 6gb, with the drive set to master. For the slave, I want the "/home" partition on the 11gb, covering only 10gb on the beginning of the drive, and i want the swap space partition on the end of the drive using 1gb. Is this a smart way to install it? Will i have to continuously mount the drive with home and swap on it? What is the best configuration for using these two drives?
View 9 Replies View RelatedI have a dell poweredge 2950 server which had red hat on it. I have installed ubuntu on top of it. I have replaced master boot record during the installation of ubuntu as I dont want use red hat anymore. During the installation it asked me for the space I wanted to give for Ubuntu and I provided 10GB. Now I can use only 10GB of my harddrive until I mount other partitions correct?
So when I type sudo fdisk -l I get the below printed:
Code:
Disk /dev/sda: 146.2 GB, 146163105792 bytes
255 heads, 63 sectors/track, 17769 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
[Code]....
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.
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 RelatedI 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 Relatedi 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?
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?
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.)
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.
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???
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 RelatedMis-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
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]....
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]...
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.
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.
The Default Template for installing Oracle VM Server has 10GB, what are the factors to take into account when considering sizes. I have only seen one installation, and 2 sizes were changed to 23072 and 5000. How can I see these settings?
View 1 Replies View RelatedI 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.
Since I installed TinyXP on another partition on my PC, I get "omitting empty partition" when I use fdisk -l.
Code:
omitting empty partition (5)
Disk /dev/sda: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
[Code].....
NOTE: I also searched for the palimpset error and I found a Bug Report there: [URL. I don't know if these informations could help to fix this problem, I think it's related and probably cause by the installation of Windows XP and the way that gparted and palimpset read the partitions.
I have a brand new thinkpad X301 with 4GB of RAM and thinking of getting fedora 11 on it. The plan is to have it triple boot with vista/seven and hopefully OSx86. I am aware of the 4 primary partitions limit on an MBR disk. I was thinking of having a swap file instead of swap partition and not creating a boot partition as well. If I install the boot loader(GRUB?) on the root partition will I be able to boot it without any problems by using vista's boot loader?
Or Maybe I should install GRUB on the MBR and add all the other operating systems on it? Does anyone have any objections for not creating a swap partition or a boot partition? When comes to desktop environment I've been using KDE in the past, is there any major advantage of using Gnome over it? KDE seems to look really nice on fedora where Gnome is maybe more stable?
Below is a print out of my partition Table from Fdisk, in Cylinder mode, Sector mode, and then in expert mode?
Why in expert mode does it look like Partitions 2 and 3 share the same sector / hd / Cylinders? Is this OK?
Code:
Currently my system runs on two disks, sda 30GB and sdc 1GB. sdb is my data disk. I have set the partitions as sda1 /boot, sda2 /(root) and sdc1 /(swap).
Thinking that sdc was udma33 i used the disk for a swap area. Later i found out that it is pio4 and i want to relocate my swap area to sda.
Using GParted Live i am planning to create a swap partition to sda. Will fixing the entry in fstab be enough to correct this or do i need to do something more?
I could also use some advice on which live debian image i can install in sdc, to use for rescuing purposes. The capacity of the disk is 1080MB.
As a side note, the images i find for usd-hdd are direct download. Are there any torrent files for these?
I'm trying to create an extended partition. In GParted, I shrunk the size of the existing partition and now want to create a new EXTENDED partition in the free, unallocated space. GParted only lets me create a PRIMARY partition. What am I doing wrong here?
Here's what I've got right now:
You can actually ignore the flag for the swap as "boot." That was me just messing around trying to get it to work. I've removed that flag. Not sure how the question of boot affects all of this...maybe it factors in somehow.
To install ubuntu 10.04, I've tried to create partitions on my hard drive, and an external hard drive. Both have failed. I have apparently exceeded the max number of partitions on my hard drive (came with 4 on it. Recovery, OS, and 2 others I don't want to mess with.), and the external hard drive won't let me shrink the NTFS volume to create space for a new partition. Can I get steps to create a new partition, preferably on the external drive (it has more space). My computer is a dell inspiron 1525 with a 225 Gb hard drive, And my external drive is a windows system Seagate 1 Tb Hard drive (I've checked, external drive works with ubuntu).
View 9 Replies View RelatedI have been using Ubuntu 10.04 for awhile now, and I wish to create a partition for Windows 7 so that I can dual-boot. I know you all are cursing me right now, but I have no choice. I run too much high-end software for business purposes that I need to.
I have dual-booted before, but that was when I had windows xp on a primary partition, and I seem to recall that was necessary. I dual-booted ubuntu afterwards as a trial basis, and then I completely switched to Ubuntu 100% for the last couple years. Unfortunately I need to go back. Is it possible to create a file partition for windows as a secondary partition without wiping all my data?
I'm trying to install XP Sp 3 on my comp which is running Ubuntu atm. But when I tried to create a partition after I clicked "Apply" I get this error :
GParted 0.6.2 Libparted 2.3 Create Primary Partition #1 (ntfs, 74.50 GiB) on /dev/sda 00:00:01( ERROR ) create empty partition 00:00:01( ERROR )libparted messages( INFO ) Partition(s) 1, 5 on /dev/sda have been written, but we have been unable to inform the kernel of the change, probably because it/they are in use. As a result, the old partition(s) will remain in use. You should reboot now before making further changes.
I was doing an exam the other day and they wanted me to create a partition /dev/hdd5 so I saw there was a /dev/hdd so when I created the partition it obviously named it /dev/hdd1. How do I get it to be hdd5?
View 3 Replies View RelatedI am a newbie to Linux. I am currently running Windows 7 and looking to have a dual boot system. I started by going through the Windows Control Panel to shrink the current partition. This left me with a 7.75 GB recovery partition, a 100 MB system partition, a 160 GB partition for Windows and 130 GB unallocated.
My question is (1) do I need to do anything with that 130 GB partition that is unallocated and (2) when I run the OpenSuse CD to install, how do I make sure it installs to that 130 GB partition?