Re: Running a ia32 system on debian amd64 system
On Wed, Jul 15, 2009 at 2:35 PM, Kumar Appaiah<a.kumar@alumni.iitm.ac.in> wrote:
> On Wed, Jul 15, 2009 at 02:16:23PM +0200, Mathieu Malaterre wrote:
>> >> http://forums.debian.net/viewtopic.php?f=16&t=18001
>> >>
>> > This tutorial assume you have an old 32bits debian system laying
>> > around... How can I create one if I don't have that ?
>
> Sorry. I missed that part.
>
>> >
>>
>> To create one I used:
>>
>> $ debootstrap --arch i386 lenny /mnt/lenny32 http://ftp.fr.debian.org/debian/
>
> This is correct.
>
>> However I still cannot get the /dev directory to work as expected:
> [snip]
>
> Please try adding the following to your /etc/fstab
>
> /home /mnt/lenny/home none bind 0 0
> /tmp /mnt/lenny/tmp none bind 0 0
> /dev /mnt/lenny/dev none bind 0 0
> /proc /mnt/lenny/proc none bind 0 0
In my previous email I included the output of the 'mount' command
which showed that /dev was properly mounted. Again here it is with
only the chroot part:
$ mount | grep lenny32
/home on /mnt/lenny32/home type none (rw,bind)
/tmp on /mnt/lenny32/tmp type none (rw,bind)
/media/cdrom0 on /mnt/lenny32/media/cdrom0 type none (rw,bind)
/dev on /mnt/lenny32/dev type none (rw,bind)
Searching on internet I found the gentoo tutorial:
http://www.gentoo.org/proj/en/base/amd64/howtos/index.xml?part=1&chap=2
Apparently on this tuturial both /dev AND /dev/pts are mounted:
...
Code Listing 3.2: Mount virtual file systems
# mount -o bind /dev /mnt/gentoo32/dev
# mount -o bind /dev/pts /mnt/gentoo32/dev/pts
# mount -o bind /dev/shm /mnt/gentoo32/dev/shm
...
Is there a chance that this turial is missing that ?
--
Mathieu
Reply to: