|
|
#1 (permalink) Top |
|
Paranoid Geeky Geek
![]() Join Date: Mar 2006
Age: 34 Male
Posts: 5,837
Times Helpful: 309
My Mood: Paranoid
Status: Online
|
this is only for users or Linux, do NOT type these commands in Windoze as the outcome is unknown & could be catastrophic
a broadband connection is almost essential when downloading a LiveCD unless you like banging your head against a wall to start with you need an original LiveCD, in this example we'll use Kubuntu Feisty Fawn 7.04 this is how you add / remove any software to / from a LiveCD by remastering the LiveCD (makeing a new custom LiveCD) to begin you need a Feisty LiveCD you can download one from here remember where you downloaded it to (e.g. ~/Desktop) now to save typing we'll rename the LiveCD you downloaded to feisty.iso by changing to the directory you downloaded it to
Off Topic: mine is in ~/Desktop, start konsole and Code:
cd ~/Desktop Code:
rn kubuntu-7.04-desktop-i386.iso feisty.iso next we need to "Loopback mount" the .iso enter but first we need to create the directory "/mnt/loop" Code:
mkdir /mnt/loop Code:
mount -o loop /path/to/feisty.iso /mnt/loop
Off Topic: nextmine is /home/dave Code:
rsync -ax loop /path/to/LiveCD.iso /mnt/loop/. kubuntu-rebuild now we'll do a bit of preparation next we'll use SquashFS & squashfs-tools (installable using your fav package manager or atp-get now we'll loopback mount the filesystem Code:
mount kubuntu-rebuild/casper/filesystem.squashfs /mnt/loop -t squashfs -o loop Code:
chroot ~/kubuntu-source now comes the fun bit
Off Topic: we'll now remove any software we don't need or want (but be very careful you don't remove something essential) & add any software we want, you can install or remove any software as you would normally would (for example with apt-get) anything you add / remove will be on the final LiveCD you are making, so, if you want Gparted on your LiveCD (as partition manipulation is always useful)fun, yeah right Code:
apt-get install gparted when you've finished playing with it type "exit" to leave the kubuntu LiveCD, now we'll make a list of files that will be on your remastered LiveCD by entering this daddy of most commands Code:
sudo chroot kubuntu-source dpkg-query -W --showformat='${Package} ${Version}\n | grep -v deinstall > ~/kubuntu-rebuild/casper/filesystem.manifest
now we need to rebuild the SquashFS filesystem image BTW: this command takes a while to complete too Code:
mksquashfs kubuntu-source/ kubuntu-rebuild/ casper/filesystem.squashfs -noappend Code:
(cd /kubuntu-rebuild && find . -type f -print0 | xargs -0 md5sum > md5sum.txt Code:
mkisofs -r -V "My Custom Kubuntu" -cache -iodes -J -l -b isolinux.bin -c isolinux.bin -c isolinux/ boot.cat -no-emul-boot -boot-load-size 4 -boot info-table -0 newkubuntu.iso kubuntu-rebuild BTW: i haven't completely done this yet, but it works also (i think) this is the way it should be done, however, there are easier ways like UNK Reconstructor & i'm sure you can find more
__________________
Last edited by donkey42; 05-10-2007 at 10:05 PM. Reason: edit |
|
|
|
|
#2 (permalink) Top |
|
iDude
![]() ![]() Join Date: Nov 2006
Age: 20 Male
Posts: 1,590
Times Helpful: 125
My Mood: Confused
Status: Offline
|
Thanks for the information
.But let's say I want to integrate a driver. When I load the live CD and I install it, are the integrated parts also installed? |
|
|
|
|
#3 (permalink) Top | ||
|
Paranoid Geeky Geek
![]() Join Date: Mar 2006
Age: 34 Male
Posts: 5,837
Times Helpful: 309
My Mood: Paranoid
Status: Online
|
Quote:
however, like Windoze only generic drivers are included & not every conceivable hardware driver can you integrate a driver a specific driver (not grfx & HDD, because thats slipstreaming) in Windows ? but to answer your question: a LiveCD already contains a lot general hardware drivers on a LiveCD (unfortunatly less than Windoze) just don't remove any important stuff while remastering your LiveCD however, i believe most windoze hardware is beta tested on *nix because *nix is more configurable hope that answers your question RH
Off Topic: not bad, off the top of my head Edit: it is possible to transfer a working system to a LiveCD which includes all specific drivers Quote:
BTW: thankies for testing me RH
__________________
Last edited by donkey42; 05-10-2007 at 08:45 PM. Reason: edit |
||
|
|
|
|
#4 (permalink) Top | ||
|
iDude
![]() ![]() Join Date: Nov 2006
Age: 20 Male
Posts: 1,590
Times Helpful: 125
My Mood: Confused
Status: Offline
|
Quote:
Quote:
But thanks anyway ![]()
Off Topic:
I would suggest to write that the above steps need to be done in a Linux environment, because it is possible that some people try to enter those commands in the Windows Command prompt |
||
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| kubuntu | donkey42 | Linux and Other OSes | 10 | 21-09-2006 08:47 PM |
| Kubuntu | Ghostman 1 | Linux and Other OSes | 6 | 16-08-2006 10:47 PM |
| First Look at Mandriva One 2006 LiveCD | megamaced | Linux and Other OSes | 3 | 23-06-2006 12:43 AM |
| New Kubuntu is out | sabashuali | Linux and Other OSes | 3 | 03-04-2006 05:47 PM |