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

Installationproblems with emdebian



Hi all,

i'm new to the list and i do my first steps with embedded debian and
embedded linux (but have experience with linux and use debian since
potato).

Actually, i try to install emdebian (armel). My host plattform is i386.

I try different ways to get a test plattform with emdebian(armel):

1) i try to build a debootstrap
2) i try to install emdebian witht the debian-installer inside of qemu

both methods don't work for me.

################################
Problem 1) debootstrap:
################################
i do the following commands:

$ build-arm-chroot lenny grip/ http://www.emdebian.org/grip/
I: Retrieving Release
I: Retrieving Packages
...
...
I: Base system installed successfully.
armel chroot successfully created in grip/
$ sudo chroot grip/
# echo "deb http://www.emdebian.org/debian/ lenny main" \
>> /etc/apt/sources.list
# apt-get update
Hit http://www.emdebian.org lenny Release.gpg
Hit http://www.emdebian.org lenny Release
W: Failed to fetch http://www.emdebian.org/debian/dists/lenny/Release
Unable to find expected entry  main/binary-armel/Packages in Meta-index
file (malformed Release file?)

E: Some index files failed to download, they have been ignored, or old
ones used instead.


So, this does not work for me. Anybody has an idea how to fix this?
Looks like a problem with the emdebian repository!?

################################
Problem 2) Debian-Installer, qemu and emdebian
################################

What i do here has a bit more steps:
1) download debian-installer for lenny
2) download debian-net-cd-image (armel) for lenny
3) create harddisk image with qemu
4) start qemu with downloaded kernel,initrd.gz, harddisk-image and
debian-cd-image
5) inside of the debian-installer, i change the mirror server to
www.emdebian.org
6) i got an error that the debian-installer can not download the
installer components (because there are no components on emdebian.org).

let's do the first steps to reproduce:

# mkdir emdebian && cd emdebian
# qemu-img create emdebian.img 256MB
# wget ftp://ftp.us.debian.org/debian/dists/lenny/main/installer-armel/
current/images/versatile/netboot/initrd.gz
# wget ftp://ftp.us.debian.org/debian/dists/lenny/main/installer-armel/
current/images/versatile/netboot/vmlinuz-2.6.26-2-versatile
# wget http://cdimage.debian.org/debian-cd/5.0.2a/armel/iso-cd/
debian-502a-armel-netinst.iso
# qemu-system-arm -M versatilepb -kernel vmlinuz-2.6.26-2-versatile \
-initrd initrd.gz -hda emdebian.img -append "root=/dev/ram"


Then i can not install emdebian because the debian-installer can not
download the installer components. 
it's possible to change the mirror-server to ftp.us.debian.org and download
from there the debian-installer components and after that, change the mirror-
server again to www.emdebian.org , but the installation won't work.


Can anybody help with the installtion problems?


Best reagards,

Tom




Reply to: