beagle xm Rev C - rootfs on usb

Hi,
I have a Beagleboard xM Rev C booting from a 2GB microSD.
How can I make it load the rootfilesystem from a usb drive(for eg. from. /dev/sda1).

Is that supposed to work, if I add below lines inside uEnv.txt which is in the boot partition of microSD…??
root=/dev/sda1 rw
rootfstype=ext3 rootwait

Thanks
-Arun

I think it's /dev/sda2 ... at least it is on mine :slight_smile:

Thanks for responding Mark.
I did it this way,
The microSd with the boot partition is still there on the beagle board.
I have made no modifications to the u-boot, kernel or root file system.
I am using the files provided in BeagleBoard-xM xMTEST_Beta_4_25 at Circuitco Support Wiki.

its just that I have a USB drive with two partitions sda1 and sda2. of which sda1 has the
root file system(same as the microSD partition2) and sda2 is ext3 formatted free space.

so when the device starts up the kernel is loaded from the microSD partition1 and
with the new lines added in the uENV.txt in the boot partition of microSD, I was expecting the rootfilesystem to be loaded form usb, ie. from /dev/sda1.

somehow it is not happening as I expected. Is there something totally wrong in what I did…

Thanks
-Arun

This is just a guess, since I cannot see your uboot environment, but I
think the default for the new uboot is to load ---> /boot/uImage from
the second partition of the SD/MMC

My setup works by loading uImage from the first partiton of the SD
card. It then loads the ext filesystem and kernel on USB.

My setup works by loading uImage from the first partiton of the SD
card. It then loads the ext filesystem and kernel on USB.

Kernel from USB? You already loaded uImage from SD card!

Thank you,
Johnson

here is the u-boot environment.
now it seems to be working with these following lines added in uEnv.txt.
mmcroot=/dev/sda1 rw
mmcrootfstype=ext3 rootwait