Re: [Fwd: Re: [Mu] Tutorials on porting applications to muLinux]

From: Michele Andreoli (m.andreoli@tin.it)
Date: Sun Jun 15 2003 - 09:44:01 CEST

  • Next message: Stephen Isard: "Re: [Mu] X on thinkpad 360cs"

    On Sat, Jun 14, 2003 at 06:25:59PM -0400, John Beck nicely wrote:
    > "I have a form of RedHat 4.2 living in a single big file, the so-called
    > linux
    > loopfilesystem: /m/loop/rh42 (600 Mb)"
    >
    > Does this "file" have to be from the same machine you are currently
    > working on? Or can I install RedHat 4.2 on a different computer then
    > make an image of it and move it to other machines for compiling software
    > for muLinux?

    There are the steps:

    1) install RH4.2 in some partition, in some machine (even different)
       DO NOT SETUP ANY SWAP PARITION in this system!

    2) check if the RH4.2 is ok, gcc is working etc ...
    3) boot a muLinux floppy disk on the machine where you have RH
    4) mount the RH disk on /mnt

                    # mount /dev/hda2 /mnt (only an example)

    5) mount the disk where you have enough disk space and create
       in it a big file:

                    # mount /dev/hda1 /c
                    # dd if=/dev/zeo of=/c/rh.img bs=1k count=600000
    6) copy RH in this file:
                    
                    # mount -o loop /c/rh.img /d
                    # cp -a /mnt/* /d
                    # umount /d
                    # umount /c
                    # umount /mnt

    6) ok, now the big task: transport the bit file rh.img on the destination
       linux. A mulinux machine (even UMSDOS) is OK.
       You can transport the file using a CDROM or a network cable

    7) put the rh.img where you want: /path/to/rh.img

    You can have the RH shell on the destination machin with:

                    # mount -o loop /path/to/rh.img /mnt
                    # chroot /mnt

    Michele

    -- 
    Living on Earth may be expensive, but it includes an annual free trip
    around the Sun.				[Anonymous]
    -------------------------------------------------------
    This SF.NET email is sponsored by: eBay
    Great deals on office technology -- on eBay now! Click here:
    http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
    _______________________________________________
    Mulinux-forum mailing list
    Mulinux-forum@lists.sourceforge.net
    https://lists.sourceforge.net/lists/listinfo/mulinux-forum
    

  • Next message: Stephen Isard: "Re: [Mu] X on thinkpad 360cs"

    This archive was generated by hypermail 2.1.6 : Sun Jun 15 2003 - 09:47:27 CEST