Page 1 of 2 12 LastLast
Results 1 to 10 of 17

Thread: installation of 10.04 with RAID1+Encryption fails

  1. #1

    installation of 10.04 with RAID1+Encryption fails

    i just tried to install with Ubuntu 10.04 AMD64 Alternate on RAID1 and Encryption but after reboot the screen just stays black.

    my system is a AMD Athlon 64 X2 Dual Core 4200+ on a Abit AN-M2HD Motherboard, and 2 HDs each 250.1 GB
    i split the HD into
    * 50GB for /
    * 200GB for /home
    * 1GB for swap
    all get a RAID1
    /home is encrypted with passphrase (Twofish 256, cbc-essiv:sha256)
    swap is encrypted with random (Blowfish 128, cbc-essiv:sha256)

    any suggestions?
    is this a known issue?
    where can i check RAID and hardware compatibility?
    Last edited by jomex; June 1st, 2010 at 05:48 PM.

  2. #2

    Re: installation of 10.04 with RAID1+Encryption fails

    the partition table in the installer looks like:
    Code:
    SCSI5 (0,0,0) SDA 250.1GB ATA ST3250310AS
        #1 primary 49.0 GB B raid
        #2 primary 200.0 GB  raid
        #3 primary 1.1 GB  raid
    SCSI7 (0,0,0) SDA 250.1GB ATA ST3250310AS
        #1 primary 49.0 GB B raid
        #2 primary 200.0 GB  raid
         #3 primary 1.1 GB  raid
     RAID1 device #0 49.0 GB unknown <-- unknown?
         #1 49.0 GB ext4 /
     RAID1 device #1 200.0 GB Software RAID device
           #1 200.0 GB crypto (with phrase)
    RAID1 device #2 1.1 GB Software RAID device
          #1 1.1 GB crypto (random)
    Encrypted volume (md1_crypt)
        #1 200.0 GB ext4 /home
    Encrypted volume (md2_crypt)
        #1 1.1 GB swap swap
    i similar configuration worked with Ubuntu 9.10 Alternate AMD64
    the only difference was that the uncrypted disk was just /boot, and a RAID0, so was swap
    Last edited by jomex; June 1st, 2010 at 05:48 PM.

  3. #3
    Join Date
    May 2010
    Location
    UK
    Beans
    148
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: installation of 10.04 with RAID1+Encryption fails

    Maybe if you try narrowing it down to one cause or the other. For example try installing without encryption and see if it works fine. Then try without RAID and see how that works. I had a problem before with encryption so I just forgot about it but that was a few releases ago. On the Known Issues of Ubuntu 10.04 it says Encrypted partitions must be listed in /etc/fstab

    "Users who have configured any encrypted partitions in /etc/crypttab to start at boot time (i.e., not using the noauto option) should make sure that the filesystems on these volumes are listed in /etc/fstab. Otherwise, the passphrase prompt is not guaranteed to be displayed at boot time."

    But I dont think thats your problem
    Last edited by acrazyplayer; June 3rd, 2010 at 06:37 PM.

  4. #4

    Re: installation of 10.04 with RAID1+Encryption fails

    removed by author
    Last edited by jomex; June 1st, 2010 at 06:11 PM.

  5. #5

    Re: installation of 10.04 with RAID1+Encryption fails

    i just installed Ubuntu 10.04 AMD64 Desktop and Alternate with "entire disk" option and it works.
    it's strange though that alternate installation takes much much longer.
    *trying RAID1 without encryption now*

  6. #6
    Join Date
    May 2010
    Location
    UK
    Beans
    148
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: installation of 10.04 with RAID1+Encryption fails

    To make the installation go a little faster then unplug your computer from the internet. It wont download anything like language packs or security updates, all of which you can do after the installation.

  7. #7

    Re: installation of 10.04 with RAID1+Encryption fails

    RAID only is working
    Encryption only is NOT, i get the error: no such disk-error

    what's strange though:
    when i boot from SATA1 (system) grub is showing the above error
    when i boot from SATA2 (empty) the screen stays black and the monitor goes to standby... which is the same error i get when i do RAID+Encryption booting from any disk.

    (...and i hate the alternate installer )

    > acrazyplayer
    thx for the advice!
    Last edited by jomex; June 1st, 2010 at 11:07 PM.

  8. #8
    Join Date
    May 2010
    Location
    UK
    Beans
    148
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: installation of 10.04 with RAID1+Encryption fails

    Ok well since encryption is killing you here depending on what you want encrypted you may be able to set that up after installation of Ubuntu with RAID+1. I just found a few tuts explaining how to set up a non-encrypted home folder into a encrypted one. However you may want *everything* encrypted and I'm not sure you can do that after a normal install.

  9. #9

    Re: installation of 10.04 with RAID1+Encryption fails

    >> error: no such disk-error
    > If you were not able to boot into you OS, you are infected by a different problem and should not continue this howto.

    i wasn't able to boot into the OS after deleting the specified line. i assume it's a grub MBR left over from another installation.

    > depending on what you want encrypted

    just my user home directory actually...
    what i need is secure and transparent encryption on my whole home folder but i just want to enter the encryption phrase only once (passphrase is very long)
    Last edited by jomex; June 2nd, 2010 at 12:41 AM.

  10. #10

    Re: installation of 10.04 with RAID1+Encryption fails

    i just test the home directory encryption on a quick Desktop installation, thanks for the hint!
    something i found rather odd however: why do i need to enter a passphrase to setup encryption and why can the home directory be access by me just entering the login phrase... isn't that insecure?
    Last edited by jomex; June 2nd, 2010 at 12:42 AM.

Page 1 of 2 12 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •