Menu

Kernel Panic: Unable to mount root fs on unknown-block(0,0)

Help
Josiah
2016-01-07
2016-02-07
  • Josiah

    Josiah - 2016-01-07

    I've been using CloneZilla live on a harddrive's seperate partition for little over 3 years on my clients computers for a quick "factory restore" when things bad. When we have a new system build, I occasionally have to tweak the grub preseed options to work with the new motherboard. We moved from "home" built machines to Dell's OptiPlex 7020/7040. I am having nothing but headaches. I can run CloneZilla from a CD or a USB with ISO with no issue. The problem I am having is getting it to run live on an internal secondary hard drive via grub that resides on the primary hard drive. Like I've said, I've been using this way for the last years with multiple version (now on the sixth one).

    Here is the previous grub preseed options:
    root (hd1,0)
    kernel /live-hd/vmlinuz boot=live config noswap nolocales edd=on nomodeset ocs_live_run="ocs-live-general" ocs_live_extra_param="" keyboard-layouts="NONE" ocs_live_batch="no" locales="en_US.UTF-8" vga=788 ip=frommedia nosplash bootfrom=/dev/sdb1 live-media-path=/live-hd/
    initrd=/live-hd/initrd.img
    boot

    Here is the one I'm trying to tweak to work on these Dell machines based on the latest documentation at http://clonezilla.org/show-live-doc-content.php?topic=clonezilla-live/doc/05_Preseed_options_to_do_job_after_booting:
    root (hd1,0)
    kernel /live-hd/vmlinuz
    append initrd=/live-hd/initrd.img boot=live config noswap nolocales edd=on nomodeset noprompt ocs_prerun="mount /dev/sdb2 /mnt" ocs_live_run="ocs-live-general" ocs_live_extra_param="" keyboard-layouts="NONE" ocs_live_batch="no" locales=en_US.UTF-8 vga=791 ip=nosplash
    boot

    I've tried both latests stable versions 2.4.2-61 and 20151012-wily.
    At first I thought it had to do with Dell's OEM partition on sda1 but I removed it and made sda2 (BCD location and grub) now sda1. The attached picture as the error.

    Thank you!

     

    Last edit: Josiah 2016-01-07
  • Steven Shiau

    Steven Shiau - 2016-01-11

    Did you try the latest testing Clonezilla live, like 20160105-xenial or 2.4.5-11?
    They come with newer Linux kernel so the results might be different.

    Steven.

     
  • Josiah

    Josiah - 2016-01-11

    I just tried with both of those unstables and got the same error but in different order, as attached.

     
  • Steven Shiau

    Steven Shiau - 2016-01-12

    Oh, you did not put "union=overlay" in your boot parameters.
    Please remember to check the syslinux/syslinux.cfg in the Clonezilla live version you have downloaded if you want to preseed.

    Steven.

     
  • Josiah

    Josiah - 2016-01-13

    I did that and got the same. If I copy/paste the default into my grub's file, it still get the same error. Really not sure what is so different about these Dell's than our own custom builds...

     
  • Steven Shiau

    Steven Shiau - 2016-01-14

    It seems the Linux kernel can not detect your Dell hardware.
    Do you know any version of GNU/Linux work for your Dell machine?

    Steven.

     
  • Josiah

    Josiah - 2016-01-14

    I'm not using Linux for anything other than Debian/Unbuntu that comes with CloneZilla. The system installed on the computer is Windows 7.

     
  • Josiah

    Josiah - 2016-01-15

    Oh. You mean probably grub version, 0.4.4. I switched over to grub 2 and was able to get further. However, I am running into another issue. It doesn't mount /dev/sdb2 like how I have it in the preseed. If I have it ask where to mount in the menu selection, sdb is completely ommitted. If I don't include it in the prerun, sdb is an option.

     
  • Josiah

    Josiah - 2016-01-19

    This is what I have the grub entry set to:

    search --set -f /live-hd/vmlinuz
    linux /live-hd/vmlinuz boot=live union=overlay config noswap nolocales edd=on nomodeset ocs_live_run=\"ocs-live-general\" ocs_live_extra_param=\"\" keyboard-layouts=\"NONE\" ocs_live_batch=\"no\" locales=\"en_US.UTF-8\" vga=791 ip=frommedia nosplash ocs_prerun=\"mount /dev/sdb2 /mnt\" bootfrom=/dev/sdb1 live-media-path=/live-hd/
    initrd /live-hd/initrd.img

     

    Last edit: Josiah 2016-01-19
  • Steven Shiau

    Steven Shiau - 2016-02-07

    So have you solved your issue?
    Did you try the latest stable Clonezilla live, like 2.4.5-20 or 20160203-wily on
    http://clonezilla.org/downloads.php
    ?

    Steven.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.