LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Partitioning trouble with OpenSuSE (PPC) (https://www.linuxquestions.org/questions/linux-general-1/partitioning-trouble-with-opensuse-ppc-404505/)

kahlil88 01-17-2006 11:41 AM

Partitioning trouble with OpenSuSE (PPC)
 
I'm trying to install OpenSuSE 10 on an iMac "350" and I've been having trouble with partitioning. I don't want a dual boot - just Linux.

halvy 01-17-2006 03:53 PM

what kind of problems?

maybe use macs partioning tools first.

good luck.

kahlil88 01-17-2006 07:19 PM

I need to know how I'm supposed to partition the hard drive, because YaST can't do it. I booted from the OS 9 CD and partitioned the hard drive so it has 8 GB for Linux and 1 GB for swap. But when I go to install OpenSuSE, there's all these extra partitions that seem to overlap existing partitions, and they're all "0 MB"

bulliver 01-17-2006 07:36 PM

You need to use mac-fdisk.

The first partition (Apple_partition_map) cannot be deleted, but you can delete all the rest. Now you need to create an apple bootstrap partition, then your regular swap and '/' partition.

If Suse doesn't allow you to do this, you may have to use something else, such as the gentoo PPC install live cd to set up your partitions.

Some info (for gentoo, but principle will be the same):
http://www.gentoo.org/doc/en/handboo...?part=1&chap=4

Really though, if Suse has a PPC port, there must be some way of doing this from Suse. Again, if you do not care to dual-boot, you can delete _all_ partitions except the Apple_partition_map

armandckj 01-24-2006 05:34 AM

Hi,
Read the info at:
www
dot
opensuse
dot
org/POWER@SUSE

Link is split.
Armand

kahlil88 01-24-2006 10:06 PM

I deleted all the extra partitions and created a bootstrap partition, but how do I install the bootloader? The YaST partition tool doesn't work.

armandckj 01-25-2006 12:34 AM

On www
dot
opensuse
dor
org/power@suse it is described.
After installing the system you need o create a lilo.conf and run lilo.

Armand

kahlil88 01-25-2006 11:28 AM

I created a lilo.conf, but the example config doesn't apply to my partition layout and I'm a total n00b at this sort of thing.

hda1 ... unknown ... 0.0MB
hda2 ... unknown ... 1.0MB ... /data1
hda3 ... Linux swap ... 1.3GB ... /swap
hda4 ... Linux native ... 8.2GB ... /

hda2 is supposed to be the bootstrap partition, and Linux doesn't seem to know what to do with it, and mounts it as /data1

armandckj 01-30-2006 02:22 AM

My story.
Boot MAC OS9
Initiated hard disk with:
4 partitions:
- 1GB type AU/X swap
- 1GB type HFS
- Some GB type AU/X root
- Some GB Mac OS 9 type HFS+

Start SuSE form CD
Mount points /swap hda8
Mount point / hda10

Do not mount hda9 on boot as the cd boot has a problem writing to HFS. After the install copy /boot to hda9 and add it to fstab and so on.

Create a good lilo.conf end running lilo will bless hda9 Does anybody know how to do that without installing lilo?

If you have no idea what partitions to put in lilo trial and error is not the easiest way.

If you can boot from hd *with the help of the cd) post the output of 'pdisk -l' an lilo.conf and i will help.

Armand

halvy 01-30-2006 01:12 PM

..Create a good lilo.conf end running lilo will bless hda9 Does anybody know how to do that without installing lilo?..

are you asking if lilo will work, with JUST a /etc/lilo.conf file?

if so, i seriously doubt it.

i think the program needs to 'put' stuff, including any hidden (backups) etc in certain parts of the drive, and create some sort of map... but don't quote me.

kahlil88 01-31-2006 08:52 PM

It's working now. I made a 32m "Apple_HFS" partition and ran lilo. Here's my lilo.conf
Quote:

boot=/dev/hda2
timeout=100
default=linux
activate
image=/boot/vmlinux
initrd=/boot/initrd
label=linux
append="root=/dev/hda4 quiet sysrq=1"
copy


All times are GMT -5. The time now is 04:03 PM.