Author Topic: Tell Uboot To Mount Rootfs From Other Partition  (Read 3093 times)

Fatty

  • Jr. Member
  • **
  • Posts: 94
    • View Profile
    • http://
Tell Uboot To Mount Rootfs From Other Partition
« 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?
« Last Edit: January 08, 2008, 10:30:24 am by Fatty »
C1000 - Empty, waiting for Sharp ROM.
C3100 - dualbooting Andromeda Debian from 2or0 and Zubuntu 2.0 from Cortez
iPhone 3G.
Kohjinsha - Win 7

Chero

  • Hero Member
  • *****
  • Posts: 1140
    • View Profile
    • http://users.telenet.be/zaurususer/Chero
Tell Uboot To Mount Rootfs From Other Partition
« Reply #1 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.
HP-95LX -> HP Jornada 680 -> SL-C860 -> SL-C3100 -> Fuji u810 -> SL-C1000 -> HTC uni -> SL-C860 -> SL-C760.
March 12 2009 : Back because the Zaurus is one of a kind.
SL-C760 : pdaXrom
Pandora pre-ordered -> received and tested : great device but not my cup of tea -> sold.

Fatty

  • Jr. Member
  • **
  • Posts: 94
    • View Profile
    • http://
Tell Uboot To Mount Rootfs From Other Partition
« Reply #2 on: January 09, 2008, 10:45:12 am »
Tks
C1000 - Empty, waiting for Sharp ROM.
C3100 - dualbooting Andromeda Debian from 2or0 and Zubuntu 2.0 from Cortez
iPhone 3G.
Kohjinsha - Win 7