Ubuntu :: Create A New Primary Partition?
Feb 25, 2010i 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 Repliesi 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 RepliesSo 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?
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
Fedora 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.
I'm trying to install Crunchbang on a partition I made. I managed to resize my Ubuntu for space to install Crunchbang (which essentially is another Linux OS).I currently have Ubuntu 10.10 and Win7 currently installed. The error I get in GParted is the one above in the title. I know there is a way to install a third OS but this problem is killing me. I need some to help my step-by-step. I'm not that bright when comes to technical terms and writing stuff in the terminal. My current filing system:
Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
[code]....
I 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 want to set up an installation server for CentOS 5.5, using PXE for boot, kickstart for package selection (one for server), and NFS for share all files needed.I've succesfully completed a fresh installation of CentOS5 from the DVD for one of my servers (virgil), and I've copied the anaconda-ks.cfg generated by the installer to my install server (beatrix).
Next, I've properly configured the /etc/dhcpd.conf , the /tftpboot/pxelinux.cfg/<IP_CODED> and the /etc/exports for NFS sharing on beatrix.Then, I've copied all the first DVD of CentOS5 content in this folder on beatrix: /opt/CentOS_install I've tried to start virgil from ethernet, and all has gone ok, with the kickstart and so on! But I've decided to apply the updates (new kernel, sudo, xorg, ...), so I've deleted the old rpms from /opt/CentOS_install/CentOS and copied the new ones (downloaded from http://mirror.centos.org/centos-5/5/updates/x86_64/RPMS/). So, I've launched the following commands to recreate the repodata:
root@beatrix:/opt/CentOS_install/ # mv repodata/comps.xml CentOS/
root@beatrix:/opt/CentOS_install/ # rm -fr repodata
root@beatrix:/opt/CentOS_install/ # createrepo -p -o /opt/CentOS_install/ -g comps.xml /opt/CentOS_install/CentOS
But when I try to reinstall virgil, an error message appears, telling me that a package (perl-DBI-...) isn't present in the media.After some debugging, I've noticed that in the /opt/CentOS_install/repodata/primary.xml.gz there isn't the correct path for the rpms. If you look at the original primary.xml, the "path" is like:path="CentOS/abcxyz.rpm" while in the generated file (with createrepo) the path is:
path="abcxyz.rpm".How can I recreate the repodata with the correct path information?
I'm trying to configure autoyast to create three primary partitions:
/dev/sda1 (/boot)
/dev/sda2 (swap)
/dev/sda3 (/)
This is the XML I've come up with:
HTML Code:
<partitioning config:type="list">
<drive>
<use>all</use>
<initialize config:type="boolean">true</initialize>
<partitions config:type="list">
[Code]....
I seem to be missing an instruction or misunderstand something here.
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 RelatedAlright, 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]....
I have recently ghosted, using g4u, an 80 gig drive to a 30 gig drive. The data size is about 15 gig so no problem there.The system does work and it doing everything it should, except for some errors in dmsg log.The thing is though, that the system works! all the services are running and live.And i have years worth of customizations in this machine. Has been running for several years, so i dont just want to reformat and reinstall. Its hard to get linux the way you want it sometimes!So my question is this, is there a way to fix my partition or somehow tell the machine what the current boundries <i>should</i> be?
View 5 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
When I do that I be able to install Ubuntu Server next to CentOS. And I will add partition /home(ext4) for both and "/"(ext4) for Ubuntu.
Problem:Here's what I had, they basically needed to switch places.C: Windows Primary (The contents of this was my boot partition)D: Extended Logical (I wanted this to become the primary)I googled what to do, and believe it or not it seems people really didn't have a solution besides reformatting it?We learn from our mistakes. That's why I'm posting what I did to see if someone knows a better way!What I did:First I used an Ubuntu LiveCD or 10.04. (Not .1 oh noes)Then I opened up gparted and shrank the extended partition so I would have enough room to move them around.I mounted both the C: and D: partitions and copied the data over to the primary from the logical.I deleted the logical and then moved and resized the primary!Then I flagged the primary partition boot.Well that's one way to get from logical to primary with your data
View 2 Replies View RelatedI am trying to build my second home file server after building an experimental x386 unit.
Gigabyte x64 Motherboard with 3core processor and 4GB RAM
10 1.5TB SATA HDD (Mostly WD15EARS and W15EADS)
2 2TB SATA2 HDD (WD20EARS)
I want to create a RAID 6 Array of the 10 1.5TB drives and (1.5 TB partitons of the 2 TB drives) the remaining 0.5TB of the 2 TB drives will be used for RAID 1 arrays (SWAP, root and usr)
When i partition the drives the 1.5 TB drives can be Primary or Logical. The 2 TB drives do not give me this option.
For the 2 TB drives:
- i can partition into 8GB Swap, 20 GB root, 474GB usr and 1.5TB RAID6.
- When i select (Physical partition for RAID) I CANNOT change the Bootable FLag to ON. It always stay OFF. If i use other file systems such as exf4 it can be changed to ON.
- when i continue with the installation it fails while installing GRUB.
Questions:
Why does my 2TB drive not allow me the choice of Primary or Logical?
Is the Bootable Flag = Off the reason GRUB will not install?
How can I achieve my goal of using the 2TB drives for RAID 1 and RAID 6
just got a new laptop with Windows 7 Home Premium 64bit pre-installed, and when I boot into my 11.04 CD, there is no simple option to install alongside windows 7. Only the options to erase the entire disk (wiping windows) or manually specifying partitions. I'd like to keep my windows install as I use it for gaming, but I don't want to mess around with partitions while I don't know what I'm doing. According to the 'Allocate disk space' part of the installation, all 4 primary partitions are being used, a main one for the Windows 7 install, one entitled HP tools, and another two I forget the names of. I have looked up that I may need to turn a primary partition into an extended one,
View 9 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 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?
One question:An OS only can boot from primary partition, not in an extended partition ?
grub 0.97