Re: basic installation on 7200/75 (still)
On Mon, May 21, 2001 at 04:10:12PM +0200, morten wrote:
> ok I think it is time to summarize
>
> I'm installaing on a powerpc 7200/75
> I'm installing debian potato using a network installation
> I install everything and just before rebooting I do...
>
> # ofpath
> /bandit/gc/53c94/sd@0:
>
I'm guessing that "/bandit/gc/53c94/sd@0:" is the response to ofpath.
The correct command is:
nvsetenv boot-device $(ofpath /dev/sda)0
Also, use the ofpath from:
http://penguinppc.org/~eb/files/ofpath.gz
As it deals better with 7200/7300 Open Firmware.
On my system the old ofpath outputs:
nvsetenv boot-device /bandit/gc/53c94./sd@0:0
And the new one:
nvsetenv boot-device /bandit/gc/53c94/sd@0:0
> I change /target/etc/quik.conf to include the line image=/boot/vmlinux-2.2.19
>
> # mount -t proc proc /taget/proc
> # chroot /target /sbin/quik -fv
Try seperate commands:
chroot /target
quik -fv
> which tells me it installs quik on /dev/sda2
>
> #ntsetenv boot-device /bandit/gc/53c94/sd@0:0
>
> after which I reboot.
> It gives me the startup-sound *twice* (which I think is important to notice)
> and then it dies (like in require 'command option p r' to be revived).
>
Yes, this is normal, and not bad. OF just detects that there has been a
change, and restarts itself to make them take affect.
Use this script that I have attached.
Make sure you have the new ofpath from Ethan's Site above...
mount /dev/sda2 /target
chroot /target
/where it is/ppc-quik-boot-cleanup
reboot
> Are we still believing that it is quik-problem?
> If it was anything else than quik, I would at least get some kind of error
> message, right? - like vmlinux-image not found.
>
No, you won't see anything from quik/OF until you get a serial terminal
setup with your mac. OF will only give output/input on the serial line.
Mike
#!/bin/sh
set -x
#in case run from chrooted bootfloppy
mount -a
#check to see if the file is setup, if no "image" line is there...
#if [ -z "$(cat /etc/quik.conf|grep -i image)" ]; then
if [ -z $(cat /etc/quik.conf|grep -i "^[$IFS]*image") ]; then
quikconfig
fi
#Don't add append line unless one is not already there
if [ -z "$(cat /etc/quik.conf|grep -i append)" ]; then
echo 'append="console=tty0 console=ttyS0,38400n8"' >> /etc/quik.conf
fi
nvsetenv boot-command "begin ['] boot catch 1000 ms cr again"
nvsetenv boot-device "$(ofpath /dev/sda)0"
#only link newest kernel
for img in $(ls -t /boot/vmlinux-*); do
#some use vmlinuz, some vmlinux
for trgt in vmlinuz vmlinux; do
ln -f $img /boot/$trgt
#compatibility with older setups
ln -f $img /$trgt
done
break
done
quik -v
Reply to: