Ubuntu Installation :: Installing Over Existing LUKS+LVM Partitions

Sep 2, 2010

I installed on LUKS+LVM, and I want to preserve my /home without moving the data to any external media (I don't have any). My partition layout is as follows:

sda1: /boot
sda2: encrypted volume (sda2_crypt)
sda2_crypt: LVM volume group, with /, swap and /home.

Having many previous (sad) experiences with completely borked experiments and data loss, I've decided to try the trick in VirtualBox first. I've installed Debian (testing, netinst, Dec 2009) with encrypted LVM, and touch'd a file in my $HOME so that I'd know if the contents were preserved. Then proceeded to install Ubuntu 10.04.1 from the alternative CD. After the installer started and loaded some of the basic components (but before it entered the partitioner) I've switched to a shell and read a scroll of identification:

Code:

$ cryptsetup luksOpen /dev/sda2 sda2_crypt
[entered the passphrase]
$ lvm vgscan
$ lvm lvscan

* Another concern; after the installation, I've noticed that the contents of my $HOME were overwritten by Ubuntu's default skeleton (pictures, desktop, music, templates, and other crap). The control file I've touch'd after installing Debian wasn't there.

View 1 Replies


ADVERTISEMENT

Debian Installation :: Install Jessie Alongside Win8 On Existing LUKS / LVM Disk

Sep 8, 2015

I'm trying to upgrade my Win8/Wheezy 64-bit machine to Jessie 8.1 by installing from the amd64-bit netinstall iso image on a USB flash drive. I had done the previous, Wheezy, install on a disk partition that was whole-partition LUKS/LVM drive, with separate logical partitions for swap, root, and home.

Before doing the upgrade, I booted to the BIOS to ensure that my UEFI system had the correct, CSM and Legacy modes enabled in it, so that installer would boot using the non-efi BIOS mode.

Step one of the upgrade was to boot the netinstall and enter the rescue mode so that I could manually do the cryptsetup/LVM business. When I returned to the installer, I mounted the now-recognized logical partitions normally, choosing to format only the swap and / partitions.

During the entire process, I had to go into rescue mode one more time to manually mount the unencrypted /boot partition, along with my /home partition. I copied a backup of my old /etc/crypttab from the latter, and after returning to the installer, finished the install. That finish included installing grub on my hard drive's main boot partition.

Everything seemed to finish with no problems. However, when I try to boot the debian bootloader, I get tossed to grub rescue with the message that '/grub/x86_64-efi/normal.mod' doesn't exist. At this point I returned to the installer, mounted the /boot partition, and saw that there grub-install didn't create that an x86_64-efi directory at all. Instead, it had created an i386 directory. The exact name escapes me at the moment.

I *think* that my install was clean other than the last bit that was related to installing the bootloader. How to reinstall the bootloader in such a way as to make all of this work.

View 2 Replies View Related

Ubuntu Installation :: Overwrite The Whole Disk - Recognize The Existing Partitions?

Jan 8, 2011

I have reinstalled XP and conseqently messed up Grub and lost Ubuntu. I am trying to do a fresh install but the installer insists on trying to overwrite the whole disk. I downloaded the alternate instal ISO as this has got over this problem in the past but this also wanted to overwrite the whole disk. It recognises the Sata Raid array as being nfts (this is my main data disk) but it doesn't recognise the existing partitions on my main disk:

18G windows
18G Old Ubuntu
113G nfts data disk

View 8 Replies View Related

Ubuntu Installation :: Existing Partitions Not Recognized - Empty Allocated Drive

Feb 6, 2010

I am trying to install ubuntu 9.10 on an system which already has XP installed. I had used Ubuntu earlier but when I installed XP ( in an attempt to dual boot) I seem to have lost the Ubuntu Installation. But the problem is GParted or the Ubuntu installer dont recognize the existing partitions but instead see it as an empty unallocated drive. I have a 120GB hard disk. Below is the extract after fdisk:

Disk /dev/sda: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x4fa8a60b
Disk /dev/sda: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x4fa8a60b .....

Also this is how the disk Utility in Ubuntu sees my system: ( See attachment)
[IMG]file:///D:/Screenshot.png[/IMG]

View 9 Replies View Related

Red Hat :: TFTP - RHEL Installation Removes All The Existing Windows Partitions

Jul 28, 2010

I've configured my RHEL system to be used as tftp server. I've configured NFS,VSFTPD and DHCP too. Everything works fine, the clients are able to boot from PXE and get the kickstart information from the server and the installation completes successfully. Now the problem is the RHEL installation removes all the existing windows partitions. How do I make my system a dual boot? I've configured my kickstart to use "Remove existing Linux Partitions" and the problem still persists.

View 1 Replies View Related

Fedora Installation :: Huge Upgrade - Maintain Existing Partitions / Settings?

Aug 30, 2010

I've been running Fedora Core 3 on a P4 450 as a personal Samba server and domain controller. It's worked so well that I never gave any thought to upgrading. The other night, I noticed that Up To Date wasn't working, and that Firefox was acting strangely. I made the FC 13 installation disks, whereupon I found out that the system didn't have enough memory.

Rather than mess with the P3 450 any more, instead I swapped main boards and decided to do an upgrade. it even possible to do an "upgrade" from 3 to 13? Is it possible to maintain my existing partitions/settings. I've backed up everything that I'd be too unhappy to lose. It's a two drive system and the second is nothing but data, none of it catastrophic to lose, but at least disappointing. I'd like to keep the data and settings on the primary disk, but won't cry if I can't.

View 10 Replies View Related

Installation :: Safest Procedure To Install 10.4 On An Existing Lvm2 Without Losing My Files/partitions?

Apr 18, 2010

I am planning to install 10.4 when it arrives. And am not going to upgrade because i upgraded from 9.04 to 9.10 so now i need to refresh the system.But I have all my partitions except root using lvm2 logical volumes. My question is : What is the safest procedure to install 10.4 on an existing lvm2 without losing my files/partitions

View 2 Replies View Related

Ubuntu Installation :: Installing To Pre-existing Partition?

Jun 10, 2010

What I am trying to accomplish, is have 3 partitions on my hard drive. The first one being Windows 35GB. The second being 15GB Ubuntu. The remaining just being backups. I have set up partitions for this, but I have failed thus far in finding a way to install to the Ubuntu partition I have created. Should I have left that space unallocated? How would I make this work?

View 1 Replies View Related

Ubuntu Installation :: Existing Partition Not Getting Detected While Installing

Jan 7, 2011

My Laptop is Dell Inspiron 1525 with Dual boot Windows vista as well as Linux mint. I was trying to install Ubuntu over Linux Mint, but it is not detecting the existing partitions asking me to go ahead and edit the partitions manually (which I am not familiar with). Earlier when I was installing Linux Mint or SUSE, it was detecting the existing partitions and could install easily. Currently I am sure how to go about, but I would like to install Ubuntu badly.

View 1 Replies View Related

Fedora Installation :: Installing Another Version Of 12 Along Side Existing

Apr 20, 2010

I have fedora 12 currently installed on my laptop, but would like to install another version along side it. How do I do this? Will it detect the second version automatically and add a grub entry? Or do I need to do something else. Also, what partitions need formatting, do any new one except '/' need creating?

Current layout>
/dev/sda1 ext4 /boot 200 MB
/dev/sda2 ext4 20 GB <--- I want to install new version here.
/dev/sda3 ext4 / 20 GB
/dev/sda4 extended 425 GB
/dev/sda5 ext4 /media/Media 425 GB

View 3 Replies View Related

Ubuntu Installation :: Installing Win 7 To Replace XP In Existing Dual Boot Setup

May 22, 2010

I have Win XP installed on one hard disk drive (HDD1) and Ubuntu 9.10 installed on another hard disk drive (HDD2). Win XP was installed first then Unbuntu 9.10 which set up a dual boot menu. Win XP will no longer boot because I changed the BIOS setting from IDE to AHCI. The problem this causes is described at [URL]. The problem is that if you installed Windows in IDE mode (ie you didn't use F6 and supply a driver disk), then simply changing the BIOS setting to AHCI mode and rebooting will cause Windows to fail and will require a repair install. Most people have been advising to reinstall Windows if you want AHCI enabled. I have read that Win 7 supports AHCI "out of the box" so instead of re-installing Win XP I want to install Win 7 to replace it. I would like to know in advance what installing Win 7 will do to the dual boot menu?

View 3 Replies View Related

Ubuntu :: Aligning Existing Partitions Without Deleting Any

Jul 14, 2011

When I was installing Ubuntu onto my laptop, I probably did a mistake partitioning the hard drive by selecting align to: nothing, because I didn't want to have unallocated spaces between partitions. However, this resulted in partitions' misalignment as no one partition in the extended one (including the one that is extended) doesn't start on a physical sector boundary. As I already have much data on the HDD and I don't have another one that big, it is impossible for me to erase existing partitions and then copy the data back. So, is there please a way to get the partitions aligned properly without deleting them?

Here is output from fdisk -lu:
Disk /dev/sda: 750.2 GB, 750156374016 bytes
255 heads, 63 sectors/track, 91201 cylinders, total 1465149168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0xd58c6e9d

View 6 Replies View Related

Ubuntu Installation :: Unsuitable Partitions When Installing XP

Jun 5, 2010

I`m running Lucid on my laptop. Now I wish to install WinXP in dual-boot mode, but it says there are no suitable partitions for it. I`ve tried to install it on existing ntfs partitions as well as to create a new partition with windows partition manager (the one that is offered in the beginning of the installation), /sda7 is the result, but it won`t help.

View 9 Replies View Related

Ubuntu Installation :: Recommendation For Installing When There Are Already 4 Partitions?

Mar 15, 2011

I got a laptop that I'd like to install Ubuntu on (I've done this numerous times before). But this one already has 4 partitions on it, and the Ubuntu installer complained that you can't have more than four. I know you can make a logical or whatever partition that holds others sub-partitions, but I'm not sure the best way to do it without destroying data from the other partitions.

The existing partitions include: a recovery partition, the primary windows partition (large size), a small boot partition, and a special partition for hp software that can run without booting windows. Can I convert the windows partition into a logical partition or something like that which can be divided up, without wiping out the windows files and data there?

And yes I know I can use the wubi installer, but I prefer a more permanent solution (Ubuntu is my primary OS, but I don't want to wipe out Windows at this point).

View 5 Replies View Related

Ubuntu Installation :: XP With Existing Setup (Partitions) - Error "Setup Did Not Find Any Hard Disks Installed On Your Computer"

Feb 18, 2010

I'm using Ubuntu 9.10 and previously had a separate partition with another distro on it. I decided to delete the other distro's home and swap partitions and install XP in place of it. I've been following these instructions: [URL] and [URL] I have gotten to the point where I am booting to the XP CD and want to install it, but I get the message, "Setup did not find any hard disks installed on your computer" when I should be getting to the screen that asks me to select a partition to install XP on. This is what my HDD looks like in GParted:

I want to install XP in the unallocated partition, but I have a feeling I screwed up somewhere along the way and probably don't fully understand the whole thing. Even if I try to format the unallocated partition to NTFS I can't make it a primary partition (I assume because it's within sda2). The very last thing I want to do is delete my Ubuntu partition and start from scratch, but if that's my last option let me know.

View 4 Replies View Related

Ubuntu :: Install Mint, But It Cannot Detect Existing Partitions?

Nov 26, 2010

I want to install Linux Mint, but it cannot detect my existing partitions.I have a 500GB HDD, splitted in three partitions, on c: having a Win7 installed, and on d: and e: a lot of personal data.I tried to install Linux Mint, but the installer says there is no other OS installed and there is no any partition at all. I run the Linux Mint in live mode, Gparted says: "unallocated 465.76GiB". But when I go to Menu -> Computer then I can see each and every partition, I can mount them and browse them properly.I tried Ubuntu 10.04 and 10.10 with the same result as described above.

View 9 Replies View Related

Debian :: Installer Not Recognizing Existing Partitions

Apr 18, 2011

Currently, I have a dual boot set up with Ubuntu and PCLinuxOS. I have a separate / and /home partition for both (ext4). When I run the installer, it claims the whole disc is empty. I tried the expert option and loaded every module that seemed to have to do with partitioning, but that made no change. Is there some simple option I am missing that might help it recognize that there are existing partitions? This was the "testing" installer if that makes any difference.

View 3 Replies View Related

Slackware :: Installing Lilo With RAID/LUKS/LVM - 13.1(64)?

Mar 9, 2011

Basic Problem: I have been trying to install 13.1 (64-bit) and have not been able to get lilo to install.

Procedure:

1) partitioned drive /dev/sdc 1GB (Linux RAID) and 499GB (Linux Raid)
2) copied partitioning scheme to /dev/sdd
3) set up RAID-1 arrays md0 (sdc1-sdd1) and md1 (sdc2-sdd2)
4) write random data to partitions
5) set up LUKS on md1 (swluks)
6) set up LVM on swluks (80GB /, 375GB /home, 20GB swap)
7) ran setup, chose partitions, installed software
8) setup lilo (mbr, selected /)
9) TRIED to install lilo

[Code]..

View 4 Replies View Related

Fedora Installation :: If Installing From The Live CD - Must Have At Least Two Partitions Available ?

Jun 10, 2009

Due to a combination of factors, if installing from the Live CD, you must have at least two partitions available. One will be a small (around 200 MB) /boot partition. The / (root filesystem) partition must be formatted as ext4 while the /boot partition must be formatted as ext2 or ext3.

The normal installation CD set and DVDs don't have this issue.

If you choose to install the Live CD and don't follow this scheme (you can, of course, have additional partitions besides /boot and /), the LiveCD won't install.

View 1 Replies View Related

Installation :: Can't Boot Into Windows XP After Installing Ubuntu After Messing With Partitions?

Oct 30, 2010

I played a bit with partitions. I'm not an experienced Ubuntu user, neither I have solid understanding of partitioning. And I hardly remember exact actions that led to this problem. I remember that I saw a warning in GParted that said that the partition was out of bounds or something.. But I followed some solution that I found on ubuntuforums and used fdisk to fix that. So, after installation of Ubuntu I couldn't boot into WindowsXP (after choosing Windows entry in grub2 menu I see only blinking cursor on black screen). But what's more important that I can easily mount Windows partition from Ubuntu. Also I tried to boot from Windows repair console and used FIXBOOT command, and copied[url].... and [url].... files to no avail..Here is the summary of what I got now:

Code:
sudo fdisk -l
Disk /dev/sda: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders[code].....

View 8 Replies View Related

OpenSUSE Install :: 11.4 Not Recognizing Existing Partitions (Add Entries?)

Mar 13, 2011

As every time when a new OpenSuse Version arrives, I tried to install 11.4 (I have 11.2 ans 11.3 on separate partitions, + a Windows 7 that already was there when I bought my computer). Previous versions always recognized existing installations and added them to the Grub list, 11.4 doesen't... it merely recognizes the Windows. This is blocking me from testing it before adopting, as I always do, as I don't know how to add these entries manually; I'm too afraid not to be able to add the entries once installed, and not being able to use my older versions in case I have troubles. What went wrong in this release that developers forgot this important part? How I could manually add my entries for 11.2 and 11.3?

View 6 Replies View Related

Software :: Adding Partitions To An Existing Image File?

Jun 15, 2009

I have 2 image files, image 1 which is 16MB, has multiple partitions, where the boot partition has a 2.4 kernel in it, and image 2, which is 32MB, has a single partition with a 2.6 kernel.

I wish to add those extra partitions from image 1, into image 2, either by adding them within the 32MB(which means cutting back on the size of the existing partition), or adding them to the end of the image(which means extending the image beyond 32MB).

The boot partition for both images is ext2, while the rest of the partitions in image 1 is just raw data.

I'm working with these images in Mandriva Linux 2009.

How can I achieve what I want to do? I think it should be with fdisk and/or mkfs but I'm not sure how? I've tried using gparted to regenerate the partitions from a new image file with the following steps:
dd if=/dev/zero of=image.img bs=32M count=1
gparted image.img

Then I created a 30M boot partition. However, I'm not able to create the rest of the partitions as they are smaller than 1MB, which seems to be the min supported. I need precise control of the start/ending sectors of each partition.

View 1 Replies View Related

Fedora Installation :: Could Not Alllocate Partitions Installing F14 With Win7

Apr 16, 2011

I'm trying to dual boot F14 along side of Win7 and I'm running into partitioning errors - "Could not allocate requested partitions: not enough free space on disks" I used the Win7 Disk Management to shrink the C: drive by 100G, and the Disk Utility in F14 shows the unallocated space. Here is what the current layout looks like:

--210Mb bootable (sda1)
--168Gb (sda2) --Win7
--105Gb unallocated -- Future home to F14
--31Gb extended (sda 3) -- not sure what this is used for
--31Gb (sda 5) -- Lenovo drivers
--16Gb (sda 4) -- Lenovo restore

Am I running into the partition limit I have been reading about? If so, is there a way to get around this? I really don't want to delete the partitions yet.

View 2 Replies View Related

General :: Bunch Of Utilities Running On Machine - Where To Start Because Of Existing Partitions

Jul 17, 2010

I have been given Toshiba Tecra S11 with windows 7 running on it to install Ubuntu 10.04. Toshiba has a bunch of utilities running on the machine set up as dev/sda1, dev/sda, dev/sda3 and dev/sda4. I do not know where to start because of these existing partitions.

View 2 Replies View Related

Server :: Mdadm: Rebuild A Software Raid From Drives With Existing Partitions?

Apr 24, 2011

Its from a Synology Box with 3 disks, which one is damaged. But this disk wasnt in use.Take a look on the raid-size of 493 GB - and the both available disks with 250GB..)
On the others there were a linear raid. during this damaged disk the synology-device tells me, that the volume was crashed.But it look like, that this disk was not mounted into this volume.Quote:

DiskStation> mdadm --detail /dev/md2
/dev/md2:
Version : 00.90

[code]....

View 3 Replies View Related

Ubuntu :: Installing To An Existing Partition?

Apr 26, 2011

I sudo apt-get uninstalled a bunch of stuff I shouldn't have. Now my Ubuntu Partition doesn't boot up correctly, something about the graphic system, video system, etc. all being unconfigured. (I'll get the exact error later.) All I can use is the command line.can I install Ubuntu over my old Ubuntu partition without messing up rebooting/GRUB and all that?

View 3 Replies View Related

Ubuntu Installation :: Installer Won't Recognize Partitions - Error Message Saying Partitions Over Sized

Mar 22, 2011

I used Ubuntu before, without problems but since the 10.04 version it won't recognize my partitions. I formated my laptop and partitioned it, installed Windows 7 64bit, which I need for my work, and wanted now to install Ubuntu 10.04/10. I then used GParted to check my Harddisk and it is having troubles to recognize my partitions, too while Windows finds them. GParted is giving me an error message saying my partitions are oversized. I am still in the beginning of my Linux experiences and so I don't know what to do. I have two 250GB harddisks (how Windows recognizes them),

[Code]....

View 9 Replies View Related

Ubuntu Installation :: CD Doesn't Detect Partitions But No Apparent Overlapping Partitions?

Mar 3, 2010

Xubuntu 9.04 installation CD not detecting any of the current partitions. This all started when I reinstalled windows XP a few days ago.After, the computer wouldn't boot into GRUB and would boot directly into windows.Other threads have dealt with a similar issue, that of overlapping partitions causing libparted/parted/gparted to detect the whole drive as unallocated space. The problem in these threads seemed to be a corrupted partition table, in which the partitions overlapped with each other. So of course I checked the output of fdisk -l for overlapping partitions, but I don't see any obvious overlapping partitions. I've noticed that the partition that used to be linux swap isn't showing up in the partition table at all. I might just be missing something simple here and would like another set of eyes to help me figure this one out. Does the problem have anything to do with the partition table being out of order (ie. not in order of what regions they cover on the drive)? From the liveCD I've run

Code:

sudo fdisk -lu
sudo sfdisk -d
sudo parted /dev/sda print

and have received the following output:

Code:

ubuntu@ubuntu:/mnt$ sudo fdisk -lu
omitting empty partition (5)
Disk /dev/sda: 60.0 GB, 60011642880 bytes

[code]....

View 3 Replies View Related

Ubuntu Installation :: Order Of Partitions For Root / Home And Swap With Respect To Windows Partitions?

Feb 9, 2011

I am installing Ubuntu on the same hard drive as Windows 7. The partitions of Windows 7 have already occupied the left part of the hard drive. From left to right, the Windows partitions are one partition for Windows booting, one for Windows OS and software installation, and one for data which is planned to mount on Ubuntu. I was wondering how to arrange the order of partitions of root, home and swap, i.e. which is on the left just besides one Windows partition, which is in the middle and which is on the far right?

View 1 Replies View Related

General :: Installing On An Existing Windows RAID0

Dec 19, 2010

I administer a small network of computers connected to a windows 2003 server. The machines Dual boot Windows XP and CentOS 5.

My question is this. The machines are being upgraded to HP Z800 workstations. These workstations come with 2 1TB drives setup on a hardware RAID0. Can I install Linux on these machines, using the RAID0? Can I do an install as if it was just one hard drive? The machines came with Windows7 and I'd like to keep it intact including the RAID0. Can I do the install where it resizes the partition, adding the linux partition to the "drive".

If I can't use the existing windows RAID0 to install CentOS I was thinking of just installing another hard drive in the machines for it. This brings up another question, what would happen if I moved my Linux drive from one of the old workstations and put it in the new workstation, would it boot? I know windows wont boot like this because of the hdd controller drivers and I have a sneaky work around for this anyway but am not wanting to transfer the windows installation.

View 5 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved