KeeP RooT

I love IronY :

<iframe width="560" height="315" src="" frameborder="0" allowfullscreen></iframe>

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 :


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

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



root.txt · Last modified: 2020/09/08 20:48 (external edit)
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