Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
usb pendrive on xbox gentoox
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Alternative Architectures
View previous topic :: View next topic  
Author Message
gogetassj5
n00b
n00b


Joined: 03 Jan 2005
Posts: 9

PostPosted: Mon Jan 03, 2005 10:54 pm    Post subject: usb pendrive on xbox gentoox Reply with quote

good evening to all users!

i've this trouble: i've an xbox with gentoox installed, and also the usb adapter. well, when i connect my usb pen skintek 256 mb,

in command line i write:

modprobe usb-storage

and then, to verify:

dmesg

and here i can see that the pen is known as a 256 mb usb 2.0 storage device, and it start scsi emulation.

then i make a mount point:

mkdir -p /mnt/pendrive

...i change the files fstab and mtab adding the line

/dev/sda1 /mnt/pendrive vfat noauto,user,async,rw 0 0

and and finally i try to mount the pendrive:

mount /mnt/pendrive

but now it says that sda1 doesn't exsist.
in many tutorials i found that a pendrive often is marked as sda or sda1 device in linux, but i can't find nothing on this path.

simply i'd like to know how i can mount succesfully the pen on xbox gentoox. thanks.
Back to top
View user's profile Send private message
Redhatter
Retired Dev
Retired Dev


Joined: 20 Sep 2003
Posts: 548
Location: Brisbane, QLD, Australia

PostPosted: Mon Jan 03, 2005 11:59 pm    Post subject: Reply with quote

What does...

Code:
$ cat /proc/scsi/scsi
$ /sbin/fdisk -l /dev/sda


... give you?
_________________
Stuart Longland (a.k.a Redhatter, VK4MSL)
I haven't lost my mind - it's backed up on a tape somewhere...

Gentoo/MIPS Cobalt developer, Mozilla herd member.
Back to top
View user's profile Send private message
gogetassj5
n00b
n00b


Joined: 03 Jan 2005
Posts: 9

PostPosted: Wed Jan 19, 2005 11:57 am    Post subject: Reply with quote

Redhatter wrote:
What does...

Code:
$ cat /proc/scsi/scsi
$ /sbin/fdisk -l /dev/sda


... give you?



excuse me but i can reply only now.

it gives me, writing first line command, cat /proc/scsi/scsi :

attached devices:
host: scsi0 channel: 00 id: 00 lun: 00
vendor: USB2.0 model: 256MB portable rev:2.00
type: direct-access ansi scsi revision: 02


it' s ok, my pen is a 256 mb usb 2.0 portable storage device.

but when i write second line, /sbin/fdisk -l /dev/sda, it doesn't give me reply. it returns at the normal line prompt, as before i wrote the command.
Back to top
View user's profile Send private message
Redhatter
Retired Dev
Retired Dev


Joined: 20 Sep 2003
Posts: 548
Location: Brisbane, QLD, Australia

PostPosted: Thu Jan 20, 2005 5:09 am    Post subject: Reply with quote

You mean like this?

Code:
(15:08) stuartl@beast handbook $ /sbin/fdisk -l /dev/sda
(15:08) stuartl@beast handbook $


Is the USB drive formatted? That tells me there's no partitions on the pendrive.

Drop the -l, and you should be able to create a partition.
_________________
Stuart Longland (a.k.a Redhatter, VK4MSL)
I haven't lost my mind - it's backed up on a tape somewhere...

Gentoo/MIPS Cobalt developer, Mozilla herd member.
Back to top
View user's profile Send private message
gogetassj5
n00b
n00b


Joined: 03 Jan 2005
Posts: 9

PostPosted: Wed Feb 02, 2005 11:46 pm    Post subject: Reply with quote

i thank you for all replies.
well, i've reinstalled all gentoox to latest release 3.2 home.
now i can see the contents of usb pen and copy on xbox hd all the files i saved on the usb pen from windows xp.

but i'm not yet able to do the reverse thing: i can't yet write from xbox on pen and read on windows.

i evidence that the partition on the usb pen is now fat32.

when i try to set also write mode on usb pendrive in properties (with konquerors browser) it says me that "changing attributes of files is not supported with protocol devices" in error mask.

thank to interest in my trouble!!
Back to top
View user's profile Send private message
gogetassj5
n00b
n00b


Joined: 03 Jan 2005
Posts: 9

PostPosted: Thu Feb 03, 2005 11:28 pm    Post subject: Reply with quote

WOW NOW IT'S ALL RIGHT!!! thanks very much for your help!!! without your tips, i probably was still here to find a solution :D

simply now i edited the fstab file adding line umask=0000
maybe this was the basilar key that i didn't know to add.

here's my fstab file:

# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
/dev/loop/0 / reiserfs defaults,errors=remount-ro 0 1
proc /proc proc defaults 0 0
/dev/cdrom /mnt/cdrom iso9660 defaults,ro,user,noauto 0 0
/mnt/fatx/e/swap none swap sw 0 0

/dev/sda /mnt/pendrive vfat umask=0000,user,noauto,rw,async 0 0
/dev/hda51 /mnt/fatx/c fatx defaults,noauto,umask=022 0 0
/dev/hda50 /mnt/fatx/e fatx defaults,umask=0000 0 0
/dev/hda55 /mnt/fatx/f fatx defaults,umask=0000 0 0


:D :mrgreen: :wink:
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Alternative Architectures All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum