#1 Le 15/05/2006, à 08:44
- jp_lebrol
créer un livecd install depuis la version ubuntu installée sur le DD
Bonjour, je cherche à créer un liveCD install de la version ubuntu que j'ai installé avec tous les p)quets supplémentaires. Comment puis-je faire?
Je vous remercie très chaleureusement pour vos réponses.
@ bientôt
JP
Hors ligne
#2 Le 15/05/2006, à 11:50
- Black_pignouf
Re : créer un livecd install depuis la version ubuntu installée sur le DD
Je n'y connais pas grand chose, mais voilà ce que m'a donné une recherche dans le wiki:
http://doc.ubuntu-fr.org/installation/custom_livecd?s=live
Attention, c'est pour l'ancienne version d'Ubuntu et je ne sais pas si c'est toujours d'actualité.
Bon courage!
Hors ligne
#3 Le 15/05/2006, à 13:33
- jp_lebrol
Re : créer un livecd install depuis la version ubuntu installée sur le DD
Merci, mais ce que je cherche en fait c'est faire une image de mon disque dur et en faire un cd installable par tous les pc en i386.
Hors ligne
#4 Le 15/05/2006, à 13:42
- cep_
Re : créer un livecd install depuis la version ubuntu installée sur le DD
Regarde aussi l'utilisation de bootcd :
apt-cache show bootcd
#5 Le 15/05/2006, à 13:44
- cep_
Re : créer un livecd install depuis la version ubuntu installée sur le DD
Hum, je n'avais pas vraiment fait attention au mot "installable"
#6 Le 15/05/2006, à 13:47
- michel2652
Re : créer un livecd install depuis la version ubuntu installée sur le DD
Bonjour,
Merci, mais ce que je cherche en fait c'est faire une image de mon disque dur et en faire un cd installable par tous les pc en i386.
Il faudrait que les PC aient exactement la même config hardware ( CM+CG+Proc+HDD+CD etc...).
A+
#7 Le 15/05/2006, à 21:04
- jp_lebrol
Re : créer un livecd install depuis la version ubuntu installée sur le DD
Même si cela n'est pas installable sur tous les pcs, mais uniquement sur le mien, comment faire?
Hors ligne
#8 Le 15/05/2006, à 22:25
- Black_pignouf
Re : créer un livecd install depuis la version ubuntu installée sur le DD
Tant qu'à ne le faire que pour ton ordi, autant utiliser un soft de backup complète de ta config! Ca sera plus simple et plus rapide...
cf du coté de partimage, rdiff ou mondo.
Hors ligne
#9 Le 16/05/2006, à 05:54
- tyrtamos
Re : créer un livecd install depuis la version ubuntu installée sur le DD
Bonjour,
Je ne sais pas si ça répond exactement à ce que tu veux faire, mais l'appel dans google de "make livecd" affiche beaucoup de sites, y compris celui-là: http://www.linuxfrench.net/article.php3?id_article=1506.
Tyrtamos
Hors ligne
#10 Le 16/05/2006, à 07:36
- cep_
Re : créer un livecd install depuis la version ubuntu installée sur le DD
Puisque tu utilises une distribution à base debian, tu peux le faire avec bootcd :
http://www.libordux.org/debian-docs/bootcd.php
Tu peux aussi peaufiner un peu en utilisant au départ debootstrap, chroot et compagnie.
Un autre lien qui explique une modification de knoppix :
http://www.knoppix.net/wiki/Knoppix_Remastering_Howto_French (comme il date un peu, il faudra adapter).
#11 Le 16/05/2006, à 18:52
- i M@N
Re : créer un livecd install depuis la version ubuntu installée sur le DD
Puisque tu utilises une distribution à base debian, tu peux le faire avec bootcd :
http://www.libordux.org/debian-docs/bootcd.php
Tu peux aussi peaufiner un peu en utilisant au départ debootstrap, chroot et compagnie.
Alors là, si quelqu'un a plus d'infos pour faire de ma Dapper un live CD je prends direckt !!
J'ai installé bootcd ce matin et j'ai tenter de faire un iso.
J'ai configuré le fichier bootcdwrite.conf pour qu'il ne prenne pas en compte certains répertoires pour créer le Live CD ... il a superbement ignoré.
#
# bootcdwrite.conf
#
# look for man bootcdwrite.conf(5) for more informations
#
# this path was added as prefix to KERNEL, INITRD, DISABLE_CRON, NOT_TO_CD
# and NOT_TO_RAM, if this are relativ paths (without starting "/")
SRCDISK=/
# Define the kernel which is used. Nom du noyau a utiliser
KERNEL=boot/vmlinuz-2.6.15-22-386
# size of each ramdisk ram1 and ram2 (ram1: /dev /etc /home /root /tmp,
# (ram2: /var). La taille de chaque ramdisk.
RAMDISK_SIZE=8192
# typ is CD or DVD. Le type de media CD ou DVD
TYP=CD
# specify one or more CD devices to boot from, first is default
# "auto" try to find the bootcd on all SCSI and IDE CDROMS
CDDEV="auto /dev/hda /dev/hdb /dev/hdc /dev/hdd /dev/scd0 /dev/scd1"
# Text to Display at Boottime (see syslinux doku)
# This option is not supported for hppa. Message accueil au boot.
DISPLAY="/usr/share/bootcd/default.txt"
# do some checks or not. Faite des vérifications ou non.
DO_CHECK=yes
# additional options for the kernel
APPEND=""
# exclude some files or directories from writing to cd
# Fichiers ou dossiers a exclure du cd.
NOT_TO_CD="home/iman/tmp"
NOT_TO_CD="home/iman/.thunderbird"
NOT_TO_CD="home/iman/.vmware"
NOT_TO_CD="home/iman/vmware"
NOT_TO_CD="home/iman/backup"
NOT_TO_CD="home/iman/hddE"
NOT_TO_CD="home/iman/mp3"
NOT_TO_CD="home/iman/SiTE"
NOT_TO_CD="home/iman/Ubuntu"
NOT_TO_CD="home/iman/.gaim"
NOT_TO_CD="home/iman/.pingus"
NOT_TO_CD="home/iman/.wine"
NOT_TO_CD="media/hddE"
NOT_TO_CD="usr/lib/kde3"
NOT_TO_CD="usr/lib/klibc"
# exclude some files or directories from loading to ram
# fichiers ou dossiers, a ne pas charger en memoire ram
NOT_TO_RAM=""
# If you are using ssh it is helpfull to have a unique ssh hostkey for
# each CD. Config de SSH key pour chaque CD.
SSHHOSTKEY=yes
# logfile
ERRLOG=/var/log/bootcdwrite.log
# where the image resists after build
# dossier de destination de l'image ISO cree
#VAR=/var/spool/bootcd
VAR=/home/iman/tmp
# FLOPPY_RUNTIME_DEV=<floppy device>|""
# When you boot from cd you read changes from this device.
FLOPPY_RUNTIME_DEV=/dev/fd0
# BOOTFLOPPY=yes|no
# Config pour disquette de boot
# If you want to boot from FLOPPY specify BOOTFLOPPY=yes. This reduces
# space on floppy used by bootcdflopcp. For this to work FLOPPY_CREATE_DEV
# has to be specified.
# For hppa this option is not supported and must be set to no.
# Default:
# BOOTFLOPPY=no
BOOTFLOPPY=no
# If you want to boot several machines from the same cdrom, you must have
# the individual configuartion (exp: /etc/network/interfaces) on floppy.
# If one can not be mounted it is a good idea to stop booting and to wait
# for manual interaction instead of comming up with a wrong configuration.
BOOT_ONLY_WITH_FLOPPY=no
# delete some chached files in /var
CLEAN_VAR=yes
# If FASTBOOT=yes then additional images for the ramdisk will be created
# by bootcdwrite and copied to CD. This allows faster booting,
# but needs extra space on CD
# demarrage rapide en creant des ramdisk supplementaires, demande plus
# de place sur le support.
FASTBOOT=yes
# use isolinux (yes,no,auto), auto check for isolinux and use it
ISOLINUX=auto
# use -s (save, slow, stupid) option on syslinux
SYSLINUX_SAVE=yes
# use -s (save, slow, stupid) option on syslinux
SYSLINUX_SAVE=yes
# choose the architecture specifier une architecture
# ARCH=auto|hppa|i386|ia64
ARCH=auto
# use devfs or not
DEVFS=no
# path to initrd chemin vers l image init
INITRD="boot/initrd.img-2.6.15-22-386"
# addiditionel entries to fstab
# ajouter des entrées pour fstab pour les
# systemes de fichiers a monter au boot
# TO_FSTAB="/dev/hdc1 /home ext3 defaults 1 1
# /dev/usb0 /mnt/usb ext3 defaults 1 1 "
TO_FSTAB=""
# transparent compression of ISO 9660/Rock Ridge filessytem
# ("auto" checks for space to compress the image on the local system)
# pour compresser le system de fichier ISO 9660/Rock Ridge
# COMPRESS=<yes|no|auto>
COMPRESS="auto"
# Files or Directory-Trees that should never be compressed on CD can be listed
# here. You have to define the Path as it is on the CD, (with /var.ro
# instead of /var)
NOTCOMPRESSED=""
# Files listed in DISABLE_CRON will be on the cdrom with a .no_run_on_bootcd
# suffix so run-parts won't execute them. The original file will be a link to
# /bin/true.
#
DISABLE_CRON="etc/cron.daily/find etc/cron.daily/standard etc/cron.daily/security"
# With this variable you can add or delete some options
# given to mkisofs by bootcdwrite.
# Please create debian-bugreports if you have to use special
# options, not mentioned here. Then I can list this options here.
# changer les options donees a mkisofs pour la creation de l'image ISO.
MKISOFS_CHNG=""
# function extra_changes()
# It is possible to define a function called extra_changes to have some
# files modified on the ISO image. Here is an example:
#
# function extra_changes() {
# echo "noname" >$VAR/changes/etc.ro/hostname
#
# mkdir -p $VAR/changes/etc.ro/network
# ( echo "auto lo"
# echo "iface lo inet loopback"
# echo ""
# echo "auto eth0"
# echo "iface eth0 inet static"
# echo " address 0.0.0.0"
# echo " netmask 255.255.255.0"
# ) >$VAR/changes/etc.ro/network/interfaces
#
# echo "127.0.0.1 localhost noname" >$VAR/changes/etc.ro/hosts
#
# cat $SRCDISK/etc/passwd |
# grep -v -e "^bs:" -e "^bianca:" -e "^tim:" >$VAR/changes/etc.ro/passwd
#
# cat $SRCDISK/etc/shadow |
# grep -v -e "^bs:" -e "^bianca:" -e "^tim:" >$VAR/changes/etc.ro/shadow
#
# cat $SRCDISK/etc/group |
# grep -v -e "^bs:" -e "^bianca:" -e "^tim:" >$VAR/changes/etc.ro/group
# }
J'ai du installer bootcd-mkinitrd aussi.
Si quelqu'un sait où j'ai pas assuré et où je peux trouver un bon tuto ou une bonne doc sur la marche à suivre, merci de m'éclairer.
@+...
1 x Intel(R) Core i7 2600K CPU 3.4GHz Debian sid = roxX !
1 x MSi Wind U100 Debian sid = roxX !!
Read The F***in' Manual or die tryin' !
webmaster @ http://www.rastavibes.net reggae shop
Hors ligne
#12 Le 17/05/2006, à 10:11
- Libordux.Org
Re : créer un livecd install depuis la version ubuntu installée sur le DD
# exclude some files or directories from writing to cd
# Fichiers ou dossiers a exclure du cd.
NOT_TO_CD="home/iman/tmp"
NOT_TO_CD="home/iman/.thunderbird"
NOT_TO_CD="home/iman/.vmware"
NOT_TO_CD="home/iman/vmware"
NOT_TO_CD="home/iman/backup"
......
C'est normale que cela ne marche pas. Il faur spécifier vos répertoires sur la même ligne, séparé par un éspace.
NOT_TO_CD="home/iman/tmp home/iman/.thunderbird etc..."
Et hop là ça devrait jouer.
http://www.libordux.org/debian-docs/
#13 Le 17/05/2006, à 17:24
- i M@N
Re : créer un livecd install depuis la version ubuntu installée sur le DD
Hello !
Merci, je m'en suis douté après avoir posté et j'ai tenté comme ça mais tout ce que j'ai eu c'est un iso de plus d'un giga.
Faudrait vraiment un tuto pas à pas pour cette appli, c'est dommage de pas pouvoir la faire fonctionner.
@+...
1 x Intel(R) Core i7 2600K CPU 3.4GHz Debian sid = roxX !
1 x MSi Wind U100 Debian sid = roxX !!
Read The F***in' Manual or die tryin' !
webmaster @ http://www.rastavibes.net reggae shop
Hors ligne
#14 Le 16/12/2006, à 00:29
- amorgen
Re : créer un livecd install depuis la version ubuntu installée sur le DD
Salut,
je voudrais arriver à faire un livecd tout comme IM@n. J'arrive bien à générer des isos de mon install mais aucune n'est viable on dirait. Je les ai testées sur un vrai pc avec une config quasi identique au mien, j'ai retesté sur mon laptop, idem avec vmware:
au boot on me demande quel device est le lecteur cdrom, on a le choix entre hda, hdb, hdc, hdd, sda et sdb.
Si je tape entrée sans donner d'indication je tombe sur un kernel panic:
Si je donne "hda" après "boot:" (ce qui correspond à mon device lecteur /dev/hda), je tombe sur ceci:
Vous avez idée comment faire booter ces images ou modifier bootcdwrite pour ne plus avoir à renseigner le lecteur cd au demarrage ?
PS: voici mon bootcdwrite.conf:
#
# bootcdwrite.conf
#
# look for man bootcdwrite.conf(5) for more informations
#
# this path was added as prefix to KERNEL, INITRD, DISABLE_CRON, NOT_TO_CD
# and NOT_TO_RAM, if this are relativ paths (without starting "/")
SRCDISK=/
# Define the kernel which is used
KERNEL=vmlinuz
# size of each ramdisk ram1 and ram2 (ram1: /dev /etc /home /root /tmp,
# (ram2: /var)
RAMDISK_SIZE=8192
#RAMDISK_SIZE=16384
# typ is CD or DVD
TYP=DVD
# specify one or more CD devices to boot from, first is default
# "auto" try to find the bootcd on all SCSI and IDE CDROMS
CDDEV="auto /dev/hda /dev/hdb /dev/hdc /dev/hdd /dev/scd0 /dev/scd1"
# Text to Display at Boottime (see syslinux doku)
# This option is not supported for hppa
DISPLAY="/usr/share/bootcd/default.txt"
# do some checks or not
DO_CHECK=yes
# additional options for the kernel
APPEND=""
# exclude some files or directories from writing to cd
NOT_TO_CD="/home/amorgen"
# exclude some files or directories from loading to ram
NOT_TO_RAM=""
# If you are using ssh it is helpful to have a unique ssh hostkey for
# each CD.
SSHHOSTKEY=yes
# logfile
ERRLOG=/var/log/bootcdwrite.log
# where the image resists after build
VAR=/var/spool/bootcd
# FLOPPY_RUNTIME_DEV=<floppy device>|""
# When you boot from cd you read changes from this device.
FLOPPY_RUNTIME_DEV=/dev/fd0
# BOOTFLOPPY=yes|no
# If you want to boot from FLOPPY specify BOOTFLOPPY=yes. This reduces
# space on floppy used by bootcdflopcp. For this to work FLOPPY_CREATE_DEV
# has to be specified.
# For hppa this option is not supported and must be set to no.
# Default:
# BOOTFLOPPY=no
BOOTFLOPPY=no
# If you want to boot several machines from the same cdrom, you must have
# the individual configuartion (exp: /etc/network/interfaces) on floppy.
# If one can not be mounted it is a good idea to stop booting and to wait
# for manual interaction instead of comming up with a wrong configuration.
BOOT_ONLY_WITH_FLOPPY=no
# delete some chached files in /var
CLEAN_VAR=yes
# If FASTBOOT=yes then additional images for the ramdisk will be created
# by bootcdwrite and copied to CD. This allows faster booting,
# but needs extra space on CD
FASTBOOT=yes
# use isolinux (yes,no,auto), auto check for isolinux and use it
ISOLINUX=auto
# use -s (save, slow, stupid) option on syslinux
SYSLINUX_SAVE=yes
# choose the architecture
# ARCH=auto|hppa|i386|ia64
ARCH=i386
# use devfs or not
DEVFS=no
# path to initrd
INITRD="initrd.img"
# addiditionel entries to fstab
# TO_FSTAB="/dev/hdc1 /home ext3 defaults 1 1
# /dev/usb0 /mnt/usb ext3 defaults 1 1 "
TO_FSTAB=""
# transparent compression of ISO 9660/Rock Ridge filessytem
# ("auto" checks for space to compress the image on the local system)
# COMPRESS=<yes|no|auto>
COMPRESS="auto"
# Files or Directory-Trees that should never be compressed on CD can be listed
# here. You have to define the Path as it is on the CD, (with /var.ro
# instead of /var)
NOTCOMPRESSED=""
# Files listed in DISABLE_CRON will be on the cdrom with a .no_run_on_bootcd
# suffix so run-parts won't execute them. The original file will be a link to
# /bin/true.
#
DISABLE_CRON="etc/cron.daily/find etc/cron.daily/standard etc/cron.daily/security"
# With this variable you can add or delete some options
# given to mkisofs by bootcdwrite.
# Please create debian-bugreports if you have to use special
# options, not mentioned here. Then I can list this options here.
#
MKISOFS_CHNG=""
# function extra_changes()
# It is possible to define a function called extra_changes to have some
# files modified on the ISO image. Here is an example:
#
# function extra_changes() {
# echo "noname" >$VAR/changes/etc.ro/hostname
#
# mkdir -p $VAR/changes/etc.ro/network
# ( echo "auto lo"
# echo "iface lo inet loopback"
# echo ""
# echo "auto eth0"
# echo "iface eth0 inet static"
# echo " address 0.0.0.0"
# echo " netmask 255.255.255.0"
# ) >$VAR/changes/etc.ro/network/interfaces
#
# echo "127.0.0.1 localhost noname" >$VAR/changes/etc.ro/hosts
#
# cat $SRCDISK/etc/passwd |
# grep -v -e "^bs:" -e "^bianca:" -e "^tim:" >$VAR/changes/etc.ro/passwd
#
# cat $SRCDISK/etc/shadow |
# grep -v -e "^bs:" -e "^bianca:" -e "^tim:" >$VAR/changes/etc.ro/shadow
#
# cat $SRCDISK/etc/group |
# grep -v -e "^bs:" -e "^bianca:" -e "^tim:" >$VAR/changes/etc.ro/group
# }
amorgen@laptop:~$
Merci pour vos conseils !
Hors ligne
#15 Le 07/01/2007, à 18:34
- amorgen
Re : créer un livecd install depuis la version ubuntu installée sur le DD
up svp
Hors ligne
#16 Le 22/02/2007, à 14:42
- Guess69
Re : créer un livecd install depuis la version ubuntu installée sur le DD
Moi aussi j'ai la même erreur, et je serais très interessé par la solution.
dc UP!
#17 Le 22/02/2007, à 14:53
- Guess69
Re : créer un livecd install depuis la version ubuntu installée sur le DD
Re: Erreur résolue, il suffit de choisir le bon device au démarrage.
Si votre système était par exemple monté sda1, il faut taper sda1