Re: installing debian on IBM 43P-150 (CHRP)
On Thursday 02 December 2004 20:31, Sven Luther wrote:
> On Thu, Dec 02, 2004 at 04:58:03PM +0100, Philippe Guyot wrote:
> > On Thursday 02 December 2004 14:45, Leigh Brown wrote:
> > > Philippe Guyot said:
> > > > On Thursday 02 December 2004 12:27, Leigh Brown wrote:
> > > >> Philippe Guyot said:
> > > >> > On Thursday 02 December 2004 12:01, Leigh Brown wrote:
> > > >> >> Indeed. Could you just tell me if it booted from CD
> > > >> >> automatically?
> > > >>
> > > >> [...]
> > > >>
> > > >> >> I guess I can raise a bug for these once I've confirmed that
> > > >> >> autoboot from CD is working for you.
> > > >> >
> > > >> > Good news: It boots automatically
> > > >>
> > > >> Great!
> > > >>
> > > >> > Bad news : At end,the install said there was not stuff for booting
> > > >> > automatically from HD this hardware and that I have to boot
> > > >>
> > > >> /boot/vmlinux
> > > >>
> > > >> > on /dev/sda1 whith argument root=/dev/sda1.
> > > >>
> > > >> Okay. Did you create a PReP boot partition (type 0x41) during the
> > > >> installation process, either manually, or with help from the
> > > >> installer?
> > > >>
> > > >> > I tried from OF boot disk;:/boot/vmlinux root=/dev/sda1 with no
> > > >>
> > > >> success
> > > >>
> > > >> > (return to prompt after accessing HD a little)
> > > >>
> > > >> That's because OF doesn't understand ext2, ext3, and the like.
> > > >>
> > > >> > May I have to boot yaboot from cd ? and after ??? I should read
> > > >>
> > > >> yaboot
> > > >>
> > > >> > man page, don't I ?
> > > >>
> > > >> If you already have a PReP boot partition, as I mentioned above,
> > > >> then you can boot the installer and drop into a shell to install
> > > >> yaboot into it. Otherwise, I'd repeat the installation, this time
> > > >> making sure to create the PReP boot partition. Also, make sure
> > > >> yaboot is installed during the installation. With luck, having the
> > > >> correct boot partition and yaboot installed might trigger the
> > > >> installer to do the right thing. If not, drop back into a shell at
> > > >> the end of the installer and manually setup and configure yaboot
> > > >> before rebooting.
> > > >>
> > > >> Reading through the yaboot docs before this may make things easier.
> > > >
> > > > Well, do you mean that the CHRP box boots like a PReP machine ?
> > > > And if so, why not dropping in the PReP partition the vmlinux patched
> > > > whith preptools as I did for my 43P-140 ?
> > >
> > > No. CHRP and PReP share the same partition type to boot from, but
> > > they boot different things. CHRP machines boot ELF executables (like
> > > yaboot or CHRP vmlinux images). PReP machines boot PReP boot images.
> > >
> > > So, you will write the yaboot executable (stamped with the correct
> > > note section) to the PReP boot partition on a CHRP machine.
> >
> > OK I understand that.
> >
> > But I have a problem in partionning:
> >
> > It's a new (for me) tool : partman and I can't find how to create a PReP
> > boot partition with it. (There's no choice for it nor an obvious way to
> > force code x41).
>
> You can create the partition, and once it is written (while it is
> downloading stuff, but before yaboot-installer is run), you go to console
> 2, and run parted, and do a set <minor> prep on (try print to find your
> <minor>).
>
> partman-prep has not yet been written, volunteers welcome to do it, look at
> d-i webpage on how to gte the svn tree, and then look at partman-palo which
> is quite similar to what we need.
>
> > I tried whith a "do not use" but this did not triggered the installer .
> >
> > I'm thinking of creating a new iso image with an "old" cfdisk on it and
> > partitionning in the shell if possible.
>
> Should not be needed, see above.
I did that, verify by "print" that the 1st partition had flags prep-boot, type
primary,filesystem ext2.
The install came on but at end, says that no boot program was installed either
I did choice thus (I didn't do anything like this, of course)
or no one manages this hardware.
Sorry but it is my translation from french messages...
Did I missed something in configuring the prep boot partition? does it need
the flag boot also ?Is it to small ? (I made it 10 Megs) should it not have
the "ext2" attribute ?
Thanks .
Felipe
>
> Friendly,
>
> Sven LUther
Reply to: