Jump to content

chris:b

Members
  • Posts

    862
  • Joined

  • Last visited

Posts posted by chris:b

  1. Make more Google services work with Opera

     

    Opera is the preferred browser in MCNLive, it is small, fast and fits better in a live system. Unfortunately some Google services - eg Google Docs, Spreadsheets, Picasa web, Calendar - don't work or only partially work.

     

    So, we make it work:

    http://my.opera.com/xErath/blog/2007/01/02...hrough-a-google

     

    The steps.

    1. Create a new directory in /home/guest, we call it userjs:

    mkdir /home/guest/userjs

    2. Download this javascript file:

    http://files.myopera.com/xErath/files/fix-google-services.js

    Right-click, -> save target as, save it in the new created /home/guest/userjs folder.

    3. Close opera. Start kwrite and open the (hidden) file:

    /home/guest/.opera/opera6.ini

    In the section [user Prefs], add this line:

    Always Load User JavaScript=1

    Save the file. Close kwrite.

    4. Start Opera, -> Tools -> Preferences -> Advanced -> Content -> Java Script options -> User Javascipt files --> Choose ...

    Add the directory: /home/guest/userjs/

     

    Test it by going to http://docs.google.com/

    Sign in with your gmail account. Create a document.

  2. What I forgot...

     

    At any time you can make a backup of the mcnlive.loop, just start without the persist code and copy the mcnlive.loop file to your hard disk or burn it on a CD-RW. The content is not affected.

     

    Also, when you make a remaster, the result will be much smaller than the base system & 500 MB, it will be orig. basesystem & 35% of 500 MB.

  3. So far we have no script to resize the mcnlive.loop file, and we have not done any tests, though it should be possible, without loosing the data.

     

    If you would like to keep your current changes I would like to propose a work around. Start with livecd persist and run the 'Remaster simple' wizard. This will create an iso on a chosen HD partition which all changes, and can be your new base system.

     

    Burn it to CD and test it. Install it to usb.

     

    On the stick delete the mcnlive.loop file (if it is not in use, thus not started with livecd persist).

    And create a new one.

     

    If you love adventures and trying out new things, in theory the steps for resizing are something like this:

    ____________________________

    First, make sure that the image file is not already mounted and is not running. The following commands increase an image file to 1 GB. Backup the image before attempting this.

    dd if=/dev/zero of=<image file> bs=1M conv=notrunc count=1 seek=1000

    losetup /dev/loop0 <image file>

    e2fsck -f /dev/loop0

    resize2fs /dev/loop0

    e2fsck -f /dev/loop0

    losetup -d /dev/loop0

     

    You may then boot or mount the image to confirm the increased size. The e2fsck checks in this howto are not strictly necessary.

     

    How do I move the contents of an img file to a regular partition?

     

    Mount the img file using the above howto. Assuming the destination partition is mounted at /mnt/dest, execute the following:

    cp -a /mnt/loop/* /mnt/dest/

    ____________________

  4. Look here:

     

    https://mandrivausers.org/index.php?s=&...st&p=316261

     

    In your case, with this U3 software the sandisk has a broken partition table that you don't see in the MCC.

    Wipe it clean, as described in the above link.

     

    The short version:

     

    C. In some cases you need to overwrite a completely messed up partition table. Even and in particular on factory preformatted usb sticks. An example is the SanDisk Cruzer 2 GB. It has a sort hidden partition (?) which prevents the BIOS to recognize the stick as a boot device.

    When you try to boot you'll see a message like: 'no operating system found'.

    The fix is easy, tested and it works. Read on ...

     

    Example, your device is /dev/sdb:

    su

    dd if=/dev/zero of=/dev/sdb bs=1M count=2

     

    Be very carefully, that you don't specify an internal or external hard disk. You will erase the MBR, incl. the bootloader and the partition table.

    Now you can create a new partition and format it. In the input field where it asks for a mount point, empty it, no mount point, no / !

     

    D. Run the 'Create Live USB' wizard.

  5. Hi mezzmerized,

     

    I am not sure what you changed, the menu style or the taskbar?

     

    Menu style: MCC (Mandriva Control Center, run command: mcc) -> system -> menu style config -> Mandriva menu

     

    The taskbar is a KDE setting, right click on the panel ... or: run command: kcontrol -> desktop -> panels

     

    I hope this helps.

  6. Can't see anything wrong in your fstab. But I have not used a floppy drive in ages.

     

    Why the MCC _discovers_ a new floppy drive at launch ... ?

     

    You can force it to not detect floppy drives. run command: kdesu kwrite, open the file: /etc/sysconfig/harddrake2/service.conf

     

    Change the line:

    DETECT_FLOPPY=yes

    to:

    DETECT_FLOPPY=no

     

    And hopefully this nonsense will go away. :unsure:

  7. A regular questions that comes up is: how can I create a live cd from a normal Mandriva installed system without using the MCNLive remaster-on-the-fly method and without installing MCNive to the hard disk.

     

    These are the basic steps to start from a clean Mandriva 2007.1 Spring installation and make it ready to build a live cd out of it with the mklivecd scripts. This works only with 2007.1, not with an earlier version, not with cooker.

    You need the MCNLive Toronto CD in order to copy some files.

     

    * Install 2007.1 Spring on one / partition, no extra /home partition. A swap partition is handy. Be sure you have installed all drakxtools and drakconf (the MCC). The drakxtools take care of the hardware detection. Be sure to install the standard kernel or the standard legacy kernel, or the official updated kernel. A kernel from contrib won't work.

    * Add the software sources main and contrib

    * urpmi mklivecd

    (this will install the broken mklivecd scripts from /contrib and install all dependencies.)

    * Replace all mklivecd scripts, just copy those from Toronto over to your installed system: :

    /usr/sbin/mklivecd

    /usr/sbin/hwdetect

    /usr/share/mklivecd/*

     

    * Copy /etc/rc.d/rc.sysinit and /etc/rc.d/init.d/halt from Toronto to your installed system

     

    * Install draklive-install and replace the draklive-install script with the one from Toronto

     

    * Download this syslinux packagage and install it:

    http://home.tiscali.nl/berenstraat/mcnl/sy...2007.1.i586.rpm

    (it is a non-patched syslinux package with the vesa menu feature)

     

    * Copy the file /usr/lib/syslinux/flash.jpg from Toronto to the main /usr/lib/syslinux/

    or create your own isolinux boot background, it is a normal 640x480 jpg file.

     

    * If you want the special MCNLive scripts then copy everything from /usr/local/bin over, and install the dependencies: zenity, bc

    Edit /etc/mtools.conf and add:

    MTOOLS_SKIP_CHECK=1

     

    To create an iso start a terminal window, su to root and run: mklivecd myown.iso

    More options for mklivecd: mklivecd --help

     

    The whole shebang how to use mklivecd, also with older Mandrake/Mandriva versions:

    www.mcnlive.org/howto_en.htm.

  8. there isn't a line like that in my kdmrc...

     

    i have to add it, right?

     

    Oops, sorry. I did not check in the original Delft.

    Yes, just add it. Be sure to add it in the section: [X-:*-Core]

     

    I am at work atm and can't look at it.

     

    On MCNLive VirtualCity I had it enabled, I can remember. Maybe check there the kdmrc file.

  9. Try this. Start kwrite in SU mode (run command: kdesu kwrite).

    Open the file: /etc/kde/kdm/kdmrc

     

    Search for the line:

     

    #TerminateServer=true

     

    (it is in the section: [X-:*-Core])

     

    Edit the line so it reads:

     

    TerminateServer=true

     

    Save the file.

  10. This answer to this question is very long :D

     

    Technical reasons. No doc pages, no man pages, some (very few, and not in the substance) changed config files, the install program just copies the whole live system to HD (instead of a clean installation of rpm's and many options the user has for the installation), all settings are the default MCNLive settings (the services, the disabled firewall etc) which are optimized for a live system.

     

    Almost philosohical reasons. MCNLive is not a Linux distribution in its own. It is Mandriva, a specific version for specific needs.

    I like to advise people who want the full-featured Linux experience a clean installation of the official MDV DVD. The installer is very powerful, feature-rich, with many choices a live system can't offer.

     

    Security and quality assurance. When you install a professional and community controlled Linux distribution you can be sure that you get a secure and tested system and software. Copying a live cd (that is actually what a live cd install does) to your hard disk, you basically trust the maker of the live cd. Trust is ok, but the development model of Linux gives you a better quality assurance when you use a normal installation medium. Though, it depends a bit on which Live cd you install. For example Fedora Live, Mandriva One and Ubuntu are built on an official built system/server. So, they should be safe.

     

    More here:

    https://mandrivausers.org/index.php?s=&...st&p=315161

    http://www.mandrivaclub.nl/site/index.php?showtopic=8003

     

    The snappiness of MCNLive on your system is just a question of some settings, KDE and system services mostly. MCNLive has no special kernel nor optimized packages or such. :D

     

    btw I don't mind people installing MCNLive. I just want them to be aware of the nature of a live system.

     

    Does this answer your question?

  11. I saw this once when 3D desktop was enabled.

     

    Do you use the default Delft KDE version? Any special applets in the systray?

    You could try in KDE Control center: KDE components --> Session manager -> check: Start with an empty session.

    Logout and login again.

    But I am not sure what the cause of the problem is.

  12. Thanks for your help..

     

    But, I'm using the free mandriva which doesn't have that much packages, I did a search in the Install, Remove & Update Software thingy for box in hope to find virtualbox but to no avail. So this is why I downloaded it off the VirtualBox website.. I tried the urpmi install but it says No package name "[name]", what should I do now? :wall:

     

    That's why I suggested:

     

    Set up your urpmi software sources, be sure you have main and contrib.

     

    MCC -> Software Management -> Select from where software packages ... -> button: "Add ..."

     

    or go to easyurpmi and add the sources:

    http://easyurpmi.zarb.org/

     

    You can search this forum for easyurpmi and software sources to get more hints about how to add sources.

  13. When you can't find a BIOS setting that enables the USB in this early stage, the only option i see is to install from MDV One or from MCNLive, or maye from the boot.iso - I am not sure what the default boot is on the boot iso.

     

    When you are planning to set up a dual boot, the real problem will start after the installation. You won't be able to choose on the bootloader screen if the BIOS has a problem to see the usb keyboard.

     

    //another reason not to buy a DELL PC

  14. Set up your urpmi software sources, be sure you have main and contrib.

    Open a terminal and type:

     

    su
    urpmi virtualbox

     

    Make sure when you get asked to choose the kernel-source version that matches your running kernel which you can find out by typing: uname -r in a terminal.

     

    Mandriva 2007.1 Spring comes with VirtualBox (OSE version). No need to download packages from the virtualbox website, unless you want the commercial non-open version.

     

    http://www.howtoforge.com/virtualization_o...iva_2007_spring

×
×
  • Create New...