Re: unsuccessful installation on oldworld powermac apple 6400/180

2004-10-26 Thread Rick Thomas
On Tuesday, October 26, 2004, at 03:18 AM, Hans Ekbrand wrote:
After finishing the installation and rebooting, nothing happaned. The
monitor warned "Check the signal cable".
Since the boot floppy worked alright, I would like to use it to 
boot the final system, instead of booting from hard disk. Is that 
supported? If not, any hints on how to do it?
As I've said before, if you can afford the disk space (big IDE 
disks are cheap) the boot loader that I suggest as being most 
robust and flexible is MacOS with BootX.

That said, if you really want to boot from floppy, you can use the 
install "boot" floppy, but you will need to construct your own 
"root" floppy that is aware of the location of your real root 
filesystem on the hard disk.  It should load whatever modules are 
required for your hardware then perform a pivot_root operation to 
the real root.

If you use the install "boot" floppy you will have to live with the 
kernel that's on that floppy, the "2.4.27-powerpc-small", which has 
*everything* possible as modules, to keep down size so it will fit 
on a 1.4 MB floppy.  If you get it to work, I'd suggest you try 
building your own customized kernel as your first project.  Maybe 
you can get a kernel with an optimized set of drivers built-in that 
will still fit on a floppy.  It's worth a try!

Have fun!
Rick
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


Re: unsuccessful installation on oldworld powermac apple 6400/180

2004-10-27 Thread Wouter Hanegraaff
Hi,

On Tue, Oct 26, 2004 at 10:33:45AM -0400, Rick Thomas wrote:
> 
> As I've said before, if you can afford the disk space (big IDE 
> disks are cheap) the boot loader that I suggest as being most 
> robust and flexible is MacOS with BootX.

Ok, could you send me the MacOS installation CD? I don't have one and
mac os is no longer installed.

> That said, if you really want to boot from floppy, you can use the 
> install "boot" floppy, but you will need to construct your own 
> "root" floppy that is aware of the location of your real root 
> filesystem on the hard disk.  It should load whatever modules are 
> required for your hardware then perform a pivot_root operation to 
> the real root.

How do you change boot parameters on the oldworld mac boot floppies?
There is no boot promt where I can type them in manually.
It's really annoying to have successfully installed debian and not being
able to use it because the system is not bootable...

Wouter


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: unsuccessful installation on oldworld powermac apple 6400/180

2004-10-27 Thread Wouter Hanegraaff
On Wed, Oct 27, 2004 at 01:44:06PM +0200, Wouter Hanegraaff wrote:
> Hi,
> 
> On Tue, Oct 26, 2004 at 10:33:45AM -0400, Rick Thomas wrote:
> > 
> > As I've said before, if you can afford the disk space (big IDE 
> > disks are cheap) the boot loader that I suggest as being most 
> > robust and flexible is MacOS with BootX.
> 
> Ok, could you send me the MacOS installation CD? I don't have one and
> mac os is no longer installed.

Hmm I should have said this in a more friendly way. 

Would the following procedure work: 
- boot using the boot floppies
- load the necessairy modules using disk images / net
- mount /target
- chroot /target and run quik
- reboot

After the install, the system booted normally once. After that I zapped
the pram to get rid of the long lasting black screen, hoping I would be
able to enter some boot parameters (didn't work of course, but it made
the system unbootable).

Wouter


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: unsuccessful installation on oldworld powermac apple 6400/180

2004-10-27 Thread Rick Thomas
On Wednesday, October 27, 2004, at 07:44 AM, Wouter Hanegraaff wrote:
Hi,
On Tue, Oct 26, 2004 at 10:33:45AM -0400, Rick Thomas wrote:
As I've said before, if you can afford the disk space (big IDE
disks are cheap) the boot loader that I suggest as being most
robust and flexible is MacOS with BootX.
Ok, could you send me the MacOS installation CD? I don't have one and
mac os is no longer installed.
No, but I'm told you can purchase a MacOS 8.5 CD on e-bay for $5 or so.
I've never tried it myself.


That said, if you really want to boot from floppy, you can use the
install "boot" floppy, but you will need to construct your own
"root" floppy that is aware of the location of your real root
filesystem on the hard disk.  It should load whatever modules are
required for your hardware then perform a pivot_root operation to
the real root.
How do you change boot parameters on the oldworld mac boot floppies?
There is no boot promt where I can type them in manually.
It's really annoying to have successfully installed debian and not 
being
able to use it because the system is not bootable...
You can't change the parameters on the floppy without a working 
Linux.  If we ever get-round to the clean-room rewrite of miboot 
with a free toolchain, that's a feature I'd like to see.

Hope this helps!
Rick
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


Re: unsuccessful installation on oldworld powermac apple 6400/180

2004-10-27 Thread Rick Thomas
On Wednesday, October 27, 2004, at 11:04 AM, Wouter Hanegraaff wrote:
On Wed, Oct 27, 2004 at 01:44:06PM +0200, Wouter Hanegraaff wrote:
Hi,
On Tue, Oct 26, 2004 at 10:33:45AM -0400, Rick Thomas wrote:
As I've said before, if you can afford the disk space (big IDE
disks are cheap) the boot loader that I suggest as being most
robust and flexible is MacOS with BootX.
Ok, could you send me the MacOS installation CD? I don't have one and
mac os is no longer installed.
Hmm I should have said this in a more friendly way.
Would the following procedure work:
- boot using the boot floppies
- load the necessairy modules using disk images / net
- mount /target
- chroot /target and run quik
- reboot
It might work.  It's certainly worth a try.  Please report back to 
the list with your results!


After the install, the system booted normally once. After that I zapped
the pram to get rid of the long lasting black screen, hoping I would be
able to enter some boot parameters (didn't work of course, but it made
the system unbootable).
Yeah.  quik diddles the Open Firmware parameters.  Zapping the PRAM 
resets the diddles to default.

HTH!
Rick
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


Re: unsuccessful installation on oldworld powermac apple 6400/180

2004-10-27 Thread Christian Leimer
Wouter Hanegraaff wrote:


> Hmm I should have said this in a more friendly way.
> 
> Would the following procedure work:
> - boot using the boot floppies
> - load the necessairy modules using disk images / net
> - mount /target
> - chroot /target and run quik
> - reboot
> 

Dont forget to look if the quik.conf in /etc is correct.
Also use nvsetenv to look if anything is how it should. If not change it.
Often usefull set auto-boot to false.
Then it should work. I once installed this way with a woody boot floppy and
it worked. Hope this helps.

Bye chris.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Workarond [was Re: unsuccessful installation on oldworld powermac apple 6400/180]

2004-10-28 Thread Hans Ekbrand
Hi again!

I found a partial solution to the problem.

For the boot-floppy of woody, which has kernel-2.2.20, there exists a
perl-script that lets you do what I wanted: set the boot parameters
including the name of the root partition.

If kernel-2.2.20 is OK for you, this is the way to go (at least to get
a working system).

The perlscript patch-floppy-img.pl is linked to from
http://www.debian.org/releases/stable/powerpc/ch-init-config.en.html#s8.1.
The link is dead, but the script is included in
http://lists.debian.org/debian-powerpc/2004/03/msg00815.html. Get
that script.

On another computer:
Get the boot-floppies for woody: (.se used in this example since I am
in Sweden)
http://ftp.se.debian.org/debian/dists/stable/main/disks-powerpc/current/powermac/images-1.44/

Write them to real disks. 

On unbootable pmac:
Boot with boot-floppy-hfs.img
Use root.bin as usual

The woody installer will run. Mount your root partition (I had to do
that manually. If your root partition is ext3 mount it as ext2 and
don't forget to edit /target/etc/fstab and set the fs-type to ext2
since kernel-image-2.2.20 does not have ext3 compiled in)

Choose "Install kernel and drivers" from the woody installer. It will
ask for rescue.bin and the drivers disks.

On another computer:
Put a good formatted disk in fd0 and run

perl patch-floppy-img.pl 'root=/dev/hdaX' boot-floppy-hfs.img > /dev/fd0

Where X is the root partition on unbootable pmac.

On unbootable pmac:
Insert the disk written to in the last step above. Choose reboot
system.

This procedure gave me a working, bootable sarge (with kernel-2.2.20).

Limitations:
1) you can't (easily) upgrade the kernel.
2) (follows from 1) you can't use ext3 on /

Good luck!

Something like this would be great to have for more recent kernels. As
far as I understand, you "only" need ide-disk compiled in the kernel
to get it working (on ide-systems). I have no clue if the diskspace on the
boot-floppy is enough for that on 2.4 or 2.6 series.

-- 

Hans Ekbrand (http://sociologi.cjb.net) <[EMAIL PROTECTED]>

Never trust a message that appears to come from me but is not signed
with GPG! It is most likely SPAM or a VIRUS sent by someone who has my
adress and got infected.

My public key, ID 7050614E, is available from the HKP key servers and
here: http://sociologi.cjb.net/~hans/key.txt


signature.asc
Description: Digital signature