xbox-scene.com - your xbox news information source
Quick Links: Main Forums | Xbox360 Forums | Xbox1 Forums | PS3 Forums
Xbox-Scene Forum Help  Search Xbox-Scene Forums   Xbox-Scene Forum Members   Xbox-Scene Calendar

Giganews Usenet Offers: +1150 days binary retention, 99%+ Completion, and Unlimited Speed/Access!

360 ODD Emulators: X360 Key $99 | Wasabi360 FAT $99 | Wasabi360 Slim $99
C4E's iXtreme Burner MAX Drive: LiteOn iHAS124 DROPPED TO JUST $17


Welcome Guest ( Log In | Register )

 Forum Rules Rules
 
Reply to this topicStart new topic
> Building A Xbox Hard Drive Using Ubuntu (wip Thread), an open journal. tinkering, experimenting, and ideas
GoTeamScotch
post May 16 2010, 10:20 AM
Post #1


X-S X-perience
**

Group: Members
Posts: 425
Joined: 28-August 07
From: Washington, USA
Member No.: 354010
Xbox Version: v1.4
360 version: none



Building a Xbox Hard Drive using Ubuntu
'XBUNTOX' (working title)
An ongoing project by GoTeamScotch - Work In Progress thread.
Here I will document my progress with making a user-friendly GUI interface that runs in an Ubuntu/Linux environment. I will be working with Ubuntu because it is the most commonly used Linux distro and is my distro of choice (I use it as my main OS). Any ideas or input are welcome.



Brief project overview/goals:
Produce a product that will run in Ubuntu that will:
  • Build (copy files)
  • Format in FATX
  • Lock stock and large Xbox hard drives formatted with the FATX filetype system
Side goals-
  • User friendly interface
  • Relatively safe with accident prevention in mind
  • Be a self-contained package


Still left to do:
  • Damn near everything!
  • Determine whether Ubuntu can recognise and utilise the FATX partition table. If not, consider using VirtualBox and a modified Linux kernel to complete this task
  • Explore ATA disk locking options. Ubuntu comes with hdparm which can issue ATA security commands, but only does so in ASCII (Xbox = hexadecimal)

other thoughts:
It is possible to make a FATX hard drive using XboxHDM 1.9 (by ldots) in a virtual machine inside of Ubuntu. However, this was only tested when using a software based virtual hard disk, not the real deal. There is a method to allowing VirtualBox to have direct access to a hard disk, rather than the 'virtual disk' method it uses by default. I will explore this more later on.


VirtualBox notes
Using this command line in the Terminal will yield a list of partitions
CODE
sudo sfdisk -l


This command will create a virtual hard disk image that uses the actual physical hard disk rather than a virtual image that is stored in a single .vdi file on a hard disk to use (a vdi file is kind of like an expanding .iso image file, so to speak).
CODE
VBoxManage internalcommands createrawvmdk -filename /home/**username**/.VirtualBox/HardDisks/vDiskImage.vmdk -rawdisk /dev/sdb -partitions 1

Note: in using this command, substitute username with the active user logged in, vDiskImage with what you want the image to be called, and " /dev/sdb" with (in this case), the Xbox hard drive attached. This way, even if the host machine doesn't recognise the Xbox HDD, the guest machine will be able to have direct access to the physical drive and use it. Here I have the 'partitions' trigger active so it will make a raw disk image of only a certain partition. This trigger will not be necessary later on.


IPB Image
Here you can see my Ubuntu desktop on the left and in the center is a virtual WinXP installation that has Xplorer360 open. It is viewing a FATX formatted virtual partition that was built using XboxHDM 1.9. As you can see it is not recognised by Windows XP, but Xplorer360 can still access it and see its files. The C drive is open on screen. On the far right is XboxHDM running from an ISO created using XboxHDM 1.9. This is an early test, I may use XboxHDM 3 in the final product.
Here is a close-up of the center workspace.
IPB Image
Xplorer360 sees the FATX formatted virtual disk that is mounted in WinXP. This test was to see if FATX partitions could be created successfully in a virtual machine environment.

More updates to come. . .
cool.gif -Scotch
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
ldotsfan
post May 17 2010, 02:39 AM
Post #2


X-S Messiah
*******

Group: Dev/Contributor
Posts: 3098
Joined: 23-March 08
Member No.: 376711
Xbox Version: v1.1
360 version: unknown



1. I chose qemu for xboxhdm2 because it was relatively easy to have raw access to the physical xbox hdd. The flag -hda /dev/hdX will suffice.
2. Asking Ubuntu to use the FATX enabled 2.6 kernel is a step back as it will break the support for modern hardware that the Ubuntu variant of the kernel offers. It is also unknown if 2.6 FATX actually works. Hence a virtualization solution like qemu/VirtualBox to skip around the problem.
3. Will you be supporting apt /Ubuntu Software Center style installs of the package?

Looking forward to the finished product in due time smile.gif
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
djv8
post Jun 13 2010, 11:24 PM
Post #3


X-S Enthusiast


Group: Members
Posts: 26
Joined: 1-July 05
Member No.: 231078
Xbox Version: unk
360 version: unknown



WOW That would be a really great program to have.!!
let me know when you get something like that going.!!


WOW That would be a really great program to have.!!
let me know when you get something like that going.!!
User is offlineProfile CardPM
Go to the top of the page
+Quote Post





Reply to this topicStart new topic

 

Lo-Fi Version Time is now: 20th May 2013 - 07:02 AM