Go Back   PS3Hax - Sony Fears Us > Playstation 3 Resources > PS3 Hardware Tuning
PS3 Hardware Tuning Does Sony know that we can pull apart the PS3 and put it back together?

Reply
 
LinkBack Thread Tools

How to access a USB external hard drive in Linux
  #1 (permalink)  
Old 03-12-2007, 04:19 PM
haxen's Avatar
haxen is offline
I shredded my PS3
PS3Hax Leader
 
Join Date: Dec 2006
Posts: 239
Default How to access a USB external hard drive in Linux

Hook up your USB drive and boot up Linux. After you are logged in as root, open terminal window and a real nice simple command to see all storage devices available in Linux is:

Code:
fdisk -l
(that is the letter l, not a 1)

Be real careful with this command, don't go fdisk your hard drive. The -l will give you a listing of devices and won't reset the file allocation table. An example of my PS3 with a camera with a 1 gig storage card hooked up by USB is:


Quote:
localhost ~ # fdisk -l

Disk /dev/sda: 47.1 GB, 47126736896 bytes
64 heads, 32 sectors/track, 44943 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes

Device Boot Start End Blocks Id System
/dev/sda1 1 43919 44973040 83 Linux
/dev/sda2 43920 44943 1048576 82 Linux swap / Solaris

Disk /dev/sdb: 4 MB, 4194304 bytes
1 heads, 8 sectors/track, 1024 cylinders
Units = cylinders of 8 * 512 = 4096 bytes

Disk /dev/sdb doesn't contain a valid partition table

Disk /dev/sdf: 1048 MB, 1048481280 bytes
33 heads, 63 sectors/track, 985 cylinders
Units = cylinders of 2079 * 512 = 1064448 bytes

Device Boot Start End Blocks Id System
/dev/sdf1 * 1 985 1023874+ 6 FAT16
Partition 1 has different physical/logical endings:
phys=(984, 32, 63) logical=(984, 32, 56)
This output tells you what device name Linux assigns to your USB storage device. Look above and you see the sdf disk and in particular the partition for it /dev/sdf1 device showing 1 Gig of memory, that is my digital camera 1 gig storage card connected by USB to PS3. The sda1 and sda2 are the standard partitions for your linux install, the second one being the swap partition which i setup to be 1 gig in my case.

To access this USB drive sdf in my case, you have to "mount" it in Linux. In a terminal window, enter the following commands after you find the device name from the above instructions. My device name is the partition name of sdf1. I will setup a "camera" directory to let me know that anything in this directory is actually in the storage card of my camera when it is hooked up by USB to my PS3.

Code:
cd /mnt mkdir camera mount /dev/sdf1 /mnt/camera/
the /mnt/camera/ can be any logical name like /mnt/USBdrive or /mnt/SATA or whatever, just put the directory in the mnt folder

To access the drive, you just navigate your file manager to /mnt/SATA or whatever you called it. Make new directories and copy files in this structure and away you go.
__________________

Last edited by H.axen : 01-06-2008 at 11:17 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Re: How to access a USB external hard drive in Linux
  #2 (permalink)  
Old 03-18-2007, 12:11 AM
697
 
Posts: n/a
Default Re: How to access a USB external hard drive in Linux

cd /mnt
mkdir camera
mount /dev/sdf1 /mnt/camera/

Do I need to type in mkdir camera as well?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Re: How to access a USB external hard drive in Linux
  #3 (permalink)  
Old 03-26-2007, 04:05 PM
bladedeye27 is offline
Hey ... I posted a message
 
Join Date: Feb 2007
Posts: 1
Default Re: How to access a USB external hard drive in Linux

thanks for that!!

i have another problem which you might be able to answer..

ok here's the thing..

I currently use Vista to stream content to my 360. Am going to change that in favour of putting YDL on my PS3 and watching my stuff that is stored on an external HDD.

here is my dilema....

This external HDD of course can be formatted with FAT32 but on Windows (where my files currently are) you only have a max format size of 32GB. The drive is 200GB.

How do I format the drive so that it can be read under linux and formatted the whole 200GB and also copy my files over to it from Windows once done?

Thanks in adv!!

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Re: How to access a USB external hard drive in Linux
  #4 (permalink)  
Old 04-11-2007, 09:41 PM
n111ck's Avatar
n111ck is offline
PS3Hax Expert User
 
Join Date: Jan 2007
Posts: 38
Default Re: How to access a USB external hard drive in Linux

I don't know how, but I just plugged mine into my PS3's usb port and it worked...I didnt do any of this stuff...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Re: How to access a USB external hard drive in Linux
  #5 (permalink)  
Old 04-12-2007, 04:23 PM
navysandsquid is offline
I'm Moving On Up ...
 
Join Date: Jan 2007
Posts: 4
Default Re: How to access a USB external hard drive in Linux

Quote:
Originally Posted by Bushido
thanks for that!!

i have another problem which you might be able to answer..

ok here's the thing..

I currently use Vista to stream content to my 360. Am going to change that in favour of putting YDL on my PS3 and watching my stuff that is stored on an external HDD.

here is my dilema....

This external HDD of course can be formatted with FAT32 but on Windows (where my files currently are) you only have a max format size of 32GB. The drive is 200GB.

How do I format the drive so that it can be read under linux and formatted the whole 200GB and also copy my files over to it from Windows once done?

Thanks in adv!!

If you have access to a tool like Partition Magic in windows, you can convert a large(!) NTFS formated drive to FAT32. You don't loose any data and it is really quick. I thought I had to back up everything first and then copy it back, but that's not necessary. After doing that, you can access your HDD both when connected to Windows and PS3. There's probably some Linux tool for doing this, but I don't know which...

(It is windows FAT32 formater that sets the low limit on the drive size - not FAT32 itself. That's why this works. Try wikipedia FAT32 if you want to know more.)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #6 (permalink)  
Old 05-13-2007, 03:43 PM
aktizol is offline
Hey ... I posted a message
 
Join Date: May 2007
Posts: 1
Default

[root@localhost aktizol]# fdisk -l
bash: fdisk: command not found

any ideas?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #7 (permalink)  
Old 11-28-2007, 11:00 PM
kokojmpo1 is offline
Hey ... I posted a message
 
Join Date: Nov 2007
Posts: 1
Default

thanksssssssssssssssss
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #8 (permalink)  
Old 01-06-2008, 11:08 PM
H.axen's Avatar
H.axen is offline
Administrator
PS3Hax Leader
 
Join Date: Apr 2007
Location: Inside a microchip
Posts: 2,196
Default

@ aktizol, make sure you are logged in as root
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #9 (permalink)  
Old 02-26-2008, 02:23 PM
Walrusbonzo is offline
Hey ... I posted a message
 
Join Date: Feb 2008
Posts: 1
Default

Ok, a problem.

I've got a 250GB external HD, I create a primary partition of 32GB and format it with the FAT32 file system. The PS3 wont recognise any files I copy onto it.

Do I need to create folders with certain names or something?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #10 (permalink)  
Old 03-15-2008, 01:08 PM
bigstyle is offline
I'm Moving On Up ...
 
Join Date: Mar 2008
Posts: 2
Default

i get "unkown file system type 'ntfs' ". this means i need to format it FAT32 correct? i also have tried to convert the external HDD using Partition Magic but all i can do is change from primary to logical. the column for the different filesystems is not highlighted, what does this mean?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 3 (0 members and 3 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Upgrade your PS3 harddrive endorf PS3 Hardware Tuning 19 08-15-2008 02:41 PM
How to Install Fedora Core 8 haxen Fedora Core 8 16 08-01-2008 05:17 AM
Backup your Blu-Ray Disc haxen PS3 & PS2 Games 6 09-09-2007 06:15 PM
PS3 Hard Drive Image Of Linux narex Yellow Dog Linux 0 05-16-2007 10:42 PM
Chat with Sony re: Linux accessing external hard drive haxen PS3 Links 1 12-19-2006 12:47 AM



All times are GMT -5. The time now is 10:51 PM.

vB skin by: eXtremepixels
Powered by vBulletin® Version 3.6.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
 SEO by 3.0.0
© PS3Hax.com 2007 & 2008