Abazigal a écrit :
J'ai donc changer mon grub.cfg avec root=802, juste pour voir; et là, ca boot bien ...
Mais bon, ca me semble être une solution à l'arrache (et en plus je ne la comprend pas), donc j'aimerai bien comprendre pourquoi ca ne marche pas avec /dev/sda2 ...
Salut,
Curieuse, j'ai fait une recherche. N'aurais-tu pas un disque dur en SCSI ? En tout cas, ça semble être un bug.
Voici quelques pages qui me semblent en rapport:
http://kerneltrap.org/mailarchive/linux ... 621/thread
Re: Problem booting with LILO 0.7 and SCSI disk
(à noter, ce post date de 1992 !)
This means that the Linux kernel is booted correctly but that it tries
to access the wrong root device. You have four choices of how to fix
this:
- run rdev (or setroot, I hope it uses the same syntax) on your kernel
to set the root device:
rdev /Image /dev/sda2
- tell LILO to take care of that. Either change the linux=/Image to
linux=/Image,/dev/sda2 (if you're using old-style configuration) or
add a line root=/dev/sda2 to the appropriate section of your
/etc/lilo/config (if you've switched to new-style configuration).
This is the preferred solution because you won't have to worry about
the root device if you replace the kernel.
- change ROOT_DEV at the beginning of your kernel's top-level Makefile
and rebuild it.
- when booting, press a shift key to enter the LILO boot prompt and
boot with boot: linux root=802
This will set the root device to /dev/sda2 for this boot. You have
Looks good. LILO typically fails much earlier (usually can't even load
itself) if the disktab is wrong.
Remontons dans le temps, en 1998 cette fois !
http://www.ale.org/pipermail/ale/1998-S ... 06065.html
> Another interesting tidbit. Look at my mount command output. It does not
> mention sdb it says I am running off sda2 but if I cat /proc/cmdline I get
> the following. BOOT_IMAGE=linux ro root=802 root=/dev/sdb2
un grand bond dans le temps, je trouve une trace de root 802 en 2008:
http://www.linuxquestions.org/questions ... 30-645192/
En 2006,
http://www.linuxquestions.org/questions ... ux-477447/
Code:
VFS: Cannot open root device "802" or 08:02
Please append a correct "root=" boot option
Kernel panic: VFS: Unable to mount root fs on 08:02
Si ton disque dur est en SCSI, comme le sont ceux des personnes ayant posté sur les liens qui précèdent, il se peut qu'une compilation en dur dans le kernel soit une solution. (Vu vaguement passer un des posts, allant dans ce sens...)
Je vois que dans le kernel c'est compilé en module:
$ zcat /proc/config.gz | grep SCSI
# CONFIG_CISS_SCSI_TAPE is not set
# SCSI device support
CONFIG_SCSI=m
Pourquoi root=802 ? J'ai trouvé une doc sur lilo qui l'explique, je n'y ai rien compris, n'ayant pas envie de lire toute cette technique hirsute, mais ça peut peut-être t'intéresser:
Version postscript
Technical overview Contents 1 Load sequence
Version html google illisible:
View as HTML
Je te suggère tout de même de faire un rapport de bug chez Grub, à moins que tu ne trouves des infos sur root=802 associées à GRUB/GRUB 2. Pour ma part, je n'en ai pas trouvé.
http://www.gnu.org/software/grub/
http://www.gnu.org/software/grub/grub-2-bugs.en.html