fail to boot on harddrive with a Performa 6400

2001-08-20 Thread Damien Morel
Hi everybody,

Could someone help me for the following problem, please?

I am a system administrator in a University and I tried to install Debian
PPC (potato and woody) on some Performa 6400... the installation went 
relatively well with the potato boot floppies, but I have been unable to make 
it boot from the harddrive.
I would like to use quik and not BootX since I don't want to let MacOS 
available on them.

I have tried any possible configuration or trick from a lot of documentation 
sources:
http://penguinppc.org/usr/quik
http://penguinppc.org/usr/quik/quirks.shtml
http://lppcfom.sourceforge.net/
etc...

(the Open Firmware on Performa 6400 is 2.0)

Some people reported success making it boot (but maybe not with quik).

I saw that I should change load-base to 10, keep input-device and 
output-device
to ttya, I removed the modem to see if it would change something, I upgraded to
woody to have a newer version of quik...

BTW quik runs without problems:

mac-performa2:~# quik -vf
Second-stage loader is on /dev/hda6
Config file is on partition 6
Writing first-stage QUIK boot block to /dev/hda6
Making /dev/hda6 bootable (map entry 6)
Writing block table to boot block on /dev/hda6


All I can get at best when every parameter seemed ok, is a weird screen at boot 
with 
black and white horizontal lines. Sometimes it displays what seems to be some
characters, but really really scrambled. But it never boots. It stops just 
there, at the 
very beginning of the boot.

I tried to use the video parameters that seemed the most comptible:
video=ofonly or atyfb. I tried to use a kernel from a linuxppc bootable cd 
which boots
well, but once on the harddrive the result is the same as with the default 
woody 
kernel: the black and white lines (most of the time) or the scrambled 
characters.

here are some more infos about my config:

--- quik.conf --
root=/dev/hda6
append="video=ofonly"
timeout=20
image=/boot/vmlinux-2.2.19
label=Linux
read-only


- mac-fdisk 
/dev/hda
#type namelength   base( size ) 
 system
/dev/hda1 Apple_partition_map Apple   63 @ 1   ( 31.5k) 
 Partition map
/dev/hda2  Apple_Driver43 Macintosh   64 @ 64  ( 32.0k) 
 Driver 4.3
/dev/hda3Apple_Driver_ATA Macintosh   64 @ 128 ( 32.0k) 
 Unknown
/dev/hda4   Apple_Patches Patch Partition512 @ 192 (256.0k) 
 Unknown
/dev/hda5 Apple_UNIX_SVR2 swap26 @ 704 (127.0M) 
 Linux swap
/dev/hda6 Apple_UNIX_SVR2 /  3073760 @ 260704  (  1.5G) 
 Linux native

Block size=512, Number of Blocks=3334463
DeviceType=0x0, DeviceId=0x0
Drivers-
1: @ 64 for 20, type=0x1
2: @ 128 for 31, type=0x701


- of variables -
nvsetenv load-base 0x10
nvsetenv boot-device "ata/[EMAIL PROTECTED]:0"
nvsetenv boot-file "ata/[EMAIL PROTECTED]:6/boot/vmlinux-2.2.19 root=/dev/hda6"



any help would be greatly appreciated. 
Thanks in advance.

Dams.



boot-floppy-hfs.img

2001-08-28 Thread Damien Morel
Hi

could someone tell me how the image:
http://http.us.debian.org/debian/dists/woody/main/disks-powerpc/3.0.13-2001-08-25/powermac/images-1.44/boot-floppy-hfs.img
is done?

Because I can't mount it as a loop device and I would like to modify
things on it...

thx in advance.

Dams



Re: boot-floppy-hfs.img + boot

2001-08-28 Thread Damien Morel
Jens Schmalzing wrote:
> 
> Hi,
> 
> Damien Morel writes:
> 
> > could someone tell me how the image: [...]/boot-floppy-hfs.img is
> > done?
> >
> > Because I can't mount it as a loop device and I would like to modify
> > things on it...
> 
> Are you sure you have HFS enabled in your kernel?  If not, have you
> tried the hmount command?
> 
> Regards, Jens.
> 
> --
> J'qbpbe, le m'en fquz pe j'qbpbe!
> Le veux aimeb et mqubib panz je pézqbpbe je djuz tqtaj!

ok thanks a lot, it works with hfs.

and do you know how to make the floppy bootable again if I change the
kernel?
where do I specify the kernel arguments (it seems I can't compile them
directly
into the kernel as for PReP arch)?

regards,

Dams.



.config for boot-floppy-hfs.img

2001-09-11 Thread Damien Morel
Hi,

do some of you know where can I find the .config file used to 
generate the kernel on powerpc's boot-floppy-hfs.img
(http://ftp.debian.org/debian/dists/woody/main/disks-powerpc/3.0.13-2001-08-25/powermac/images-1.44/boot-floppy-hfs.img
to be exact).

Thanks in advance.

Dams.