Fedora :: Re-creating Without Erasing Data LVM Drive?
Jun 9, 2010
My OS hard drive crashed on my file server. and now I am trying to "restore" my drives.
I am having problems re-creating without erasing data my Linux LVM drive. I would like some instructions on how to re-create my logicalVolumeGroups and phisical groups so I can re-mount my Linux LVM partition.
Here is my specific information.
when I do a pvdisplay I only get my boot vg_files group listed
pvdisplay
--- Physical volume ---
PV Name /dev/sda2
VG Name vg_files
PV Size 74.33 GB / not usable 577.00 KB
Allocatable yes (but full)
[Code]...
View 14 Replies
ADVERTISEMENT
Oct 21, 2010
I'm using windows 7 now and I want to install ubuntu as the main OS to the current C:drive(which has installed windows currently) but with keeping the data in other ntfs drivers(D:, E:, F: ) on my hard disk. I can't take backups of all data in other drivers and if that data erased with ubuntu installation I will face a very big problem in future. So how to install ubuntu 10.10 only for a one drive(c: drive) without erasing the data on other ntfs drivers? and I uses nvidia 8 series graphic card and are there any special things to follow to install it's official linux drivers(.run) or is it enough to use default drivers on ubuntu.
View 2 Replies
View Related
Jan 26, 2010
Is it possible to mount a 2nd hard disk without erasing the data that is already on it? If so, what command must I enter. The system recognizes that the disk is there, I just can't access the data because it hasn't been mounted.
View 5 Replies
View Related
Mar 20, 2011
A friend of mine has just given me an old 80GB hard drive provided that i erase the hard drive. So could someone tell me that if i used Code: shred -vz -n 3 /dev/hda to erase all data contained on the hard drive Would i then have to reformat the hard drive so i could install a Linux OS on it?
View 9 Replies
View Related
Apr 12, 2010
I have an external hard drive I use for backups. This drive has entire operating system on it(don't know which one, but I think it's intrepid), from when I did a complete backup eons ago. I have added new stuff since then. I tried to erase the system files on it, since they take up space and aren't likely from my current system. I don't run the drive all the time, only when I'm backing up files. The rest of the time, it's off. When I did this, I couldn't run any programs on my main computer( the bin directory was gone), and it wasn't in my trash on the main drive or the external drive. I tried re-installing without erasing my home directory on the main drive; it went okay, until I tried to open a file.
My /home apparently had nothing in it, so i downloaded my backup files, only to run out of room. The files were there; I just couldn't see them. I tried to open several programs, but was told I didn't have root access. Finally, I just reformatted the whole drive and re-installed everything. What I'd like to know is:1. How do I clear the junk from the external drive without hurting the main drive?
2. Why did erasing the old bin file on the external drive whack the same file on the main drive?3.Several times before, I have upgraded or re-installed xubuntu, leaving my home directory intact. The upgrade either can't find my files, or forgets half my settings. How can I keep my files and settings? I hate having to re-install everything from scratch each time I upgrade. I thought having a separate /home directory was supposed to protect all that.
View 4 Replies
View Related
Oct 7, 2009
however, I couldn't find a place in which it would really fit well. I have 2 hard drives, that I want to backup. I've heard of servers and things like that using a hard drive image. Is this similar to a disk image? What are the benefits of using hard drive imaging as opposed to using DVDs? And perhaps most importantly: how would I go about it using Fedora 10 (64 bit)?
View 5 Replies
View Related
Oct 16, 2009
This concerns the Logical Volume Manager (LVM).
1) Why would I create a new volume group to add a new hard drive to a system, rather than add the drive to an existing volume group?
2) If I created a new volume group and added a new hard drive to it, would I see the total free space (I see 30 GB now via the file browser)? For example, if I have 30 GB free on the main drive (with the OS), and I add a new drive of say 40 GB in a new volume group (using LVM) would I see 70 GB of free space? That doesn't seem to happen.
View 14 Replies
View Related
Jul 12, 2010
I am looking for a guide for Fedora 13 that tells me how to:
1. Create an encrypted partition on an an external USB hard drive
2. Tells me how to setup Fedora to ask me for the passphrase when I plug in the drive
3. Automounts the hard drive to a set location
The guide should deal with the situation that the computer can mount without declaring the external hard drive is not there.At present my attempt at mounting my Samsung Story USB2 hard drives does not meet criteria 2 and 3.
View 1 Replies
View Related
Mar 20, 2010
I would like to try another flavor of linux (fedora)..Currently i am using Ubuntu 9.04, without erasing ubuntu i like to try Fedora..So can someone tell me how to install fedora without losing Ubuntu?
View 8 Replies
View Related
Mar 6, 2011
I erasing default text in fedora 13 root bashrc and when I want to swich user ( with su command ) to root , icant,and i see bash-4.1????
View 1 Replies
View Related
Aug 8, 2009
I have an XD card with lots of pictures in it which suddenly stopped working, it gives me "card error" messages in my camera (and any other one) and it refuses to mount on my laptop's card reader (which does work in F11 for XD cards, I've tried other ones).So I'm trying to use some program to make an image of what's in the card, like ddrescue or dd_rhelp. But they all need me to mount the disk, which I just can't. I have tried to mount it manually, but I'm not even sure what device I should point to.
So my question is, how can I mount a faulty drive in such a way that any of these programs can make an image? Or maybe there is a smarter way to try to get my pictures back? (There are some non-free programs in Windows which may seemingly help, but I'd like to figure out how to do this in Linux).
View 12 Replies
View Related
Dec 3, 2009
The following quote is the sad, sad story of a thumb drive with the partition table nuked, as told by a friend of mine:
Quote:
Data was recovered from an XP system by booting with a BartPC CD and copying onto a USB thumb drive. Nothing unusual.
System was rebooted into the XP install CD.
The first drive that was found was the 16gb thumb drive (AKA flash drive) and the person (re) installing XP didn't catch the fact that XP presented the 16gb thumb drive instead of the 160gb hard drive.
The drive partition function in XP deleted the partition table - on the thumb drive.
A freeware utility in Windows shows the data but can't recover the file names, so that everything is gobbledygook. Does anybody know of a utility or program under Linux that can help? I have a laptop running F 12 and can do the work if needed, but don't know what program to use.
View 2 Replies
View Related
Aug 19, 2010
I have a laptop with Fedora 12 on it and I accidentally did an dd if=/dev/zero of=/dev/sda (since then I learned to think before I type)
anyway, I stopped it in time (I hope), it only zeroed first 60 MB. So, it killed partition table and boot partition. What I need is home partition, and it should be untouched. home is on a LVM device (fedora default install settings), and I tried testdisk (supposedly handles LVM) but it found only one partition (I guess it's a LVM physical device, as there should be 3 partitions, /, /home and swap) and said it's not recoverable.
Is there a way to get access to files on that partition (partition itself, including file table should be untouched). Partition contains various data (video, audio, and text) I need back (and it's my data, not backed up, and not something I can redownload). Is there any software that can help me with this, and if not, is it theoretically doable (I believe it should be, as the partition itself is not damaged, so it should be possible to read file names and link them with data on disk, am I right)? what is a good way to image the disk, so I can reinstall the laptop while trying to rescue data from image?
View 2 Replies
View Related
Jul 30, 2009
I've got an old EIDE hard drive that used to be used for a dual-boot WinXP and Linux (not sure what version - either RH9 or FC1), and I'd like to pull some data off it. That computer died, and I reformatted the Windows partition, but left the Linux portion alone. My current Linux (FC10 + XP) computer uses a SATA hard drive, and I'd like to get the data from the old drive to the new one. I've connected the hard drive normally, jumpered as a slave drive. Linux now boots normally, but I can't access the older hard drive. I tried the techniques in the following thread: [url] and commented there (with more info), but I thought I would be more likely to get a response by starting a new thread.
Here's a summary of what happened: ran "fdisk -l": the command saw both hard drives ran "tail -f /var/log/messages" and got the following: Jul 30 16:00:44 localhost kernel: EXT3 FS on sdb8, internal journal Jul 30 16:00:44 localhost kernel: EXT3-fs: mounted filesystem with ordered data mode. Jul 30 16:00:44 localhost hald: mounted /dev/sdb8 on behalf of uid 500 sdb8 was a FAT partition I had set up for moving files back and forth between XP and Linux (none of the other partitions were reported). ran "vgscan", which only returned one volume group When I ran FC10's Local Volume Management tool, it sees the hard drive and its partitions, but reports them as "Uninitialized Entities".
View 11 Replies
View Related
Mar 15, 2010
Can I decrypt an encrypted drive without loss of data?
View 13 Replies
View Related
Jun 26, 2010
Using F12 with a LVM Volume, Single disk with OS on and boot partition. The OS HDD is getting i/o errors, but will still boot to the login screen. I've removed the HDD and connected it to a Fedora Live OS on my laptop, connected the HDD and it registers as :
[root@localhost]# fdisk -l /dev/sdd
Disk /dev/sdd: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000e0069
Device Boot Start End Blocks Id System
/dev/sdd1 * 1 26 204800 83 Linux
Partition 1 does not end on cylinder boundary.
/dev/sdd2 26 30401 243991201 8e Linux LVM
And it tried to mount /dev/sdd2 to view and see if I can recover some files.
[root@localhost]# mount /dev/sdd2 /mnt -t ext4[root@localhost james]# mount /dev/sdd2 /mnt -t ext4
mount: wrong fs type, bad option, bad superblock on /dev/sdd2,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
Any way to mount the partition to allow me to try and get some data back, or if trying to do a full backup of the drive you can get it to ignore i/o errors.
View 1 Replies
View Related
Jul 4, 2011
My laptop was damaged a couple of months ago. Just a short drop from the couch, but it was hard enough to make the HD inaccessible. I took it to a local, respected shop but they couldn't save any of the data and simply installed a new HD after consulting me.
I have the old drive and would still like to retrieve the data, if the price is right. What should I ask about when looking for another repair shop?
View 4 Replies
View Related
Jun 26, 2009
I have Fedora Core 4 PPTP server (poptop) that died (motherboard). I am setting up a replacement system but need to get the data off of the drive from the dead FC4 system. They are just plain text config files. So I removed the drive and mounted it to another system using a USB enclosure. But I can't mount of the root partition, only the boot partition. I have done some Googling and see that the reason is that the / partition is an LVM format. But of course the replacement system already has a /dev/logvol..... type of partition defined. So how can I mount the LVM partition from the dead system on the new system to get the data? Understanding this will be valuable for similar situations in the future.
View 4 Replies
View Related
Oct 30, 2009
I have 3 drives in my computer. I installed Fedora 11 on my two biggest one, with the LVM treating them as one single drive. I attempted to install XP on my last drive. As I was installing, I selected my third drive (I'm 100% sure it is the correct drive as it is an 80gb whilst the others are 120 and 200 respectively) and told it to delete the partition on that drive and format. After I did that, it started to format, starting with my 120! I'm fairly sure that it was merely a quick format, as it only took 5-10 seconds for it to format, and that my data is still there. Is there any way to recover my "lost" data, or did I just really screw myself over?
View 6 Replies
View Related
Apr 24, 2009
I have a system that has the following partitions:
Now SDC is a new drive I added. I would like to pool that new drive with the raided drives to give myself more space on my existing system (and structure). Is this possible since my raid already has data on it?
View 1 Replies
View Related
Feb 20, 2009
I'm actually not a Linux newbie, but I'm DEFINITELY no expert either... I'm trying to copy all my data(approx 50 GB) from a usb drive(western digital 250GB) with ntfs partition in one go... The problem is that it only fails for big transfers... works fine for smaller transfers like 1Gigs or less... I have just one internal hdd partitioned into two ext3 partitions.. so I have sda1(Primary.. mount pt /), sda2(swap) and sda3(mount pt /piyush)... The usb drive comes up as sdb(sdb1).. just has one ntfs partition... I've also installed the ntf-3g drivers.... but doesn't seem to work... I've also noticed that when the machine hangs and I try to shut down, it fails and I get a message again again... (sdb1- no sense detected) or something like this... don't remember the exact message... will post the exact one if no one is able to figure out what's wrong...
View 4 Replies
View Related
Jul 21, 2009
This is my 6th install of Fedora, begining with Fedora 4 I have had very good luck with all until 9 and I lost all data on drive by my bad clicks in a frustrated session. Now I have a great install of Fedora 10 with the exception that I fouled up and typed in a user (myself-'andybill') and am finding out that the work I need to do cannot be maximized by operating in user - andybill, I need to be super user. I have just moved and have not done any collaboration with our senior partner in a data development start up that he is the intellectual property in deed and law. For me to get back on track my using this OS I have to be master of all libraries, drivers etc. I am a nu-b (only 2 1/2 years, with no computer science background. This explains why I need step by step commands without abbriviated lingo-So if I can remove myself as andybill, make all root
View 13 Replies
View Related
Jun 12, 2010
I just installed F13 x86_64 on a system that used to be running Windows 7.
The boot drive is a SATA drive attached to the motherboard which is working fine.
However, my data drive is an NTFS partition filling a 3.6TB SATA raid.
It's GPT--Gparted sees 3 unknown partitions, and gdisk shows:
Code:
How do I mount this in Fedora 13? I had intended to shrink the NTFS partition so that I can create an ext4 partition to move the data to. Will this be possible?
I've got a LOT of valuable data on this drive, and nothing else big enough to store it.
View 3 Replies
View Related
Jan 13, 2010
- 160gb is where i install CentOS (pretty much the hard drive for operation system) - Lets call this drive A
- Two 1TB drives run in RAID 1, using software RAID (this is where i will store personal data, pictures, movies, music, etc...) - Lets call this RAID 1 setup drive B
I am planning to run a virtual Win Server 2008 using Xen and have that be my domain controller. I will use samba to share drive B and have the network drive map when user login to the domain.
- If for some reasons i have to reinstall CentOS, this pretty much mean drive A will be formatted and reinstalled. Knowing my self i probably will goof up some config in CentOS and will need to reinstall the OS to fix it. Since drive B will be the centralize location for my home network, i dont want to lose the data. Will i be able to re-setup the RAID setup of drive B and still have all the data stored on it intact after a reinstall?
- Is the separation of OS drive and data drive recommended?
- Are there any better way to accomplish my setup? I am pretty much just looking to make a linux file server and windows on client's end.
View 3 Replies
View Related
Nov 21, 2009
I have a 500GB Hitachi external hard drive that I use for backup. It's about 17 months old and has barely been used. Two partitions reside on it: a 446.2GB ext4 partition I use for backup and an LVM partition that contains an NTFS partition and another ext4 partition.
I started it and connected it to my laptop today (after not using for 4 months). A libnotify message warned that "drive failure [was] expected in less than 24 hours." Palimpset shows "Reallocated Sector Count" with status "FAILING" and value "343 sectors" and "Current Pending Sector Count" with value "1556" and status "FAILING". At first I figured it was just the self-check being programmed for NTFS only (not unheard of). But then I saw that Palimpset has the Linux partition labelled as "unrecognized". The temperature is normal (about 20�C). What's going on here?I have not mounted the drive yet and the data is largely unimportant, so I'm more concerned about the hardware (even though hardware damage seems the unlikely possibility). To prevent or minimize hardware damage, what would my best course of action be?
View 12 Replies
View Related
Jul 30, 2010
I have to give this computer (currently running Ubuntu 10.4) back a friend who wants Windows 7 on it. I need to create a bootable windows 7 pendrive...
I've tried several ways to do several this, including the suggestions found here and here, but keep getting stuck on the reboot where it tells me the drive is not bootable. In GParted, the USB drive IS marked as bootable.
View 7 Replies
View Related
Jul 11, 2010
I am trying to install Linux (the distros I have attempted it with are Arch, Fedora, Ubuntu and Mint) on a USB drive and make it work like a removable hard drive, keeping programs and settings. I tried it manually at first, partitioning the drive with Fedora's "Disk Utility" and dd'ing a Fedora 13 iso over. I should note here that I have definitely configured the BIOS correctly, enabled booting from removable media and set it as the default with all other devices disabled, but that I have never actually booted from USB before with this motherboard. On bootup I got
Code:
DISK BOOT FAILURE, INSERT SYSTEM DISK AND PRESS ENTER
I then tried it with Ubuntu 10 and Ubuntu's "usb-creator". This was apparently successful, but on bootup I got:
Code:
missing operating system
DISK BOOT FAILURE, INSERT SYSTEM DISK AND PRESS ENTER
I downloaded UNetBootIn, but the application kept saying I needed "p7zip-full", which I couldn't find anywhere. I then got Fedora liveusb-creator, but whichever iso I give it I get this error:
Code:
Unable to find LiveOS on ISO I looked at the source code and it seems to be looking for a directory named LiveOS on the iso containing the files "squashfs.img" and "osmin.img" Here is the code (usr/lib/python2.6/site-packages/liveusb/creator.py, line 575):
Code:
def extract_iso(self):
""" Extract self.iso to self.dest """
self.log.info(_("Extracting live image to USB device..."))
[code]...
I couldn't find much about what LiveOS actually means and why I need it to create a bootable USB, so if anyone could tell me more about this that would be great. Is this (the .img files) the only thing distinguishing a "Live" OS from a non-Live one? I looked in my Ubuntu live CD and there was no such directory, but it works perfectly well. In case it would make a difference, the stick is 8GB and branded duracell, not sure what manufacturer it is.
View 8 Replies
View Related
Jan 6, 2011
I have what I thought was a simple task of creating ISO images of my Windows 7 system partion and boot partiton (the C drive) on my physical hard drive that I could use to load Windows 7 onto a virtual machine. Anyway, I'm running Ubuntu off the CD drive and I can see my drive partions (checked using the fdisk -l command). I have tried many iterations of the mkisofs command, but no matter what I do I get the error message: unable to open disk image file 'dev/sdb/win7sys.iso'. I don't understand why it's trying to open an ISO file it is supposed to be creating. The -o FILE option sets the output file name, so the message makes no sense to me. Below is an example of a simple and longer version with more options that I have tried to create an image of my sytem partiton (sda1) and save it on an external drive (sdb) with the file name: win7sys.iso (the next step I think would be to create or merge both partition images as one iso file for the VM). But I can't get past this error.
Can anybody tell me what I'm doing wrong?
sudo mkisofs -o dev/sdb/win7sys.iso /dev/sda1
sudo sudo mkisofs -input-charset iso8859-1 -V win7sys -o dev/sdb/win7sys.iso /dev/sda1
* Note that the output after the -o parameter is the desired destination /dev/sdb (my external drive) for the image file and /dev/sda1 is my Windows 7 system or boot partition (sda2 is what Windows sees as the C drive).
View 14 Replies
View Related
Apr 14, 2010
I am so sorry but this is not for me. I cant make this work. I want to install windows xp back in my pc, i just give up with Linux, I lack the expertise to do anything here.
View 2 Replies
View Related
Apr 4, 2010
I would like to install Windows XP on my netbook after some annoying issues. I haven't been able to find any solutions to this problem on Linux based systems after hours and hours and hours of surfing the Google. A lot of people say 'well use the usb startup disk creator!' Don't say that in here. It doesn't work.I already wasted about 3 hours on that. Any helpful advice would be greatly appreciated! (I have a 16GB thumb drive and Windows XP sp2)
View 2 Replies
View Related