Re: Using debootstrap to install from Debian-Ports [was Re: qLogic and wheezy]
- To: Michael Cree <mcree@orcon.net.nz>
- Cc: Lennart Sorensen <lsorense@csclub.uwaterloo.ca>, Debian Alpha Mailing List <debian-alpha@lists.debian.org>
- Subject: Re: Using debootstrap to install from Debian-Ports [was Re: qLogic and wheezy]
- From: Bill MacAllister <whm@stanford.edu>
- Date: Sun, 08 Jul 2012 15:36:22 -0700
- Message-id: <65E22A425706D09A18EDF6BD@[10.0.0.32]>
- In-reply-to: <4FDDA1DE.7040302@orcon.net.nz>
- References: <EB7586134FA4C871AC0DF551@[10.0.0.32]> <20120614192818.GX32727@csclub.uwaterloo.ca> <EF4C07176FE4A17FE991CD46@trainmaster.Stanford.EDU> <0188837B-5621-46E2-9D8A-082BAF1A65DE@orcon.net.nz> <4FDDA1DE.7040302@orcon.net.nz>
--On Sunday, June 17, 2012 09:22:38 PM +1200 Michael Cree <mcree@orcon.net.nz> wrote:
On 15/06/12 09:35, Michael Cree wrote:
And, yes, there is an alternative:
Use debootstrap from a working computer to install straight to unstable.
I meant to write up instructions on how to do that at the alphalinux
wiki.
Done, instructions are at the AlphaLinux wiki:
http://www.alphalinux.org/wiki/index.php/DebianInstall
Cheers
Michael.
Michael,
Thanks for this write up. I have been working through these
instructions and hit a couple bumps ending in a road block. I am
using a PWS running lenny with a 2.6.18-5-alpha-generic kernel. Bumps
first.
* The debootstrap on lenny does not support the --private-key switch.
The command I used was:
# debootstrap sid /mnt http://ftp.debian-ports.org/debian
* The boot strap failed at the point it tried to enter the chroot with:
* The proc mount command should use '-t proc'. The command I used
was:
# mount proc /mnt/proc/ -t proc
* The directory /dev/pts was not created in the new root. I created it
with the command below and mounted it using the documented mount
command.
# mkdir /mnt/dev/pts
* When I tried to enter the chroot I got the error:
# LANG=C chroot /mnt /bin/bash
... lots of validating ...
... lots of extracting ...
I: Extracting zlib1g...
W: Failure trying to run: chroot /mnt mount -t proc proc /proc
* Then when I attempted to enter the chroot I hit the road block.
# LANG=C chroot /mnt /bin/bash
FATAL: kernel too old
* Then I tried it upgrade the lenny kernel with the kernel from
http://www2.phys.waikato.ac.nz/~cree/. When I try and boot that
kernel I get the error:
halt code = 2
kernel stack not valid halt
PC = 200000000
I did some poking around and saw this problem mentioned a while ago, but
I don't see anything recent.
What should I try next?
Bill
--
Bill MacAllister
Infrastructure Delivery Group, Stanford University
Reply to: