Re: Access Old Home Directory



On Sat, Dec 31, 2005 at 09:50:12AM -0500, Robert L Cochran wrote:
> Hi,
>
> I recently upgraded my desktop system with a much larger hard drive. The
> old hard drive is now in an external hard drive enclosure (the kind
> made by Metal Gear Box) and is plugged in to a USB port. The old drive
> has these partitions
>
> Microsoft Windows XP -- 30 Gb
> Fedora Core 4 -- 30 Gb
>
> My problem is, I can see the /boot partition on the drive, but I cannot
> see the / (root) partition, and I'm want to get at my former home
> directory because I have some files there I forgot to back up. I'm
> wondering if that partition was named something like:
> '/dev/VolGroup00/LogVol00' and mounted on /.

Odd. If you can see one partition you ought to be able to see them
all. What happens if you (as root) run "fdisk -l /dev/..." against the
external drive? And are the appropriate device files being created,
e.g. /dev/sda1, /dev/sda2, etc.

Is your system using the swap partition on the external drive ("cat
/proc/swaps")? If so you may wish to prevent it, as it is a
hot-plugable drive.

I do a similar operation annually. What I do is mount my old /dev/hda
as /dev/hdc, and leave it in place for a year. I set all the
partitions on the old drive to ro in /etc/fstab, e.g.:

/dev/hdc3 /mnt/oldsys ext3 owner,ro 1 2

The main gotcha is you must be careful with the partition labels so
that you don't get duplicates, e.g. two /home partitions.

--

Charles Curley /"\ ASCII Ribbon Campaign
Looking for fine software \ / Respect for open standards
and/or writing? X No HTML/RTF in email
http://www.charlescurley.com / \ No M$ Word docs in email

Key fingerprint = CE5C 6645 A45A 64E4 94C0 809C FFF6 4C48 4ECD DFDB

Attachment:pgpaI5xpM7Yys.pgp
Description: PGP signature

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list


Relevant Pages

  • Re: Should I partition HDD?
    ... I'm building a new desktop system and have a nice new SATA II hard drive ... I have read somewhere that using a second partition on a hard drive ... Question - Will I negatively effect the hard drive performance if I create ...
    (microsoft.public.windowsxp.hardware)
  • Re: Access Old Home Directory - USB enclosure - LVM
    ... I recently upgraded my desktop system with a much larger hard drive. ... The old hard drive is now in an external hard drive enclosure and is plugged in to a USB port. ... My problem is, I can see the /boot partition on the drive, but I cannot see the / partition, and I'm want to get at my former home directory because I have some files there I forgot to back up. ... you need to run lvm and make the partition active, assign a mountpoint for the lvm, then mount the lvm. ...
    (Fedora)
  • Re: Which version for an old PC?
    ... >> the install if you are trying to install a desktop system. ... >Keep the partition scheme simple until you understand things ... you'll probably reinstall a couple of times and knowing what ...
    (comp.os.linux)
  • Access Old Home Directory
    ... I recently upgraded my desktop system with a much larger hard drive. ... The old hard drive is now in an external hard drive enclosure and is plugged in to a USB port. ... My problem is, I can see the /boot partition on the drive, but I cannot see the / partition, and I'm want to get at my former home directory because I have some files there I forgot to back up. ...
    (Fedora)