Fedora Linux Support Community & Resources Center
  #1  
Old 15th June 2012, 12:19 AM
xtian Offline
Registered User
 
Join Date: Oct 2009
Posts: 132
windows_xp_2003ie
Borked Install--Where did I go wrong?

I attempted to install F17 on top of the previous Dual Boot/F15 LUKS/LVM encrypted partition. Here were the major steps:

Code:
1. Anaconda recognized the LUKS and passphrase allowed installation.
2. Step 7 "What type of Install?" automatically recognized the previous system F15 and offered the best options to preserve /home partition.
  + I selected options,
      -- LVM <yes>
      -- Encryption, <no>
      -- Review and Modify, <yes>
3. I had to recreate the LVM partitions as there was no option to preserve the previous LV partitions or home directory. Everything was backed up so I went for it.
4. Step 9 Boot loader device:
  + Install boot loader on /dev/sda
    -- master boot record /dev/sda
    -- first sector of boot partition /dev/sda2, <yes>
  -- boot loader password, <yes>
The result is the system boots to a grub prompt.
If I boot with Livemedia, I can't open LUKS anymore.

Code:
# cryptsetup luksOpen /dev/sda3 luks-de25ac97-6a32-4b79-a6a0-296a39376b3b
Device /dev/sda3 is not a valid LUKS device.
I have a backup of the data. That's not an issue. I simply want the simplest way to start over the process without having to remake the dual boot install.

Last edited by xtian; 15th June 2012 at 12:29 AM.
Reply With Quote
  #2  
Old 15th June 2012, 09:53 AM
george_toolan Offline
Registered User
 
Join Date: Dec 2006
Posts: 1,718
linuxfirefox
Re: Borked Install--Where did I go wrong?

You install without encryption and now you wonder why it isn't encrypted anymore?

Just install Fedora 17 with or without LVM and then copy your home directory from your backup ;-)
Reply With Quote
  #3  
Old 15th June 2012, 04:03 PM
xtian Offline
Registered User
 
Join Date: Oct 2009
Posts: 132
windows_xp_2003firefox
Re: Borked Install--Where did I go wrong?

@george_toolan: It is encrypted. In fact the installer recognized the need for a passcode and I entered it successfully.

What I had was instructions to encrypt and install Fedora on an unencrypted drive. What I needed was instructions to upgrade over an existing system and encrypted drive.

Not finding any posts or examples of this, I assumed it was straight forward.
Reply With Quote
  #4  
Old 16th June 2012, 12:37 AM
sea's Avatar
sea Offline
"Shells" (of a sub world)
 
Join Date: May 2011
Location: Helvetic Federation (Swissh)
Age: 33
Posts: 2,600
linuxsafari
Re: Borked Install--Where did I go wrong?

Easy to tell, whats the output of
Code:
lsblk


---------- Post added at 11:37 PM ---------- Previous post was at 10:54 PM ----------

Your issue with the installation is probably like this:
You booted off an(y) installation media, wheter that is dvd or live-image.
The installer asked for the encryption password.
You selected that the installer shiould hanle partitioning..
And the installer did so.
Sadly, the installer defaults are usualy diffrent from what one has it set up previously, thus, you lost the installations with the encryption on it.
Grats to your new system without encryption
__________________
Fedora Manual: http://docs.fedoraproject.org
Script-Tools: https://sourceforge.net/projects/script-tools/
sudo st tweak repo toggle fedora-rawhide ; st iso dl-fed -respin && st iso usb
Reply With Quote
  #5  
Old 16th June 2012, 09:37 AM
george_toolan Offline
Registered User
 
Join Date: Dec 2006
Posts: 1,718
linuxfirefox
Re: Borked Install--Where did I go wrong?

How is the installer supposed to keep encrypted partitions when the new operating system doesn't have encryption?

Quote:
I selected options,
-- LVM <yes>
-- Encryption, <no>
Reply With Quote
  #6  
Old 17th June 2012, 01:10 AM
xtian Offline
Registered User
 
Join Date: Oct 2009
Posts: 132
linuxfirefox
Re: Borked Install--Where did I go wrong?

@george_toeland: i think if you look at the link, it will be easier to understand where I'm coming from. The link has instructions I used in a previous successful install of Fdora 15. The big idea was to set up luks before begining the installation process with Anaconda. It worked for a fresh install, and without selecting Anaconda's encryption option. As I'm sure you know, a LVM at /dev/mapper is supposed to behave same as a physical volume. (^_^) So then, Anaconda thinks its installing on normal partition.

I've since taken the leap and reformated Luks, and, indeed, there was no encryption after the previous attempt. I think I must have missed a step before launching the installer (not properly mounted the LVM partitions?). I'm guessing whereever Luks header is located in relation to the pv and preexisting LVM partitions, this was lost when the installer did its thing.

Now that I'm starting over, I'm back to following the link's steps. What has me puzzled is the last step see message fourteen. It says to close Luks. When I try this, I get the error that the partition is in use/ can't be closed. I can' remember if I went ahead with it open (as I describe here above) or if I restarted and Anaconda sorted out using existing Luks and LVM (which is how I got here oin the first place!) (>_<)

Last edited by xtian; 17th June 2012 at 01:15 AM.
Reply With Quote
  #7  
Old 17th June 2012, 09:01 PM
xtian Offline
Registered User
 
Join Date: Oct 2009
Posts: 132
linuxfirefox
Re: Borked Install--Where did I go wrong?

Update: the luks and lvm problem is sorted. the custom install setting features the necessary options to install and not destroy the partitions i created in lvm. in fact it also has the feature i needed to set the mount point in the installer without formatting an existing file system. However, grub is still borked. there is no grub.conf inthe /grub directory.

now that the two different problems are seperated, i think it would be better to start a new post just for the grub issue. I am marking this solved. in the end it was easier to backup ALL of the system and reformat the partitions so I could start over again with the same instructins.

Last edited by xtian; 17th June 2012 at 09:52 PM.
Reply With Quote
Reply

Tags
borked, installwhere, wrong

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Help needed fixing borked Java install bruno9779 Using Fedora 2 10th December 2011 08:22 PM
Borked my Fedora Install with the proprietary ATI driver Silpheed2K Using Fedora 3 25th November 2010 11:08 AM
Php is borked over (broken), gibberish on webpages, new install FC12 Live cuban_cigar Using Fedora 4 8th April 2010 10:48 PM
F9 - Live CD install, Borked GNOME b00st Using Fedora 1 14th May 2008 03:56 AM
install went fantastically wrong zambizzi Installation and Live Media 6 21st September 2006 03:14 PM


Current GMT-time: 15:54 (Sunday, 19-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat