Cannot get ubuntu work on beagleboard C4

I tried all the methods (for prebuilt demo image) mentioned at:
http://elinux.org/BeagleBoardUbuntu

I still cannot get ubuntu work. For Lucid and Maverick, I can get it
boot on the single user mode. Is there a way to get it directly boot
to multi-user mode just like a regular Ubuntu on desktop?

For NetInstall, it brought me to the installation screen and alway
complains the root file system and cannot go any further.

Any idea? Thanks a lot for the help.

Tao

I tried all the methods (for prebuilt demo image) mentioned at:
BeagleBoardUbuntu - eLinux.org

I still cannot get ubuntu work. For Lucid and Maverick, I can get it
boot on the single user mode. Is there a way to get it directly boot
to multi-user mode just like a regular Ubuntu on desktop?

Strange can you be more specific? Did you do anything different then
what was written on the wiki? bootarg's etc are VERY important.. A
full serial boot log from power on will help us troubleshoot your
issue..

For NetInstall, it brought me to the installation screen and alway
complains the root file system and cannot go any further.

What does it complain about? error message/screen shot etc?

Regards,

Thanks a lot for the response.

Really nothing special. All I did are:
wget http://rcn-ee.net/deb/rootfs/ubuntu-10.04-minimal-armel.tar.7z
7za x ubuntu-10.04-minimal-armel.tar.7z
tar xf ubuntu-10.04-minimal-armel.tar
cd ubuntu-10.04-minimal-armel
./setup_sdcard.sh --mmc /dev/sdb --uboot beagle_c4

Then, put sd card into beagleboard and hold "USER" button and click
"RESET". It will boot to single user mode every time.

I have HDMI cable connect to a monitor and have usb keyboard and mouse
connected to beagle board via powered USB hub. I don't have serial
cable right now.

Tao

Thanks a lot for the response.

Really nothing special. All I did are:
wget http://rcn-ee.net/deb/rootfs/ubuntu-10.04-minimal-armel.tar.7z
7za x ubuntu-10.04-minimal-armel.tar.7z
tar xf ubuntu-10.04-minimal-armel.tar
cd ubuntu-10.04-minimal-armel
./setup_sdcard.sh --mmc /dev/sdb --uboot beagle_c4

That's good..

Then, put sd card into beagleboard and hold "USER" button and click
"RESET". It will boot to single user mode every time.

SO it looks like this???:

[ 5.158752] sd 0:0:0:0: [sda] Assuming drive cache: write through

Ubuntu 10.04 LTS beagleboard ttyS2

beagleboard login:

??? If not post the actual error/or problem with a screen shot...

Regards,

Here is part of teraterm log (don't know how to attach a file):

[ 0.000000] Kernel command line: console=tty0
console=ttyS2,115200n8 root=/de
v/mmcblk0p2 rootwait ro vram=12M omapfb.mode=dvi:1280x720MR-16@60
fixrtc mpurate
=720

[ 26.105468] cmdlinepart partition parsing not available
[ 26.110870] Creating 5 MTD partitions on "omap2-nand":
[ 26.116058] 0x000000000000-0x000000080000 : "X-Loader"
[ 26.122467] 0x000000080000-0x000000260000 : "U-Boot"
[ 26.128906] 0x000000260000-0x000000280000 : "U-Boot Env"
[ 26.134948] 0x000000280000-0x000000680000 : "Kernel"
[ 26.142242] 0x000000680000-0x000010000000 : "File System"

Loading, please wait...
[ 27.039886] udev: starting version 151
Begin: Loading essential drivers... ...
Done.
Begin: Running /scripts/init-premount ...
Done.
Begin: Mounting root file system... ...
Begin: Running /scripts/local-top ...
Done.
[ 27.905700] mmc0: new high speed SDHC card at address 1234
[ 27.913452] mmcblk0: mmc0:1234 SA04G 3.68 GiB
[ 27.918395] mmcblk0: p1 p2
Begin: Running /scripts/local-premount ...
Done.
[ 28.161956] EXT3-fs: INFO: recovery required on readonly
filesystem.
[ 28.168670] EXT3-fs: write access will be enabled during recovery.
[ 30.656250] EXT3-fs: recovery complete.
[ 30.660369] kjournald starting. Commit interval 5 seconds
[ 30.912170] EXT3-fs: mounted filesystem with writeback data mode.
Begin: Running /scripts/local-bottom ...
Done.
Done.
Begin: Running /scripts/init-bottom ...
Done.
init: ureadahead main process (171) terminated with status 5
fsck from util-linux-ng 2.17.2
init: procps main process (192) terminated with status 255
rootfs: clean, 14547/237104 files, 172157/947835 blocks
init: ureadahead-other main process (348) terminated with status 4

Ubuntu 10.04 LTS beagleboard ttyS2

beagleboard login: ubuntu
Password:

Then, enter the single user mode. Thanks,

Tao

Here is part of teraterm log (don't know how to attach a file):

for the future pastebin.com is a good source for posting these.. :wink:

[ 0.000000] Kernel command line: console=tty0
console=ttyS2,115200n8 root=/de
v/mmcblk0p2 rootwait ro vram=12M omapfb.mode=dvi:1280x720MR-16@60
fixrtc mpurate
=720

[ 26.105468] cmdlinepart partition parsing not available
[ 26.110870] Creating 5 MTD partitions on "omap2-nand":
[ 26.116058] 0x000000000000-0x000000080000 : "X-Loader"
[ 26.122467] 0x000000080000-0x000000260000 : "U-Boot"
[ 26.128906] 0x000000260000-0x000000280000 : "U-Boot Env"
[ 26.134948] 0x000000280000-0x000000680000 : "Kernel"
[ 26.142242] 0x000000680000-0x000010000000 : "File System"

Loading, please wait...
[ 27.039886] udev: starting version 151
Begin: Loading essential drivers... ...
Done.
Begin: Running /scripts/init-premount ...
Done.
Begin: Mounting root file system... ...
Begin: Running /scripts/local-top ...
Done.
[ 27.905700] mmc0: new high speed SDHC card at address 1234
[ 27.913452] mmcblk0: mmc0:1234 SA04G 3.68 GiB
[ 27.918395] mmcblk0: p1 p2
Begin: Running /scripts/local-premount ...
Done.
[ 28.161956] EXT3-fs: INFO: recovery required on readonly
filesystem.
[ 28.168670] EXT3-fs: write access will be enabled during recovery.
[ 30.656250] EXT3-fs: recovery complete.
[ 30.660369] kjournald starting. Commit interval 5 seconds
[ 30.912170] EXT3-fs: mounted filesystem with writeback data mode.
Begin: Running /scripts/local-bottom ...
Done.
Done.
Begin: Running /scripts/init-bottom ...
Done.
init: ureadahead main process (171) terminated with status 5
fsck from util-linux-ng 2.17.2
init: procps main process (192) terminated with status 255
rootfs: clean, 14547/237104 files, 172157/947835 blocks
init: ureadahead-other main process (348) terminated with status 4

Ubuntu 10.04 LTS beagleboard ttyS2

beagleboard login: ubuntu
Password:

Then, enter the single user mode. Thanks,

Yeah so, it's called a "minimal" rootfs,
(ubuntu-10.04-minimal-armel.tar.7z) that's exactly what you get a very
minimal base os ready for you to install 'anything' with "apt-get" and
friends.

Regards,

Thanks a lot for the response! I think I am missing this part:
sudo rootstock --fqdn beagleboard --login ubuntu --password temppwd --
imagesize 2G \
--seed wget,nano,linux-firmware,wireless-tools,usbutils --dist lucid --
serial ttyS2 \
--script fixup.sh --components "main universe multiverse" \
--kernel-image http://rcn-ee.net/deb/kernel/beagle/lucid/v2.6.32.11-l13/linux-image-2.6.32.11-l13_1.0lucid_armel.deb

however, when I try to do it, I got the following error:
I: Extracting zlib1g...
chroot: cannot run command `debootstrap/debootstrap': Exec format
error
I: First stage install done
I: Downloading kernel image (deb) from external site

and the dl directory is empty.

Hello,

Thanks a lot for the response! I think I am missing this part:
sudo rootstock --fqdn beagleboard --login ubuntu --password temppwd --
imagesize 2G \
--seed wget,nano,linux-firmware,wireless-tools,usbutils --dist lucid --
serial ttyS2 \
--script fixup.sh --components "main universe multiverse" \
--kernel-image http://rcn-ee.net/deb/kernel/beagle/lucid/v2.6.32.11-l13/linux-image-2.6.32.11-l13_1.0lucid_armel.deb

Yeah, I'm sorry... I don't have unlimited hosting space so I only
keep the last 3-4 releases on rcn-ee.net..

Cable Modem Mirror:

http://rcn-ee.homeip.net:81/dl/mirrors/deb/kernel/beagle/lucid/v2.6.32.11-l13/linux-image-2.6.32.11-l13_1.0lucid_armel.deb

But you "really" should download it and keep a local backup of that
file just in case.

however, when I try to do it, I got the following error:
I: Extracting zlib1g...
chroot: cannot run command `debootstrap/debootstrap': Exec format

That's weird, there's been lots of fixes in bzr trunk.. (unless your
on karmic, then upgrade to at-least lucid)

https://code.launchpad.net/~project-rootstock-developers/project-rootstock/trunk

Regards,