PDA

View Full Version : cannot open root



adrian73
November 12th, 2015, 08:52 AM
Hello everyone. I have a music server that is using linux system. I try to start it but I get this error:

VFS:Cannot open root device "<NULL>" or unknown-block(8,1)
Please append a correct "root="boot option;here are the available partitions:
Kernel panic-not syncing:VPS:Unable to mount root fs on unknown-block(8,1)


extlinux.conf is:

TIMEOUT 10
DEFAULT vmlinuz root= /dev/sda1
APPEND rootwait raid=noautodetect clocksource=tsc ro idebus=66

fdisk -l is:

Device Boot Start End Blocks Id System
/dev/sdb1 * 32 410623 205296 83 Linux
/dev/sdb2 410624 469503 29440 83 Linux


some other informations about my boot:http://paste.ubuntu.com/13236935/

I tried boot repair but didn't work. Any suggestions?

oldos2er
November 13th, 2015, 01:23 AM
What version of Ubuntu are you running?

yancek
November 13th, 2015, 02:29 AM
Are you actually running Ubuntu or one of its derivatives?
You have syslinux installed to the MBR of sda and as you can see at the top of the boot repair output, it's second stage cannot be found so something definitely changed here. If you are using Ubuntu, is there any particular reason you do not use Grub2? Obviously sysinux can be used but it's certainly not the default.

Your post shows two partitions on sdb but the boot repair only shows one but does show two partitions on sda?
Has this server ever worked? Or is it a new install? If it was running then some changes must have been made to the syslinux bootloader, intentionally or accidentally. Did you make any changes just before this happening?

adrian73
November 13th, 2015, 11:56 AM
Thank you for your answer. I will try to be short. This is a server with a Linux custom kernel wrote on a 1gb ide flash. Also it has 2 sata ports were you can add 2 hdd with maximum 2TB. Sometime ago I spoke with a friend to modify this kernel to accept more then 2TB. I don't know how he did it but I can put a 8TB hdd on it. For some reason the server made an update,when I start it I get some errors. Unfortunately it doesn't have a video card and I can't see what's happening. I clone that ideflash (withdd command)and put in the pc. It boots but I get the error described above. Anyway I find that, that update re-wrote the kernel and I can't use hdd more then 2TB. At this moment I am using ubuntu 14.04 (3 months) on the pc.I found that the custom kernel is using fdisk. I know that I need to"replace it " with gnu parted.A few commands on ubuntu terminal a can handle, buthow can I use the commands for that custom terminal?How can I modify a custom kernel? I have many executable files on that files but I can't open from ubuntu.

That boot file that I share is only with the flash connected to pc, not my main hdd were ubuntu is installed.

I like ubuntu for it's speed but is so hard to learn it.