On Saturday 11 November 2006 10:13, Flavio wrote: > Thank you very much, > > I think you are very kind with me, and I thank you so much for this. > > 2006/11/11, Blaisorblade <[EMAIL PROTECTED]>: > > No, on command line you must use ubdc=/dev/sda; ubdc1 on command line > > never works so do not try it any more in your life with UML. > > OK, I tried to add ubdc=/dev/sda parameter to kernel command line. > There are no error messages at boot, as regard ubdc > > Note that if I try to do this on my 32 bit notebook I receive an error > message at boot time: Failed to open '/dev/sda', errno = 13 > > OR if I put ubdc=/dev/sda1 as parameter: > > Failed to open '/dev/sda1', errno = 13
Type "perror 13" (perror is included in some mysql package, so install them to get it), it will say: $ perror 13 OS error code 13: Permission denied Then look at perror man page to discover how useful it is - especially since UML rarely decodes errno codes, unfortunately. So that's just the permission problems (you're using different device nodes so you must fix the permission on them too - i.e. permissions on /dev/sda1 have not been altered). Adding the uml user to the "disk" group would maybe be a good solution but the problem is that this way you give that user access to any disk partition, so it is not exactly good. Using a different group for devices which must be usable by UML would probably be better - but that's outside the scope of this discussion, it's standard permission management you can work with yourself. > > In your case, the pendrive is partitioned (i.e. it has a partition > > table). Be careful! You missed this sentence, and you didn't even try the other sequence of commands. > > 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. > So, I did mount -t vfat /dev/ubdc /mnt/pendrive/ > > and this is the result: > DebianUM:~# mount -t vfat /dev/ubdc /mnt/pendrive/ > mount: /dev/ubdc is not a valid block device > > I don't know either. I must say that you have shown considerable patience > > (which is good) but also that you have been not lucky at all in your > > choices. > > Oh! Of course I have a lot of patience! It's so important for me to > understand. > > > You've had an incredible ability in combining all possible mistakes - a > > deeper knowledge of Unix would have helped however, especially for the > > permission problem. > > Yes, I'm sorry, as regard permission problem I didn't read so > carefully. Excuse me please. > Maybe I had an oversight when I was on chmod man page. > > > And I am also pleased of the patience shown by people (Anthony, > > Christopher and Jeff) who have helped you up to now. > > I think you should thank them too - they're not paid to support UML > > users, so they answer as an act of kindness. > > Of course Paolo!!! Of Course!!!! If you read my previus posts You can > see that in must of > them I begin my post with "Thank you". > I want to take the opportunity to do more gratitude to Anthony, > Christopher and Jeff. Finally, thank to you Paolo. Fine then, I'm happy everything is ok on this side. With the above tip I expect you to finally succeed also on the technical side of things. -- Inform me of my mistakes, so I can keep imitating Homer Simpson's "Doh!". Paolo Giarrusso, aka Blaisorblade http://www.user-mode-linux.org/~blaisorblade Chiacchiera con i tuoi amici in tempo reale! http://it.yahoo.com/mail_it/foot/*http://it.messenger.yahoo.com ------------------------------------------------------------------------- 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