You are not logged in.

#1 2009-08-05 23:59:49

Kariddi
Member
Registered: 2009-03-12
Posts: 45

[SCHROOT] Can't see my USB hard drive

Hi

I use an schroot environment to run 32 bit applications on my arch64 system.

All runs well, but I have a problem I don't know how to solve myself.

I can't see my USB harddrives from inside the chroot system, so , for example 32 bit browsers can't save files on my USB hd.

I tried to mount with the "--bind" option the HD :

sudo mount --bind /media/HD /opt/arch32/media/HD

Reading the HD with "ls /opt/arch32/media/HD" works outside the chroot, but then when I try to read the HD with "ls /media/HD" from inside the chroot I get a "PERMISSION DENIED" error.

I don't know what to do. How am I supposed to see my USB hds from inside the chroot system?

Thanks

Marcello

Offline

#2 2009-08-08 00:06:11

djszapi
Member
From: Cambridge, United Kingdom
Registered: 2009-06-14
Posts: 1,439
Website

Re: [SCHROOT] Can't see my USB hard drive

Hello Kariddi!

I use generally

mount /dev/sdxy /mnt/archlinux/
mount -t proc /proc /mnt/archlinux/proc/
mount -o bind /dev /mnt/archlinux/dev/
cp /etc/resolv.conf /mnt/archlinux/etc

And sometimes i mount sys folder too.

Is the usb missing only or other devices too ?

Offline

#3 2009-08-08 13:39:14

Kariddi
Member
Registered: 2009-03-12
Posts: 45

Re: [SCHROOT] Can't see my USB hard drive

hi.

I just can't see any partition mounted by DBUS in the /media directory, it's not only an USB problem, but a DBUS mounted devices problem in general.

Offline

#4 2009-08-08 16:01:08

djszapi
Member
From: Cambridge, United Kingdom
Registered: 2009-06-14
Posts: 1,439
Website

Re: [SCHROOT] Can't see my USB hard drive

Can it be a 32/64 mixing issue? We did sich a thing at the company, but with 32/32 bit os.

Offline

#5 2009-08-08 16:52:52

Kariddi
Member
Registered: 2009-03-12
Posts: 45

Re: [SCHROOT] Can't see my USB hard drive

djszapi wrote:

Can it be a 32/64 mixing issue? We did sich a thing at the company, but with 32/32 bit os.

I don't know to be honest, it's the first time that I do such a thing (chroot) , and I never tried a 32 on 32 bit chroot system sad

Offline

Board footer

Powered by FluxBB