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

Re: chroot doesn't work, among other things.

On 04/08/06, Roger Leigh <rleigh@whinlatter.ukfsn.org> wrote:

Did you try reading the manual page?  Just type script and run the

Ah. Alright. I'm running it. Now you'll be able to see all of the permutations and silly things I'm doing! :0) 

>     Also, install strace, and run "strace -f -F -o /tmp/log chroot
>     /mnt/hda3" and check the results of the log.  Put it up for download
>     somewhere, and we can take a look at it.
> http://pastebin.ca/115013

It's failing after executing /bin/bash, during bash startup.

This makes sense as when I boot in to that partition, it stops and drops me to an ash cli. 

chroot command itself completed successfully, as you can see.  Please
try mounting procfs on /proc inside the chroot location and see if
this makes any difference.

I don't believe I know how to do what you wish me to do. Is this it: mount -t proc /dev/hda3/proc /mnt/hda3 ?

Also, please provide the details about the hardware you are using.

Toshiba laptop with 3.06 gHz intel p4 hyperthreading 80 gb hd 1024 mb ram kernel 2.6.17(.7) from debian sid repository. 3 partitions, /boot ext2 on hda1, / xfs on hda3 and / jfs on hda2. The xfs is clean (I made sure of that, what with the recent bug). If you need more, just ask.

Thanks for your time and experise.

—A watched bread-crumb never boils.
—My hover-craft is full of eels.
—[...]and that's the he and the she of it.
Reply to: