Re: How do I know my root FS ??

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

 



[snip]
CONFIG_X86_TRAMPOLINE=y

I was not able to find the support for initrd device in your kernel.
AFAIR this should be there in the kernel, isnt it? anyone ?
Can you recheck this?

Morover i wonder if you can run a kernel with all y's and m's as
possible in place, that too without any hiccups.
You are going to get and extremely slow kernel.

Ok ,wait you have a working kernel from your distro too right?
Great, now just copy your distro's working config file from the /boot
to your kernel tree. Better rename it as .config so that your current
config of all Ys and Ms is overwritten.

Issue make menuconfig or whatever you prefer.

Dont do anything fancy enough.
Just do following.

1. Make filesystem support builtin in the kernel by pressing y. I hope
yours is ext3 or ext2.
2. Esepcially check if you have a separate boto partition then make
the /boot fs type as y in the kernel.
4. block initrd suppot as 'y'.
5. initramfs 'y' <---- may not be necessary but it doesnot cost a penny :-).
6. SATA support 'y'.
7. SCSI support 'y'.
8. SCSI IDE support 'y'.
9. Advanced partiion support 'y'.

Save config and do simle make and make install.
Optionally if you cannot find your new kernel's corresponding
directory in /lib/module/ , also issue make modules and make
modules_install.

Anybody thinks i left something please let Onkar know.

Thanks
~psr



--------------------------------------------------


and my  grub.conf file is this ::

# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE:  You do not have a /boot partition.  This means that
#          all kernel and initrd paths are relative to /, eg.
#          root (hd0,0)
#          kernel /boot/vmlinuz-version ro root=/dev/sda1
#          initrd /boot/initrd-version.img
#boot=/dev/sda
default=1
timeout=5
splashimage=(hd0,0)/boot/grub/splash.xpm.gz
hiddenmenu
title Red Hat Enterprise Linux AS (2.6.12.6)
        root (hd0,0)
        kernel /boot/vmlinuz-2.6.12.6 ro root=LABEL=/dev/sda1
        initrd /boot/initrd-2.6.12.6.img
title Red Hat Enterprise Linux AS (2.6.9-42.0.10.EL_lustre.1.4.10smp)
        root (hd0,0)
        kernel /boot/vmlinuz-2.6.9-42.0.10.EL_lustre.1.4.10smp ro
root=LABEL=/ rhgb quiet
        initrd /boot/initrd-2.6.9-42.0.10.EL_lustre.1.4.10smp.img
title Red Hat Enterprise Linux AS (2.6.9-5.EL)
        root (hd0,0)
        kernel /boot/vmlinuz-2.6.9-5.EL ro root=LABEL=/ rhgb quiet
        initrd /boot/initrd-2.6.9-5.EL.img


and

I am still getting kernel panic !! VFS .... error !! please help me I
am trying this out for couple of days now !!

If you need any more information please let me know ..



Onkar



--
play the game

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[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