On Friday 10 November 2006 23:20, Flavio wrote:
> Ok, now it's more clear as regards chmod.
>
> I didn't read as well as I did just before.
>
> I'm actually trying to mount my pendrive, always without results.
> Maybe I'll give up soon. It seems something impossible. O_O
>
> My last attempt was to do chmod a+rw /dev/sda* on my host..
> Infact, now these are /dev/sda* right access:
>
> # ls -l /dev/sda*
> brw-rw-rw- 1 root disk 8, 0 Nov 10 22:56 /dev/sda
> brw-rw-rw- 1 root disk 8, 1 Nov 10 22:56 /dev/sda1
>
> But now, adding "ubdc1=/dev/sda1" (Jeff said to associate with ubdc1,
> as I did understand correctly) to kernel command line I can't get
> something positive.

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.

In your case, the pendrive is partitioned (i.e. it has a partition table).

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)

Another possibility, if the pendrive is partitioned, is ubdc=/dev/sda1 on UML 
command line, so that inside UML /dev/ubdc refers to the 1st partition of 
your pendrive and you can do in UML:

mount -t vfat /dev/ubdc /mnt/pendrive/ (and the pendrive must be already 
partitioned)

> Attempting to mount my pen-drive on the guest system I'm giving the same
> result: ~# mount -t vfat /dev/ubdc1 /mnt/pendrive/
> mount: /dev/ubdc1 is not a valid block device
>
> I don't know now, if it's really possible!!!!!

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.
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.

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.

I can understand however your frustation, and you are starting to see how a 
mailing list works and its netiquette. I do not expect you to have been born 
knowing all this, but we all expect people to learn.

If you want to take a look, you will find this document enlightening:
http://catb.org/esr/faqs/smart-questions.html
Similar ones can be found by searching for "How to ask smart questions" on 
Google.

Good bye!
-- 
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

Reply via email to