Fwd: PowerPC sid installation

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Fwd: PowerPC sid installation

Joe Nosay
---------- Forwarded message ----------
From: Rick Thomas <[hidden email]>
Date: Sat, Oct 7, 2017 at 5:31 PM
Subject: Re: PowerPC sid installation
To: "richard.kuenz" <[hidden email]>
Cc: PowerPC List Debian <[hidden email]>


Right…

So what you need to do is this:

When the partitioner is done creating the setup you describe and asks if
you want to write that partition scheme to disk, you have a chance to do
some manual partitioning before continuing.  Tell it to delete the ext4
root partition.  Then choose the resulting free space and create an ext2
partition of size 500 MB or so.  Make sure it is marked as bootable and
mounted at /boot.  This will leave you with 178GB or so of free space,
which you can use to re-create the ext4 / root partition.

You can write that partitioning scheme to disk and allow the rest of the
installation to proceed.

When you reboot after the installation, yaboot will see the ext2 /boot
partition and be able to read vmlinux and initrd from it.

Hope that helps!
Rick

PS: In case it helps, here’s what goes into which partitions:

1MB new world boot — contains the yaboot binary and a copy of yaboot.conf
500MB /boot “bootable” ext2 — contains vmlinux and initrd that will be read
into RAM by yaboot.
178GB / root debian ext4 — contains your root filesystem.
1.5GB Swap — will be used as swap space by your running Debain Linux system.


On Oct 7, 2017, at 6:17 AM, richard.kuenz <[hidden email]> wrote:

> Hello, rick
>
> I do automatic partitining on free space
> It gives about
>
> 1MB newworld boot
> 179GB / root debian ext4
> 1.5GB Swap
>
> But yaboot fails afterards with
>
>
> Input/output error or even refuses to install
>
>
>
> Von Samsung-Tablet gesendet
>
>
> -------- Ursprüngliche Nachricht --------
> Von: Rick Thomas <[hidden email]>
> Datum: 07.10.2017 11:38 (GMT+01:00)
> An: "richard.kuenz" <[hidden email]>
> Cc: Frank Scheiner <[hidden email]>, PowerPC List Debian <
[hidden email]>
> Betreff: Re: PowerPC sid installation
>
>
> On Oct 7, 2017, at 2:03 AM, richard.kuenz <[hidden email]> wrote:
>
> > I am getting this error now with squeeze after yesterday installation
succeeded after some hiccups
>     . . .
> > <20171007_110203_resized.jpg>
>
> When you installed, did you create an ext2 partition for /boot?  If I’m
understanding the error message in your screenshot correctly it looks like
you took the default partition setup.  Unfortunately, that setup puts the
linux kernel and initrd in the root partition, which is ext4.
>
> Yaboot has trouble with some newer features of ext4 partitions.  For a
while those new features were disabled on powerpc machines as a temporary
workaround for this problem.  But it looks like that disablement is not in
the installer you are using.
>
> My solution to that is to choose the “with LVM” partitioning scheme.
 This creates a small ext2 partition to be mounted on /boot and points
yaboot at it rather than at the root ext4 partition. This /boot partition
holds the vmlinux and initrd stuff.  If you don’t like LVM, you can choose
manual partitioning and set it up any way you want as long as you put the
kernel and initrd in an ext2 partition.
>
>
> Hope that helps!
> Rick