View previous topic :: View next topic |
Author |
Message |
jonfr Veteran
Joined: 20 Jul 2003 Posts: 1008 Location: Denmark
|
Posted: Tue Feb 19, 2013 2:53 am Post subject: Formatting usb stick |
|
|
What is the best way for me to format usb stick (16GB) in Gentoo Linux? I want to use other file system then normal Fat32 that has 4GB file limit (annoying limit).
Thanks for the help. |
|
Back to top |
|
|
wuzzerd Guru
Joined: 05 Jan 2005 Posts: 466 Location: New Mexico
|
Posted: Tue Feb 19, 2013 3:08 am Post subject: |
|
|
Format it just like a disk using mkfs. |
|
Back to top |
|
|
jonfr Veteran
Joined: 20 Jul 2003 Posts: 1008 Location: Denmark
|
Posted: Tue Feb 19, 2013 3:27 am Post subject: |
|
|
When I do. I get this error.
Code: | sd 9:0:0:0: Attached scsi generic sg8 type 0
sd 9:0:0:0: [sdh] 31326208 512-byte logical blocks: (16.0 GB/14.9 GiB)
sd 9:0:0:0: [sdh] Write Protect is off
sd 9:0:0:0: [sdh] Mode Sense: 43 00 00 00
sd 9:0:0:0: [sdh] No Caching mode page present
sd 9:0:0:0: [sdh] Assuming drive cache: write through
sd 9:0:0:0: [sdh] No Caching mode page present
sd 9:0:0:0: [sdh] Assuming drive cache: write through
sdh: sdh1
sd 9:0:0:0: [sdh] No Caching mode page present
sd 9:0:0:0: [sdh] Assuming drive cache: write through
sd 9:0:0:0: [sdh] Attached SCSI removable disk
sdh: detected capacity change from 16039018496 to 0
|
When trying to format sdh.
Code: | mkfs.ext3 -j /dev/sdh
mke2fs 1.42 (29-Nov-2011)
/dev/sdh is entire device, not just one partition!
Proceed anyway? (y,n) y
mkfs.ext3: No medium found while trying to determine filesystem size
|
When trying to format sdh1.
Code: | mkfs.ext3 -j /dev/sdh1
mke2fs 1.42 (29-Nov-2011)
Could not stat /dev/sdh1 --- No such file or directory
The device apparently does not exist; did you specify it correctly?
|
I do not understand why this does not work. Getting rid of fat32 would be good. Since I only use this usb stick to watch media files on my television. |
|
Back to top |
|
|
imaginasys Tux's lil' helper
Joined: 26 Dec 2009 Posts: 83 Location: Québec
|
Posted: Tue Feb 19, 2013 4:43 am Post subject: |
|
|
Well,
I have a suggestion. First create a partiton on the USB stick before trying to format.
It looks like your usb key has no partition on it (you can check with parted).
Use gdisk or gparted or parted in command line. Then use mkfs to format.
Good luck!
BT |
|
Back to top |
|
|
jonfr Veteran
Joined: 20 Jul 2003 Posts: 1008 Location: Denmark
|
Posted: Tue Feb 19, 2013 5:06 am Post subject: |
|
|
imaginasys wrote: | Well,
I have a suggestion. First create a partiton on the USB stick before trying to format.
It looks like your usb key has no partition on it (you can check with parted).
Use gdisk or gparted or parted in command line. Then use mkfs to format.
Good luck!
BT |
It is originally formatted with Windows XP. That did create a partiton on it. I have tested looking for the partiton table with cfdisk. But I have hit nothing but errors doing so. |
|
Back to top |
|
|
666threesixes666 Veteran
Joined: 31 May 2011 Posts: 1248 Location: 42.68n 85.41w
|
Posted: Tue Feb 19, 2013 5:37 am Post subject: |
|
|
ill second gparted.... i suggest NTFS for comparability reasons... if your tv is a smart tv it should support ntfs... some cd players for cars support ntfs, others not so much. maybe if its a smart tv it will support ext2/3/4.... as some do run linux derivatives |
|
Back to top |
|
|
|