Installation :: Safest Procedure To Install 10.4 On An Existing Lvm2 Without Losing My Files/partitions?
Apr 18, 2010
I am planning to install 10.4 when it arrives. And am not going to upgrade because i upgraded from 9.04 to 9.10 so now i need to refresh the system.But I have all my partitions except root using lvm2 logical volumes. My question is : What is the safest procedure to install 10.4 on an existing lvm2 without losing my files/partitions
Having read several threads and received excellent previous advice there are just a couple of points I want to check please before proceeding on laptop. I want to upgrade to 11.4 from 11.2. My disk setup is as follows:-
Disk /dev/sda: 120.0 GB, 120034123776 bytes 240 heads, 63 sectors/track, 15505 cylinders Units = cylinders of 15120 * 512 = 7741440 bytes Disk identifier: 0x462d462c
[Code]..
If I select existing /home root and swap partitions, format root but prevent formatting of /home and use a different user ID I believe that will leave my existing data intact and will allow me to trial new os. Is this correct approach? If all goes well and when I have new system working correctly, what is best way make old user id date accessible. Can I simply create my old id on new system and will that allow me to access data when I log on with that id?
Second question; at present I have the ability to boot to openSUSE, OS/2 and windoze. (It used to be done entirely by Boot Manager but during my last Linux installation I messed this up a bit so now machine boots to grub and this offers all three operating systems but chain loads Boot Manager if I select OS/2)
When I do the new installation what should I select to retain this setup so that I still have access to windoze and OS/2 but when selecting linux have new 11.4 system run.
I am learning Linux and I am documenting procedures for troubleshooting for any disk related issues and I would like to know the procedure to replace a Failed hard drive running Redhat 5.1 running LVM2.
In my hard disk I have win xp, opensuse 11.1 and ubuntu 10.4. I'd like to replace 11.1 version of opensuse with the last one 11.3 without losing data and setting in other partitions. this is my hd:
[Code]....
I think (but I'm not totally sure) I installed opensuse in dev/sda6 and dev/sda7...what is the right thing to do?? should I have to delete /dev/sda5 /dev/sda6 and /dev/sda7 partitions and then install opensuse 11.3 in the new free space??
I would like to attempt creating a cron job to backup my root (/dev/sda1) & home (/dev/sda3) partitions to an external USB drive.I have been using Clonezilla to make image backups but, I have to physically do it, when I remember or have the time. I have never created a cron job, and worse, I have never created a .sh file which, I think, is what I need to do.
So what is the easiest way to install Ubuntu with win7 also on the computer?I'm asking because last time I ran Ubuntu it was Wubi'd into XP and then it broke, breaking XP's bootkernel and then keeping me from booting into anything...
As every time when a new OpenSuse Version arrives, I tried to install 11.4 (I have 11.2 ans 11.3 on separate partitions, + a Windows 7 that already was there when I bought my computer). Previous versions always recognized existing installations and added them to the Grub list, 11.4 doesen't... it merely recognizes the Windows. This is blocking me from testing it before adopting, as I always do, as I don't know how to add these entries manually; I'm too afraid not to be able to add the entries once installed, and not being able to use my older versions in case I have troubles. What went wrong in this release that developers forgot this important part? How I could manually add my entries for 11.2 and 11.3?
I want to install Linux Mint, but it cannot detect my existing partitions.I have a 500GB HDD, splitted in three partitions, on c: having a Win7 installed, and on d: and e: a lot of personal data.I tried to install Linux Mint, but the installer says there is no other OS installed and there is no any partition at all. I run the Linux Mint in live mode, Gparted says: "unallocated 465.76GiB". But when I go to Menu -> Computer then I can see each and every partition, I can mount them and browse them properly.I tried Ubuntu 10.04 and 10.10 with the same result as described above.
I installed on LUKS+LVM, and I want to preserve my /home without moving the data to any external media (I don't have any). My partition layout is as follows:
sda1: /boot sda2: encrypted volume (sda2_crypt) sda2_crypt: LVM volume group, with /, swap and /home.
Having many previous (sad) experiences with completely borked experiments and data loss, I've decided to try the trick in VirtualBox first. I've installed Debian (testing, netinst, Dec 2009) with encrypted LVM, and touch'd a file in my $HOME so that I'd know if the contents were preserved. Then proceeded to install Ubuntu 10.04.1 from the alternative CD. After the installer started and loaded some of the basic components (but before it entered the partitioner) I've switched to a shell and read a scroll of identification:
* Another concern; after the installation, I've noticed that the contents of my $HOME were overwritten by Ubuntu's default skeleton (pictures, desktop, music, templates, and other crap). The control file I've touch'd after installing Debian wasn't there.
I am basically very new to linux.. I have rhel 5.2 sever. while the system booting the following error had shown.
touch: can't touch '/var/lib/random-seed ; No such file or directory chmod; can't access'/var/lib/random-seed ; No such file or directory touch; can't touch '/var/log/wtmp ; No such file or directory chgrp; can't access '/var/run/utmp; No such file or directory
I have reinstalled XP and conseqently messed up Grub and lost Ubuntu. I am trying to do a fresh install but the installer insists on trying to overwrite the whole disk. I downloaded the alternate instal ISO as this has got over this problem in the past but this also wanted to overwrite the whole disk. It recognises the Sata Raid array as being nfts (this is my main data disk) but it doesn't recognise the existing partitions on my main disk:
I've configured my RHEL system to be used as tftp server. I've configured NFS,VSFTPD and DHCP too. Everything works fine, the clients are able to boot from PXE and get the kickstart information from the server and the installation completes successfully. Now the problem is the RHEL installation removes all the existing windows partitions. How do I make my system a dual boot? I've configured my kickstart to use "Remove existing Linux Partitions" and the problem still persists.
I recently installed fedora on my system along with windows in a dual boot unfortunately, the fedora partition is too big and is taking 80% of my disk space. lvm2 volumes are not recognised by windows so i decided to shrink my fedora lvm2 partition and create a new fat32 partition to store common data. i tried gparted from my ubuntu 10.04 CD but it was unable to resize the partition can someone suggest to me a GUI tool which could do the the resizing of an lvm2 partition?
I have ubuntu installed on 2 hdd. one of my hdd is having a lvm. I am unable to acess the home partition created in this lvm from my other hdd. in fact it is not shown at all inside the explorer window, the whole lvm block itself. if u run disk utility that also does not show the lvm partitions as mounted. So what are the steps required to be done to access those LVM partition from the other disk.
Can someone help me understand by giving me the commands I need in order to shrink my "debian-home" logical volume by 10GBs and increase the size of my "debian-root" logical volume by that same 10GB of data? (Everything in that computer is ext4 including the /boot ... physical volume? (I think that's what it's called))I would REALLY appreciate it if someone could just give me the exact or approximate terminal commands that I would need to use. I assure you, I will never forget them
I've been running Fedora Core 3 on a P4 450 as a personal Samba server and domain controller. It's worked so well that I never gave any thought to upgrading. The other night, I noticed that Up To Date wasn't working, and that Firefox was acting strangely. I made the FC 13 installation disks, whereupon I found out that the system didn't have enough memory.
Rather than mess with the P3 450 any more, instead I swapped main boards and decided to do an upgrade. it even possible to do an "upgrade" from 3 to 13? Is it possible to maintain my existing partitions/settings. I've backed up everything that I'd be too unhappy to lose. It's a two drive system and the second is nothing but data, none of it catastrophic to lose, but at least disappointing. I'd like to keep the data and settings on the primary disk, but won't cry if I can't.
I am trying to install ubuntu 9.10 on an system which already has XP installed. I had used Ubuntu earlier but when I installed XP ( in an attempt to dual boot) I seem to have lost the Ubuntu Installation. But the problem is GParted or the Ubuntu installer dont recognize the existing partitions but instead see it as an empty unallocated drive. I have a 120GB hard disk. Below is the extract after fdisk:
Disk /dev/sda: 120.0 GB, 120034123776 bytes 255 heads, 63 sectors/track, 14593 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x4fa8a60b Disk /dev/sda: 120.0 GB, 120034123776 bytes 255 heads, 63 sectors/track, 14593 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x4fa8a60b .....
Also this is how the disk Utility in Ubuntu sees my system: ( See attachment) [IMG]file:///D:/Screenshot.png[/IMG]
I'm new to here and to linux, having changed over about 2 weeks ago. I've had a lot of trouble installing a variety of software and am really starting to despair and regret changing over. Right way to go about things for the installation processes of any of the following software on opensuse11.4 64-bit (I have tried everything I can to no avail): Canon ip2700 series drivers Creative Sound Blaster X-fi drivers Skype iTunes
When I was installing Ubuntu onto my laptop, I probably did a mistake partitioning the hard drive by selecting align to: nothing, because I didn't want to have unallocated spaces between partitions. However, this resulted in partitions' misalignment as no one partition in the extended one (including the one that is extended) doesn't start on a physical sector boundary. As I already have much data on the HDD and I don't have another one that big, it is impossible for me to erase existing partitions and then copy the data back. So, is there please a way to get the partitions aligned properly without deleting them?
Here is output from fdisk -lu: Disk /dev/sda: 750.2 GB, 750156374016 bytes 255 heads, 63 sectors/track, 91201 cylinders, total 1465149168 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes Disk identifier: 0xd58c6e9d
Currently, I have a dual boot set up with Ubuntu and PCLinuxOS. I have a separate / and /home partition for both (ext4). When I run the installer, it claims the whole disc is empty. I tried the expert option and loaded every module that seemed to have to do with partitioning, but that made no change. Is there some simple option I am missing that might help it recognize that there are existing partitions? This was the "testing" installer if that makes any difference.
I have Ubuntu 10.04 installed on my desktop on it's own hard drive. The other drive has XP. Grub is on the Ubuntu drive. Everything works fine from the Grub menu. but I have lost the ability to boot from the XP drive. This would be a problem if the Ubuntu drive failed or if I wished to remove it. I would like to repair this, but my immediate problem is with a new install on my laptop:
We are going away for 2 months and I want to be able to continue to learn Ubuntu while away. I want to install it on a new external USB drive on my Win 7 based Toshiba Satellite (ADATA Superior SH93). I did a trial run up to where I have to choose the drive to install to. But based on my experience with my Desktop, I stopped there. I can't afford to have the Win 7 boot disabled.
My question: How do I install 10.10 (or 10.04) to a laptop USB drive without affecting the ability to boot from Windows when the usb drive is removed?
I'm using Ubuntu 9.10 and previously had a separate partition with another distro on it. I decided to delete the other distro's home and swap partitions and install XP in place of it. I've been following these instructions: [URL] and [URL] I have gotten to the point where I am booting to the XP CD and want to install it, but I get the message, "Setup did not find any hard disks installed on your computer" when I should be getting to the screen that asks me to select a partition to install XP on. This is what my HDD looks like in GParted:
I want to install XP in the unallocated partition, but I have a feeling I screwed up somewhere along the way and probably don't fully understand the whole thing. Even if I try to format the unallocated partition to NTFS I can't make it a primary partition (I assume because it's within sda2). The very last thing I want to do is delete my Ubuntu partition and start from scratch, but if that's my last option let me know.
I've discovered that Dolphin seems to lose random files when copying many large folders.
I first noticed this a few months ago when I tried to copy my music library from one folder to another on the same HDD. It consisted of around 600 folders and 6500 files. During the copy there were no errors but after the copy I found that some of the newly copied folders were missing files. I put it down to human error or a glitch.
Yesterday I tried to copy 13 folders containing rips of some of my DVDs. Each folder basically had one film of either 700MB or 1.4GB. Again no errors showed up during the copy but I found 3 of the newly copied folders were empty.
It's not so critical with music or films but I can't afford to lose work data like this.
Has anyone experienced or seen a similar problem with Dolphin? I'm going to have to do some more extensive testing but this is not good.
The first time I noticed the problem I was running KDE4.3.4 (I think) and now the latest was with KDE4.4.0.
I have 2 image files, image 1 which is 16MB, has multiple partitions, where the boot partition has a 2.4 kernel in it, and image 2, which is 32MB, has a single partition with a 2.6 kernel.
I wish to add those extra partitions from image 1, into image 2, either by adding them within the 32MB(which means cutting back on the size of the existing partition), or adding them to the end of the image(which means extending the image beyond 32MB).
The boot partition for both images is ext2, while the rest of the partitions in image 1 is just raw data.
I'm working with these images in Mandriva Linux 2009.
How can I achieve what I want to do? I think it should be with fdisk and/or mkfs but I'm not sure how? I've tried using gparted to regenerate the partitions from a new image file with the following steps: dd if=/dev/zero of=image.img bs=32M count=1 gparted image.img
Then I created a 30M boot partition. However, I'm not able to create the rest of the partitions as they are smaller than 1MB, which seems to be the min supported. I need precise control of the start/ending sectors of each partition.
i want to upgrade to 11.2, however, i am very cautious about losing my files. there are files on this system which i absolutely can not afford to lose, and they are only on this system. which method of upgrade will be the best, best as in safest.
I have just reinstalled Centos 5.3 on a new harddisk. I would like to copy some files from another harddisk which is also install with Centos 5.3. I have followed some guide in the internet but failed to mount the old harddisk. I got "unknown filesystem type 'lvm2pv'" error when trying to mount /dev/sdb2.
I have been given Toshiba Tecra S11 with windows 7 running on it to install Ubuntu 10.04. Toshiba has a bunch of utilities running on the machine set up as dev/sda1, dev/sda, dev/sda3 and dev/sda4. I do not know where to start because of these existing partitions.
Its from a Synology Box with 3 disks, which one is damaged. But this disk wasnt in use.Take a look on the raid-size of 493 GB - and the both available disks with 250GB..) On the others there were a linear raid. during this damaged disk the synology-device tells me, that the volume was crashed.But it look like, that this disk was not mounted into this volume.Quote:
DiskStation> mdadm --detail /dev/md2 /dev/md2: Version : 00.90