logo Debian Debian Debian-France Debian-Facile Debian-fr.org Forum-Debian.fr Debian ? Communautés logo inclusivité

Debian-facile

Bienvenue sur Debian-Facile, site d'aide pour les nouveaux utilisateurs de Debian.

Vous n'êtes pas identifié(e).

#1 13-09-2009 13:48:48

ger-le-sky
Membre
Distrib. : squeeze
Noyau : 2.6.30.2.686
(G)UI : Gnome 2.26.3
Inscription : 13-09-2009

Résolu // bootcd problème "kernel panic"

Salut,


j'orais besion de votre aide.
je vous explique :

je voudrais fair un live cd de ma debian lenny avec bootcd , j'ai donc modifier le bootcdwrite.conf comme ceci :

#
# 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="/boot/vmlinuz-2.6.26-2-686"

# additional options for the kernel
APPEND=""

# path to initrd
INITRD="/boot/initrd.img-2.6.26-2-686"

# define multiple kernels with KERNEL<number> and label KLABEL<number>
# default label is "linux<number>
# KLABEL1=686-3
# KERNEL1=/boot/vmlinuz-2.6.18-3-686-bigmem
# INITRD1=/boot/initrd.img-2.6.18-3-686-bigmem
# APPEND1=

# Text to Display at Boottime (see syslinux doku)
# This option is not supported for hppa
# display info files on boot prompt (F1 = DISPLAY, F2 = DISPLAY2 ...)
# (kernelinfo is replaced with a file which includes the kernelinfo)
DISPLAY="/usr/share/bootcd/default.txt"
DISPLAY2="kernelinfo"

# size of each ramdisk ram1 and ram2 (ram1: /dev /etc /home /root /tmp,
# (ram2: /var)
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/sda1 /dev/hda /dev/hdb /dev/hdc /dev/hdd /dev/scd0 /dev/scd1"


# do some checks or not
DO_CHECK=yes

# exclude some files or directories from writing to cd
NOT_TO_CD="/home/soogri/Téléchargements/ /home/soogri/ISO/"

# exclude some files or directories from loading to ram
# Because most people's home and root dir are to large to include
# in RAM, subdirectories can be excluded:
NOT_TO_RAM="$(find $SRCDISK/home $SRCDISK/root -maxdepth 1 -mindepth 1 -type d)"

# If you are using ssh it is helpful to have a unique ssh hostkey for
# each CD.
SSHHOSTKEY=yes

# If you are using udev filesystem and install the image only on other
# machines you need to set this to "yes" because the network interfaces are
# hardwired in /etc/udev/rules.d/z25_persistent-net.rules and we must remove
# them. You can do this also on bootcd2disk.
UDEV_FIXNET="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=auto

# use devfs or not
DEVFS=no


# 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
# }
#
#

# BOOTCDMODPROBE=standard|bootcd|auto
# If booted from initrd bootcd has to load the necessary modules.
# If only modules provided by initramfs-tools are needed you can
# specify "standard" here. If bootcd should try extra hard to load
# neccessary modules you can specify "bootcd" here.
# Bootcd will use discover for this purpose. So discover has to be installed.
# If you specify auto, bootcd will check if discover is installed.
# If it is installed # BOOTCDMODPROBE=bootcd will be set, if not
# BOOTCDMODPROBE=standard will be set.
# Be aware that people have reported, that sometimes BOOTCDMODPROBE=bootcd
# may not work but sometimes it is needed.
BOOTCDMODPROBE=standard


l'iso se créer rapidement et sans erreur ( cdimage.iso = 6Go~), je tente donc de le virtualisé ( avec virtualbox ) ,aux boot il me demande je ne sait trop quoi du genre "boot :"

je tape sda1, puis j'ai un beau :

mounting root file system ... /init: line 172: syntax error: 0xauto
kernel panic not syncing vfs unable to mount root fs on unknown-block 0 0


Pourquoi j'ai cette erreur ? J'ai oublié de mettre quelque chose dans mon bootcdwrite.conf ?

merci d'avance pour votre aide sad

Dernière modification par ger-le-sky (16-09-2009 12:08:16)


Laptop : Asus G2P - ATI mobility radeon X1700 - Ubuntu 9.10
Virtualbox : Debian squeeze
screenshot  shère compiz desktop

Hors ligne

#2 15-09-2009 13:35:01

ger-le-sky
Membre
Distrib. : squeeze
Noyau : 2.6.30.2.686
(G)UI : Gnome 2.26.3
Inscription : 13-09-2009

Re : Résolu // bootcd problème "kernel panic"

Personne n'a utilisé bootcd ? quelque galère sad

Laptop : Asus G2P - ATI mobility radeon X1700 - Ubuntu 9.10
Virtualbox : Debian squeeze
screenshot  shère compiz desktop

Hors ligne

#3 15-09-2009 14:11:18

phlinux
Membre
Distrib. : Buster
Noyau : 5.10
(G)UI : Openbox (+Rox+Feh)
Inscription : 09-05-2009

Re : Résolu // bootcd problème "kernel panic"

Bjr,
si tu ne trouves pas d'indication, il y a live-helper aussi

Pages perso : feh, omegat, udisks, passerelle, schroot vraiment transparent

Hors ligne

#4 16-09-2009 10:31:12

ger-le-sky
Membre
Distrib. : squeeze
Noyau : 2.6.30.2.686
(G)UI : Gnome 2.26.3
Inscription : 13-09-2009

Re : Résolu // bootcd problème "kernel panic"

merci bien mais j'aimerais réussir avec bootcd ( je suis têtu ) .

j'ai trouver une piste avec bootcdwrite il y a bootcd-mkinitramfs :

Usage: /usr/sbin/mkinitramfs [OPTION]... -o outfile [version]

Options:
  -d confdir  Specify an alternative configuration directory.
  -k          Keep temporary directory used to make the image.
  -o outfile  Write to outfile.
  -r root     Override ROOT setting in mkinitrd.conf.

Laptop : Asus G2P - ATI mobility radeon X1700 - Ubuntu 9.10
Virtualbox : Debian squeeze
screenshot  shère compiz desktop

Hors ligne

#5 16-09-2009 12:07:45

ger-le-sky
Membre
Distrib. : squeeze
Noyau : 2.6.30.2.686
(G)UI : Gnome 2.26.3
Inscription : 13-09-2009

Re : Résolu // bootcd problème "kernel panic"

j'ai reussi AHAHAHAH big_smile ( juste un soucis du xorg.conf avec virtualbox qui ne gère pas l'accélération 3D...)

Laptop : Asus G2P - ATI mobility radeon X1700 - Ubuntu 9.10
Virtualbox : Debian squeeze
screenshot  shère compiz desktop

Hors ligne

#6 17-09-2009 08:17:20

palmito
Administrateur
Lieu : Dans la boite de gâteau!
Distrib. : bah....
Noyau : heu...
(G)UI : gné?
Inscription : 28-05-2007

Re : Résolu // bootcd problème "kernel panic"

Hé hé smile un p'tit tuto pour ceux qui voudraient tenter l'expérience? big_smile

Hors ligne

#7 17-09-2009 08:26:12

phlinux
Membre
Distrib. : Buster
Noyau : 5.10
(G)UI : Openbox (+Rox+Feh)
Inscription : 09-05-2009

Re : Résolu // bootcd problème "kernel panic"

Bjr,

+1 pour le tuto

Pages perso : feh, omegat, udisks, passerelle, schroot vraiment transparent

Hors ligne

Pied de page des forums