openSUSE Forums > Archives > SF Archives > ARCHIVES - OpenSUSE Beta > ARCHIVES - OpenSUSE Beta PPC » finally we got "a" 10 kernel to boot....but !

Go Back   openSUSE Forums > Archives > SF Archives > ARCHIVES - OpenSUSE Beta > ARCHIVES - OpenSUSE Beta PPC
Forums FAQ Members List Search Today's Posts Mark Forums Read


ARCHIVES - OpenSUSE Beta PPC Questions specific to PowerPC systems running OpenSUSE Beta
(Questions that apply to both PPC and non-PPC systems should be posted in the OpenSUSE Beta forum)

 
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 30-Nov-2005, 11:21
tom_anna
Guest
 
Posts: n/a
Post

Hi Folks,
ok here's the general go.

We DID.... FINALLY get the supplied kernel to boot ...... but .... here is what we went through !

1.) You have to "copy" the contents of the "Boot Folder" to the "Boot Partition" the boot folder contains all the kernel initrd, System.map and all the stuff that boots the os from your hdd.

you must change your so called "small" HFS+ "boot" partition to HFS using hformat from the "rescue prompt"

or probably from the install start_shell option .

FIRST at boot prompt follow doc's

install start_shell

then pdisk /dev/sdax ( x = your chosen partition number )

create
a /boot part ( mine became /dev/sda4 - i created a 500meg /boot partition - remember this is where your kernels go and other stuff)

a /swap part ( mine became /dev/sda5 - should be double your available on board memory)

a /root part ( mine became /dev/sda6 - i made mine 60gig )

Don't forget the suse doc's are WRONG use this below (remember hda = ide/ultra/33/66/100/133 - sda =sata)

hformat -f -l boot /dev/sdax ( x being your chosen partition number)

the docs say:

hformat /dev/hda <<<<< this will give up an error in text !!

type exit then Yast GUI installer will start

DO NOT CREATE PARTITIONS OR DELETE PARTITIONS WITH THE YAST INSTALLER'S PARTITIONER

DO "****** NOT ******" PARTITION THE /BOOT HFS PARTITION WITH THE YAST PARTITIONER
DO "****** NOT ******" CHOOSE A MOUNT POINT FOR THE /BOOT PARTITION

JUST FORMAT /ROOT PARTITION AND /SWAP PARTITIONS ONLY

DO "****** NOT ******" DELETE THE FIRST PARTITION .... CALLED : Apple_Partition_Map IF YOU INTEND TO DUAL BOOT MAC OS X AND SUSE.

CONTINUE THE FULL INSTALL.

SAY NO TO RETRYING THE BOOT LOADER INSTALL

COMPLETE THE INSTALL AND ALLOW THE INSTALLER TO REBOOT YOUR PC.

HOLD DOWN YOUR C KEY ON YOUR KEYBOARD

UPON SEEING THE THREE OPTIONS CHOOSE "rescue"

AFTER SEEING THE rescue# prompt

TYPE THE FOLLOWING

mount -w /dev/sdax /tmp ( REMEMBER /dev/sda = SATA - x = you prior chosen /(root) partition number)

or

mount -w /dev/hdax /tmp ( REMEMBER /dev/NEXThda = NON SATA ie. ultra 100/133 hdd - x = your prior chosen /(root) partition number)

/opt or /var could be substituted for /tmp in the examples above.


NEXT TYPE

chroot /tmp or chroot /opt or chroot /var

next

cd to /tmp or /var or /opt

then type

joe /etc/lilo.conf ( joe is a much easier to use text editor than vi or vim )

MAKE SURE YOU HAVE PRINTED OUT THE EXAMPLE lilo.conf in the docs

OR COPY AND PASTE INTO YOUR TEXT EDITOR
OR HIGHLIGHT AND PRINT OUT THE example below

## /etc/lilo.conf
boot=/dev/hda9
timeout=100
default=linux
activate

image=/boot/vmlinux
initrd=/boot/initrd
label=linux
append="root=/dev/hda11 resume=/dev/hda11 quiet sysrq=1" << ours is root=/dev/sda6

other=/dev/hda10
label=macosx

-------------------------------------------------------------------------------------------------

When you are happy with the lilo.conf

Save it

NEXT

Type...... mkdir /proc/mounts <<<<< the mounts subdirectory is not automatically created <<< this could perhaps be a bug !!!! ?????

(((( If you do not create the "mounts subdirectory",,,,, when you get further along running /sbin/lilo will show a text error on your screen ))))

next

run /sbin/lilo

next

type ....... joe /etc/fstab

add in the following

/dev/sdax /boot defaults 0 0

This did not seem to exist in our fstab file post running /sbin/lilo - change x to your /boot partition number

NEXT

mount your HFS /boot partition

NEXT

copy all of the contents of your "boot directory" to your "HFS /boot Partition" using the cp command

NEXT

type exit several times till you get a login: (prompt)

type: shutdown -r now

allow the lilo/yaboot booloader to display the text "press the spacebar to go to mac os x"

DO "NOT" PRESS THE SPACE BAR

Sooner or later you will see something like

boot hd:3 Suse10
hd:3 vmlinux-2.6.13-15-ppc64

It may then say corrupt or missing whatever........... here it's hit and miss and you do have to know some "OpenFirmware to get the kernel to boot.

We did the following

WE TYPED THE FOLLOWING IN AT THE BOOT PROMPT - EVEN IF IT IS REPEATING THE BOOT PROMPT DOWN THE SCREEN.

hd:4,/boot/vmlinux <<<<< GETTING THE KERNEL TO AT LEAST TRY TO BOOT <<<<THIS WORKED FINE FOR US !!!

BUT........... NOW WAIT FOR IT ............

the kernel boots drivers load in .......... then.....

The last lines say....

please supply a valid append "root=" option < you know your lilo.conf settings are fine !!!!!

<rebooting in 180 seconds> if left for that time it reboots the pc.

YOU DON'T SEE A DESKTOP !!!!! Niice healthy amounts of text though !

And yes you do get a grey hdd icon up on the 10.4.0 aqua desktop clicking on it you find a "suseboot" folder with the following files (created by lilo) during the running of /sbin/lilo earlier.

Finder
os-chooser
System
yaboot
yaboot.conf

yaboot.conf can be viewed by right clicking and choosing text edit.

Solutions..... anyone !!!

Thanks for reading our post, we would apreciate a solution !

cheers,
tom and anna :unsure:

IF you have copied over the contents of your boot directory all of the kernel stuff is there also.
 

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




 

Search Engine Friendly URLs by vBSEO 3.3.0 RC2