[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: need a little help installing



I'm not familiar with LinuxPPC distro, but Linux requires a swap
partition to actually contain a certain signature.  If LinuxPPC is
already using a partition as swap, then it should have that in it
already, and then the installation is ALREADY using it as a swap
partition, so you can skip that step, I'm guessing.  When you were
in the shell, did you check to see what was mounted with the mount
or df commands?  That is one easy way to tell if the swap partition
has been automatically picked up, which I believe is how it works.

As for the root partition, it seems like you didn't do anything. 
Did you remember to write out your changes? Can you supply the
output from mac-fdisk?  I find the "graphical" utility to be very
annoying, so I always start a console and just use mac-fdisk by
hand.  Much easier for me.  Like Ethan said, first you have to
change the partition type to ["Apple_UNIX_SVR2" on my machines] and
then it seems to make everything go smoothly to name it "root". 
Works for me.  My swap partition is also type Apple_UNIX_SVR2, so
maybe that is part of the swap partition problem if the LinuxPPC
swap partition has some other type.

a


Otto wrote:
> 
> hi,
> 
> I'm trying to install potato on my pismo. I have MacOS 9.04, MacOS X PB and
> LinuxPPC running, so I figured I could convert a spare HFS partition to ext2
> and have debian and LinuxPPC share the existing swap partition.
> 
> So I booted into the installer from CD, but for some reason, debian won't
> let me use the existing swap partition. whenever I choose "initialize and
> activate swap partition" or "activate previously installed swap partition",
> the installer complains "no swap partitions that had not already been
> mounted were detected".
> 
> I decided to select "do without a swap partition" and fix that later.
> 
> then I tried to set up that spare partition to install on, so I chose
> "partition disk" from the menu and used that command line tool to delete my
> spare HFS partition and create a new one of type ext2 in its place. seemed
> to work fine, too, but still, "Initialize linux partition" gives me the same
> error as above.
> 
> under "show partition map", everything looks ok, though my new partition is
> said to be "not available" (just like those LinuxPPC partitions).
> 
> just out of couriosity, I opened a shell, and the welcome message said that
> disks would be mounted under /target. well, not in my case. ls /target
> showed that /target is empty. !?
> 
> after installing LinuxPPC few months ago, I really thought I could handle to
> install debian on my own.. oh well.
> 
> any help is greatly appreciated..
> 
> TIA,
> -otto.
> 
> >> I used ybin/yaboot to set up my boot configuration (works great). right now,
> >> I have the following partitions:
> >>
> >> 1 HFS  bootstrap
> >> 1 HFS+ MacOS 9.04
> >> 1 HFS+ MacOS X
> >> 1 ext2 LinuxPPC
> >> 1 swap
> >> 1 HFS  shared data
> >>
> >> for debian, I would like to convert the shared data partition to ext2 and
> >> use my swap partition for both debian and LinuxPPC.
> >> that way, I would only have to add an entry for debian in my yaboot conf -
> >> right?
> >
> > Ethan Benson <erbenson@alaska.net> wrote:
> >
> > yes, something like this:
> >
> > image=/vmlinux
> > label=debian
> > root=/dev/hda7
> > read-only
> > partition=7
> >
> > this assumes that the debian partition is /dev/hda7, that partiton=
> > line must point at the debian root partition, you linuxppc images must have
> > a partition line pointing at the linuxppc root partition.
> >
> > note that you *must* change the partition type of that HFS exchange if
> > you choose to use it for debian instead of as a HFS exchange.
> > otherwise MacOS will try and mount it as HFS, see there is no HFS
> > filesystem and helpfully offer to erase it.



Reply to: