Remastering Berry Linux
FedoraForum.org - Fedora Support Forums and Community
Page 1 of 3 1 2 3 LastLast
Results 1 to 15 of 35
  1. #1
    homey Guest

    Remastering Berry Linux

    Here are my notes on remastering the Berry Linux livecd. Berry 0.58 is based on Fedora Core 3 and is already an excellent distro but, the author lives in Japan and the most part is geared toward Japanese.

    So, booting up with Berry 0.58 using the English menu item...

    1. Used the Berry Linux Installers to put it on a hard drive partition.

    2. I put an entry in my Fedora grub.conf to access the Berry hard drive system ....
    Code:
    title Berry
            root (hd0,4)
            kernel /boot/vmlinuz ro devfs=mount rhgb quiet
            initrd /boot/initrd.gz
    3. Booted into Berry hard drive system and made some changes:

    4. Edit /etc/sysconfig/clock
    Code:
    ZONE="America/New_York"
    UTC=false
    ARC=false
    5. Edit /etc/sysconfig/i18n
    Code:
    LANG="en_US.UTF-8"
    SUPPORTED="en_US.UTF-8:en_US:en"
    SYSFONT="latarcyrheb-sun16"
    6. Type the commands:
    ln -s /usr/share/zoneinfo/US/Eastern /etc/localtime
    date -s "06/03/2005 12:00:00" ##Note: use the correct date and time

    7. Use /opt/berry/netconfig to setup the nics. I also changed /etc/sysconfig/network-scripts/ifcfg-eth0 and ifcfg-eth1 to better suit my network situation.

    DEVICE=eth0
    ONBOOT=yes
    BOOTPROTO=none
    NETMASK=255.255.255.0
    IPADDR=192.168.0.1
    USERCTL=no
    PEERDNS=yes
    TYPE=Ethernet
    IPV6INIT=no

    DEVICE=eth1
    BOOTPROTO=dhcp
    ONBOOT=yes
    TYPE=Ethernet
    USERCTL=no
    PEERDNS=no
    IPV6INIT=no

    8. Berry Linux has a habit of re-installing several icons on the desktop at every boot. I made some changes then edited the /etc/X11/xinit/xinitrc.d/xdesktop.sh to prevent some icons from reappearing.

    9. Set the xterm font to Monospace 10 so it doesn't look so crowded.

    10. I made a "kick list" to remove several apps which are not much use to a yankee like me.
    Code:
    rpm -e aoyagikouzan-2-b1 berry-theme-fluxbox-0.01-b1 bmp-0.9.7-b1 bmp-mp3-0.9.7-b1 \
    dejagnu-1.4.4-2 fluxbox-0.9.10-0.fdr.1.2 kde-i18n-Japanese-3.4.0-0.fc3.0 \
    mozilla-1.7.8-1.3.1 mozilla-jp-1.7.8-b1 mozilla-mail-1.7.8-1.3.1 mozilla-nspr-1.7.8-1.3.1 \
    mozilla-nss-1.7.8-1.3.1 openofficeorg-ja-1.9.79-1 openprinting-jp-0.1.3-0 \
    scim-1.2.1-b1 scim-uim-0.1.3-b1 sodipodi-0.34-0.rhfc1.dag sylpheed-0.9.12-b1 \
    telnet-0.17-30 timidity++-2.13.2-1 ttfonts-ja-2.0-b1 tvtime-0.9.15-0.fc3.1 \
    whiz-0.49-b1 xmms-1.2.10j-b4 YOzFont-9.18-b1 firefox-1.0.4-b1 mikachanfont-9.1-b1 \
    mikachanfont-9.1-b1 kfiresaver3d-0.6-1 kflamesaver-0.1-1 kudzu-devel-1.1.111-b1 \
    11. I used the very handy rpmfind to get the needed yum rpms. http://rpmfind.net/linux/RPM/ . If you have any dependency messages, just copy and paste it into rpmfind. In the directory where you downloaded those rpms to, use the command: rpm -Uvh *.rpm
    Code:
    elfutils-0.96-1.i386.rpm
    libxml2-python-2.6.14-2.i386.rpm
    libxml2-python-2.6.16-3.i386.rpm
    pygtk2-2.4.1-fc3.1.i386.rpm
    rpm-python-4.3.2-21.i386.rpm
    yum-2.1.11-3.noarch.rpm
    12. I changed the yum repos to use in Berry Linux and imported the GPG keys.
    Note: I had the RPM-GPG-KEY-fedora saved locally.
    Code:
    rpm --import RPM-GPG-KEY-fedora
    rpm --import http://download.fedora.redhat.com/pub/fedora/linux/extras/RPM-GPG-KEY-Fedora-Extras
    rpm --import http://kde-redhat.sourceforge.net/gpg-pubkey-ff6382fa-3e1ab2ca
    rpm --import http://rpm.livna.org/RPM-LIVNA-GPG-KEY
    
    
    [base]
    name=Fedora Core 3 - 3 - Base
    #baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/3/$basearch/os/
    mirrorlist=http://fedora.redhat.com/download/mirrors/fedora-core-3
    enabled=1
    gpgcheck=1
    
    [updates-released]
    name=Fedora Core 3 - 3 - Released Updates
    #baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/updates/3/$basearch/
    mirrorlist=http://fedora.redhat.com/download/mirrors/updates-released-fc3
    enabled=1
    gpgcheck=1
    
    [base]
    name=Fedora Core 3 - 3 - Base
    #baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/3/$basearch/os/
    mirrorlist=http://fedora.redhat.com/download/mirrors/fedora-core-3
    enabled=1
    gpgcheck=1
    
    [updates-released]
    name=Fedora Core 3 - 3 - Released Updates
    #baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/updates/3/$basearch/
    mirrorlist=http://fedora.redhat.com/download/mirrors/updates-released-fc3
    enabled=1
    gpgcheck=1
    
    [kde-stable]
    name=kde-redhat.org (kde-stable)
    baseurl=http://apt.kde-redhat.org/apt/kde-redhat/3/stable
    enabled=0
    gpgcheck=1
    
    [kde-stable-all]
    name=kde-redhat.org (kde-stable-all)
    baseurl=http://apt.kde-redhat.org/apt/kde-redhat/all/stable
    enabled=0
    gpgcheck=1
    
    [livna-stable]
    name=Fedora Extras
    baseurl=http://rpm.livna.org/fedora/3/i386/RPMS.stable
    enabled=0
    gpgcheck=1
    
    [livna-unstable]
    name=Fedora Extras
    baseurl=http://rpm.livna.org/fedora/3/i386/RPMS.unstable
    enabled=0
    gpgcheck=1
    13. It is very important to exclude the kernel updates to prevent conflicts. That is done by putting this line in the /etc/yum.conf
    Code:
    exclude = kernel*
    14. Now, you can do the normal yum update. If you want to update kde as I did, use these commands:
    yum install kde qt arts kdelibs kdebase gtk+ gtk2 redhat-artwork
    yum update

    Note: I like to clean up once in a while with the command: yum clean all

    15. I setup the berry user and root user desktops then saved those settings in /etc/skel so any new users would have the same desktop settings as berry.
    Code:
    rm -rf /etc/skel
    mkdir /etc/skel
    cp -R /home/berry/\. /etc/skel
    rm -rf /etc/skel/.thunderbird
    16. Once you have the Berry hard drive system tweaked just the way you want it, it's time to do the remaster.
    There are some nice instructions at http://yui.mine.nu/linux/doc/eremaster.html but I found that this part doesn't work. That is likely because berry now uses squashfs instead of cloop.
    To make the "BERRY" file ( the compressed file ) run
    # mkisofs -R -l -V "BERRY iso9660 filesystem" -hide-rr-moved -v \
    /mnt/source/BERRY | create_compressed_fs - 65536 > \
    /mnt/master/BERRY/BERRY
    Therefore, I use the mksquashfs method which does work.

    17. I modified the berry boot.img to remove some menu items and changed the color to cool blue. I accessed that with the command: mount -o loop,rw boot.img /home/test
    Don't forget to un mount when done: umount /home/test

    18. I didn't care to mess with the kernel in my Fedora 3 install so I booted up with my PCLinuxOS hard drive install which has squashfs-utils already installed.

    19. Mount the partition which has berry on it and the partition where you will save the berry image to. Using the directory structure which I made previously from the web site notes... http://yui.mine.nu/linux/doc/eremaster.html

    mount /dev/hda5 /mnt/hda5
    mount /dev/hda6 /mnt/build

    20. Run the command: mksquashfs /mnt/hda5 /mnt/build/master/BERRY/BERRY -info

    21. Make the iso image: mkisofs -l -r -J -hide-rr-moved -v -b \
    BERRY/boot.img -c BERRY/boot.cat -o /home/berry.iso /mnt/build/master


    22. Burn to cd and enjoy!

  2. #2
    Join Date
    Feb 2005
    Location
    Sofia, Bulgaria
    Age
    37
    Posts
    791
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    just great
    Windows doesn't just crash - it opens a dialog box and lets you press OK first. Powered by RedHat since I know my self ;) Fedora 12 #379190

  3. #3
    Melio Guest
    after remasting this, did you build an installable/bootable cd?

    Id really like to run your copy +P

    distribute it! I want it.

    email me with a download link. I:m stuck in japanese berry and I really like this os!

  4. #4
    Join Date
    Feb 2005
    Location
    Sofia, Bulgaria
    Age
    37
    Posts
    791
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    that wouble be big help, really pls share it!
    Windows doesn't just crash - it opens a dialog box and lets you press OK first. Powered by RedHat since I know my self ;) Fedora 12 #379190

  5. #5
    homey Guest
    after remasting this, did you build an installable/bootable cd?
    I sure did, that's the idea behind remastering!
    There are a few berry unique thingies which he peppered throughout the system so I haven't got it to the point where I could call it my own distro.
    It works quite well the way it is though so I'm happy to use it like that.
    I don't have any place to upload to.

  6. #6
    Melio Guest
    bummer, I had to wipe it out today and put fedora core 3 in.. maby soon I'll start a torrent or something for people to get a "english specific" berry linux build.

  7. #7
    Join Date
    Feb 2005
    Location
    Sofia, Bulgaria
    Age
    37
    Posts
    791
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I'm able to share it if you upload it over my place it could be slow to upload it but if it doesn't bother you to leave your PC on hopefully not - please tell me to set you up with an account (I can't think of international free server with more than 100MB, if someone else can ..)
    Windows doesn't just crash - it opens a dialog box and lets you press OK first. Powered by RedHat since I know my self ;) Fedora 12 #379190

  8. #8
    homey Guest
    The iso is about 536MB with kde on it.

  9. #9
    Join Date
    Feb 2005
    Location
    Sofia, Bulgaria
    Age
    37
    Posts
    791
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    can you put it on ftp/http and I'll download it and I can set up a http or torrent for the others?
    Windows doesn't just crash - it opens a dialog box and lets you press OK first. Powered by RedHat since I know my self ;) Fedora 12 #379190

  10. #10
    homey Guest
    I don't have a public ftp/http server.

  11. #11
    Join Date
    Feb 2005
    Location
    Sofia, Bulgaria
    Age
    37
    Posts
    791
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    let me configure my ftp and I'll let you know
    Windows doesn't just crash - it opens a dialog box and lets you press OK first. Powered by RedHat since I know my self ;) Fedora 12 #379190

  12. #12
    homey Guest
    ok, I'm putzing with it now to tune it up abit more.

  13. #13
    Join Date
    Feb 2005
    Location
    Sofia, Bulgaria
    Age
    37
    Posts
    791
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    so how can I contact you in private ? you have not allowed private msgs nor mails, send a pm with your mail or something or use icq, my FTP is up and running & hoping for the great Fedora on CD!
    Windows doesn't just crash - it opens a dialog box and lets you press OK first. Powered by RedHat since I know my self ;) Fedora 12 #379190

  14. #14
    homey Guest
    I sent you an email. Sorry about the lack of email and IM stuff but I try to keep the spam out.

  15. #15
    Join Date
    Feb 2005
    Location
    Sofia, Bulgaria
    Age
    37
    Posts
    791
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    no problem at all!
    Windows doesn't just crash - it opens a dialog box and lets you press OK first. Powered by RedHat since I know my self ;) Fedora 12 #379190

Page 1 of 3 1 2 3 LastLast

Similar Threads

  1. Berry Linux?
    By PeteNJ in forum Fedora Focus
    Replies: 6
    Last Post: 23rd November 2006, 07:32 PM
  2. Remastering FedoraCore5
    By linuxnewbie82 in forum Using Fedora
    Replies: 0
    Last Post: 10th July 2006, 09:00 AM
  3. Berry Linux 0.60 is out
    By Finalzone in forum Fedora Focus
    Replies: 0
    Last Post: 21st July 2005, 06:52 PM
  4. Remastering FC CD1
    By Raj Nair in forum Programming & Packaging
    Replies: 5
    Last Post: 9th April 2005, 05:04 PM
  5. Berry Linux "LiveCD"
    By AwPhuch in forum Links
    Replies: 5
    Last Post: 13th November 2004, 06:58 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •