installation on g4

2001-08-11 Thread Martin Breidung



hi all!
 
i use debian-linux on pc for a long time, but i'm 
new with ppc...
 
i've tried to install debian ppc 2.2r3 on a g4-400 
pci. atapi-cdrom and ide-hdd are generic, the hdd's tested are 3,2gb fujitsu and 
6,4gb ibm, both from pc.
the hdd's are initialized with mac-fdisk for 
apple-use in full length...
 
rescue-image is booting correctly from cd, starting 
installation and all works well but partitioning. on 6,4gb ibm i've made 
partitions with mac-fdisk:
hda1: Apple_Partitiontable length 63 
blocks
hda2: Apple_Bootstrap    length 1600 
blocks
hda3: swap    length 524288 blocks 
(256MB)
hda4: native ext2 length 3GB
hda5: Apple_HFS rest of blocks
 
after returning to installation-program there are 
no swap or ext2 partition found to initialize nor after rebooting. under cfdisk 
there are no partitions found, partition-map is empty, but in mac-fdisk all 
created partitions are listed... but no initialisation under 
install...
after creating partitions with cfdisk too 
(Apple_Bootstrap partition created as PPC prep Boot #41), initialisation of swap 
and root works, but there is no chance to boot from ofboot after the command 
mkofboot... the partitions are not the same as under mac-fdisk, as the 63-blocks 
partition-map is not shown under cfdisk. the partitionnumbers aren't the same as 
under mac-fdisk, only hda1-hda4.
 
with 3,2gb fujitsu it is the same, but after 
deleting the cfdisk-table and renwing with mac-fdisk, cfdisk report bad signatur 
on partition 1, but booting works and the ofboot-device is really hda2 because 
of the map on hda1.
during bootup the kernel reports errors in 
libraries, the errors are not replicable, on every bootup another lib... so i 
think theres something wrong with filesystems on hdd.
 
booting the 6,4gb ibm by rescue-image and option 
root=/dev/hda3 shows the same errors on bootup as with the bootable 
fujitsu...
 
so what's wrong, any ideas???
 
thanks,
 
titus


Re: installation on g4

2001-08-11 Thread Martin Breidung

>On Sat, Aug 11, 2001 at 02:44:18PM +0200, Martin Breidung wrote:

>> hda1: Apple_Partitiontable length 63 blocks
>> hda2: Apple_Bootstraplength 1600 blocks
>> hda3: swaplength 524288 blocks (256MB)

>this must be type Apple_UNIX_SVR2  with name `swap'

>> hda4: native ext2 length 3GB

sorry, they ARE Apple_UNIX_SVR2 partitions, i didn't remember the correct
name, so i wrote swap and native.. but they aren't recognized by install...

>if you use the `c' not `C' command for creating the linux ext2/swap
>partitions you wont have any problems with types being wrong.

i did so except BootStrap partition... there i didn't know the according
unix-term like swap or root...

>> hda5: Apple_HFS rest of blocks
>no point of this since MacOS will not be able to see it (no 3 dozen
>driver cruft partitions)

hmm..  so i need to install macos on a seperate hdd? - in example
yaboot.conf the macos partition is on device hda12..?!?

>> after returning to installation-program there are no swap or ext2
partition found to initialize nor after rebooting. under cfdisk there are no
partitions found, >>partition-map is empty, but in mac-fdisk all created
partitions are listed... but no initialisation under install...

>macs must use apple partition tables which cfdisk does not understand,
>you must use mac-fdisk.

i've tried on 6,4gb ibm, but the partitions aren't recognized by install...
so i take cfdisk... but if i understand you right there are no reasons that
this didn't work with any ide disks, so i wipe out cfdisk partition and try
anew...

thanks,

titus




New: installing on g4

2001-08-11 Thread Martin Breidung
hi all,

partitioning of hdd works now, thanks to Ethan Benson...

hda1Apple_Partition_Map
hda2Apple_Bootstrap
hda3Apple_UNIX_SVR2swap
hda4Apple_UNIX_SVR2root

on first bootup (cd-rescueimage root=/dev/hda4) after installing basesystem
2.2r3 strange things happens like the older trials:
...
Freeing unused kernel memory: 168k init 28k swap
init: error in loading shared libraries: /lib/libc.so.6 undefined
symbol: 
...system hangs...

second bootup: (cd-rescueimage root=/dev/hda4 - a little more working)
...
Starting internet superserver: inetd
debconf: package "base-config" is not fully installed

Init: Id "1" respawning too fast: disabled for 5 minutes
...nothing more on this console
on console 2 rootlogin is possible...
 command: mkofboot --boot /dev/hda2 -m /usr/lib/yaboot/ofboot --root
/dev/hda4 --partition 4
 editing /etc/yaboot.conf
 command: ybin

third bootup (starting from ofboot): same as first
fourth bootup (ofboot): same as first
sixth bootup (rescueimage root=/dev/hda4): same as first... and so on...

i wonder if something is wrong with installation cd, but copying and
extracting the base system and so on works well on installation...

-maybe there is something with hardware - i have no other operating system
for g4 yet...
-maybe kernel 2.2r3 makes problems with g4-400 pci...
-maybe i'm wrong...

any hints???

titus






Re: New: installation on g4

2001-08-12 Thread Martin Breidung

>Ethan Benson
>http://www.alaska.net/~erbenson/

>woody boot-floppies take care of all these steps for you  with its
>make system bootable step, they are only required on potato, another
>reason not to use potato bootfloppies, unless you really want to run
>potato (i only know of 2 or 3 people that do).

yes i think i have to get a set of woody cd-images, but i can't poll them
with my poorly 64kbit ISDN.. so i look for a distibutor.. most of them have
only potato-images...

booting a floppy isn't possible because g4-400pci neither have a floppy
build-in nor a controller onboard and i don't have any external fdd's for
it...

i think a possibility would be to install a nfs-server on one of my
linux-pc's, download base-system and other needed from potato and woody and
install it after booting potato-cd via nfs to compare the image i got from
cd and the results under woody-basesystem...

the errors in libc.so.6 after booting the installed basesystem doesn't seem
to be a known problem, so either my cd-set is broken or there's something
wrong with my hardware. i'm using linux for nearly 3 years on pc, but i
don't know this problem there..

titus



Re: Installation problem on New World G4

2001-08-20 Thread Martin Breidung

- Original Message -
From: Colin Walters <[EMAIL PROTECTED]>
To: 
Sent: Monday, August 20, 2001 5:26 AM
Subject: Re: Installation problem on New World G4


> Doug <[EMAIL PROTECTED]> writes:
>
> > I am working on installing Debian GNU/Linux 2.2 r3 "Potato" -
> > Official powerpc Binary-1 CD on a new world G4.  As far as I can
> > tell, I have the base system installed correctly and used mkofboot
> > to configure the booting properly.  I am unable to get the system to
> > do an initial boot so I can finish the package installation.
> >
> > It begins booting, and gets as far as finding the USB keyboard and
> > mouse and then it just hangs.  If I unplug the keyboard and mouse,
> > then it gets as far as: Freeing unused kernel memory: 168k init 28k
> > prep
>
> Weird.  This seems like a kernel problem.  Is it repeatable?  If so,
> the only thing I can suggest is to try the woody boot-floppies, which
> might have a newer kernel...

hmmm... remembers me on my problems installing the same version on my
g4/400-pci...

i came only to the same point on booting in uncountable trials, but after
freeing the kernel memory errors as unresolved symbols in libc.so.6 were
reported and system hangs...
it looks like problems with filesystem corruption or caching or ram
problems, but last aren't possible on my opinion because os9.1 works fine in
this configuration...
at this time i didn't found any solutions for this problem, booting woody
floppies isn't possible because of the missing controller in g4... i'll try
to get a ls120 drive and hope it will boot... or try to get a zip100 ready
to boot woody... with 64kbit isdn it isn't usefull to download cd-images

so i'm searching for someone in germany to send me a cd-set of woody

titus




Re: mac-fdisk trouble on G4 double disk

2001-08-20 Thread Martin Breidung

- Original Message - 
From: Andrew Sharp <[EMAIL PROTECTED]>
To: Georg Koss <[EMAIL PROTECTED]>
Cc: 
Sent: Monday, August 20, 2001 10:43 PM
Subject: Re: mac-fdisk trouble on G4 double disk


> Georg Koss wrote:

> > 
> > mac-fdisk wasn't able to recognize my hda-size correct (gave round
> > 511GB fo a 10G Drive).
> > 
> > When I run the install menu on official-binary-1, I will be asked to
> > initialize /dev/hda1 as swap, dev/hda2 as root and dev/hda3 as what
> > ever.
> > 
> > A mac-fdisk from the shell gives me the same output as I wrote for the
> > initial mac-fdisk output.
> 
> I thought that there was a way to tell mac-fdisk the correct size of
> the disk, overriding the detected size (the size detection bug is
> fixed in later versions of mac-fdisk I'm told, but that doesn't help
> if you're trying to boot off of those CDs).  I know you can at the
> point where you intitialize a new partition map, it tells you what
> it thinks is the size of the disk, and you can hit return to accept
> that or type in what you think is the size.  Just look at the boot
> messages to see the correct size to type in.

i determined the correct number of blocks on installation in this way:

cylinders x heads x sectors - 1

and get so the same number of blocks as macos9.1 initialized...
i hope it was correct as i got problems on installation...

titus