KeeP RooT

Switching root ...

pivot_root : [[InitRD]] issue on [[HP]] Workstation

Linux Kernel Panic on Debian sarge :

pivot_root: No such file or directory

works on Mandrake linux 10 but not on a “transplanted” debian sarge :

image=/boot/vmlinuz...
      label=[[Debian]]
      initrd=/boot/initrd.img...

on boot :

pivot_root: No such file or directory
/sbin/init: 431:cannot open /dev/console: No such file
Kernel panic - not syncing: Attempted to kill init======
real_root=/dev/sda8 for ramdisk (root=/dev/ram0)

did not help

I solved this issue by coping Mandrake Kernel and initrd to debian fs, back in Debian I installed a new kernel, and set it in lilo.conf and rebooted

http://http.us.debian.org/debian/pool/main/k/kernel-image-2.6.8-i386/kernel-image-2.6.8-2-386_2.6.8-13_i386.deb

http://wiki.debian.net/?DebianInstallerBrokenThings

http://kerneltrap.org/node/4677

http://lists.debian.org/debian-user-french/2005/03/msg00415.html

http://www.ubuntuforums.org/showthread.php?t=8050&page=2&pp=10

http://www.ubuntuforums.org/showthread.php?t=101780

mount -o loop /boot/initrd.img /mnt/tmp/
cat /mnt/tmp/linuxrc
#! /bin/sh
#
# $Id: linuxrc,v 1.11 2004/04/26 12:04:46 herbert Exp $
export PATH=/sbin:/bin
mount -nt proc proc proc
root=$(cat proc/sys/kernel/real-root-dev) ;  echo $root
echo 256 > proc/sys/kernel/real-root-dev
mount -nt tmpfs tmpfs bin ||  mount -nt ramfs ramfs bin
echo $root > bin/root

http://bugs.debian.org/317441

http://d-i.alioth.debian.org/manual/fr.i386/ch04s04.html#usb-copy-easy

MISC

MORE

root.txt · Last modified: 2017/09/01 22:34 by rzr
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki