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 28-Nov-2005, 22:31
tom_anna
Guest
 
Posts: n/a
Post

Hi to all Forum Members, Guests and Mods,

Would someone who has successfully installed Suse 10 Final OSS GM and managed to get to a Gnome or KDE Desktop successfuly with a later model G5 based Apple PC, please post your working lilo.conf from your /etc directory.

I wouldn't think there was any difference even between G4 and G5 as far as lilo.conf is concerned so i guess even a working lilo.conf on a G4 should be fine. We are sort of stumped following the examples given in the example docs. We've substituted our own drives persuant to our partition map but we seem to be getting nothing but errors.

This is our basic partition map on our one single internal drive :

Command (? for help): p
Partition map (with 512 byte blocks) on '/dev/sda'
#: type name length base ( size )
1: Apple_partition_map 'Apple ' 63 @ 1
2: Apple_Free ' ' 262144 @ 64 (128.0M)
3: Apple_HFS 'Apple_HFS_Untitled_3' ( 100G)
4: Apple_HFS 'boot ' ( 39.0M)
5: Linux 'swap ' ( 3.0G)
6: Linux 'root ' ( 60.0G)
7: remander is Apple_FreeSpace Extra

Our internal drive is a 250gig sata


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

THE FOLLOWING HAS BEEN COPIED FROM THIS LINK http://www.opensuse.org/PPC:Boot_pmac

An example config:

# wait 10 seconds for user input
timeout=100
# kernel to boot when no user input was given
default=linux
# update the firmware boot-device variable
activate
# small Apple_HFS partition
boot=/dev/hda7

# kernel ELF binary
image=/boot/vmlinux
label=linux
initrd=/boot/initrd
# kernel cmdline options
# resume= for suspend-to-disk
# quiet to surpress the useless kernel messages
# sysrq= to allow backtrace when things go downhill
append="root=/dev/hda8 resume=/dev/hda9 quiet sysrq=1"

# MacOS partition
other=/dev/hda6
# this label can also be the default=
label=macos

If you can't find lilo.conf in your /etc folder, create an empty document and paste the above code (or any variation of it) and save as lilo.conf in your /etc folder.

Run /sbin/lilo from shell as a super user to make lilo read the .conf file and set up the configurations you entered.

* For each change you make in the above file, you have to run /sbin/lilo again

* If lilo complains like this: "hmount: /dev/hda7: not a Macintosh HFS volume (Invalid argument)" it may be that your boot partition (hda7) is not HFS but HFS+. You can fix this by doing "hformat /dev/hda7".

[edit]
Partition Types to Use

The OpenFirmware only loads boot files from HFS partitions. The disk needs a 'mac' label. The partition type of the boot partition must start with 'Apple_HFS' or with 'Apple_Boot'. The latter won't be shown within MacOS.


WE DRAW YOUR ATTENTION TO THE POSSIBLE ERROR IN THE ABOVE :

You can fix this by doing "hformat /dev/hda7". <<<< THIS WOULD "NEVER" WORK AND CREATES AN ERROR MESSAGE !!!!

SO DOES THIS :

"hformat /dev/sda7" (WITHOUT QUOTES)



THE FOLLOWING "MAY" WORK (WITHOUT THE QUOTE MARKS):

You can fix this by doing "hformat -f -l boot /dev/hda7"

OR THIS (WITHOUT THE QUOTE MARKS) :

You can fix this by doing "hformat -f -l boot /dev/sda7" (without quotes)

************************
REMEMBER man is always available from the OpenSuse10 Rescue prompt ie. man hformat

************************

Perhaps,, our esteemed Mod(s) our doc team may need to be made gently, warmly and politely aware of the error ?

Does the following line "have" to be included in lilo.conf ?

append="root=/dev/hda8 resume=/dev/hda9 quiet sysrq=1"

Further...... involving the following which partition does it point to .... the /dev/sda5 (swap) partition in our layout or is it only used if you are going to employ suspend-to-disk (portable pc- laptop/notebook)

resume=/dev/hda9

good luck.


cheers
tom and anna

Hey folks,,, we're still smilin' we've backed several winners all in one - SUSE and Open Source and a great distro and Apple Mac G5
  #2 (permalink)  
Old 29-Nov-2005, 05:24
harryc
Guest
 
Posts: n/a
Default

G4 Powermac -

linux:~ # cat /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"

other=/dev/hda10
label=macoslinux:~ #
================================================== =======================

  #3 (permalink)  
Old 29-Nov-2005, 15:34
tom_anna
Guest
 
Posts: n/a
Default

Thanks a ton harryc,

Had 2 bad errors in our post above have edit them. They are now correct.


WE DRAW YOUR ATTENTION TO THE POSSIBLE ERROR IN THE ABOVE :

You can fix this by doing "hformat /dev/hda7". <<<< THIS WOULD "NEVER" WORK AND CREATES AN ERROR MESSAGE !!!!

SO DOES THIS :

"hformat /dev/sda7" (WITHOUT QUOTES) << now correct

regards tom and anna
 

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