Re: Error while making initrd file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On 11/30/05, Libin Varghese <libinv@xxxxxxxxx> wrote:
On Wed, 2005-11-30 at 01:34 +0530, Libin Varghese wrote:

> my *new* kernel didn't boot.

        I forgot to mention the boot error.

RAMDISK: Coundn't find valid RAM disk image starting at 0.
VFS: Cannot open root-device "hda4" or unknown-block (0,0)
Please append a correct "root= " boot option
Kernel panic: VFS: Unable to mount root fs on unknown-block (0,0)

well as u can c the error is self evident it says "plz append correct root= boot option.this means ur kernel doesnot know where to mount shift the root filesystem at the end of the completion of a boot script called initrc( AFAIR )... , actually there is pivot syscall which mainitains the current references to the initrd image but makes the root device the Hard disk partition which u call ur root partition.and to do so it need to mount a filessytem 1st on it.so u r getting this mesg cuz the kernel find the root partition either incorrect.

plz make sure dat its not necessary tht the the parition on the 1st line of the grub entry and the root device be same.the entry o n1st line says from where the kernel image is ( i.e /boot ) and root= is ur root partiton which u make.


i hope this will help.
good luck

and yes thanks for reminding Murphy's Law ;-)



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux