>> Booting from HD works like this:
>> If there is no bootable media in the Xbox DVD drive, it starts the 
>> file
>> xboxdash.xbe from the fourth partition on the hard disk, which is a 
>> FATX
>> filesystem. We could make Mandrake mount this partition as /boot, as 
>> it
>> contains the kernel and the initrd; and it will also contain 
>> xboxdash.xbe,
>> which is our bootloader.
>
> that means /boot will not allow symlinks?

Not at the moment, just as FAT, but we're working on a compatible 
extension of FATX to allow symlinks and everything, just like UMSDOS.

> some code in the installer used to allow this (for the time when we
> configured loadlin only), but i don't know if it still works nicely.
>
> what is the format of the config file? lilo-like?

Its format is compatible with GRUB & SYSLINUX. It looks about like this:
kernel boot\vmlinuz
initrd boot\initrd
append root=/dev/hda2
it can also look like this:
kernel boot\vmlinuz initrd=boot\initrd root=/dev/hda2
Note that the bootloader runs in the Xbox kernel environment, which is 
basically an NT environment, so the partition names differ, filenames 
are case insensitive etc.

> hint for the code, file bootloader.pm:
>
> - function "suggest": decides which bootloaders are allowed (search 
> yaboot)
> - functions install_*: install the bootloader (beware install_silo is
> not a good example and may be outdated)

Thanks, I'll have a look at it.

> hint for the code:
>
> - partition_table::read_one tries to recognize the partition table type
> - it uses partition_table::*::read which detects the partition table
> - the various partition_table/*.pm inheritates from 
> partition_table/raw.pm

Thanks.

>> 3) XFree Configuration
>> The XFree configuration program has to write its own XF86Config-4, if 
>> we're on
>> an Xbox. Well, perhaps the standard routines will work out of the box.
>
> it should :)

Oh, I forgot: On the Xbox, there has to be an additional section in 
XF86Config-4 that makes XFree turn off the PCI scan, because this would 
lock up the machine because of its PCI bug.
And only framebuffer works so far.

   Michael


Reply via email to