WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] /bin/sh: can't access tty; job control turned off

To: david.corral@xxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] /bin/sh: can't access tty; job control turned off
From: "trilok nuwal" <tc.nuwal@xxxxxxxxx>
Date: Fri, 8 Feb 2008 18:12:14 +0530
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 08 Feb 2008 04:42:49 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; bh=kXyyXIfCfq/0LViGIxoYsRsUOqL2BgG0rgYg8Xks6Pw=; b=Z3trtsyYsjXku+epJb3OosRD0/lOMCTe40WwrnGtHumVet7C0AU0Wkg2u/fo89ie+YRdRDNISzFPA7s12O5PFFGJwCqM404/pSlT6BAlBfYhw423QAzvxl7Edu0qsb6UjIjg668w4NMoyZz5zaqCtolG3zLesPIIr82vlcbjkJg=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=kq+1OwFRQQeSbfZzy5C6n1xhIsErhLryFgda0a8G/orcvGYoewsKx/FZEiEBKHynMP0QyT0nRXOl8hNZ4r2EroLDkIWMN9wOEb8Hq4g0NNf2pqfq5ALbMIfxdVlfPrZzPO/FLEb8HG2avRMHUKekZlihE1BKe1LsygWpCn+EvpY=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20080208133038.1a0fikt3oc8w0g8o@xxxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <20080208133038.1a0fikt3oc8w0g8o@xxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Modify yr config file slightly and try.

root = '/dev/sda1 ro'
disk = [ 'file:/home/xen/domains/debian/disk.img,sda1,w',
'file:/home/xen/domains/debian/swap.img,sda2,w']




On Feb 8, 2008 6:00 PM, <david.corral@xxxxxxxxxxxxxxxxx> wrote:
After creating the domu, and using xm console, this is what I get:

mount: Mounting /root/dev on /dev./static/dev/failed: No such file or
directory
Done.
mount: Mounting /sys on /root/sys failed: No such file or directory
mount: Mounting /proc on /root/proc failed: No such file or directory
Target filesystem doesn't hae /sbin/init

/bin/sh: can't access tty; job control turned off"

fdisk -l on the dom0, this is what I get:

/dev/cciss/c0d0p1 (/boot)
/dev/cciss/c0d0p2 (swap)
/dev/cciss/c0d0p3 (/)

Guess the problem comes from this 2 lines:

root = '/dev/sda1 ro'
disk = [ 'file:/home/xen/domains/debian/disk.img,/dev/sda1,w',
'file:/home/xen/domains/debian/swap.img,/dev/sda2,w']

this is the default configuration I got after creating the domu.

Any idea?


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>