[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Reverting my SheevaPlug to the default Ubuntu



Martin Michlmayr wrote:
[snip]
(In fact, simply copying /boot/uImage.bak to /boot/uImage might
work too but please keep a copy of /boot/uImage so we can inspect it.)

Thank you - that was the clue I needed to get started. Being new to the SheevaPlug I had no idea of how the boot process worked. I presume uImage is the kernel with a slight wrapper around it, and uInitrd is the same for the initrd?

I did the following:

# mv uImage uImage.bad
# mv uInitrd uInitrd.bad
# cp uImage.bak uImage
# cp uInitrd.bak uInitrd

then put the SD card back in the SheevaPlug and it booted fine, although of course with 2.6.29 from your image rather than the 2.6.30 it had tried to upgrade to.

Is it possible that the process of building the uImage/uInitrd files didn't work successfully because my /etc/fstab hadn't been updated to point at the SD card? I did fix it and then finish off the dpkg configuration, but could something have been missed?

If I start dumping the uImage files I get:

john@debian:/boot$ hexdump  uImage | head
0000000 0527 5619 8b6c 6c99 124a abfc 1a00 d43f
0000010 0000 0080 0000 0080 aab9 f911 0205 0002
0000020 6544 6962 6e61 6b20 7265 656e 006c 0000
0000030 0000 0000 0000 0000 0000 0000 0000 0000
0000040 1c08 e3a0 1031 e381 0000 e1a0 0000 e1a0
0000050 0000 e1a0 0000 e1a0 0000 e1a0 0000 e1a0
0000060 0000 e1a0 0000 e1a0 0002 ea00 2818 016f
0000070 0000 0000 3fcc 001a 7001 e1a0 8002 e1a0
0000080 2000 e10f 0003 e312 0001 1a00 0017 e3a0
0000090 3456 ef12 2000 e10f 20c0 e382 f002 e121
john@debian:/boot$ hexdump  uImage.bad | head
0000000 0527 5619 154d 094d ab4a 25af 1b00 c4a3
0000010 0000 0080 0000 0080 2c17 1d6b 0205 0002
0000020 6544 6962 6e61 6b20 7265 656e 006c 0000
0000030 0000 0000 0000 0000 0000 0000 0000 0000
0000040 1c08 e3a0 1031 e381 0000 e1a0 0000 e1a0
0000050 0000 e1a0 0000 e1a0 0000 e1a0 0000 e1a0
0000060 0000 e1a0 0000 e1a0 0002 ea00 2818 016f
0000070 0000 0000 a3bc 001b 7001 e1a0 8002 e1a0
0000080 2000 e10f 0003 e312 0001 1a00 0017 e3a0
0000090 3456 ef12 2000 e10f 20c0 e382 f002 e121
john@debian:/boot$

Clearly the beginning is not quite the same, but I don't know where the magic number resides.

> But if someone finds out, I'm happy to add instructions
to my web site.

A note about editing /etc/fstab for SD card users would probably help.

Thanks for your assistance (again).

John


Reply to: