Olen tässä miettinyt, että miten se oikein tehdään? En yllättäen löytänyt ohjeita sellaisen tekemiseen ainakaan helposti.
Live-cd
kuinka?
4289
0Äänestä
Muut lukivat myös
Odottaa vastausta
Näihin keskusteluihin ei ole vielä vastattu. Ole ensimmäinen.
Turvaa tilisi vahvistamalla puhelinnumerosi. Voit silloin palauttaa unohtuneen salasanan tekstiviestillä.
Näihin keskusteluihin ei ole vielä vastattu. Ole ensimmäinen.
Vastaukset 4
Vanhimmat
Tuollaisen ohjeen olen joskus löytänyt ja tänne laittanut:
Jokin aika sitten törmäsin tällaiseen ohjeeseen eräällä keskustelupalstalla. Hyvin toimii kuulemma. kokeile ja kerro miten kävi.
SI-04: How To build your own Live CD with mklivecd?
Step 1
Install a 'basic' Mandrake 9.2 (individual package selection, concentrate on one DE) on a separate partition. Or as the only OS on your PC, does not matter. You will need a ~5 GB partition. And a swap partition, you can use your already existing swap. 250 MB should be fine. Create one user with a password, and root of course. If you have a multi-boot box, tell the installer to write lilo to /, not to the mbr. Modify your lilo in your main install to call lilo in your new partition. Or do what you use to do in this case ;-)
Step 2
Boot your fresh MDK. Run immediately menudrake - and choose menustyle - second choice: mandrake menu. Save it. Now you won't get the menu bug and you don't have to install all these updates.
Get the following rpm's from a mdk 9.2 contrib mirror:
* kernel-tmb-2.4.22.21
* busybox
* cloop-utils
Get the latest stable cvs version of mklivecd (mklivecd-0.5.7-0....noarch.rpm) here:
http://developer.berlios.de/project/showfi...p?group_id =1149
Install the kernel on the new partition. Urpmi or MCC. Uninstall the old kernel, dito. Reboot and make sure everything is ok. I had no problems. Install the rpms busybox, cloop and mklivecd on your new partition.
Step 3
Remove all stuff using mcc-softwaremanagement, that you don't need. Hints: python, gimp etc. Don't remove the gnome-libs, mdk config tools need them. Check in a terminal how big your used space is:
CODE
# df
Hint: clean /usr/share/doc and /usr/share/man and /usr/share/wallpapers (~200 MB)
* Install additional stuff from contrib and plf etc.
* You iso should have a maximum of 700 MB to fit on a cd. Your used space should be < 1,7 GB. The compression rate is ~ 41 %
Step 4
Make your desktop look nice. Configure everything - your live cd will look and behave almost exactly like your installed system. Don't forget to clean your browser cache, the cookies, your trash can ... stuff in your home dir, or the add. rpm's.
Once again:
CODE
# df
Step 5
Open a terminal, su to root :
CODE
# mklivecd --help
Here you'll find all options to run the script.
Most simple is:
CODE
# mklivecd .iso (where is your choice)
This will create an iso file in your current directory.
This is what I am using:
CODE
# mklivecd --verbose --keyboard=de --fstab=rw,auto --splash=no rainbow.iso
Explanation:
* --verbose
You can see, what the script is doing. Very nice!
* --keyboard=de
Default is the US layout, so this is my keyb for the live cd.
* --fstab=rw,auto
Default creates the script a fstab without mounting the partitions on the hd. This option creates a fstab with read-write mounted partitions, Windows and Linux part., exception NTFS (you have to mount it manually to an already set mount point)
* --splash=no
This will create a live cd without the Mandrake bootsplash and the background while booting. I've set it this way to get rid of it. When you have your own bootsplash theme, and you want to use it, dont set this option. Default is with bootsplash.
* rainbow.iso
This is the name of the iso file, that the script creates. Your choice.
There are many options you can use like: writing the iso to a different partition, excluding dirs and files from the creation, using a different /tmp dir for the whole process ... One of the most interesting is: you can install the script to your *main* OS and not into the new partition, so you would build the iso from 'outside'. But I am not familiar with it.
How long does it take: on a P4, 2 Ghz with 256 MB RAM and a swap of 250 MB it took me 7 minutes to create a 230 MB iso from a used space of ~600 MB.
Step 6
Burn the iso - to a cd-rw (or cd-r). Or copy it to a different partition where you have your burning application.
Step 7
Boot your cd. And tell us about it.
Kovalevyllä vain yksi NTFS-osio, jolla on Windws. Tuo systeemihän vaatii oman osion.
Juu, tuota, ymmärsin siis, että olet tekemässä omaa linux live cd:täsi, etkä vain lataamassa ja polttamassa sellaista levylle... Tuollahan nuita on jos jonkinlaisia: http://www.frozentech.com/content/livecd.php Sieltä vaan lataat jonkin koneellesi ja sitten nerolla, tai mitä ikinä käytätkin, poltat levykuvan (image). Muista polttaa levy alhaisella nopeudella ja kun levy on valmis boottaat koneen siltä ja alat nautiskella.
lataa iso tiedosto.polta vaikka nerolla imageksi.Kone sammutetaan,boottaus romppuasemaan.