Ubuntu Installation :: 'Bad Primary Partition' After G4u Big Drive To Smaller One

Sep 5, 2010

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


ADVERTISEMENT

Ubuntu :: Used Gnome Partition Editor To Format As A Single Primary Partition Of The Full 500 Gb Drive?

Jan 18, 2010

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]....

View 1 Replies View Related

Ubuntu :: Primary Or Extended Partition For 2nd Partition On USB Pen Drive?

Mar 13, 2011

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?

View 4 Replies View Related

General :: Partitioning - Copy GNU Installation From A Smaller Partition To A Bigger Partition?

May 4, 2011

I got a new hard disk for my laptop and I want to move my Gentoo installation from old HDD to new.

Most simple guides recommend use of dd to copy the whole partition byte by byte.

I'm moving to the new drive because I don't have enough space on the old drive, so I don't want to simply clone the partition. Instead I need the destination partition to be bigger. Would dd work well in that case?

Assuming that I use same partition types on the new drive, would I be able to use simple cp with appropriate settings?

View 1 Replies View Related

General :: Move Smaller Hard Drive To Partition On A Larger Hard Drive?

Mar 16, 2010

My parents bought a new hard drive for a laptop that I've owned for several years. It's much larger than the current one, so I plan on splitting it up to dual boot it with Ubuntu.I have no problem with partitioning a drive (I always keep a LiveCD handy), but my question is this: how can I go about moving the existing partition to the new drive? This is a laptop, so I can't simply plug the new drive into another slot.

Also, even if I manage to move it, will Windows still work on the new drive in a larger partition? I've had this laptop for quite a while, and I've lost the recovery discs that came with it a long time ago. I also have a lot of software without CDs to reinstall them with. This makes not reinstalling Windows a high priority.

View 3 Replies View Related

Ubuntu Installation :: Make A New Partition When Have Only Primary Partition ?

Feb 22, 2011

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 .

View 3 Replies View Related

Ubuntu Installation :: 10.10 With Only One Free PRIMARY Partition?

Oct 12, 2010

right 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.

View 9 Replies View Related

Ubuntu Installation :: Turn A Primary Partition Into An Extended One?

May 27, 2011

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 Related

Ubuntu :: Reconfiguring - Reinstall Hardy Heron On A New (smaller) Partition From The Free Space Partition

Jun 15, 2010

Currently, my partitions are set up as such:

83GB ext3 free space
~10GB ntfs HP/Vista Recovery Partition
~93GB Ubuntu (Hardy Heron)

I tried to just have two partitions (recovery and ubuntu), but because of the different file systems, and the placement of the hp recovery partition, it has to be right in the middle. This is basically what I want to do:

1) Reinstall Hardy Heron on a new (smaller) partition from the free space partition.
2) Once it's working properly, format the rest of the hard drive (getting rid of the recovery partition) and create a single ext3 partition.
3) Install another distro on this new partition.

Does anyone foresee any complications with all this slicing and dicing of my hard drive for which I should/could prepare?

View 9 Replies View Related

Ubuntu Servers :: Size Of A Mounted Partition Is Smaller Than The Partition Itself?

Mar 23, 2010

I have Ubuntu server 8.04. I have 4 hard drives of 149Go each. Size of a mounted partition is smaller thant the partition itself :

- first drive is the system

- I mounted the 2nd drive (ext3) on a folder, but the Size is 941.89 MB instead of 149Go

- same for drive 3 monted on another folder, but the Size is 941.89 MB instead of 149Go

View 2 Replies View Related

Fedora Installation :: Cannot Partition And Takes Errors,it Is Of Primary Partitions That Is About 77GB?

Dec 25, 2009

when i install fedora 11 after windows 7 ,i can not partition and takes errors,it is of primary partitions that is about 77GB that windows 7 had installed on it ,but when i install ubuntu ,it can be installled without any error ,when i asked for this one said me that ubuntu has grub installer that reference to another where for primary partition ,

View 1 Replies View Related

Ubuntu :: Replace A Hard Drive With Smaller Drive?

Jan 20, 2010

I have ubuntu server acting as a router installed on a 60 gig drive, i'd like to use that drive in another machine and replace it with a 5 gig drive. how can i transfer from the 60 gig drive to the 5 gig drive?

View 9 Replies View Related

CentOS 5 Hardware :: How To Clone CentOS Installation To Smaller Drive

May 9, 2010

I am trying to clone the hard drive to a slightly smaller hard drive in the same computer, same setup.What software or commands do you use to clone the entire system and resize the partition automatically?The original HD is a little larger than the destination HD. The source partition only has about 20 GB in use and the rest is blank.

I have 2 partition, a small 100MB boot partition and another 500GB LVM partition.I can't just clone from the original disk to the new disk. (for another long reason) I need to make an image of the original disk on an external USB drive first, then move that image onto a new disk.I have tried creating an image of the whole disk with Clonezilla, but then the restoration didn't work because the target drive is smaller than the original.

View 7 Replies View Related

Software :: Convert Primary Partition To Logical (ie Move It Inside The Extended Partition)?

Nov 29, 2010

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 Related

Slackware :: Error: Bad Primary Partition 2: Partition Ends In The Final Partial Cylinde

Dec 29, 2010

I'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

View 14 Replies View Related

General :: Convert A Logical Partition To A Primary Partition?

Dec 30, 2010

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.

View 3 Replies View Related

Ubuntu :: Make One Partition Smaller Then Add The Rest To Main ( / )

Oct 15, 2010

I have a dual-boot Vaio, with Windows Vista (for WOW only,I promise!) and Ubuntu 10.10. I have a HDD with 250 GB, where 170GB is for Ubuntu and around 40 GB for Windows and a Swap that is 6 GB. This Swap seems a little too big, so how o I edit its size (make it smaller like 3GB) and then add the "free space"-leftovers to the big Ubuntu partition ( / )?

View 4 Replies View Related

Ubuntu Installation :: What Does "not Mounted" Mean To Primary Partition

Jul 17, 2011

I looked at info in a local c drive from Gparted. what does "not mounted" mean to primary partition?

[ATTACH]197691[/ATTACH

View 4 Replies View Related

Software :: Duplicate A Partition To A Smaller Size?

Jun 28, 2011

I have one partition /dev/sda1 which is of size 10GIts actual usage is 950M.I want to make a copy of it in /dev/sda2 which is of 1G in size.

Is it possible to :
dd if=/dev/sda1 of=/dev/sda2
resize2fs /dev/sda2

[code]....

View 9 Replies View Related

General :: Backing Up To Smaller Drive?

May 24, 2010

In a few hours I'll have a new 500GB Sony laptop, filled with the usual Sony rubbish which I'll promptly be replacing with Ubuntu or Crunchbang or something. However, first I want to make a full clone of the drive (including recovery partitions), should I wish to return it to Sony or sell it on in its factory state.

The problem is that the only backup drives I have are less than 500GB - the biggest I have is 250GB or so! So I need to backup and compress on-the-fly.

What's the best way to do this? Presumably dd piped into gzip would do the trick, or does anyone have any other suggestions to accomplish this?

View 3 Replies View Related

Ubuntu :: Clone Bootable USB Stick To Smaller Drive?

Aug 22, 2011

I wanted to back up my 4Gb boot drive and the new drive I had was slightly smaller. Couldn't find any info on here and precious little on the internet but I have previously used this technique to clone an 8Gb disk onto a 4Gb one. Since I have gained a lot of useful info from this forum over the years its probably time I contributed something. I used my netbook but this would work equally well from a live CD. Note the disk has to be unmounted so you can't use the live system. Firstly your USB stick probably has 2 partitions one for "/" and one for swap.

The first step is to reduce the "/" partition on the source drive to a size smaller than your target drive. I used gparted for this. Next create a partition on your target drive that is the same size or bigger than your newly shrunken partition. I formatted this although I'm not sure this is necessary. Personally I just used the whole drive and used a file on a hard disk as swap. Next you have to use dd to copy the partition.What is important is that you are copying the partition not the drive. So your source would be /dev/sdx1 and target /dev/sdy1 (you will need to find your own values for x&y).

Once again be very careful that you get these the right way around or you will destroy your souce disk. Even better do it in two stages - copy your source to a file and then the file to the target. Now you have a replica of your original disk but it is not bootable. If you are planning to use a swap partition you may as well create it now. Remember you will probably have to change /etc/fstab to read the new swap - at least on my system this was referenced by UUID. No need to change anything for the replicated partition as the UUID came over with everything else.

View 3 Replies View Related

CentOS 5 :: LVM - Add The New Big Drive To The VG - Use Pvmove To Move The Smaller PV Onto The New PV

Apr 28, 2011

I have a volume group that is made up of a number of physical volumes. I am thinking of consolidating all the small physical volumes onto one big drive. Is there any benefit in this, besides making administration easier? How do I go about doing this? From what I have read, it looks like I should have to do the following

1. add the new big drive to the VG
2. use pvmove to move the smaller PV onto the new PV
3. use pvchange -xn to make sure the old PV can no longer be allocated
4. repeat for all the small PVs.
5. use pvremove to remove all the small PVs

Is this the correct procudure to follow?

View 4 Replies View Related

Ubuntu :: 10.04 LTS Lucid - Root Is Getting Smaller And Smaller

Jan 22, 2011

I am using 10.04 LTS Lucid, and I notice the free space of root is getting smaller and smaller.

Five months ago, there was about 3.9GB free space of root, but now it is only 1.6GB. I always run sudo apt-get autoremove and sudo apt-get autoclean every time the update is finished, and also use Bleachbit to clean the system, but both are useless.

I never faced such problem with older versions of Ubuntu, is there any measure to fix it?

View 6 Replies View Related

Fedora Installation :: Primary Partition To Install Fedora?

Jun 25, 2011

i have newly bought windows7 installed hp laptop. how to install fedora in it? currntly it has 4 partitions,

1.recovery
2.c:
3.hp tools
4.system

there are plenty of spaces free in c:. but not able to shrink through windows disk management. how to install linux in it?

View 3 Replies View Related

Ubuntu :: Restoring Disk Image To A Smaller Hard Drive Than The Original?

Jan 13, 2011

I am looking for an Open Source software making it possible to make a disk image of an Ubuntu installation as well as a Windows XP installation.I have checked out Clonezilla which almost solved the problem. However, the disk to which you restore needs to be the same size or bigger. I want to restore the whole thingo a smaller disk than the original.I am considering getting myself an SSD disk which will be considerably smaller than the 160 gb disk I have right now. I need it to work for Windows as well. Unfortunately I can't get rid of Windows quite yet I often participate in webinars on GotoWebinar and they do not support Linux ...

View 9 Replies View Related

General :: Cloning Dual Boot Drive Onto Smaller One

May 28, 2010

I've decided that I want to use another, smaller, hard drive for my OS and I'd like to clone /dev/sda onto /dev/sdc. I want it to be an exact clone except my partition for my "/home" will be smaller (since there's not room for it). I was gonna try with dd but I'm not sure if I should build the partition table and use dd-command on one partition at the time? Will this then include GRUB boot loader and will it be working properly?

Do I have to clone the disk completely for it to boot properly? I'm not sure how or where GRUB places itself on disks as you install it. Can I perhaps copy the partitions one by one and then install GRUB from CD afterwards? Should I leave some unallocated space somewhere in between the partitions as I build and clone them?

View 4 Replies View Related

Software :: LVM Resizing - Pvdisplay Showing Drive Smaller

Jun 28, 2010

I'm a bit new to LVM administration, and I have a question that the Clonezilla Live forum referred here. Below is the question.

2010-06-24 07:10:00 UTC
So, I was moving from a 250G disk to a 320G disk because I was running out of space on my laptop. My problem is that my new drive seems convinced that it is only 250G in size, and I'm wondering how to persuade it otherwise. I'm not sure if it matters, but I did use the -k1 option when Clonezilla was restoring in order to resize the partitions proportionally. Here is the output of fdisk -l and pvdisplay:

root@nansen: [/]$ fdisk -l
Disk /dev/sda: 320.0 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 17 133610 83 Linux
Partition 1 does not end on cylinder boundary.
/dev/sda2 17 38911 312412851+ 8e Linux LVM

So fdisk knows that the drive is 320Gb, and the sda2 partition is about 319Gb in size. But LVM isn't buying it:

root@nansen: [/]$ pvdisplay
--- Physical volume ---
PV Name /dev/sda2
VG Name VolGroup00
PV Size 232.78 GB / not usable 2.71 MB
Allocatable yes
PE Size (KByte) 32768
Total PE 7449
Free PE 1
Allocated PE 7448
PV UUID RKhtpa-J34H-GnvD-26v3-bAEI-wccm-f55hwS

Is there some sort of pvchange command that I need to run? Here is some more info in case you need it.

root@nansen: [/]$ pvs
PV VG Fmt Attr PSize PFree
/dev/sda2 VolGroup00 lvm2 a- 232.78G 32.00M
root@nansen: [/]$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol00 225G 209G 4.5G 98% /
/dev/sda1 127M 12M 108M 10% /boot
tmpfs 125M 0 125M 0% /dev/shm

steven_shiau (Clonezilla Live moderator)
2010-06-24 14:03:48 UTC
Option "-k1" is only for partition size, it won't deal with LVM yet. I think you need other tool to resize the LVM.

View 1 Replies View Related

Ubuntu :: Create A New Primary Partition?

Feb 25, 2010

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 Related

Ubuntu :: Partition - With Lvm And Primary/extended ?

Sep 9, 2010

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"?

View 6 Replies View Related

Ubuntu :: Convert Logical Partition To Primary?

Feb 8, 2010

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!

View 7 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved