[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: debootstrap chroot problem

On Tue, 13 Dec 2005, Sinan Nalkaya wrote:

Date: Tue, 13 Dec 2005 16:35:17 +0200
From: Sinan Nalkaya <erchamion.beren@gmail.com>
To: debian-user@lists.debian.org
Cc: Jimi Ayodele <ayodele@sdf.lonestar.org>
Subject: Re: debootstrap chroot problem

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=libsigc++-1.2-5c102,manpages,pciutils,slang1a-utf8
  sid /chroot/ http://http.us.debian.org/debian

packages are downloaded, verified and extracted. The '--exclude=' flag was
issued because those packages could not be retrieved, forcing an abrupt
exit. (Also, unlike the recreation of the command displayed above, I was
able to issue the entire command on a single line.)

Despite my efforts to avoid the debootstrap utility from making abrupt
exits, I ran into one that stumped me during the extraction process. I
have no idea why it happened, but here is the last few (possibly
relevant) lines displayed at the console:

chroot: cannot run command `mount': Permission denied
W: Failure trying to run: chroot /chroot mount -t proc proc /proc
umount: /chroot/dev/pts: not found
umount: /chroot/dev/shm: not found
umount: /chroot/proc/bus/usb: not found
umount: /chroot/proc: not mounted

As you may have noticed, I created the '/chroot/' mount point for this
purpose (not entirely imaginative, but I have no reason to believe that
the name has anything to do with this problem.)

I did scour the web using google, yet was unable to find a viable
solution. Any ideas offered to solve this problem would be greatly


SDF Public Access UNIX System - http://sdf.lonestar.org

Thanks for your timely reply -- it is greatly appreciated.

Interestingly enough, it never occured to me to include the 'exec' option as you have suggested. However, I did realize that once I removed the 'user' option from the partition's entry in the /etc/fstab file, the partition mounted (via the superuser account) without any issues.

On a related note, I noticed during the install effort, that the installation would abruptly exit because libselinux.so.1 could not be found. I had to fetch a copy of the library file which is provided by Gentoo before I could proceed. Is it possible to ask the developer(s) responsible to include the library to aid a successful installation?


SDF Public Access UNIX System - http://sdf.lonestar.org

Reply to: