Ubuntu Installation :: Recovering Logical Volme From Old Machine?
Nov 14, 2010
I had an old PC running as a file server which had been hacked together with old spare parts. There were two hard disks that had several partitions on each and I had combined one partition off each disk into a Volume Group using LVM.I upgraded to a better server (now with one HD dedicated to the system and two 1TB HDs for data and backup).Time passed.... (over a year). The old server is now in Silicon Heaven with all the calculators. (<----Red Dwarf)However, I still have the disks and I now want to try to get the data off the LVs on those two HDs.I just had a look at the disks using LVM2 on an Ubuntu 9.10 system and it sees the partitions formatted as LVs but doesn't seem to let me do anything with them. I had a go with LVM at command line as well but I don't know enough (but I got the name of the VG).
I used parted to create a partition inside the logical volume, and then merrily used that partition, which appeared as /dev/pv-whatever/lv-whateverp1
Of course I created the FS as ext3.
So, after a reboot, I can't access anything in that logical volume with standard tools, as /dev/pv-whatever now only has the lv-whatever special file inside.
I can look inside the LV with parted fine, but parted can't copy ext3 filesystems.
Is there any way to get the data out of a partition created INSIDE a logical volume if that filesystem is ext3?
For some reason, every time I choose a new song in Rythmbox, the volume is unhearable and at the bottom of the slider. I want to listen to a short audio clip, and I don't have time to change the audio volume?
After fixing drive partition numbers, I got the following error from cfdisk: Code: FATAL ERROR: Bad logical partition 6: enlarged logical partitions overlap Press any key to exit cfdisk However, I can see all my partitions with fdisk and gparted, I can mount and use all of them.I used the following guide to fix the drive numbers order: Reorder partition drive numbers in linux | LinkedBits Does somebody know whet is cfdisks problem and how can I fix it?
Well, I was just doing an update, and there was an update for git that was held back. I decided to force this update using 'sudo apt-get dist-upgrade', and installation of git then failed. At this point in Synaptic - I could see versions listed as 'lucid', 'lucid-security', and then this ppa version. Then I barely managed to remove git - but now, if I try to install it again, *only* the ppa version is listed in Synaptic - no more 'lucid' and 'lucid-security' versions!!! Does anyone have an idea how I could recover the 'lucid', 'lucid-security' versions? I will try to salvage as much of the terminal with the problems as I can below...
Code: /var/lib/dpkg/tmp.ci/preinst: 12: dpkg-maintscript-helper: not found dpkg: error processing /var/cache/apt/archives/git_1%3a1.7.4.1-3~ppa1~lucid2_i386.deb (--unpack):
A friend's vista laptop is riddled with viruses, errors and general windows doom, and I've said I will rescue their data and replace windows with Ubuntu....I just wondered if there's a way I can rescue their M$ office key fro the liveCD. Windoze can't boot, but the HDD is readable.
I've just tried installing drivers for my laptop (sis 671) and now my desktop gfx are corrupt. Any idea how I can recover? (eg delete xorg.conf).Recovery mode is corrupted, command prompt boot is really limited and I can't figure it out.
I installed Xubuntu 10.10 on a 16 GB pendrive with full disk encryption using the alternate installer. The installation process was quite time consuming so I made a backup booting from the standard live CD with something along these lines
The pendrive booted fine for a couple of days and BTW it was quite good performance-wise, but I decided to scrape it off and start from the backup, so I run
Now upon boot I am getting error: hd0,msdos1 write error. After a while the login screen appears: Unlocking the disk /dev/disk/by-uuid/58a8... (sdb5_crypt) Enter passphrase: So I enter it, get the OK message cryptsetup: sdb5_crypt set up successfully only to get the following prompt No init found. Try passing init= bootarg. BusyBox v1.15.3 (Ubuntu 1:1.15.3-1ubuntu5) built-in shell (ash) Enter 'help' for a list of buil-in commands. (initramfs) How to fix it? Is it possible to do backups of encrypted systems this way or do I have to use different tools for backup operating on the filesystem level for example?
I purchased a larger hard drive to upgrade my HTPC running MythTV and a Samba file server. I put the old hard drive into an e-SATA enclosure and can still boot to it to access my files, but I can't seem to mount it correctly under the new installation to copy over my files even though I have the mount passphrase and encrypted filenames key.I have tried using this howto, but I run into problems with the encrypted filenames.This is how I'm doing it. I replaced the actual key data with A's and B's to protect my keys:
I have a laptop that I have been running 64bit lucid on after some problems with NFS Samba and SMB the installation got a bit trashed after some workarounds I removed nautilus completely and rebooted and got the looping login screen........ then I tried a suggestion to purge gdm but that left me with a blank grey screen and a mouse pointer. X11 has failed so I have no graphics
I can login properly to the drive from the terminal and can access my drive contents... I cannot load dolphin or nautilus from the terminal. So I have booted from a live cd and have moved some of my data to another partition but some is locked to the owner (me). How can I get my locked data opened so I can copy or move it to another drive, so I can perform a fresh install.
I recently accidentally corrupted my windows vista partition whilst trying to extend it via gparted under ubuntu 11.04 and then cancelling it shortly after starting. Resulting in me being unable to boot into vista (I don't have another copy of any windows OS so I'd really like not to have trashed this one )
Looking on gparted now my partition is Fat32(?) and apparently only has 36mb used =/
I was running the Update Manager when my system froze due to the failure of Karmic to support motherboards using the Intel 845 chipset.
Although the update did not complete when I rebooted and invoked Update Manager it reported that the system was up to date. How do I reset the system so that I can install the updates?
I installed windows 7 and recover grub from the karmic livecd successfully. Now I can access all the OS in my machine. The only weird issue that I have is that there's no login promote in tty1-6 any more. When I switch to tty1-6, I can only see a flashing underline promote. But I can input anything in tty1-6. How to get tty1-6 back?
I started some months ago with Fedora 10, installed (on a barebones hardware package) from a DVD I got with a magazine. I liked it, and it worked fine. When 'Update Available' messages arrived, I installed the updates. When Fedora 11 arrived the same way, I installed that, a few weeks ago, and it, too, was working fine. A few days ago another 'Update Available' message arrived, and I installed it, unfortunately without backing up first. There was a message then that said to restart computer (which was still working fine).
I restarted the computer, and it would go as far as the moving blue bar across the bottom, then stop with a blinking cursor on a black screen. After trying several things, including the recovery part of the original DVD, I put a different, clean drive in the computer and reinstalled Fedora 10 from the original DVD. What I was hoping is that I could then install the original drive as a secondary one and get access to the files on it.
I have first installed Windows7 to sda2 (sda1 being the MBR). Then I installed Ubuntu as follows: sda3 /boot, sda5 swap (sda4 being the Extended partition), sda6 /, sda7 /home. So far so good. Windows and Ubuntu worked fine. I also planned to create another partition for data and two more partitions for Arch Linux. And here is the problem.I just assumed that the Extended partitions were created logical but actually they are also primary. So, as things stand, all my 7 partitions are primary and I cannot create any more partitions.I must've erred somewhere during the Ubuntu installation. Is it possible ti change the Extended partitions into logical, without affecting all the stuff within? Any ideas? Otherwise I will have to delete everything after Windows and install Ubuntu again, making sure that I create logical partitions in the Extended part
I'm currently on Ubuntu Server 11.04 x86_64 and have configured a logical volume that contains 2x 2TB HDD's and mounted that volume in /data. The OS is installed to the first HDD (a 500GB one). So the system has 3 HDD's in total (1x 500GB OS disk and 2x 2TB data disks).I want to do a fresh install of Ubuntu Desktop on the system without losing the data in the 4TB logical volume currently mounted in /data. Is this possible and if so, how?
I just got an Acer netbook Aspire One. I put the Ubuntu remix on it successfully, and was using it for several days without problems. Now all of a sudden when I turn on my computer I get a grub error message with a command prompt. I've tried following the direction to restore grub but I'm getting stuck right away on the command to mount my ubuntu partition. After I type "sudo mount /dev/sda4 /mnt", I keep getting the error message "mount: you must specify the filesystem type."
I have a dual boot machine (Windows 7 and Debian). W7 and debian are on the same HD but on different partitions. The debian partition is an LVM encrypted one.
The W7 needs reinstalling, and as I understand the process will overwrite the debian bootloader (grub).
Question: Is there a way to save the current bootloader and recover it after I've reinstalled W7, so I wont have to reinstall debian from scratch?.
I plan to re-install W7 on the same partition it is now, without overwriting the debian partition.
I had a tri boot of Win 7 /XP and Mint...I was using EasyBCD 2.0 as a boot manager...I booted Mint by configuring the NeoGrub option in Easy BCD..I wanted to uninstall Win 7 and so what I did was the following
1. Edited BCD bootloader settings ...Marked XP as my default and deleted Win 7 entry...
2. Logged out and wiped my Win 7 partition
With my fingers crossed , i rebooted but Easy BCD booted flawlessly with 2 choices XP and Mint(GRUB)...As Easy BCD is not meant for XP, I thought of restoring original NTLDR of XP so that things would be in place and thinking that this cud avoid problems of detection by other Linux OS I deleted manually the Easy BCD menu.lst file and NeoGrub.mbr in my root...That was it , after I rebooted, I got boot screen of EasyBCD but whichever option I select,I got an error message that address not Valid-NTLDR not found or something like that I booted my XP live CD and like many times before ran
1.Fixmbr 2.Fixboot 3.bootcfg /rebuild
After that , now when I reboot , I am getting "Invalid Partition Table" On booting from a linux CD , I can see the files are in place..I have to get boot sector and partition table fixed...
So when i install ubuntu it gets to 47% and than i get this error message. After that the install doesn't really seem to do much.Code:Device /dev/sbd has a logical sector size of 4096. Not all parts of GNU Parted Support this at the moment, and the working code is HIGHLY EXPERIMENTAL.Now i did search and i found another topic where someone had the same problem. His solution was to reburn the CD and try again. I did that and it still got me the same messageP.S. I do have two boot options now however. One for ubuntu and one for windows though i already ran the uninstall.
I was installing Ubuntu to the internal disk in my main machine, with all external drives unplugged for safety - then discovered I had accidentally chosen the external drive and it wasn't unplugged. (Seeing three drives not two listed as installation targets should have tipped me off, but I guess my IQ was low that day.)The external drive, in compliance with Murphy's Law, was my backup drive with all vital current files.The last few months of work gone.Now the drive shows only the stuff I normally expect in / on any Linux machine. It mounts showing as ext4, but the disk was (I'm 98.5% sure) originally ext3.However, the installation did not finish.Whatever files got copied, clobbered only a fraction of the disk. df reports only 1% of the space used.Maybe the bulk of my valuable files are okay, and could be recovered with some tool?
There are other questions on this site about file recovery, but many are for Microsoft Windows, or for malfunctioning disks, or some other situation. I'm on Linux with a physically healthy external disk. I'm fairly sure that the more recent and more important files are in multiple copies on that disk, so if one copy is clobbered there's hope to get the second copy.
I'm running Debian Squeeze AMD64 with full disk encryption and LVM. After reinstalling Windows 7 I lost GRUB from the MBR. I managed to install GRUB after following this guide and using an Ubuntu 10.04 graphical installation disc, but I only get to a GRUB CLI when booting, so I can't actually choose an OS there.
I tried following this guide but I'm stuck after "# Mount the partitions to /mnt/root" and don't know what to do.
Does anyone know how I can fix GRUB so I get to choose between Debian and Windows 7 there?
sda1 - WinRE - Something Windows uses sda2 - Windows7 sda3 - Data
[code]....
I need to remove Ubuntu 10.04 and so I therefore need to remove sda5 and sda6, right? Upon deleting sda5 in Gparted it tells me to "unmount any logical partitions having a number higher than 5".
In Ubuntu I can easily transfer packages from offline machine into online machine using APTonCD feature. In fedora ,Is there anything similar by which I can transfer my packages of online machine into the offline machine
just about to install Fedora 10 on my MSI WIND laptop and read abit about file system on Linux and come across alot of recommendations on how many logical mounts or partition to create..so far i have created /boot of 100MB.i'm unsure of what sizes i will give to my [root] / and /home and /swap
i am thinking of assigning 1GB to /swap which leaves me with 40GB left for / and /home.i'm going to install alot of softwares and probably try out wine as well.i want a separate /home directory incase i change distro then i'll keep it... where does the programs go to under?
I was wondering if I could make logical / partitions if I have a primary /boot partition. Is this a potential way to get around having only 4 bootable operating systems on a single HD?
I'd like to clone a partition, and then restore it to a logical volume. I have all three operating systems at my disposal (Mac, Windows, Linux Live CD) What is the best way to achieve this. The partition I am trying to resize is only 200MB, so I can store it on usb if need be.