Reply to comment

pivot_root : No such file or directory // Kernel panic !

Great How-to !!! very helpfull.

I tried the install on a 2Gb usb flash drive.
All went ok, grub ok, kernel image decompressed, but the boot failed at this point :

pivot_root : No such file or directory
/sbin/init 431: Cannot open /dev/console: No such file...
kernel panic

I wasted a lot of time searching for any help but finally I found on a web page, someone talking about
the kernel which take time to load the usb modules, but initrd image delay is set to zero and tries to load /sbin/init but doesn't find it as /dev/sda is not loaded yet ...

So 2 solutions for filesystems on /dev/sda recognized :

- Include SCSI/USB modules directly in the kernel image. No need to load usb modules (but kernel image bigger ...)
- or set DELAY=15 on /etc/mkinitrd/mkinitrd.conf and then rebuild the initrd image.

I didn't tried yet those solutions, for the moment, I'm working on a knoppix install solution on usb drive using FAT32 partition .
I'll try soon re-installing debian ext2 filesystems on usb drive, I hope it could help someone in the same situation.

Brgrds. // Brahim

Reply

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>. Beside the tag style "<foo>" it is also possible to use "[foo]".

More information about formatting options