Skip to main content

Ben Dembroski's Library tagged ubuntu   View Popular

21 Sep 09

Remastersys Guide - Create Your Own Ubuntu-based Distro - Ubuntu Forums

A good guide that give a little more detail in using Remastersys to customise Ubuntu's live cd

ubuntuforums.org/showthread.php - Preview

ubuntu livecd livecd-custom

Minimal CD Image - Community Ubuntu Documentation

  • A collection of .iso's that allow a minimal install of ubuntu.  Add only the packages you want.  Handy for making a completely customised installation.
    - benny2891 on 2008-01-18
31 Oct 07

how might one customize a gutsy live disk? [Archive] - Ubuntu Forums

  • I haven't tried this yet, but this script looks like a good basis for customising a Gutsy Live CD.  Reconstuctor isn't working with Gutsy at the moment.
    - benny2891 on 2007-10-31
  • #!/bin/bash



    # If you wish to customize Gutsy instead, change the following 3 lines to show:

    # ubuntuiso=gutsy-desktop-i386.iso

    # customiso=gutsy-custom.iso

    # kernel=2.6.22-7-generic

    ubuntuiso=ubuntu-7.04-desktop-i386.iso

    customiso=ubuntu-custom.iso

    kernel=2.6.20-15-generic



    clear

    echo Customize Ubuntu LiveCD

    echo

    echo Script by: Stephen Clark

    echo Based on documentation found at:

    echo https://help.ubuntu.com/community/LiveCDCustomizat ion

    echo

    echo "For customizing Ubuntu 7.04 (Feisty Fawn)"

    echo

    echo Press Ctrl C at any time to quit

    echo

    echo Tools needed: squashfs-tools mkisofs

    echo "(You will only ever need to install these once)"

    echo -n "Do you need to install these? y/[n] "

    read ua

    echo

    if [ "$ua" = "y" ]; then

    apt-get install squashfs-tools mkisofs

    echo

    fi



    echo -n "Loading squashfs module... "

    modprobe squashfs

    echo Done

    echo



    echo -n "Extract iso contents? y/[n] "

    read ua

    if [ "$ua" = "y" ]; then

    if [ -e "edit" ]; then

    echo -n "Removing existing Desktop System... "

    rm -r edit

    echo Done

    fi

    mkdir edit

    if [ -e "extract-cd" ]; then

    echo -n "Removing existing CD contents... "

    rm -r extract-cd

    echo Done

    fi

    mkdir extract-cd

    if ! [ -e "mnt" ]; then

    mkdir mnt

    fi

    if ! [ -e "squashfs" ]; then

    mkdir squashfs

    fi

    echo -n "Extracting CD contents... "

    mount -o loop $ubuntuiso mnt

    rsync --exclude=/casper/filesystem.squashfs -a mnt/ extract-cd

    echo Done

    echo -n "Extracting Desktop System... "

    mount -t squashfs -o loop mnt/casper/filesystem.squashfs squashfs

    cp -a squashfs/* edit/

    umount squashfs

    umount mnt

    echo Done

    fi

    echo



    # Place custom scripting here



    # Initialize networking

    cp /etc/resolv.conf edit/etc

    cp /etc/hosts edit/etc



    # copy the Feisty sources.list to the extracted iso

    cp /etc/apt/sources.list edit/etc/apt

    # If you are cusomizing a Gutsy LiveCD, uncomment the next line

    # sed -e "s/\feisty/ gutsy/g" -i edit/etc/apt/sources.list



    echo Start package removal/purge

    echo

    # Not all apps can be purged without dependency problems

    # Accept whatever solution aptitude offers

    chroot edit aptitude purge ekiga evolution tomboy serpentine f-spot gnome-games bittorrent onboard gnome-pilot gnome-pilot-conduits libpisock9 libpisync0

    echo



    echo Start package installation

    echo

    # -q supresses the output to a minimum

    chroot edit aptitude update -q

    # sox, vorbis-tools, & mpg123-alsa are for previewing sound files in nautilus

    # The gstreamer packages are for codec support

    chroot edit aptitude install mozilla-thunderbird sox vorbis-tools mpg123-alsa vlc comixcursors gnome-themes-extras gstreamer0.10-plugins-bad-multiverse gstreamer0.10-plugins-ugly gstreamer0.10-ffmpeg gstreamer0.10-plugins-bad linux-386

    # Some packages are a bit harder to get via apt-get

    # libdvdcss for watching DVDs

    dpkg --root=edit -i libdvdcss2_1.2.5-1_i386.deb

    # w32codecs for various video/audio formats

    dpkg --root=edit -i w32codecs_20061022-0.0_i386.deb

    chroot edit aptitude clean

    echo



    echo -n "Installing Flash plugin for Firefox... "

    # Install flash plugins

    cp flashplayer.xpt edit/usr/lib/firefox/plugins

    cp libflashplayer.so edit/usr/lib/firefox/plugins

    echo Done

    echo



    # Clean up



    rm edit/etc/resolv.conf

    rm edit/etc/hosts

    rm edit/etc/apt/sources.list



    if [ -e "extract-cd/programs" ]; then

    echo Removing the Windows application from the LiveCD will

    echo save space on the CD

    echo -n "Do you want to remove them? [y]/n "

    read ua

    if ! [ "$ua" = "n" ]; then

    echo -n "Removing Windows applications... "

    rm -r extract-cd/programs

    echo Done

    fi

    echo

    fi



    if [ -e "dexconf" ]; then

    echo -n "Update dexconf file (xorg.conf defaults)... "

    cp dexconf edit/usr/bin

    echo Done

    echo

    fi



    # End of custom scripting



    # Putting the CD together



    echo -n "Rebuilding initrd... "

    chroot edit mkinitramfs -o /initrd.gz $kernel

    mv edit/initrd.gz extract-cd/casper/

    echo Done

    echo



    echo Compressing filesystem

    if [ -e "extract-cd/casper/filesystem.squashfs" ]; then

    rm extract-cd/casper/filesystem.squashfs

    fi

    mksquashfs edit extract-cd/casper/filesystem.squashfs

    echo



    echo -n "Removing old md5sum.txt and calculating new md5 sums... "

    rm extract-cd/md5sum.txt

    (cd extract-cd && find . -type f -print0 | xargs -0 md5sum > md5sum.txt)

    echo Done

    echo



    echo Creating iso

    if [ -f "$customiso" ]; then

    echo -n "Removing old custom iso... "

    rm $customiso

    echo Done

    fi

    cd extract-cd

    mkisofs -r -V "$IMAGE_NAME" -cache-inodes -J -l -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table -o ../$customiso .

    echo



    echo The End

    echo
09 Aug 07

Dual Monitor on Ubuntu 7.04 (Feisty Fawn) - nc2400 with Intel 945GM

  • A good guide to getting 915resolution working with an external monitor.  (needed for some resolutions with intel graphics chipsets)  I've looked for this information on google and the ubuntu forums, but this is the only place I've found it.
    - benny2891 on 2007-08-09
02 Jul 07

streaming video to N800 - Internet Tablet Talk Forums

21 May 07

install notes

  • To install xvidcap on Kubuntu/Ubuntu Feisty I did:


    apt-get install libxml-dom-perl libxml2 libxml2-dev debhelper libgtk2.0-dev libglade2-dev liblame-dev ffmpeg libxml-parser-perl scrollkeeper libxmu-dev


    wget http://internap.dl.sourceforge.net/sourceforge/xvidcap/xvidcap-1.1.5rc1.tar.gz

    tar -zxvf xvidcap-1.1.5rc1.tar.gz

    cd xvidcap-1.1.5rc1

    ./configure

    make

    make install

    (NOTE: I had to comment out InputDevice sections with Wacom drivers in xorg.conf and references to those identifiers in ServerLayout Section)
1 - 20 of 26 Next ›
Showing 20 items per page

Diigo is about better ways to research, share and collaborate on information. Learn more »

Join Diigo