Author Topic: Hard Drive Detection  (Read 507 times)

billy_gates

  • Member
  • **
  • Posts: 801
  • Kudos: 0
    • http://www.skinner.com/jeffberg
Hard Drive Detection
« on: 17 August 2003, 16:41 »
I'm trying to use an "Exploit" on my XBox.  I am following this tutorial here:
http://unmodded.mine.nu/docs/ShahriyarsTutorial
I did it all... up to part 1.3 swapping the drive.  I got the drive swapped.. my bios detected it... when linux was booting there was an hdc wdc hard drive that had never been there before.  However, there is no /dev/hdc50 like he said there would be and when I do mknod /dev/hdc50 b 22 50 like he said to do, the mknod works fine... but then when I do mount -t fatx /dev/hdc50 /mnt/xbox it says:
mount: /dev/hdc50 is not a valid block device
So the question isn't how to do this mod, but how to get Linux to fucking mount my hard drive.

I'm in RH 9 with that custom kernel that the guy had me build on the tutorial.  Everything works 100% except I can't mount the drive.

Any help would be greatly appreciated.

billy_gates

  • Member
  • **
  • Posts: 801
  • Kudos: 0
    • http://www.skinner.com/jeffberg
Hard Drive Detection
« Reply #1 on: 18 August 2003, 00:37 »
I was able to get the hard drive to show up in the Hardware browser... although it, did not show any partitions, just /dev/hdc.  I was able to make a new error when doing the mount command and it read this:
mount: wrong fs type, bad option, bad superblock on /dev/hdc50,
       or too many mounted file systems
       (could this be the IDE device where you in fact use
       ide-scsi so that sr0 or sda or so is needed?)


any ideas?

Copperhead

  • Member
  • **
  • Posts: 39
  • Kudos: 0
Hard Drive Detection
« Reply #2 on: 19 August 2003, 10:40 »
Just a stab at curiosity (I don't have a shiteXbox), but did you try to mount your drive at a mount point?

For example:

in /etc/fstab (should be there if you are running linux):

mkdir /mnt/xbox

mount -t (type) /dev/hdc50 /mnt/xbox

Where (type) is the 'brand' of partition you made. Like I said, I am not familiar with xbox-linux, but the principles are still the same: you have /etc/fstab, and your partitions are defined there. Root can mount, and override partitions, and when you recompile your kernel, you have to include support for the filesystems that you want to mount.