VFS: unable to mount rootfs on unknown-block(1,0)
Moderator: Pablo
-
- Member
- Posts: 25
- Joined: Tue Jul 28, 2009 8:11 pm
- Location: York,UK
- Contact:
VFS: unable to mount rootfs on unknown-block(1,0)
Hi,
I've just upgraded my MM box (ram-minimyth) from 0.22.0-73b2-x86_64 to 0.23.0-73b11-x86_64 and cannot get it to boot. The error is "Kernel panic - not syncing: VFS: unable to mount rootfs on unknown-block(1,0)" (immediately after loading the initrd).
I found one old thread but I'm guessing it's outdated; I can't see how to change the kernel parameters when doing an automated install. Can anyone shed any light on where I should be looking?
Thanks,
Russ
I've just upgraded my MM box (ram-minimyth) from 0.22.0-73b2-x86_64 to 0.23.0-73b11-x86_64 and cannot get it to boot. The error is "Kernel panic - not syncing: VFS: unable to mount rootfs on unknown-block(1,0)" (immediately after loading the initrd).
I found one old thread but I'm guessing it's outdated; I can't see how to change the kernel parameters when doing an automated install. Can anyone shed any light on where I should be looking?
Thanks,
Russ
Re: VFS: unable to mount rootfs on unknown-block(1,0)
just a thought, but when you extracted the root filesystem are you sure you did it as root user? Think it needs to be done as root to create some of the dev nodes (or something) correctly
-
- Member
- Posts: 25
- Joined: Tue Jul 28, 2009 8:11 pm
- Location: York,UK
- Contact:
Re: VFS: unable to mount rootfs on unknown-block(1,0)
Yeah, I ran "sudo ./mm_local_install ..." and there were no errors reported. IIRC if you run the install script as a normal user it throws various errors.
Thanks,
Russ
Thanks,
Russ
Re: VFS: unable to mount rootfs on unknown-block(1,0)
Your problem could be caused by the size of your root file system.
I have increased the size of the root file system from 96k to 128k when upgrading from 0.22 to 0.23 (option ramdisk_size=128000).
I have increased the size of the root file system from 96k to 128k when upgrading from 0.22 to 0.23 (option ramdisk_size=128000).
MiniMyth on Gigabyte GA-73PVM-S2H / Intel E8500 / GT520
-
- Member
- Posts: 25
- Joined: Tue Jul 28, 2009 8:11 pm
- Location: York,UK
- Contact:
Re: VFS: unable to mount rootfs on unknown-block(1,0)
Thanks! I see it's in the FAQ, but with a slightly different error message which is probably why I didn't find it.That got me up and running, at least as far as the next error ("MythContext: Connecting to backend server: 127.0.0.1:6543" new topic on the way if I can't resolve it)...
Russ
Russ
Re: VFS: unable to mount rootfs on unknown-block(1,0)
It appears that the error message from the kernel was changed slightly. I have updated the FAQ.GloomyTrousers wrote:Thanks! I see it's in the FAQ, but with a slightly different error message which is probably why I didn't find it.
MiniMyth running on an Acer ApireRevo 3610 and a Zotac ZBOX-ID80-U. Find out more at my MythTV page.
-
- Member
- Posts: 25
- Joined: Tue Jul 28, 2009 8:11 pm
- Location: York,UK
- Contact:
Re: VFS: unable to mount rootfs on unknown-block(1,0)
Just a thought: would it make sense to have "ramdisk_size=128000" the default, at least for those versions which require it (guessing x86_64)?
Russ
Russ
Re: VFS: unable to mount rootfs on unknown-block(1,0)
I have increased the ramdisk size to 128000 in the documentation and committed the change to SVN.
MiniMyth running on an Acer ApireRevo 3610 and a Zotac ZBOX-ID80-U. Find out more at my MythTV page.
-
- Member
- Posts: 25
- Joined: Tue Jul 28, 2009 8:11 pm
- Location: York,UK
- Contact:
Re: VFS: unable to mount rootfs on unknown-block(1,0)
FYI, with version 0.24.1-77-x86_64, ramdisk_size=128000 is not quite large enough to fit the "rootfs" file, which is now 129.5MB. I've increased it to 160000 which should be plenty and it now works.
Re: VFS: unable to mount rootfs on unknown-block(1,0)
Thank you. I have updated the documentation to reflect the larger image size. I changed it from 128000 to 192000.
MiniMyth running on an Acer ApireRevo 3610 and a Zotac ZBOX-ID80-U. Find out more at my MythTV page.