Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 05/08/2007, à 12:23

koro

boot zenwalk grub = kernel panic

salut tout le monde,

j'ai essayé d'ajouter Zenwalk (installer sur mon second disque dur), via mon menu.lst (grub) de Ubuntu:

title 		Zenwalk
root 		(hd1,0)
kernel 		/boot/vmlinuz root=/dev/sdb

je redémare, puis j'essaie de booter sur Zenwalk, j'ai droit a un message d'erreur comme celui ci:

UDF-fs: No partition found (1)
No filesystem could mount root, tried: reiserfs ext3 ext2 iso9660 udf xfs
Kernel Panic -not syncing: VSF: Unable to mount root fs on unknow-block (8,16).

Je pense qu'il manque des lignes dans mon menu.lst. si quelqu'un veut bien m'aider, Svp ?

#2 Le 05/08/2007, à 12:47

koro

Re : boot zenwalk grub = kernel panic

J'ai essayé un:

title 		Zenwalk 4.4.1
root 		(hd1,0)
kernel 		/boot/vmlinuz-2.6.21 root=/dev/sda10 quiet splash 
initrd 		/boot/initrd.splash
boot

et cette fois ci j'ai droit a un:

FILE NOT FOUND

je ne sais plus trop quoi faire (...)

#3 Le 05/08/2007, à 12:59

belga

Re : boot zenwalk grub = kernel panic

poste le retour de

sudo fdisk -l

puis tape

sudo grub
grub> find /boot/grub/stage1       #poste le retour
grub> find /grub/stage1             #poste le retour
grub> quit

Multi-bomb : Multi-doze : Mandoze, Ubundoze, Pardoze.

900s entre deux postes: mododoze

Hors ligne

#4 Le 05/08/2007, à 13:06

koro

Re : boot zenwalk grub = kernel panic

sudo fdisk -l :

Périphérique Amorce    Début         Fin      Blocs    Id  Système
/dev/sda1   *           1         510     4096574+  83  Linux
/dev/sda2             511         638     1028160   82  Linux swap / Solaris
/dev/sda3             639        9729    73023457+  83  Linux

Disque /dev/sdb: 80.0 Go, 80026361856 octets
255 têtes, 63 secteurs/piste, 9729 cylindres
Unités = cylindres de 16065 * 512 = 8225280 octets

Périphérique Amorce    Début         Fin      Blocs    Id  Système
/dev/sdb1   *           1        9355    75144006   83  Linux
/dev/sdb2            9356        9729     3004155    5  Extended
/dev/sdb5            9356        9729     3004123+  82  Linux swap / Solaris

grub> find /boot/grub/stage1     

Error 15: File not found

grub> find /grub/stage1   

Error 15: File not found

#5 Le 05/08/2007, à 13:20

belga

Re : boot zenwalk grub = kernel panic

tu bootes sur quel disque?
Error 15, grub ne trouve rien, tu as zenwalk et ubuntu?
tu arrives à booter sur ubuntu?

Moi je suppose que tu es en live: sinon tu adaptes la suite

on va monter sdb1

sudo mkdir /panne
sudo mount -o rw /dev/sdb1 /panne

poste les retours de

cat /panne/boot/grub/menu.lst
ls /panne/boot/grub
ls /panne/boot

Au fait

title         Zenwalk 4.4.1
root         (hd1,0)
kernel         /boot/vmlinuz-2.6.21 root=/dev/sda10 quiet splash
initrd         /boot/initrd.splash
boot

tu n'as pas de sda10, c'est sdb1.

Dernière modification par belga (Le 05/08/2007, à 13:22)


Multi-bomb : Multi-doze : Mandoze, Ubundoze, Pardoze.

900s entre deux postes: mododoze

Hors ligne

#6 Le 05/08/2007, à 14:03

koro

Re : boot zenwalk grub = kernel panic

cat /panne/boot/grub/menu.lst :

# menu.lst - See: grub(8), info grub, update-grub(8)
#            grub-install(8), grub-floppy(8),
#            grub-md5-crypt, /usr/share/doc/grub
#            and /usr/share/doc/grub-doc/.

## default num
# Set the default entry to the entry number NUM. Numbering starts from 0, and
# the entry number 0 is the default if the command is not used.
#
# You can specify 'saved' instead of a number. In this case, the default entry
# is the entry saved with the command 'savedefault'.
# WARNING: If you are using dmraid do not change this entry to 'saved' or your
# array will desync and will not let you boot your system.
default         0

#hiddenmenu

# Pretty colours
#color cyan/blue white/blue

## password ['--md5'] passwd
# If used in the first section of a menu file, disable all interactive editing
# control (menu entry editor and command-line)  and entries protected by the
# command 'lock'
# e.g. password topsecret
#      password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
# password topsecret

#
# examples
#
# title         Windows 95/98/NT/2000
# root          (hd0,0)
# makeactive
# chainloader   +1
#
# title         Linux
# root          (hd0,1)
# kernel        /vmlinuz root=/dev/hda2 ro
#

#
# Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST

### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default options below

## DO NOT UNCOMMENT THEM, Just edit them to your needs

## ## Start Default Options ##
## default kernel options
## default kernel options for automagic boot options
## If you want special options for specific kernels use kopt_x_y_z
## where x.y.z is kernel version. Minor versions can be omitted.
## e.g. kopt=root=/dev/hda1 ro
##      kopt_2_6_8=root=/dev/hdc1 ro
##      kopt_2_6_8_2_686=root=/dev/hdc2 ro
# kopt=root=UUID=6d0a0b11-ae5f-4516-bfcd-69260d6a9c1b ro nmi_watchdog=0

## Setup crashdump menu entries
## e.g. crashdump=1
# crashdump=0

## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd0,0)

## should update-grub create alternative automagic boot options
## e.g. alternative=true
##      alternative=false
# alternative=true

## should update-grub lock alternative automagic boot options
## e.g. lockalternative=true
##      lockalternative=false
# lockalternative=false

## additional options to use with the default boot option, but not with the
## alternatives
## e.g. defoptions=vga=791 resume=/dev/hda5
# defoptions=quiet splash

## should update-grub lock old automagic boot options
## e.g. lockold=false
##      lockold=true
# lockold=false

## Xen hypervisor options to use with the default Xen boot option
# xenhopt=

## Xen Linux kernel options to use with the default Xen boot option
# xenkopt=console=tty0

## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
##      altoptions=(recovery) single
# altoptions=(recovery mode) single

## controls how many kernels should be put into the menu.lst
## only counts the first occurence of a kernel, not the
## alternative kernel options
## e.g. howmany=all
##      howmany=7
# howmany=all

## should update-grub create memtest86 boot option
## e.g. memtest86=true
##      memtest86=false
# memtest86=true

## should update-grub adjust the value of the default booted system
## can be true or false
# updatedefaultentry=false

## ## End Default Options ##

splashimage=(hd0,0)/boot/grub/splashimages/tuxos.xpm.gz

title           Ubuntu, kernel 2.6.20-16-generic
root            (hd0,0)
kernel          /boot/vmlinuz-2.6.20-16-generic root=UUID=6d0a0b11-ae5f-4516-bfcd-69260d6a9c1b ro nmi_watchdog=0 quiet splash
initrd          /boot/initrd.img-2.6.20-16-generic
quiet
savedefault

title           Ubuntu, kernel 2.6.20-16-generic (recovery mode)
root            (hd0,0)
kernel          /boot/vmlinuz-2.6.20-16-generic root=UUID=6d0a0b11-ae5f-4516-bfcd-69260d6a9c1b ro nmi_watchdog=0 single
initrd          /boot/initrd.img-2.6.20-16-generic

title           Ubuntu, kernel 2.6.20-15-generic
root            (hd0,0)
kernel          /boot/vmlinuz-2.6.20-15-generic root=UUID=6d0a0b11-ae5f-4516-bfcd-69260d6a9c1b ro nmi_watchdog=0 quiet splash
initrd          /boot/initrd.img-2.6.20-15-generic
quiet
savedefault

title           Ubuntu, kernel 2.6.20-15-generic (recovery mode)
root            (hd0,0)
kernel          /boot/vmlinuz-2.6.20-15-generic root=UUID=6d0a0b11-ae5f-4516-bfcd-69260d6a9c1b ro nmi_watchdog=0 single
initrd          /boot/initrd.img-2.6.20-15-generic

title           Ubuntu, memtest86+
root            (hd0,0)
kernel          /boot/memtest86+.bin
quiet

title           Zenwalk 4.4.1
root            (hd1,0)
kernel          /boot/vmlinuz root=/dev/sdb1 ro
initrd          /boot/initrd.splash
boot

ls /panne/boot/grub :

default        installed-version  minix_stage1_5     stage2
device.map     jfs_stage1_5       reiserfs_stage1_5  xfs_stage1_5
e2fs_stage1_5  menu.lst           splashimages
fat_stage1_5   menu.lst~          stage1

ls /panne/boot :

abi-2.6.20-15-generic         initrd.img-2.6.20-16-generic
abi-2.6.20-16-generic         memtest86+.bin
config-2.6.20-15-generic      System.map-2.6.20-15-generic
config-2.6.20-16-generic      System.map-2.6.20-16-generic
grub                          vmlinuz-2.6.20-15-generic
initrd.img-2.6.20-15-generic  vmlinuz-2.6.20-16-generic

Je précise, que Zenwalk utilise Lilo, et que peut être je pourrais configurer Ubuntu sur LILO ?
Peut être qu'il faut que je démarre mon ordinateur depuis Zenwalk et LILO ?
(celà reste une solution, si je n'y arrive pas avec GRUB d'Ubuntu ).

J'espère ne pas être trop confus.

#7 Le 05/08/2007, à 14:13

belga

Re : boot zenwalk grub = kernel panic

bah il faut répondre aux questions

tu bootes sur quel disque?
Error 15, grub ne trouve rien, tu as zenwalk et ubuntu?
tu arrives à booter sur ubuntu?

Chose bizarre, le menu.lst que tu as posté (/dev/sdb1) c'est celui d'ubuntu?

remplace /panne par /panne1 et sdb1 par sda1 dans le message 5.


Multi-bomb : Multi-doze : Mandoze, Ubundoze, Pardoze.

900s entre deux postes: mododoze

Hors ligne

#8 Le 05/08/2007, à 14:28

koro

Re : boot zenwalk grub = kernel panic

Je boot sur le disque (hd0,0), et je suis actuellement sur Ubuntu.
Oui j'ai Zenwalk et Ubuntu
Oui j'arrive a booter sur Ubuntu.

Je n'arrive pas a booter sur Zenwalk via le menu grub, par contre sans grub j'y arrive. (en choisissant depuis le bios).

#9 Le 05/08/2007, à 14:38

belga

Re : boot zenwalk grub = kernel panic

je ne comprens pas deux choses
1- on a monté sdb1 contenant zenwal sur /panne. Or le menu.lst
   est celui d'ubuntu?
2- grub ne trouve pas /boot/grub/stage1
  réessaye

sudo grub   (un fois que tu vois grub> continue)
find /boot/grub/stage1       
quit

A faire
remplace /panne par /panne1 et sdb1 par sda1 dans le message 5.

poste

cat /boot/grub/devive.map

Multi-bomb : Multi-doze : Mandoze, Ubundoze, Pardoze.

900s entre deux postes: mododoze

Hors ligne

#10 Le 05/08/2007, à 14:57

koro

Re : boot zenwalk grub = kernel panic

find /boot/grub/stage1

grub> find /boot/grub/stage1
 (hd1,0)

grub>

cat /boot/grub/devive.map:

cat: /boot/grub/devive.map: Aucun fichier ou répertoire de ce type

j'ai même essayé:

pwet@ubuntu:/$ cd /panne1/
pwet@ubuntu:/panne1$ cat /boot/grub/devive.map
cat: /boot/grub/devive.map: Aucun fichier ou répertoire de ce type
pwet@ubuntu:/panne1$

#11 Le 05/08/2007, à 14:58

koro

Re : boot zenwalk grub = kernel panic

Or le menu.lst est celui d'ubuntu?

Oui c'est bien celui d'Ubuntu. Encore désolé pour le manque de précision de ma part.

#12 Le 05/08/2007, à 15:03

belga

Re : boot zenwalk grub = kernel panic

erreur de ma part device au lieu de devive

cat /boot/grub/device.map

Alors ubuntu est installé sur sdb1
Alors que donne (tu montes sda1 sur panne1, je pense que tu l('as déjà fait)

cat /panne1/etc/lilo.conf

Multi-bomb : Multi-doze : Mandoze, Ubundoze, Pardoze.

900s entre deux postes: mododoze

Hors ligne

#13 Le 05/08/2007, à 15:28

koro

Re : boot zenwalk grub = kernel panic

pwet@ubuntu:~$ cat /boot/grub/device.map
(hd0)   /dev/sda
pwet@ubuntu:~$ cat /panne1/etc/lilo.conf
# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
append="resume=/dev/sda2 splash=silent tom"
boot = /dev/sda
bitmap=/boot/splash.bmp
bmp-table=234p,348p,1,4
bmp-colors=220,0,,255,220,
bmp-timer=539p,396p,220,0,
prompt
timeout = 50
# Override dangerous defaults that rewrite the partition table:
change-rules
  reset
# VESA framebuffer console @ 1280x1024x64k
vga = 794
# Normal VGA console
# vga = normal
# VESA framebuffer console @ 1024x768x64k
# vga=791
# VESA framebuffer console @ 1024x768x32k
# vga=790
# VESA framebuffer console @ 1024x768x256
# vga=773
# VESA framebuffer console @ 800x600x64k
# vga=788
# VESA framebuffer console @ 800x600x32k
# vga=787
# VESA framebuffer console @ 800x600x256
# vga=771
# VESA framebuffer console @ 640x480x64k
# vga=785
# VESA framebuffer console @ 640x480x32k
# vga=784
# VESA framebuffer console @ 640x480x256
# vga=769
# End LILO global section
# Linux bootable partition config begins
image = /boot/vmlinuz
  root = /dev/sda1
  label = Zenwalk
  initrd = /boot/initrd.splash
  read-only
# Linux bootable partition config ends
tom@ubuntu:~$

#14 Le 05/08/2007, à 15:48

belga

Re : boot zenwalk grub = kernel panic

comme tu vois zenwalk est sur sda et ubuntu sur sdb
puisque lilo est sur /panne1 et menu.lst sur /panne.
Mais d'autre part, sda est vu comme hd0 par grub, il y a
un mic mac.

As tu débranché le disque ubuntu pour
installer zenwalk?


Multi-bomb : Multi-doze : Mandoze, Ubundoze, Pardoze.

900s entre deux postes: mododoze

Hors ligne

#15 Le 05/08/2007, à 16:20

koro

Re : boot zenwalk grub = kernel panic

As tu débranché le disque ubuntu pour installer zenwalk?

non, j'ai installé sur un disque dur a part.

#16 Le 05/08/2007, à 16:24

belga

Re : boot zenwalk grub = kernel panic

depuis ubuntu, tu tape (on va regarder comment grub voit tes partitions)

sudo grub
null (hd           tape alors sur la touche tab et poste le retour
null (hd0,           tape alors sur la touche tab et poste le retour
null (hd1,          tape alors sur la touche tab et poste le retour
quit

Dernière modification par belga (Le 05/08/2007, à 17:57)


Multi-bomb : Multi-doze : Mandoze, Ubundoze, Pardoze.

900s entre deux postes: mododoze

Hors ligne

#17 Le 06/08/2007, à 00:15

koro

Re : boot zenwalk grub = kernel panic

Hey, super monsieur, grâce a vous mon DualBoot fonctionne lol ...

J'ai remplacé les trucs comme ils fallaient, en fait je ne savais pas a la base les numéros de mes disques dur ...

Donc voilà super, tant que ça fonctionne, c'est ça l'important !

Mille merci a toi, tu es génial !

Thank you very much big_smile

#18 Le 07/08/2007, à 12:58

belga

Re : boot zenwalk grub = kernel panic

Pourquoi tu ne décris pas ce que tu as fait,
histoire que les lecteurs puissent  comprendre
et ainsi ne pas poster.


Multi-bomb : Multi-doze : Mandoze, Ubundoze, Pardoze.

900s entre deux postes: mododoze

Hors ligne