Thanks, Matt

guest@guest:/mnt/w1$ df
Filesystem           1K-blocks      Used Available Use%
Mounted on
aufs                   1609136    355264   1253872  23% /
udev                   1609136       268   1608868   1% /dev
/dev/sr0                494714    494714         0 100%
/media/cdrom
/dev/loop0              482176    482176         0 100%
/rofs
none                   1609136         0   1609136   0%
/dev/shm
tmpfs                  1609136        60   1609076   1% /tmp
none                   1609136       284   1608852   1%
/var/run
none                   1609136         0   1609136   0%
/var/lock
none                   1609136         0   1609136   0%
/lib/init/rw
/dev/sda1            186370356  42304704 134598552  24%
/mnt/w1
/dev/sdb1            301440504   8589276 277538896   4%
/mnt/deb
/dev/sda1            186370356  42304704 134598552  24%
/mnt/w1/boot
guest@guest:/mnt/w1$ mount
aufs on / type aufs (rw)
none on /proc type proc (rw,noexec,nosuid,nodev)
none on /sys type sysfs (rw,noexec,nosuid,nodev)
udev on /dev type tmpfs (rw,mode=0755)
/dev/sr0 on /media/cdrom type iso9660 (rw)
/dev/loop0 on /rofs type squashfs (rw)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
none on /dev/pts type devpts
(rw,noexec,nosuid,gid=5,mode=0620)
none on /dev/shm type tmpfs (rw,nosuid,nodev)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev)
none on /var/run type tmpfs (rw,nosuid,mode=0755)
none on /var/lock type tmpfs (rw,noexec,nosuid,nodev)
none on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
/dev/sda1 on /mnt/w1 type ext4 (rw)
/dev/sdb1 on /mnt/deb type ext3 (rw)
/dev/sda1 on /mnt/w1/boot type ext4 (rw)
/dev on /mnt/w1/dev type none (rw,bind)
/dev on /mnt/w1/proc type none (rw,bind)
/dev on /mnt/w1/sys type none (rw,bind)
/usr on /mnt/w1/usr type none (rw,bind)
guest@guest:/mnt/w1$ ^C
guest@guest:/mnt/w1$ 

and 

guest@guest:~$ sudo chroot /mnt/w1 /bin/bash
root@guest:/# df
Segmentation fault
root@guest:/# mount
Segmentation fault
root@guest:/# 

.. but, significantly, chroot worked this time.

Adam.

----- Original Message Follows -----
> On Mon, Aug 29, 2011 at 10:10:45AM +1200, adam.bogacki
> wrote:
> 
> > I mount dev, proc, sys, and usr on /dev/sda (aka w1),
> and
> 
> What does df or mount show at this point 
> 
> > guest@guest:~$ sudo chroot /mnt/w1 /bin/bash
> 
> and this point 
> 
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to