Ask Your Question
1

need to recover /home after failed preupgrade from 16 to 17

asked 2013-01-14 13:00:19 -0500

elsupremo gravatar image

updated 2013-06-03 22:21:09 -0500

Hi, I tried to preupgrade without a backup from Fedora 16 to 17. Fedora 16 was previously running fine in vmware workstation.

The preupgrade failed trying to unpack the moodle archive and my system is hosed.

Symptoms:

1) GRUB menu is frozen at Fedora 16 and immediately boots 16, doesn't let me go up to the Preupgrade entry or down to a previous OS version

2) I get "Welcome to emergency mode"

  2a) If I logon as root, I can continue in Fedora 16

  2b) If I do ^D to continue, it tries to load Fedora 17 and then welcomes me to emergency mode again

Current situation logging in as root to Fedora 16 (case "2a)"):

I can cd to / and see bin, boot, dev, etc, home and so on, and I want to back up /home to a usb drive.

However, when I cd to /home and ls, I get nothing, so I assume I need to mount the drive.

When I mount , I get :

   mount -t ext4 home
   mount: special device /dev/mapper/vg_jsbf16-lv_home does not exist

When I ls -l /dev/mapper, I see three files:

control
/dev/mapper/vg_jsbf16-lv_root
/dev/mapper/vg_jsbf16-lv_swap

So now what I want to do is get /dev/mapper/vg_jsbf16-lv_home to exist, get a usb drive to mount, and back up the \home directory.

How do I do this?

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
0

answered 2013-01-18 00:08:06 -0500

Bucic gravatar image

If your home is not encrypted then just boot Parted Magic live usb and copy what you need (regular file copy).

edit flag offensive delete link more
0

answered 2013-01-17 14:03:34 -0500

rjt gravatar image

updated 2013-01-17 14:05:07 -0500

On a longshot, post what your selinux labels are:

ls -latrZ /dev/mapper/  
ls -latrZ /dev/dm*  
ls -latrZ /dev/sd*  
ls -latrZ /home
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2013-01-14 13:00:19 -0500

Seen: 423 times

Last updated: Jun 03 '13