> > > In the guest either: > > > mount -t vfat /dev/ubdc1 /mnt/pendrive/ (if the pendrive is partitioned) > > > or > > > mount -t vfat /dev/ubdc /mnt/pendrive/ (if the pendrive is not > > > partitioned) > > > > My pen drive isn't partitioned, I only have /dev/sda1 on it. > > In this (technical) context, it has a partition table with 1 partition, so > your one is partitioned. That's why your last attempt didn't work. > > "Partitioned" means i.e. the first 512 bytes of /dev/sda are the partition > table, and say where /dev/sda1, i.e. the vfat filesystems, starts. On some > pendrives the vfat filesystems starts at the very beginning of the block > device and no partition table exists at all, and there, on the host > system, /dev/sda must be used directly, and the UML commands become the ones > described above. >
Flavio: As Blaisorblade explains above, your usb drive has a partition table on it, which is why you need to mount it using the device /dev/sda1 instead of /dev/sda. You can treat the drive either way when you put a filesystem on it. Your usb drive was partitioned so that all of the space is placed in the first partition rather than being broken up into multiple partitions, but that still counts as being partitioned. The fdisk utility in linux is one way to manipulate the partition table on a device. Try this and see if it works: (on the host from the root account) insert the usb drive check that it gets assigned /dev/sda1 linux ubdc=/dev/sda ... (inside of uml linux as the root user) mount /dev/udbc1 /mnt/hd If that works, the next step up in complexity looks like this: (on the host from the root account) insert the usb drive check that it gets assigned /dev/sda1 chown umluser1 /dev/sda chown umluser1 /dev/sda1 (from the umluser1 account on the host) linux ubdc=/dev/sda ... (inside of uml linux as the root user) mount /dev/udbc1 /mnt/hd Chris Marshall ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ User-mode-linux-user mailing list User-mode-linux-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user