Kernel Panic not syning vfs unable to boot fs and also showing list of available partitions

Michael SanAngelo msanangelo at gmail.com
Sat May 23 08:18:08 PDT 2009


I've encountered the same error on my first boot up of lfs. Edit your lfs
entry in grub with (root=/dev/sda8) as the boot option "root" to (hd0,7).
Below is the entry for my lfs build and it is on /dev/sda5.

Example:

title         LFS (Linux for Scratch) 6.4
root         (hd0,4)
kernel         /boot/lfskernel-2.6.27.4 root=/dev/sda5
savedefault
boot

My fdisk,

Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x58455f47

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1         261     2096451   82  Linux swap / Solaris
/dev/sda2             262        5483    41945715   83  Linux
/dev/sda3   *        5484       12010    52428127+   7  HPFS/NTFS
/dev/sda4           12011       60801   391913707+   5  Extended
/dev/sda5           12011       13315    10482381   83  Linux
/dev/sda6           13316       21148    62918541   83  Linux
/dev/sda7           21149       60801   318512691   83  Linux

I hope this helps, cheers! :)

On Sat, May 23, 2009 at 1:10 AM, srikanth tiyyagura <
srikanth.tulasiram at gmail.com> wrote:

> I am working on lfs project . I had built it but when booting i got the
> error message
>
> -----------------------------------------------------------------------
>
> VFS: Cannot open root device "sda8" or unknown-block (8,8)
>
> Please append a correct "root=" boot option , available partitions are
> 800              sda driver
> 801              sdb driver
> 810              sdb1
> 812              sdb2
> 813              sdb3
>
> Kernel panic - not syncing: VFS: Unable to mount root fs on unkown block
> (8,8)
> ----------------------------------------
>
> my  hard disk partition table is
>
> [root at localhost ~]# fdisk -l /dev/sda
>
> Disk /dev/sda: 80.0 GB, 80025280000 bytes
> 255 heads, 63 sectors/track, 9729 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
> Disk identifier: 0xc99dc99d
>
>    Device Boot      Start         End      Blocks   Id  System
> /dev/sda1   *           1        2550    20482843+   7  HPFS/NTFS
> /dev/sda2            2551        9728    57657285    f  W95 Ext'd (LBA)
> /dev/sda3            9729        9729        8032+  83  Linux
> /dev/sda5            2551        2720     1365493+  82  Linux swap /
> Solaris
> /dev/sda6            5101        7650    20482843+   7  HPFS/NTFS
> /dev/sda7            7651        9728    16691503+   7  HPFS/NTFS
> /dev/sda8            3744        5100    10900071   83  Linux
> /dev/sda9            2721        3743     8217216   83  Linux
>
> Partition table entries are not in disk order
>
> In /dev/sda8 , i had lfs and on sda9 , i had mandriva
>
>
> -------------------------------------------------------------------------------
> I tried the settings like
>
> SCSI complied directly not as a module  but my error is remained.
>
> please help me ...........
>
> --
> http://linuxfromscratch.org/mailman/listinfo/lfs-chat
> FAQ: http://www.linuxfromscratch.org/faq/
> Unsubscribe: See the above information page
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxfromscratch.org/pipermail/lfs-chat/attachments/20090523/04b63180/attachment.html>


More information about the lfs-chat mailing list