DIY Mandriva Flash

    Linux on a flash drive became commonplace, but I did not find a clear guide to creating a flash version of my favorite distribution. Therefore, I give a guide to action, which he himself experienced in practice. So - we create our own Mandriva 2007.1 for flash ...

    1. Since the flash drive is two-gigabyte, and the image needs somewhere 750 MB, it is divided into two sections of 1 gig (it is clear that the second one was not so big) and formatted them in FAT32
    2. According to the instructions from

    www.pendrivelinux.com/2008/02/18/pendrivelinux-2008-install-from-linux

    downloaded and installed Pendrive 2008.

    [translation]

    1. Insert the USB flash drive and make sure that it is formatted for Fat32.
    2. Open a terminal and gain root access
    3. By typing fdisk -l find your USB drive (something like sdx1) you will need to replace x in steps 4 and 5 with the current letter of your drive (I had sdf1)
    4. Type syslinux -sf / dev / sdx1 to make the flash drive bootable (sometimes you need to install syslinux first)
    5. Type mkdir pendrivelinux && mount / dev / sdx1 pendrivelinux
    6. Type wget downloads.sourceforge.net/pendrivelinux/Pendrivelinux08.zip
    7. Type unzip -o -d pendrivelinux Pendrivelinux08.zip for on a flash drive
    8. Reboot the computer and select the BIOS boot from the flash drive.

    [transfer]

    Then the first glitch caught me - I did not write down the syslinux bootloader from under Linux. Maybe a curve packet, maybe something else. I had to load in the XP emulator and run the batch file on a flash drive. Then it all worked.

    3. We overload. And if everything is done correctly, then choosing the highest mode that allows you to modify the image, in a couple of minutes we will see the Pendrive desktop. But - the resolution is 800x600 and it does not smell Russian.

    4. We take the file, namely the Mandriva Free 2007.1 disk and proceed according to the plan:
    - by going to drakrpm (or via the command line), turn off all Media and connect (Custom) your repository from the disk
    - install locales-ru and kde-i18n-ru
    - in Draklocale choose Russian
    - in the K-menu System -> Configuration -> KDE -> Regional & Accessibility -> Country-Region & Language add Russian
    - overload X-systems
    - Russian appeared :)

    5. Next, according to the schedule, through DrakX11 we put the Vesa video card and the monitor Generic 1024x768 60Hz

    6. By default, KOffice is on the disk. Unfortunately, OOo does not interfere with the image, so we delete KOffice (urpme -a koffice) and put AbiWord and Gnumeric.

    7. We remove Emerald, Beryl, Compiz and everything connected with them (what 3D on Vesa?)

    8. Add Thunderbird-ru and Firfox-ru packages

    9. Launching Drakkeyboard we configure a layout.

    10. Next, we customize for ourselves, using the remaining space on the loop section.

    Oh yes - we forgot about the remaining 900 meters - they can be found as / mnt / win_d and used to store data.

    PS Plans to install OOo, but for this it will be necessary to install on a larger flash drive size. How to increase the space on the image I will write later, since by default there are about 250 MB of space on the image.

    Also popular now: