OESF Portables Forum

Everything Else => Zaurus Distro Support and Discussion => Distros, Development, and Model Specific Forums => Archived Forums => Debian => Topic started by: Fatty on January 08, 2008, 10:20:36 am

Title: Tell Uboot To Mount Rootfs From Other Partition
Post by: Fatty on January 08, 2008, 10:20:36 am
So my question is: Is it possible to configure uboot to mount / from other partition, say, /dev/hda3 of the internal drive?

Here is what I'm thinking: I have an 8G CF inside my C3100 and partitioned as hda1 (ext3), hda2 (swap), hda3 (ext3). I installed pdaxiiv13 at hda1 which works fine, and untar the EABI rootfs from ZDevil to hda3. If I could tell uboot to mount / at /dev/hda3, then the pdaxiiv13 would be intact, and I could simply do a NAND restore to restore it while doing a uboot/kernel install to restore Debian.

Any hint?
Title: Tell Uboot To Mount Rootfs From Other Partition
Post by: Chero on January 09, 2008, 07:37:28 am
Quote from: Fatty
So my question is: Is it possible to configure uboot to mount / from other partition, say, /dev/hda3 of the internal drive?

Here is what I'm thinking: I have an 8G CF inside my C3100 and partitioned as hda1 (ext3), hda2 (swap), hda3 (ext3). I installed pdaxiiv13 at hda1 which works fine, and untar the EABI rootfs from ZDevil to hda3. If I could tell uboot to mount / at /dev/hda3, then the pdaxiiv13 would be intact, and I could simply do a NAND restore to restore it while doing a uboot/kernel install to restore Debian.

Any hint?

It is possible if you recompile uboot.
Basic options are /dev/mmcblk0p1, /dev/hda1, /dev/hdc1 and one I can't remember ATM. They can be activated by pressing and holding "1", "2", "3" or "4" at boot time. The same way you press "OK" for reflashing a kernel or system.
I I recall correctly, there is a howto for changing uboot on Louigi600's site.

Chero.
Title: Tell Uboot To Mount Rootfs From Other Partition
Post by: Fatty on January 09, 2008, 10:45:12 am
Tks