Linux on a flash drive has become commonplace, but I did not find a clear guide to creating a flash version of my favorite distribution. Therefore, I present a guide to action that I myself experienced in practice. So - we create our own Mandriva 2007.1 on flash ...
1. Since the flash drive is dvuhgigovaya, and under the image it is necessary somewhere 750 MB, broke it into two sections of 1 gigabyte (of course, the second 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-linuxdownloaded and installed Pendrive 2008.
')
[transfer]
1. Insert a USB flash drive and make sure it is formatted with Fat32.
2. Open a terminal and access as root.
3. Type fdisk -l to find your USB drive (something like sdx1) You will need to replace x in steps 4 and 5 with the actual 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.zip7. Type unzip -o -d pendrivelinux Pendrivelinux08.zip to unpack the image on a flash drive.
8. Restart the computer and select the BIOS boot from the flash disk.
[transfer]
Then I got the first glitch - I didn’t sign up for the syslinux bootloader under Linux. Maybe the package is a curve, 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. Overload. And if everything is done correctly, then choosing the topmost mode, which allows you to modify the image, we will see the Pendrive desktop in a couple of minutes. But - the resolution is 800x600 and it does not smell Russian.
4. We take a file, namely the Mandriva Free 2007.1 disk and act according to the plan:
- going to drakrpm (or via the command line), turn off all Media and connect (Custom) your repository from 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
- we overload X-sy
- Russian appeared :)
5. Further, according to the schedule of the schedule - through DrakX11 we put the video card Vesa and the monitor Generic 1024x768 60 Hz.
6. By default, the disk is KOffice. Unfortunately, the image of OOO does not hold, so we delete KOffice (urpme -a koffice) and set AbiWord and Gnumeric.
7. We clean the Emerald, Beryl, Compiz and everything connected with them (what 3D on Vesa?)
8. Add Thunderbird-en and Firfox-ru packages
9. Running Drakkeyboard customize the layout.
10. Next, customize for yourself, using the remaining space on the loop section.
Oh yeah - we forgot about the remaining 900 meters - they can be found as / mnt / win_d and used for data storage.
PS Plans to install OOo, but for this you will need to install on a larger size flash drive. 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.