General :: Difference Between LVM & Primary Partition?
May 15, 2010difference between LVM & Primary Partition..
View 2 Repliesdifference between LVM & Primary Partition..
View 2 Repliesthis quetion is asked in a inetview to me. I am not able to answer to it
View 1 Replies View RelatedFedora 14 xfce
I have the following partition setup. I would like to know how can I convert the logical partition sda6 to a primary partition.
Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
[Code].....
I would like to convert sda6 to a primary partition, the reason for this it to install windows 7 starter.
One question:An OS only can boot from primary partition, not in an extended partition ?
grub 0.97
I'm installing the ubuntu on my new computer with 1 TB hard drive (and core i7 870 with 4G RAM), for the purpose of scientific computing. I have two questions:
1. Since I am not absolutely certain that the simulation won't use larger swap space than usual (say 3x4G = 12G), I intend to set it initially as 12G keeping in mind that I might have to extend it later. So one might suggest putting it on lvm partition. But then I read that I can maximize the speed if I put the swap at the outer track. If I mix it with the other logical volumes in the same volume group, then I don't know where my swap space is across my hard drive, isn't it? So this might suggest I make it as a primary partition. I'm stuck..
2. My current planned partition map is
/ 1G
/tmp 10G
/usr 20G
/var 5G
/home the rest
taking into account I will install MATLAB and maybe other visualization software. What do you think of this scheme?
The good news is I was able to shrink one of my partitions to create some unallocated space. The bad news is the unallocated space is on my primary partition, so gparted is not allowing me to use that space to create another partition since I already have two primaries and an extended. Any tricks to do that?
View 7 Replies View RelatedThe difference between primary or logical and extended partition in disk management in redhat linux
View 1 Replies View Relatedlinux newbie and i made a mistake while installing windows and linuxI made 4 primary partitions for my HD as i didnt know that only maximum 4 primary partitions are allowed.Now 25 GB of my HD is wasted. It is shown as unusable.CAN ANYONE PLEASE TELL ME IF I CAN CONVERT MY WASTED 25GB INTO SECONDARY AND USE IT WITHOUT FORMATTING AND RE PARTITIONING MY ENTIRE HD ???
View 5 Replies View RelatedI'm currently dual booting Windows 7 64bit and Ubuntu 10.10 each on primary partitions. Then on the other 2 partitions I have the manufacturer recovery partition (which I am not sure I should remove...), and then a partition for storage and files. Now I want an Arch Linux installation on the hard drive, but obviously I cannot create a new primary partition because I already have 4. I found out that linux can run from a logical partition (which you can have multiple of)..However I do not want to format my Ubuntu partition and I'd prefer to keep the data on there all intact. Is there a way to move my Ubuntu installation (on the primary partition) to an extended partition where I could put multiple logical partitions for multiple linux installations?
View 2 Replies View RelatedOn a certain computer, I had four primary partitions. The person who installed the Windows 7 on the computer made two partitions for the Windows (sda1 and sda2). Then I made another two primary partitions (sda3 and sda4). sda3 was empty. sda4 is an extended partition that contained the /swap, and /.According to someone else, some viruses get in on the Windows partitions and can then get over to the Linux partitions if they are primary and right after the Windows partitions, or something like that. This person suggested that I create sda3 when I install Linux(SLES 10), but to install Linux on sda4. Then later I can change sda3 to secondary.So I tried this, and the Linux installation went fine.
I decided to change sda3 before I load the application software onto the computer.So I put the GParted CD in, but to my surprise I realised that the harddisk was actually 1 TB, and not 500 GB as I thought. So I had extra space to the right of sda4. I wasn't quite sure what to do with sda3. I thought that perhaps it would be better to unallocate sda3, move the current sda4 to the left, and then make another primary partition on the right of sda4, or just stretch sda4 both ways.Anycase, I unallocated sda3, and just left sda4 as it was.Hm, perhaps you can anticipate the end of the story. I removed the GParted CD, and restarted the computer, but now the computer doesn't let me choose whether I want to boot into Linux or Windows. Um, it doesn't boot at all from the harddisk.
I know it's dangerous to play with partitions, but sometimes the job won't be done if you are too afraid of doing anything, and I dare say you won't learn anything either. There was nothing on sda3, so I didn't think it would have nasty after effects. There isn't any important data on this computer yet, it was two new installations of Windows and Linux. So I guess I could format the harddisk and just reinstall everything, but I would like to learn what goes on underneath the surface.
Around 2008 i seem to remember PartEd on the command-line was able to rescue deleted partitions and gave a choice of whether to recover the partition as a Primary or Logical Partition. I have tried testdisk but didn't really grok what i was doing. I successfully moved a "Windows Recovery" partition to the end of my hard-drive, immediately after the drive's Extended Partition.
View 3 Replies View RelatedI'm slack 13.1, I am trying to install it, but always gives an error. I type cfdisk and appears this error:
Fatal error: bad primary partition 2: Partition ends in the final partial cylinde Press any key to exit cfdisk
So I tried adding a new, 2nd hard drive to my Ubuntu 9.04 desktop for some additional storage and only managed to kill my system so that it won't boot up anymore (I just get a blinking cursor after the BIOS does its thing).I could sure use a little help getting back to a functioning system, and then adding the second drive. I tried following the instructions from this link to add the 2nd drive:
(So the forum rules won't let me post the link, neato. Here it is with spaces added):
h t t p s : / / h e l p . u b u n t u . c o m / c o m m u n i t y / I n s t a l l i n g A N e w H a r d D r i v e
[code]....
creating a new partition when i have only primary partition on my 40gb harddisk.
what i did while installation was selected use entire partition and now i want a additional partition other than primary ?
I want to assign 10GB for Primary one and wanna create Two 14GB partitions , I Also dont know what Swap partition Is.
Since i am a month old ( January 2011 ! ) UBUNTU user who hates MS Windows now, if i gets this problem solved , i can convince more people to replace their OS to Ubuntu .
I formatted a 16GB USB flash drive via right click. Then I ran gparted and got as far as this [image attached]
Do I choose Primary Partition or Extended Partition for this second partition?
i have 2 partitions. one with vista and the other with ubuntu. i would like to make another primary partition from the free space in my ubuntu partition. anyway to do this?
View 8 Replies View RelatedI somehow messed up my filesystem. I installed Ubuntu directly with LVM. This created an extended partition including a logical one. When I run out of space, I just increased my space (through VMware) and then added a new PRIMARY partition.
Then I added this one to the volumegroup and increased the logical volume. After I did this a few times, there were no longer any primary partitions allowed (only 4). Then I resized the FS, resized the logical volume, resized the volume group, and removed the physical volume. Now I'm no longer able to create an extended volume (only one) but it's not at the end (there are other primary partitions behind this one at the disk), so I'm not able to create some logical volumes.
What is the best possibility to add some space to the LVM and being able to do this a few times in the future again?
further info:
pvscan:
fdisk -l for sda:
There was a /dev/sda3 at the end of the disk. I already deleted this partition.
So the order on the disk is: sda1 | sda2 (extended) | sda5 (logical referred in sda2) | sda4 | free space
Does it matter that there is type "Linux" for sda4 or can I without damaging the lvm just change it (with cfdisk) to "Linux LVM"?
I have to write a script or program to log the details of the primary partition of a linux server which should be generic. Can anyone tel what is the command in linux to get the list of the partitions and how to find the primary partition among the other. Or can I know from proc filesystem.
View 3 Replies View RelatedWhen I set up my current Debian desktop system ( currently squeeze ) in 2007 I allocated only 8.4G to my / partition. Now I find it is getting too crowded with only about 580M free space (worked around CD & DVD burning by creating a /tmp folder in my /home/username folder). My current plan for fixing this is to use gparted running from a live-cd. I will first delete my swap partition and my /home partition then use gparted to enlarge my / partition to 20G. Next I will recreate & format my swap and /home partitions and restore the contents of my /home partition from backup. I will still have lots of room to spare in my /home partition. My system has no extended partitions. My hd is 250G total. I know this will change the UUIDs of the two new partitions but am not sure if it will change the UUID of the expanded / partition. I expect it will. My next step will be to edit my /etc/fstab and put in the new UUIDs which I will get by running blkid /dev/sdb. My backup drive is an ide drive, /dev/sda. My question is am I likely to run into boot problems with grub2? Should I chroot into my / partition and run update-grub before I reboot or wait to see if it will
reboot first?
This is my partition table....(in the image) Now I would like to install windows in the unpartitioned space after a long time..... I tried but could not do that. I understood that Windows needs only primary partitions!
So I tried to convert this logical one into primary, but of no use... Is it possible to convert that unpartitioned space which is under logical drive to a primary one!
i'm trying to install windows 7 and after googling around found that marking the partition as primary would do the job.. so how to do it??
View 4 Replies View Relatedright now I've been playing around with Ubuntu using Wubi and I would like to actually install Ubuntu onto its own partition. But I dont want to lose my Windows OS either (I need it for applications like MATLAB and LabVIEW).
My issue is, my laptop currently already has three primary partitions. One for windows, one for recovery and one "SYSTEM_DRV" (used to hold OEM windows license info apparently). I dont want to mess with any of those partitions. my question is, can I still install Ubuntu when I only have one primary partition?
I read about extended and logical partitions in the guide, but the wording was pretty confusing. All it said was Ubuntu needs two partitions, it didnt say if the partitions could be any type.
I'm running Ubuntu 10.10
I have been running a dual boot system for a while now and I haven't logged onto the Windows side for quite a while. I'm ready to whack it.
What I want to do is get rid of sda1, sda2, sda3 partitions(all Windows related) - migrate my Linux install(sda5) to a Primary partition, migrate the swap out of the extended partition, and then make everything else my "data"(ext4) partition...so basically go to 2 primary partitions and a swap.
I know how to ultimately get to my one big "data" partition, but the part I'm not so sure or comfortable with is whacking the current Primary partitions and migrating the Ubuntu install to the new primary partition.
Device Boot Start End Blocks Id System
/dev/sda1 1 13 102400 de Dell Utility
Partition 1 does not end on cylinder boundary.
/dev/sda2 * 13 1926 15360000 7 HPFS/NTFS
[Code]....
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.
Today due to losing one of my partitions (I call it here P1) by installing windows xp, I recovered it by "Parted" P1 was a logical partition but now P1 is marked as a Primary one
View 9 Replies View Relatedknow the best way to shrink the Windows 7 64 bit primary partition (C: drive)? The C: drive was originally just over 900 GB free space. I shrunk it using Windows 7 Disk Management, but it would only let me shrink to 468 GB, which I did. I want to shrink it to 100 GB. Will G-Parted work for this? Will I be able to boot into Windows after I use G-Parted? Or will I have to use the Repair Disc to fix Windows? If so, will the Repair Disc work. I have a new PC. I had Ubuntu 10.10 dual booted with Windows XP on my old PC.
View 9 Replies View RelatedI'm trying to convert big ext4 partition to logical. I was able to do that with Arconis Disk Director Home 11 with swap and ext3 partition, but it doesn't recognize ext4.
Unfortunately I can't copy 2TB data to another HD Now I have:
Pri /boot ext3
Log / ext3
Log swap swap
Pri /media/X ext4 <- 2TB
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.
I'd be very grateful if some charitable person could help with a problem. I have a portion of unallocated space, 15GB, which is situated to the left of all my other partitions (according to GParted). Unfortunately I already have 4 primary partitions. Although I am willing to delete my last partition, I still amn't sure how I could go about reclaiming the 2 portions of unallocated space under one new partition
View 2 Replies View RelatedI was unsatisfied with the 40second boot time of lucid and was searching for a solution for a while but didn't find anything yet. But today I found a way to boot 10seconds quicker.Lucid is installed here as suggested by the installer:
Primary rootpartition (/dev/sda1)
Logical partition (/dev/sda4)
swap (/dev/sda5)
[code]....