xboxscene.org forums

Author Topic: Replace Dvd W/hardrive, Why Hardly Mentioned?  (Read 103 times)

antiflag1980

  • Archived User
  • Sr. Member
  • *
  • Posts: 257
Replace Dvd W/hardrive, Why Hardly Mentioned?
« on: August 03, 2004, 05:43:00 PM »

I made this same post over at the gentoox forums early this morning http://forums.shallax.com/viewtopic.php?t=1799 and it's only gotten 5 views so far and 3 of them were mine, so I thought I'd post it here too just to get some thoughts on it.  "So I just decided a few minutes ago to try to hook up a second harddrive to the xbox that was formatted with ext3 and has a manrake installation on it from my pc. Cromwell didn't detect the second harddrive, but I let Gentoox boot anyway, so I figured I'd try to mount it, so I typed:
mkdir /mnt/hdb1
mount /dev/hdb1 /mnt/hdb1
And what do ya know, it works perfectly, I can browse my mandrake installation in gentoox, haven't tried copying any files back and forth yet, but I don't see why I would be able to check out the files or even mount it in the first place if it wasn't going to work totally. So what I want to know is, since this works perfectly, why does cromwell not detect it and say error 4 or something like that. Also why are there no options ever even mentioned about a possible hdb installation, because anyone with an upgraded hardrive of course has and xtra 8-10gb harddrive left over that could replace the dvd drive if they wanted to and have a native installl and still leave their xbox filesystem intact. My god a hdb installation would be great for a MCE installation too for anyone with an xtra 20gb+ hardrive laying around also, it could be legal/ native, while still leaving the xbox filesystem on the first drive completly intact, providing the user had a modchip so they could boot either cromwell or their xbox bios. I for one would love to see an option for a second hardrive install so I could go native instead of loopback. If it can be mounted I don't see why gentoox can't be installed to it. Am I missing something?"
-Me, early this morning.

This post has been edited by antiflag1980 on Aug 4 2004, 12:44 AM
Logged

antiflag1980

  • Archived User
  • Sr. Member
  • *
  • Posts: 257
Replace Dvd W/hardrive, Why Hardly Mentioned?
« Reply #1 on: August 03, 2004, 06:56:00 PM »

Oh yeah, I forgot, I tested it out and copied like a gig of files over and it worked fine.
Logged

antiflag1980

  • Archived User
  • Sr. Member
  • *
  • Posts: 257
Replace Dvd W/hardrive, Why Hardly Mentioned?
« Reply #2 on: August 03, 2004, 06:00:00 PM »

Why does shallax say in this thread http://forums.shalla...opic.php?t=1772 that you can't replace your dvd drive with a second harddrive?  There must be some bug or something I'm missing, can anyone confirm?
Logged

Potato Bob

  • Archived User
  • Sr. Member
  • *
  • Posts: 338
Replace Dvd W/hardrive, Why Hardly Mentioned?
« Reply #3 on: August 04, 2004, 06:46:00 PM »

biggrin.gif
ill just have to rip dvds from ole lappy
Logged

chimpanzee

  • Archived User
  • Hero Member
  • *
  • Posts: 531
Replace Dvd W/hardrive, Why Hardly Mentioned?
« Reply #4 on: August 04, 2004, 09:17:00 PM »

only cromwell can boot with this setup, that is why. This means you can only use Xbox as a PC.

Given the price of current PC, it may be better to just use a PC, much faster.
Logged

antiflag1980

  • Archived User
  • Sr. Member
  • *
  • Posts: 257
Replace Dvd W/hardrive, Why Hardly Mentioned?
« Reply #5 on: August 05, 2004, 01:04:00 AM »

No, I've used it just fine with xromwell using X24981. I just leave it hooked up while using unleshX and playing games and it isn't causing any problems at all.
Logged

chimpanzee

  • Archived User
  • Hero Member
  • *
  • Posts: 531
Replace Dvd W/hardrive, Why Hardly Mentioned?
« Reply #6 on: August 05, 2004, 01:24:00 AM »

QUOTE (antiflag1980 @ Aug 5 2004, 08:04 AM)
No, I've used it just fine with xromwell using X24981. I just leave it hooked up while using unleshX and playing games and it isn't causing any problems at all.

 stand corrected.

may be some newer BIOS can boot without the DVD but the reason is still the same, only specific BIOS can boot without the DVD.
Logged

antiflag1980

  • Archived User
  • Sr. Member
  • *
  • Posts: 257
Replace Dvd W/hardrive, Why Hardly Mentioned?
« Reply #7 on: August 05, 2004, 05:19:00 AM »

You can set the dvd check in xbtool.
Logged

antiflag1980

  • Archived User
  • Sr. Member
  • *
  • Posts: 257
Replace Dvd W/hardrive, Why Hardly Mentioned?
« Reply #8 on: August 05, 2004, 05:21:00 AM »

Hey, I've been trying to move my install to my hdb since this, I've edited etc fstab correctly, but I can't seem to get my linuxrc in initrd.gz edited correctly, If anyone knows what to do please let me know.  
What I'm trying to do is leave it booting from linuxboot.cfg on the e: drive unlike a native install but without a rootfs, I've already eliminated my swap file as you can obviously see from the fstab, I'm using hdb2 for swap and it works perfectly, I just need to be able to load from the other hardrive so I can eliminate rootfs on the e: partition.Here is my fstab and origional linuxrc and what I've tried so far.  I copied everything from rootfs over to hdb1 and fstab works fine, but I can't get the linuxrc to work.

fstab
CODE
# /etc/fstab: static file system information.
#
#                                                    
/dev/hdb1     /   reiserfs   defaults,errors=remount-ro       1   1
/dev/loop/0             /mnt/loop0               reiserfs        defaults,errors=remount-ro              0    0
proc                    /proc           proc            defaults                                0    0
/dev/cdrom              /mnt/cdrom      iso9660         defaults,ro,user,noauto                 0    0
/dev/hdb2             none       swap  sw     0     0
#/mnt/fatx/e/swap        none            swap            sw                                      0    0

/dev/hda51  /mnt/fatx/c  fatx     defaults,noauto=0000     0  0
/dev/hda50  /mnt/fatx/e  fatx     defaults,umask=0000    0  0
/dev/hda55  /mnt/fatx/f  fatx     defaults,umask=0000    0  0



linuxrc
CODE

#!/bin/sh -x
###
#  Gentoox initrd
#  Copyright (C) Thomas "ShALLaX" Pedley ([email protected])
#
#  This program is free software; you can redistribute it and/or modify
#  it under the terms of the GNU General Public License as published by
#  the Free Software Foundation; either version 2 of the License, or
#  (at your option) any later version.
#
#  This program is distributed in the hope that it will be useful,
#  but WITHOUT ANY WARRANTY; without even the implied warranty of
#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#  GNU General Public License for more details.
#
#  You should have received a copy of the GNU General Public License
#  along with this program; if not, write to the Free Software
#  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
###


PATH=/sbin:/bin:/usr/sbin:/usr/bin:/
export PATH

umask 022

mount -t proc none /proc
mount -t devpts none /dev/pts
echo 0x100 > /proc/sys/kernel/real-root-dev

mkdir -p /cdrom /ram /proc

insmod /lib/modules/`uname -r`/fat.o
insmod /lib/modules/`uname -r`/fatx.o

mount
mount -t fatx /dev/ide/host0/bus0/target0/lun0/part50 /cdrom
mount -o loop /cdrom/rootfs /ram

# Switch roots and run init
cd /ram
pivot_root . initrd
/etc/init.d/devfsd start
#/sbin/hdparm -d 0 /dev/hda
if [ ! -p /dev/initctl ]
then
   rm -f /dev/initctl
   mknod -m 600 /dev/initctl p
fi
kill -USR1 1

umount -n /initrd/proc >/dev/null 2>&1
#exec chroot . /sbin/init dev/console 2>&1
exec chroot . sh -c 'umount -n /initrd >/dev/null 2>&1;\
exec -a init.new /sbin/init 2'\
dev/console 2>&1


tried
CODE

mount
mount -t fatx /dev/ide/host0/bus0/target0/lun0/part50 /cdrom
mount -t reiserfs /dev/ide/host0/bus0/target1/lun0/part1 /ram


tried
CODE

mount
mount -t reiserfs /dev/ide/host0/bus0/target1/lun0/part1 /ram
#mount -t reiserfs /dev/ide/host0/bus0/target1/lun0/part1 /ram


I get kernel panic /dev/console doesn't exist or something like that.
Logged

antiflag1980

  • Archived User
  • Sr. Member
  • *
  • Posts: 257
Replace Dvd W/hardrive, Why Hardly Mentioned?
« Reply #9 on: August 05, 2004, 05:24:00 AM »

Oops, I just noticed I'm mounting /dev/loop/0 as reiserfs instead of fatx, that could be bad.
Edit: I'm retarded it's right, duh, it's a reiserfs loop on the fatx partion, I knew that.

This post has been edited by antiflag1980 on Aug 5 2004, 12:25 PM
Logged