Re: chroot problem

2010-07-09 Thread Anand Sivaram
On Sat, Jul 10, 2010 at 05:10, Bob Proulx wrote: > Zachary Uram wrote: > > in order to get it working i tried to mount the root partition : > > # mount /dev/sda5 /tmp/mnt > > > > that is fine, but when i run chroot i get weird error: > > # chroot /tmp/mnt > > # chroot: cannot execute command '/bi

Re: chroot problem

2010-07-09 Thread Bob Proulx
Zachary Uram wrote: > in order to get it working i tried to mount the root partition : > # mount /dev/sda5 /tmp/mnt > > that is fine, but when i run chroot i get weird error: > # chroot /tmp/mnt > # chroot: cannot execute command '/bin/bash' : Exec format error Is it possible that your live cd mo

chroot problem

2010-07-09 Thread Zachary Uram
i upgraded from vista to win7 on my pc which dual boots debian squeeze so it wiped away the grub2 boot loader from MBR so i burn copy of Debian Live (also tried Ubuntu 9.04) boot disc: in order to get it working i tried to mount the root partition : # mount /dev/sda5 /tmp/mnt that is fine, but wh

Re: chroot problem with grub

2006-04-14 Thread Andrei Popescu
On Thu, 13 Apr 2006 21:21:44 +0200 Philippe De Ryck <[EMAIL PROTECTED]> wrote: > On Thu, 2006-04-13 at 12:13 -0600, Justin Guerin wrote: > > Hi, > > > > I've had to move my install to a new physical disk. I made an image of my > > two partitions (/boot and /), and they restored properly. Now,

Re: chroot problem with grub

2006-04-14 Thread Philippe De Ryck
On Thu, 2006-04-13 at 12:13 -0600, Justin Guerin wrote: > Hi, > > I've had to move my install to a new physical disk. I made an image of my > two partitions (/boot and /), and they restored properly. Now, I only need > to run grub-install to install the boot loader. > > When I boot from Kno

Re: chroot problem with grub

2006-04-13 Thread Justin Guerin
On Thursday 13 April 2006 13:21, Philippe De Ryck wrote: > On Thu, 2006-04-13 at 12:13 -0600, Justin Guerin wrote: > > Hi, > > > > [snip problem] > > Justin, > > I don't think it is necessary to chroot at all. The knoppix disk has > grub on board, so you can use that command. The command also has a

chroot problem with grub

2006-04-13 Thread Justin Guerin
Hi, I've had to move my install to a new physical disk. I made an image of my two partitions (/boot and /), and they restored properly. Now, I only need to run grub-install to install the boot loader. When I boot from Knoppix, I can mount the / to /mnt/target, then mount /boot to /mnt/targ

Re: debootstrap chroot problem

2005-12-15 Thread Jimi Ayodele
On Tue, 13 Dec 2005, Sinan Nalkaya wrote: Date: Tue, 13 Dec 2005 16:35:17 +0200 From: Sinan Nalkaya <[EMAIL PROTECTED]> To: debian-user@lists.debian.org Cc: Jimi Ayodele <[EMAIL PROTECTED]> Subject: Re: debootstrap chroot problem if it is mounted fs, you should add exec option wh

Re: debootstrap chroot problem

2005-12-13 Thread Sinan Nalkaya
if it is mounted fs, you should add exec option while mounting. On Tuesday 13 December 2005 02:10 am, Jimi Ayodele wrote: > Good day, > > I am trying to install Debian on a separate partition using chroot from a > Gentoo host system. When I issue the following command > > % debootstrap --exclude=li

debootstrap chroot problem

2005-12-12 Thread Jimi Ayodele
Good day, I am trying to install Debian on a separate partition using chroot from a Gentoo host system. When I issue the following command % debootstrap --exclude=libsigc++-1.2-5c102,manpages,pciutils,slang1a-utf8 sid /chroot/ http://http.us.debian.org/debian packages are downloaded, verifie

weird chroot problem with apache

2005-07-23 Thread Jack
Hi, I'm having weird problems with chrooting apache, this is the output of strace newbs:/chroot/httpd# strace chroot /chroot/httpd /usr/sbin/httpd -f /etc/apache/httpd.conf execve("/usr/sbin/chroot", ["chroot", "/chroot/httpd", "/usr/sbin/httpd", "-f", "/etc/apache/httpd.conf"], [/* 13 vars */])

debootstrap chroot problem

2004-07-15 Thread Chris Metcalf
I recently purchased a Fujitsu Stylistic 2300 tablet PC from eBay. It came bare and of course I'm going to install Linux on it. I've got an external USB 2.0 case for a 2.5" hard drive, so I'm using that to get a base system on before putting it back into the tablet. I've decided to use debootstra

Re: chroot-problem

2002-02-02 Thread Karl E. Jorgensen
On Sat, Feb 02, 2002 at 11:27:51PM +0200, Gil Elad wrote: > [[snip]] > for some reason I can't get chroot(8) to work. i.e. executing the > following command (almost word for word from the info page): > > $ mkdir /tmp/empty > $ cp /bin/ls /tmp/empty > $ cd /tmp/empty > $ chroot /tmp/empty /ls / >

Re: chroot-problem

2002-02-02 Thread ben
On Saturday 02 February 2002 01:27 pm, Gil Elad wrote: > Hello, > > I'm running woody with 2.4.17 > > for some reason I can't get chroot(8) to work. i.e. executing the > following command (almost word for word from the info page): > > $ mkdir /tmp/empty > $ cp /bin/ls /tmp/empty > $ cd /tmp/empty >

chroot-problem

2002-02-02 Thread Gil Elad
Hello, I'm running woody with 2.4.17 for some reason I can't get chroot(8) to work. i.e. executing the following command (almost word for word from the info page): $ mkdir /tmp/empty $ cp /bin/ls /tmp/empty $ cd /tmp/empty $ chroot /tmp/empty /ls / yields: chroot: cannot execute /ls: No suc