Hi,
I'm trying to install Debian Lenny on a new computer. I've only one IDE
port so I've put an old 120GB drive as master and a cd rom as slave. The
IDE is only really going to be used to store virtual oses on, and may
disappear at some point.
The main drives are 2x1Tb SATA drives, which has 300mb for boot on each,
then the rest is set up as RAID1, with all the partitions stored in an
LVM on this RAID setup.
I've set the motherboard to boot off the first of the SATA drives, the
one with the actual boot partition on. I intend to mirror these later
for redundancy. I'm fine when I use GRUB 0.97 as I can edit the debian
settings which always put hd(1,0) when as I'm booting and then have it
boot. Problem is, I want to use grub2 as the first thing I'm going to do
is upgrade to debian testing, which uses this. Because debian is
convinced the boot drive is hd(1,0) I get an error 15.
I'm trying to find out how to solve this, either by manually editing the
grub file on boot, or by rescuing the installation and then editing the
grub.
Any help would be really appreciated.
Jim
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Fri Jan 8 14:30:03 2010
Return-path: <bounce-debian-user=tom=linux-archive.org@lists.debian.org>
Envelope-to: tom@linux-archive.org
Delivery-date: Fri, 08 Jan 2010 14:14:17 +0200
Received: from liszt.debian.org ([82.195.75.100]:49143)
by s2.java-tips.org with esmtps (TLSv1:AES256-SHA:256)
(Exim 4.69)
(envelope-from <bounce-debian-user=tom=linux-archive.org@lists.debian.org>)
id 1NTDjN-00014M-6a
for tom@linux-archive.org; Fri, 08 Jan 2010 14:14:17 +0200
Received: from localhost (localhost [127.0.0.1])
by liszt.debian.org (Postfix) with QMQP
id D40D413A61F7; Fri, 8 Jan 2010 12:40:34 +0000 (UTC)
Old-Return-Path: <gpall@ccf.auth.gr>
X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on liszt.debian.org
X-Spam-Level:
X-Spam-Status: No, score=-8.9 required=4.0 tests=FOURLA,LDOSUBSCRIBER,
LDO_WHITELIST,ONEWORD autolearn=failed version=3.2.5
X-Original-To: lists-debian-user@liszt.debian.org
Delivered-To: lists-debian-user@liszt.debian.org
Received: from localhost (localhost [127.0.0.1])
by liszt.debian.org (Postfix) with ESMTP id ECF0D13A6157
for <lists-debian-user@liszt.debian.org>; Fri, 8 Jan 2010 12:40:27 +0000 (UTC)
X-Virus-Scanned: at lists.debian.org with policy bank en-ht
X-Amavis-Spam-Status: No, score=-4.9 tagged_above=-10000 required=5.3
tests=[BAYES_00=-2, FOURLA=0.1, LDO_WHITELIST=-5, ONEWORD=2]
autolearn=no
Received: from liszt.debian.org ([127.0.0.1])
by localhost (lists.debian.org [127.0.0.1]) (amavisd-new, port 2525)
with ESMTP id ArC72JPfuQgN for <lists-debian-user@liszt.debian.org>;
Fri, 8 Jan 2010 12:40:20 +0000 (UTC)
X-policyd-weight: using cached result; rate: -7
Received: from hermes3.ccf.auth.gr (hermes3.ccf.auth.gr [155.207.1.69])
(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
(Client CN "AUTH Mail Servers", Issuer "AUTH Network Operations Center Certification Authority R3" (not verified))
by liszt.debian.org (Postfix) with ESMTPS id 15D6713A5C03
for <debian-user@lists.debian.org>; Fri, 8 Jan 2010 12:40:07 +0000 (UTC)
Received: from [155.207.112.12] (aris.ccf2.auth.gr [155.207.112.12])
(authenticated bits=0)
by hermes3.ccf.auth.gr (8.14.3/8.14.3) with ESMTP id o08Ce0II012273
(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT);
Fri, 8 Jan 2010 14:40:01 +0200
Message-ID: <4B4727A0.9050801@ccf.auth.gr>
Date: Fri, 08 Jan 2010 14:40:00 +0200
From: =?UTF-8?B?zpPOuc+Oz4HOs86/z4IgzqDOrM67zrvOsc+C?=
<gpall@ccf.auth.gr>
User-Agent: Mozilla-Thunderbird 2.0.0.22 (X11/20090706)
MIME-Version: 1.0
To: Stan Hoeppner <stan@hardwarefreak.com>
CC: debian-user@lists.debian.org
Subject: Re: LVM+RAID+CRYPT
References: <201001081213.14162.sjors@desjors.nl> <4B47166D.8070401@hardwarefreak.com>
In-Reply-To: <4B47166D.8070401@hardwarefreak.com>
Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=sha1; boundary="------------ms090004010104030706050203"
X-Virus-Scanned: clamav-milter 0.95.3 at vs-a-1
X-Virus-Status: Clean
X-Rc-Virus: 2007-09-13_01
X-Rc-Spam: 2008-11-04_01
Resent-Message-ID: <h6fdE28oHEP.A.kU.CfyRLB@liszt>
Resent-From: debian-user@lists.debian.org
X-Mailing-List: <debian-user@lists.debian.org> archive/latest/566557
X-Loop: debian-user@lists.debian.org
List-Id: <debian-user.lists.debian.org>
List-Post: <mailto:debian-user@lists.debian.org>
List-Help: <mailto:debian-user-request@lists.debian.org?subject=help>
List-Subscribe: <mailto:debian-user-request@lists.debian.org?subject=subscribe>
List-Unsubscribe: <mailto:debian-user-request@lists.debian.org?subject=unsubscribe>
Precedence: list
Resent-Sender: debian-user-request@lists.debian.org
Resent-Date: Fri, 8 Jan 2010 12:40:34 +0000 (UTC)
This is a cryptographically signed message in MIME format.
Stan Hoeppner wrote:
> Sjors van der Pluijm put forth on 1/8/2010 5:13 AM:
>
>
>> 3. Is it ok to have swap and /boot on an encrypted LVM?
>>
>
> Never run encryption on swap. Doing so merely burdens performance. I doubt
> even NSA, CIA, MI6 encrypt swap partitions on workstations.
>
> I've never tried to boot from an encrypted /boot, so I really can't say if it
> would work or not. Why can't/won't you create 3 partitions?
>
> [boot] 100MB mounted as /boot normal ext2
> [swap] 1-8GB mounted as normal swap partition
> [root] [remaining space] mounted as /root and encrypted however you like
>
I run a couple of identical machines, some with full disk encryption
(i.e. everything including swap except /boot which you cannot encrypt)
and some where only home is encrypted with LUKS. Never noticed any
performance impact. I think that swap encryption is *mandatory* for the
reason of there being written many things that shouldn't in case they
are sensitive. And I guess this why the approach of the debian installer
should you choose to encrypt includes swap encryption.