Fedora Servers :: How To Use Fdisk To Partition Hard Disk Into Two Partition
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.
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 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 ?
After I have installed all my programs, I need to install windows and I need visual studio. So I was thinking of taking 20 GB from the /home directory and using that for windows. I can use gparted. However, many posters on here think it is best to use gparted by booting from the disk. However, I cannot do this, as I don't have any DVD drivers. And I can't really afford to buy one just for this reason. What is the best way to do this?
I want to add Fedora 14 to my triplecore 3GB RAM computer which has windows, Fedora 12 & ubuntu installed. What are the recommendation (e.g. size) for harddisk partition allocation? I can reuse the swap partition, can't I? Should I install Fedora 14 to a single partition (ie. /)? Should I use only ext4?
I installed Redhat Enterprise 3 on one of my servers. In my haste I didn't properly partition both Hard Drives and only properly partitioned one of them. Thus now I have
Where /dev/sda1 is actually a 80 GB hard drive. Is there anyway I can safely and easily repartition the unpartitioned space without causing a huge mess? I have a very important Oracle database on /dev/sdb1 and thus I want to be able to back it up on the second disk. I can create a partition on that drive?
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???
I'm trying to resize a partition on an IDE hard disk to use the entire disk but can not get more than a 309GB partition. I can get 295, 300, 301, 302GB, etc... fine but start getting problems with anything over 309GB. I get the following error with 310GB or more:
error: block relocator should have relocated 533 Warning: You should reinstall your boot loader before rebooting. Read section 4 of the Parted User documentation for more information. I am using Slackware 12.1, GNU parted 1.8.8, ext2 filesystem.
I am completely new to Linux in general, and have recently downloaded Fedora 15 KDE spin. I tried dual-booting between Windows 7 and Fedora by shrinking one of my Windows partitions (I have two, this partition not containing the Windows installation). I tried shrinking it to 30 GB less than the total space available on the partition, and after pressing continue, received an error (which I unfortunately dismissed quickly and can't remember). In the file manager, Fedora showed that my partition changed from 1.3Tb to 1.2 Tb, but I couldn't access it. Upon rebooting into Windows, I still can't access it, receiving a "format drive before use" popup and then error stating that it is possibly of a different filesystem or corrupt.
Unfortunately, I stupidly didn't backup any of my data (which I will be sure to remember to do in the future). I installed EASEUS Partition Master 8.0.1 Home Edition, which states that my drive is still of NTFS filesystem and has the total space it should. However, upon clicking "check drive," it states there are no errors and when trying to "explore files," it doesn't find any (yet it shows the correct amount of used and unused space). I then tried running TestDisk, but only allows me to check my media drive E, which is my dvd drive that has my Fedora Live CD in it (which cannot be ejected manually or through Windows, an error stating it cannot be ejected). I didn't go through with TestDisk for my DVD drive because I needed to verify the type of partition (which to my knowledge shouldn't even exist). It shows 700 something MiB / 600 something MiB. Although I have decent general knowledge about computers, I am a complete novice when it comes to doing something like this.
have Debian "testing" installed. During the installation I selected to have a separate /home partition. / partition is ~10Gb, and my /home is ~300Gb. I didn't think I would need more than 10 for /.The other night, Debian informed me that I had 0 bytes remaining on /. I purged /temp an went about my day, only to be greeted with the message again the next morning.I've tried shrinking /home and increasing / via an Ubuntu live CD with GParted, but for some reason it did not want to work. However, I am beginning to suspect that my /home folder is occupying the / partition, and not the separate /home partition.Output of fdisk -l
Code: Device Boot Start End Blocks Id System /dev/sda1 * 1 1216 9764864 83 Linux /dev/sda2 1216 38914 302803969 5 Extended /dev/sda5 1216 1974 6082560 82 Linux swap / Solaris /dev/sda6 1974 38914 296720384 83 Linux
On my embedded linux box, running on Linux Kernel 2.6.9 embedded with BusyBox utilities.
An Objective are follow: 1/ To figure out how many partitions are on the hard disk 2/ Create a extra partition about 10GB size on the hard disk 3/ Format the partition and mount var on that partition
Only utility to perform above operations I have "sfdisk" utility from BusyBox collection. Which get installed at the time of image flash in to ROM (8mb ROM size). The following is the root directory structure where hdd as a directory mounted /mnt/hdd1
Code: ~ > ls bin etc lib proc sbin sys var dev hdd mnt root share tmp var_init Within /bin sfdisk utility can be used which I tried but no avail.
Code: ~ > sfdisk -l /dev/hda /dev/hda: No such file or directory sfdisk: cannot open /dev/hda for reading ~ > sfdisk -l /dev/sda0 /dev/sda0: No such file or directory .....
When I installed Lucid several months ago, I went ahead and let Ubuntu use the entire disk. Since then I have learned more about partitions and came to realize that I didn't have a separate /home partition, meaning that clean installs of new Ubuntu releases would wipe my data. I would like to carve my hard drive up from the LiveCD environment while preserving my current data and Lucid installation.
i have Cent OS 5.2 CD (6) with me. I need to install it in my hard disk. I have already installed Windows XP in C: partition. I need to install Cent OS in D: partition. During installation process its asking for hard disk partition. In this regard, how to select the partition. I have C,D,E and F partitions and C,E and F are in common use. So i have to install Cent OS in D partition.
My computer has Windows and Ubuntu operating system and each is located in separate partition (dual boot).Now the disk space of Ubuntu partition is about to run out. I wonder how I can increase the disk space of Ubuntu partition.
This is my situation, I had installed Ubuntu in my whole drive in 640Gig. Now, I want to partition it, without affecting my Ubuntu operating system. I just want 320Gig for my Ubuntu and 320 for my Windows.
I know how partition using Windows but from Linux, that I don't know.
After 2-3 partition an extended partition automatically created in which I am not able to create specified capacity i.e., say I want 150g of /photos partition, the /videos partition is automatically reduced and a free space at the end appears. Some free space is always there which i am not able to understand. Nevertheless i clicked to create, but I get an error viz. 'device not created'.
I want to install Cent OS5 on my machine. The Hard Disk is SATA. I want to discuss about how to custom partition the hard disk. In the old version there is a drop down list for manual partition the hard disk. like /,boot,swap,var etc etc. In the new version of centos 5 I can not see things like that. During installation process and in partition page there are things like:
Code: Remove all partitions on selected drives and create default layout. Remove Linux partitions on selected drives and create default layout. Use free space on selected drives and create default layout. Create custom layout.
When I choose custom layout it show me an error message. "An error has occurred-no invalid devices were found on which to create new files system. Please check your hardware for the cause of this problem."
I wanted to implement raid5 such that one partition is from my laptop's hard disk and others from other hard disks. After making one partition a raid partition, I rebooted the system. The computer stopped mid-way during booting, and brought me to the shell. On typing fsck -p, it told me an unexpected error occured in the partition which I had made for raid. Is there some condition that we cannot boot from a disk containing one of the raid partitions ?
I want to configure Name Server i.e., DNS to my red hat linux box in a production enviromnt.The ram is 2 GB and Hard Disk size is 200 GB. How much space should I give /var, /usr, /boot, /root and home partition. May be I am wrong in partition point of view while installing fresh red hat but to install for home purpose and server end is different. So kindly guide me the hard disk partition size to ready it for name server.
I have just install debian-7.7.0-i386 on my home pc. I want to configure samba 4 in my Debian box. How may I create Hard Disk partition of 500 GB for a samba server. The professional way i want.
I have a broken DVD drive and no others available right now to burn a DVD iso to so I'd like to use a empty hard disk instead.
I've tried Unetbootin but that only copies a few megabytes of files - the rest of the image data in the ISO is ignored.
I have verified the ISO is valid and working with VirtualBox. It's MD5 hash is also as expected. But I need to boot at the real bios not an emulated one.
My primary drive is 250GB and has the root, home and var (I'd read it's good to put var on a separate partition for MythTV which I'm planning on doing) on separate partitions. I have a second 1TB drive that I'll be using to backup the 250GB drive and also host less critical data. I've created two partitions on this drive, one 250GB and the other covering the rest of the drive. I'd like to move the Videos directory out of Home on the 250GB onto the 1TB drive but can't find a definitive way of doing this. Should I just follow this guide for moving the home folder to a new partition? Next question is when performing a backup of the 250GB drive how do I make sure it's going to the 250GB partition on the 1TB drive? Can the different partitions be mounted separately?
I set up a Windows partition and an Ubuntu partition in my laptop and each partition has about 60 gigabyte of disk space. Recently I keep getting messages that the disk space in my Ubuntu partition is almost full. How is it possible since I only have computer programs which I absolutely need?
Basically, I just installed Ubuntu over Windows Vista because I was getting fed up with the performance on it. During install I set up a partition, one for Ubuntu and one for data. However, my second, larger partition gives this error when I try to mount it... Error mounting: mount exited with exit code 12: Failed to read last sector (976764927): Invalid argument
Hints: Either the volume is a RAID/LDM but it wasn't setup yet, or it was not setup correctly (e.g. by not using mdadm --build ...), or a wrong device is tried to be mounted, or the partition table is corrupt (partition is smaller than NTFS), or the NTFS boot sector is corrupt (NTFS size is not valid). Failed to mount '/dev/sda1': Invalid argument The device '/dev/sda1' doesn't seem to have a valid NTFS. Maybe the wrong device is used? Or the whole disk instead of a partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
I have installed vmware in windows server 2003 enterprise edition. When I installed I changed the default installation folder from c: drive to i: drive, as I do not have space in c: drive. After I captured red hat linux cd in vmware and reached partitioning section and continued I got a message like "an error has occured no valid devices were find on which to create new file systems, please check the hardware for the cause of the problem". The machine is IBM server....
Should the first bootable partition start from sector 1 on a hard disk? or Can it be created anywhere on the disk? I am using fdisk to create the bootable partition.
Caused by Used fdisk to delete the windows partition, in my dual boot. Then I could no longer log in to ubuntu, the partition table was some how courpt and I couldnt remount I then decided to use the windows partitioner from windows setup, as I thought it is so stupid, to reformat the partition where I had ubuntu. I wanted reinstall ubuntu, and I know that during the setup I could straighten out the mess I'd made.
Windows has now installed two 8mb one cylinder partitions on my HD. When I start the PC I get a !disk error occurred Press Crlt Alt Del to restart! This happens everytime. HD boot sequence is buggered, i guess.
I can boot from other devices. USB + CD. How when I use the windows disk to boot up I can see the 2 8mb partition, which it wont let me delete. How can I delete this via linux?
Also when I try to install ubuntu from the usb drive, it stalls just after the Preparing to install part. The next screen is when you set the partition table, swap drive etc. When I quit I get the following error !Process Glib WARNING getpuuid_r() failed due to unknown id!
The usb_liveCD does however mount my hard disk partitions and luckily I have managed to back everything up to an external.
results from df /var/log# df Filesystem 1K-blocks Used Available Use% Mounted on aufs 766804 68140 698664 9% / none 760892 244 760648 1% /dev /dev/sdb1 3911856 712128 3199728 19% /cdrom
I've surprisely recognized that it's possible to write a filesystem on a hard disk without any valid partition. Well, the general advantages of partitions are clearly. But what are possible disadvantages or limitaions if you don't use a partition (e.g. if you want to use the complete space as one volume for data mining or so)?