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

Re: Sarge/beta-3 on a RS6000/7025-F50 (PPC 604e, CHRP)

On Sat Mar 20, 2004 at 07:22:07AM +0100, Sven Luther wrote:
> Cool. BTW, is there anything particular needed for a PReP partition ? Or
> is it just a plain empty partition that can be used for booting ? The
> box uses a MBR partition table.

$ sudo fdisk -l /dev/sda
   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1           5        5104   41  PPC PReP Boot
/dev/sda2               6       17000    17402880   83  Linux
/dev/sda3           17001       17461      472064   82  Linux swap

You basically just make a partition of type 41, then you dd your
kernel into it.  On my PReP box I usually just do...

    dd if=/dev/zero of=/dev/sda1
    dd if=/usr/src/linux/arch/ppc/boot/images/zImage.prep of=/dev/sda1

to install a new kernel,


Erik B. Andersen             http://codepoet-consulting.com/
--This message was written using 73% post-consumer electrons--

Reply to: