Re: "Setting Up General Console Font" DebianPPC error lockup
- To: Thomas Otto <email@example.com>
- Cc: firstname.lastname@example.org
- Subject: Re: "Setting Up General Console Font" DebianPPC error lockup
- From: Ken Moffat <email@example.com>
- Date: Sat, 6 Sep 2003 19:30:07 +0100 (BST)
- Message-id: <Pine.LNX.4.56.0309061914490.24096@ppg_penguin>
- In-reply-to: <bjcv1s$hjge0$1@ID-155110.news.uni-berlin.de>
- References: <3F592138.firstname.lastname@example.org> <Pine.LNX.4.56.0309061204180.22954@ppg_penguin> <bjci2b$hh4pc$1@ID-155110.news.uni-berlin.de> <Pine.LNX.4.56.0309061456170.23396@ppg_penguin> <bjcv1s$hjge0$1@ID-155110.news.uni-berlin.de>
On Sat, 6 Sep 2003, Thomas Otto wrote:
> >>> Or, wait to see if somebody else here has an easier way.
> >>I would say you just boot your current system with the parameter
> >>'init=/bin/bash', then do an fsck of the root fs, remount the root
> >>parition read-write and try to fix it.
> > Now that sounds a _lot_ easier : you'll need to repeat *all* of the
> > bootargs when you run `setenv', then do not run savenv, go straight to
> > `bootd'.
> > Thanks for the clarification, Thomas.
> Erm - did I miss the <irony/sarcasm> tag here ;-) ?
No sarcasm intended, the instruction was for the OP (could have made
that clearer). We're talking AmigaOne here, otherwise I wouldn't have
jumped in at all. The boot is controlled by u-boot. Among other
things, there is an environment variable to tell it where the kernel
will be found (typically 0:1 for partition 1 of disk 0) and another
storing the bootargs (root device for linux - typically hda2, video
parameters, and a few other settings). The important thing is to key
all of these _plus_ init=/bin/bash, but to NOT save them in the NVRAM.
> Are you using and oldworld mac who uses a more complicated
> mechanism like bootx? With my newworld G3 I just choose 'l' for linux at
> the primary yaboot bootprompt and then enter
> "Linux init=/bin/bash" at the secondary promt (which is a bit tricky to
> to a non-US keyboard layout).
> Then I get a bash promt without touching any initscript. To boot, i just
> to 'exec /sbin/init'....
We haven't got a boot selector yet. The environment can point to
exactly one partition for booting, and if I've read it right it will
load the first file on that - it has to be a PReP partition, and since
it doesn't have a filesystem I guess there's only ever one file.
Alternatively, you override it to boot from a different PReP disk
partition, or a CD. It's fun, it just takes a bit of getting used to.
Peace, love, linux