Ubuntu :: Broken LVM After Gparted Renamed Partitions That Were PVs
Jun 26, 2011
My harddisk had one extended partition, sda2, split into several logical partitions: da6,sda5,sda7,sda8,sda9 in this order. sda6,sda8,sda9 were [the only] PVs in one [and only] volume group.
I tried to delete sda7 and to resize sda5 (both unrelated to the LVM setup) to take the freed space. I entered both changes in GParted and clicked 'apply'. It gave some error, but had apparently deleted sda7, without resizing sda5. I tried to resize sda5 again, it again gave an error again, but sda5 was resized. I did not save any logs from GParted. Then I saw that the partition names had changed to sda8,sda5,sda6,sda7, in this order.
Now when I run 'vgdisplay', I get the error "Couldn't find device with uuid ....". Running 'blkid' gives the uuids of sda5,sda7,sda9. According to GParted and fdisk, sda9 does not exist. Also, according to blkid, the uuid of sda7 is what used to be the uuid of sda8. I am very confused. As you could expect, I don't have backups, so... (I am now creating a copy of the whole disk, in case things go even more wrong)
View 2 Replies
ADVERTISEMENT
Jun 28, 2011
I am running a test installation of Ubuntu 10.04 Server on a Virtual Machine (VBox specifically) in order practice recovering RAID problems. When I initialy created the RAID arrays I created a MD Device named "md0" with an ext4 file system and "/" mount point. My other RAID array was called "md1" and was used for swap.When loading GParted off of a bootable disk I noticed that the devices were changed from md0 and md1 to md127 and md126. I shut down the VM and on reboot grub rescue shows up saying that disk can not be found and using "ls" lists the MD devices as they appeared in GParted (md127 and md126).
I rebuilt the OS via importing an backup Appliance and repeated the same thing. Boot into Ubuntu, success, then sudo shutdown, boot into GParted, note md device name change,shutdown, boot into Ubuntu, grub rescue.Is there anyway to stop this from happening(in the event that GParted must be used on a Physical Machine). Or a way to revert the problem after GParted messes the system up?Edit: I talked with one individual who suggested changing the md device names to md 127 and md126, but I am looking for a more robust solution than taking a shot in the dark that GParted will set the same names on other systems.
View 4 Replies
View Related
Sep 18, 2009
I 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.
View 2 Replies
View Related
Mar 7, 2010
I have what is a weird problem, at least I think it is. I deleted some files and now my partitions do not show up in Gparted. Instead, the entire disk shows up as unallocated space. I am still able to run every partition, one of which is ubuntu and another which is Windows without any other apparent problems. here is my fdisk -l:
Code:
Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
[code]....
View 9 Replies
View Related
Jan 1, 2010
I was moving and resizing my Ubuntu partition and for some reason my hard drive stopped reading and royally screwed my partitions up.I know there is a command line tool in linux where you can view what partitions could be there and choose to ressurect them etc. but i cant remember what its called
View 2 Replies
View Related
Oct 10, 2010
I just wiped my HDD and installed Windows XP (35gb Partition) and then Ubuntu 10.10 (75gb Partition ext4) and I want to know if it's possible to make my XP partition a bit smaller, like 20-25 gb, and then add what I take off to the ubuntu partition,because I won't be using xp that much, only for things that I know work on windows only.
View 1 Replies
View Related
Apr 5, 2010
I have a little problem. As soon as I boot my computer, Grub gives me an error 17. It happened after I tried to resize my Windows partition with a program. I have a dual boot between Windows 7 and Ubuntu 9.04.I've tried everything I could find on this forum and on the rest of the internet, but nothing was working. Most of them require a Windows CD (god knows where it is) or reinstalling grub and all that stuff, but it's all not working.I'm currently on a Ubuntu Live CD. Gparted doesn't detect any of my partitions, but just says 232 GB unallocated space. Palimpsest Disk Utility and the Explorer see all my partitions though EXCEPT my Windows 7 partition I tried to resize.
View 1 Replies
View Related
Jul 4, 2010
While installing Ubuntu I have created 50MB boot partition and was sure is enogugh, but now with growing initrd and kernel size, an autoupdates which were always killed by no sufficient disk space I decided to increase its size. I had following partitions - in disk order:
sda1,primary bootable NTFS, 57GB
sda4, primary ext2, /boot, 47MB
extended sda2{
sda6, ext3, /(root), 43GB
8MB gap
[Code]...
Is the problem still in bad begining of the partition saved or data are already broken ? If the first is there any mount option to really not touch filesystem ? Because I've read even if we mount readonly there are some options saved to disk (as last mount time etc) and I'm aware it could destroy entrie filesystem.
Has the ext3 some partition header as NTFS do? Or is there a way to locate real start of partition? because testdisk and gdisk shows only this one starting sector for sda6. When I moved the sda6 partition there was space between begin of extended partition and begin of sda6, now there is no space, so that's the main reason of suspecting partition begining is in fact over 100MB further.Current partition schema in attached PNG. Also the swap partition was deleted, I don't know when, now there is 4GB hole.
View 15 Replies
View Related
Nov 18, 2010
resizing partitions with gparted
tools for resizing linux partitions under RHEL 5.5. ALSO what precaution we can take before resizing the partitions.
View 1 Replies
View Related
May 23, 2010
I currently have Xubuntu and Mac OS X on my PowerBook G4, however, I recently got a netbook and use Ubuntu via USB on it and now would prefer to have only OS X on my powerbook. I would like to use Gparted to restore/fix my partitions and don't exactly know what I need/don't need and also how to resize my os x HSF+ partition back to full size? An image below shows my current setup (kinda messed up I think.) What steps should I take in Gparted to delete the unnecessary partitions and give OS X it's full size?
View 3 Replies
View Related
May 4, 2010
I decided a few days ago it was time to reinstall ubuntu since Lucid looked fun and interesting. Everything went really well (my table functions even worked with no configuration!) until I decided I wanted to resize my linux partition so I could install a win 7 virtual machine. I had some issues getting gparted to let me expand my partitions into free space, so I started diking around with various settings commands and I managed to screw up my partition table badly enough that I needed to boot with the live cd. After a few hours in panicked trouble shooting mode, I finally got grub reinstalled and managed to boot things regularly. But now Gparted is completely nonfunctional; it shows the entire HD as unallocated and says "can't have partition outside of disk". Apparently one of my partitions is oversized.
Here's my output of fdisk -lu and sfdisk -d:
sudo fdisk -lu
Code:
Disk /dev/sda: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders, total 488397168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x5c5ef856 .....
View 3 Replies
View Related
May 7, 2010
I want to resize and eventually remove some partitions on my drive but I need to know how this will affect grub and what to do if I need to fix it.I currently have 3 standard partitions and 1 extended partition on a 160Gb drive.
1st Partition -Windows XP about 60Gb with about 35Gb used. NTFS
2nd Partition -Ubuntu Lucid 10.04 amd64 about 40Gb, 22Gb used ext4
3rd Partition -Linux swap about 2.5Gb
Extented Partition -Ubuntu 9.10 about 49Gb with 23Gb used ext4
I'd like to shrink the Extended partition down and add the space to the 2nd partion where Lucid is. Eventually, I'll want to delete the whole extended partition and add all the space to the Lucid partition.
After using GParted to resize these partitions, what will happen when I boot? Will I need to tell grub where the swap and 9.10 are? I am not changing the start of the first two partitions so I would assume there will not be any problem with them (I'm not sure how moving the start of the swap might affect the Lucid installation though).
View 9 Replies
View Related
May 19, 2010
Gparted does not recognize my intel ICH7 fake raid 0 partitions rendering it useless. Am I missing a package that will add this? I know the live disk can do this. Is it something to do with dmraid? using 10.04 64 bit ubuntu
View 2 Replies
View Related
Nov 11, 2010
i installed win7 ultimate on a 2TB HD and was hoping to dual-boot it with meerkat, i did a standard install and shrunk the partition using win7 disk management to leave 500GB for ubuntu.problem is ubuntu can't detect the existing win7 install, when selecting advanced setup it just shows one big unallocated partition.
i went back into win7 and extended the partition again, then booted into ubuntu live cd to see if maybe gparted would do the trick. gparted also cannot detect the existing win7 install and just displays unallocated 1.82TB.in terminal if i do 'sudo parted /dev/sda print' i get this message:
Warning: /dev/sda contains GPT signatures, indicating that it has a GPT table.However, it does not have a valid fake msdos partition table, as it should.Perhaps it was corrupted -- possibly by a program that doesn't understand GPT partition tables. Or perhaps you deleted the GPT table, and are now using an msdos partition table. Is this a GPT partition table? Yes/No? ^C
View 9 Replies
View Related
Feb 24, 2011
I have installed ubuntu many times before and never encountered this problem. The installer shows partition sizes which do not match my current sizes at all. This occurs during LiveCD too, I have taken a screenshot of the problem. GParted seems to be showing incorrect partitions while the one the right is correct.
View 9 Replies
View Related
Jun 17, 2011
I will be installing Ubuntu Server 10.04 LTS. The partitioning install section is text based and IMO a bit cryptic. I was wondering: Can I first set up my partitions with Gparted live disk and then pop-in the server install disk and install using the partition structure I made with GParted?
View 1 Replies
View Related
Oct 1, 2010
Basically, I would like to have a separate /home partition on my hard disk that will be shared by two different Ubuntu releases. In other words, I would like Maverick and Lucid to be on their own separate partitions, but to share the same /home. I already have Lucid installed (no separate /home). I know how to use GParted with the Live CD in order to edit partitions, but the main question I have is how do I migrate my /home folder to its own partition without ruining data? I've skimmed through some GParted tutorials but they don't exactly detail what I want.
Once that is done, I need to know if it is possible for Lucid and Maverick to share the same /home partition, and how would I set that up?
View 7 Replies
View Related
Sep 20, 2010
I installed linux to my whole hard drive. I want to make it a little smaller to dual boot windows just for games. Gparted wont let me resize my partitions at all.
View 5 Replies
View Related
May 24, 2010
I resized all of my partitions using GParted, I got Windows 7 and Vista to boot up again ok but I can't get F11 to boot. I am not using GRUB nor do I want to, I tried using the install disks and doing a repair and "chroot"-ed my filesystem and everything is still there, there is just something small missing that I am not remembering to do. I have the NST files on my Windows drives and it tries to boot but F11 complains that there is no boot disk. I'll try to boot once again and write down the exact error message.
View 12 Replies
View Related
Dec 6, 2010
I do not know what I have done but I used to be able to see the partitions on Hard Disk wich has WinXP and Ubuntu 10.04 as well as other partitions I have created.
I can access the partitions but cannot any longer see them with Gparted. Enlosed 2 screenshot ( Gparted and Disk Utility which shows the partition)
View 8 Replies
View Related
Oct 1, 2010
Gparted LiveCD version 0.6.3-3. boots and loads GUI, then searches endlessly for partitions. No luck running it from command line either. Dell laptop set up to dual boot, Windows XP/PCLinuxOS. I want to shrink the Linux Root partition to give more space to the Home,
View 14 Replies
View Related
Oct 18, 2010
After I formated my windows partition using GParted it became Unallocated and moved under Extended partitions. I can't create the unallocated partition as primary one, or drag it out of the extended ones. I tried GParted live CD also, but nothing worked.
View 7 Replies
View Related
Mar 22, 2011
I have a windows box running w2003 server on 1 volume with 2x ntfs basic partitions. c: = the windows bit, d: = the data bit for user data.I have cloned (clonezilla) the volume to another and deleted the data (d bit and want to extend the c: into the freed space.I'm booted from a partedmagicv5 cd and using gparted to attempt this.I can't see a way to do this with gparted but then, I could be thick. Maybe I clone off reformat and copy back?Is there a better way or even is this the correct forum (please don't refer me to Microsoft website:-) for this type of question?This is a test box so not worried about breaking it, but the test is to try to solve a live problem at a school I support which is running out of hd space.
View 3 Replies
View Related
Dec 22, 2010
I have logical partitions on my drive numbered /dev/sda5 through /dev/sda14.I want to reclaim unused space from one of the partitions in the middle /dev/sda7. First I intend to resize /dev/sda7 by leaving the beginning of the partition as is and shrinking the end to create some unallocated space between /dev/sda7 and /dev/sda8. Then I would like to create a new logical partition in this unallocated space. My question is what will be the device name of the newly created logical partition? Will it be /dev/sda15 (I hope)? Or will it be /dev/sda8 and all partitions after this be renamed?
The GParted manual states that if a partition is deleted, all of the following partitions will be renamed, but it doesn't say anything specifically about renaming partitions after adding a new partition in the middle of a partition table.
View 1 Replies
View Related
Aug 31, 2010
I'm new to learning about computers and different OS's, so I decided to get my feet wet. I've been trying to dual boot ubuntu on my laptop with windows 7 currently installed, and I've gotten to the stage where I'm creating the partition devoted to ubuntu.
When I opened Gparted, it didn't read my partition information correctly. First off, it reads two of the files as "unknown" under File System. Second, the labels don't match the disk space. For example, according to my windows disk manager my C: drive is 218.88 GB, but according to Gparted, the 218.88 GB drive is labeled "recovery". It doesn't add up.
I tried posting on the Gparted forum but no one's responded. Next, I tried creating the partition on windows disk manager, and when I boot ubuntu from the CD to install it, I get to the "partition selector" screen of the install process and it still doesn't read my partition info correctly.
I'm stumped, and more than a little bewildered. It's like my computer is schitzo. The Windows side reads the partitions as fine and healthy, and the Ubuntu side can't even read the info properly. I was hoping someone out there knew what was wrong, or if someone could ask me specific questions to help troubleshoot the problem. Or maybe this problem is already solved and I just haven't found the right thread.
View 9 Replies
View Related
Sep 14, 2009
I have 2 fat32 partitions that I use for things that I share between windows and fedora
I decided to merge them into one partition so I did this with cfdisk by deleting them creating and creating 1 large fat32 partition with the free space. When I boot my machine I am presented with:
grub>
I used the fedora cd to "rescue a broken system" and everything seems fine? I didn't touch any partition besides my extra fat32 partitions and my /boot partition is bootable. How do I tell this minimalistic grub to use my normal grub.conf?
View 2 Replies
View Related
Jun 30, 2010
I've attached 2 Screenshoots from gparted. I have 50GB unallocated free space in my disk and i want to make a new partition,but when i try to do it i get an error message saying i can't create any more partitions in this disk. I don't know if this provides any usefull info but when i creating the linux partition,from the ubuntu disk, i selected the option "Primary" instead of "Logical"(or whatever it says) at the partition type
View 1 Replies
View Related
Jan 21, 2016
On my system nearly all subfolders of my home-directory are on another hard drive. I included them via /etc/fstab as shown in the example below:
UUID=12c12565-ece4-4a22-b5c5-275aba1a3fd4 /media/data ext4 defaults 0 2
/media/data/archive /home/XXX/archive none bind 0 0
etc.
View 1 Replies
View Related
Dec 29, 2010
Accidentally we happened to rename the ldl 64 bit library and since then no command has been working on the linux box, inlcung cp,move and su. How to recover from this?
View 1 Replies
View Related
Jan 25, 2011
I've been an UBUNTU advocate and supporter since I switched to Ubunto v8.4. However, in my opinion, version 10.10 is the biggest piece of **** yet - everything is broken.
I have seven PC's at home: an office PC, a Media centre, two computers for the kid's, a milling machine running EMC2 and two laptops.
If I recall, v8.04 was okay and v8.10 gave me endless hassles. But I stuck with it, taught myself the basics, and got each of my machines doing what I needed them to do.
Upgrading from v8.10 to 9.04 to 9.10 to 10.4 all occurred effortlessly and without any issues.
However. both the Beta and final releases of v10.10 are extremely disappointing. Why do you guys need to release a "NEW" OS every six months? Why can you not fix / enhance the latest, best version?
Since upgrading to v10.10, ALL my PC's are broken in some way: Drive sharing is broken, my Media centre is broken (tuner cards won't lock onto signals - what is that?), VPN is broken, Remote Desktop is broken, printing doesn't work, sound is screwed.......And I certainly do not have the time and the patience to start from scratch trying to get everything working again - that's why I make backups (twice a month).
What are you guys doing? And please don't ask for logs and hardware specs - Everything was working great with v10.04.
Herewith a question to my fellow countryman Mark S - Wat gaan aan? Wat vang julle aan? Why change things that work(ed) perfectly fine? Maybe you should change the name for v10.10 to "Ubutu VISTA". That's exactly what made me (finally) dump Microsoft.
View 9 Replies
View Related