From nobody Fri Mar 29 00:43:13 2024 X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@mail.alpinelinux.org Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.alpinelinux.org (Postfix) with ESMTPS id DACFCDC0086 for ; Fri, 24 May 2013 11:48:24 +0000 (UTC) Received: from compute6.internal (compute6.nyi.mail.srv.osa [10.202.2.46]) by gateway1.nyi.mail.srv.osa (Postfix) with ESMTP id 3D1BF20786 for ; Fri, 24 May 2013 07:48:21 -0400 (EDT) Received: from web3.nyi.mail.srv.osa ([10.202.2.213]) by compute6.internal (MEProxy); Fri, 24 May 2013 07:48:22 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=message-id:from:to:mime-version :content-transfer-encoding:content-type:subject:date; s=smtpout; bh=CJwOHR7/jguL7vrtdqqTvTLRxYc=; b=pMA6hLQC56S0XnoBog+vYCtSIMCU rZmmmgqOOJqshCiTAvpOLMwiR1mlYHVRRCoO4VEiSlSI+rBMJnNF4vAJ7F1D5S0D ufrRifR+O9sOPn6kmXrJAvEir2nO9hNjYf488rT7MgEfaXoyYm9H7BgLi01MFRIF +8q5ttI6cHBSLeM= Received: by web3.nyi.mail.srv.osa (Postfix, from userid 99) id 72D73B356A5; Fri, 24 May 2013 07:48:21 -0400 (EDT) Message-Id: <1369396101.4943.140661235167053.5931B908@webmail.messagingengine.com> X-Sasl-Enc: /R+y/mlwl9q+V9Ap4FAkJRO0Li0RAVGxGTx7GpU4M9kE 1369396101 From: Dubiousjim To: Alpine X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain X-Mailer: MessagingEngine.com Webmail Interface - html Subject: Re: [alpine-devel] Change root partition question Date: Fri, 24 May 2013 07:48:21 -0400 On Fri, May 24, 2013 at 01:15:25PM +0200, Luca Bianchi wrote: > > / is always mounted on old device /dev/xvd3 , the /dev/xvdb1 is no show > > If i list mount option see / and /oldroot are mounted without the > nobarrier option , so seem that the fstab file is ignored when > system mount / partition Right, / needs to be mounted first before the kernel can even SEE the /etc/fstab file. (Though it would be possible for the / entry in the fstab to be mounted on top of /, or to pivot to the / in the fstab. I don't THINK that happens, but I'm not sure.) Anyway, the essential point is that / is first mounted at an earlier stage, before /etc/fstab is visible. How does the kernel know where to find /? Because your config file for your bootloader will pass an argument like root=/dev/xvda3 to the kernel. You need to change that. If you're using the extlinux bootloader, look in /boot/extlinux.conf. If you're using grub or pv-grub, look in /boot/grub/menu.lst. Depending on your setup, it may be you have to change things in the host, outside your guest filesystems. I haven't used XCP. But if you're using pv-grub to boot with a kernel inside your own guest filesystems, then /boot/grub/menu.lst is what you want. --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---