LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 09-28-2013, 10:25 AM   #1
Xeratul
Senior Member
 
Registered: Jun 2006
Location: UNIX
Distribution: FreeBSD
Posts: 2,657

Rep: Reputation: 255Reputation: 255Reputation: 255
Installing debian and error with debootstrap


Hello

I am running debootstrap on a debian machine, and it is giving me an unexpeted error. I could not solve it.

Code:
I: Extracting sysv-rc...
I: Extracting sysvinit-utils...
I: Extracting sysvinit...
I: Extracting tar...
I: Extracting tzdata...
I: Extracting bsdutils...
I: Extracting libblkid1...
I: Extracting libuuid1...
I: Extracting mount...
I: Extracting util-linux...
I: Extracting liblzma2...
I: Extracting xz-utils...
I: Extracting zlib1g...
W: Failure trying to run: chroot /root/debian mount -t proc proc /proc
root@debian:~# cd /root/debian
root@debian:~/debian# ls
bin   debootstrap  etc   lib  proc  sbin     sys  usr
boot  dev          home  mnt  root  selinux  tmp  var
root@debian:~/debian# chroot /root/debian mount -t proc proc /proc
chroot: failed to run command `mount': Exec format error
root@debian:~/debian# chroot /root/debian
chroot: failed to run command `/bin/bash': Exec format error
root@debian:~/debian#
Code:
$ mount
/dev/sda1 on / type ext4 (rw,errors=remount-ro)
tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
udev on /dev type tmpfs (rw,mode=0755)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
...

wishing to install debian

would you know what could be attempted?

thank you



Quote:
How can I chroot into a filesystem with a different architechture?
up vote
6
down vote
favorite
2
I'm trying to chroot into a Arch Linux ARM filesystem from x86_64.

I've seen that it's possible to do using static qemu by copying the binary into the chroot system:

cp /usr/bin/qemu-arm archarm-chroot/usr/bin
But depite this I always get the following error:

chroot: failed to run command ‘/bin/bash’: Exec format error
I know this means that the architechtures differ. Am I doing something wrong?

arch-linux chroot arm

Last edited by Xeratul; 09-28-2013 at 10:43 AM.
 
Old 09-29-2013, 08:06 PM   #2
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Do you try to install Debian ARM or do you by any chance try to instal x86_64 from a 32 bit system?
 
Old 09-30-2013, 12:45 AM   #3
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Have you tried this 1
http://www.linuxquestions.org/questi...ap-4175465295/
 
Old 09-30-2013, 02:19 AM   #4
Xeratul
Senior Member
 
Registered: Jun 2006
Location: UNIX
Distribution: FreeBSD
Posts: 2,657

Original Poster
Rep: Reputation: 255Reputation: 255Reputation: 255
Hi I tried on i686 so I read that was the problem. Using "foreign" did not help.
So I mounted a live on the armel and could debootstrap without problem.

qemu maybe but couldnt boot it.

I ll lokok the link thanks !
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
chroot debian 32 bits on amd64 debootstrap error. mariogarcia Debian 2 02-23-2011 02:20 AM
Installing stock Debian with debootstrap - Software Raid0 failure Elite_Gamer04 Debian 0 03-10-2010 05:34 AM
Debian PPC Install errors (debootstrap, error 1) kdepa Debian 3 03-29-2007 06:27 AM
LXer: Installing Debian GNU/Linux using debootstrap LXer Syndicated Linux News 0 08-21-2006 10:21 AM
There have a error with debootstrap install debian cbz789 Debian 2 04-22-2005 06:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 09:08 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration