Re: How do I know my root FS ??

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

 



Onkar N Mahajan wrote:
thanks for the knowledge abt top/bottom/interleaved posting ( thanks
for your polite reply :) )
ok ..


[root@localhost onkar]# mount
/dev/sda1 on / type ext3 (rw)
none on /proc type proc (rw)
none on /sys type sysfs (rw)
none on /dev/pts type devpts (rw,gid=5,mode=620)
usbfs on /proc/bus/usb type usbfs (rw)
none on /dev/shm type tmpfs (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)


[root@localhost onkar]# cat /etc/fstab
# This file is edited by fstab-sync - see 'man fstab-sync' for details
LABEL=/ / ext3 defaults 1 1 none /dev/pts devpts gid=5,mode=620 0 0 none /dev/shm tmpfs defaults 0 0 none /proc proc defaults 0 0 none /sys sysfs defaults 0 0 LABEL=SWAP-sda2 swap swap defaults 0 0
/dev/hdc                /media/cdrecorder       auto
pamconsole,fscontext=system_u:object_r:removable_t,exec,noauto,managed
0 0
/dev/fd0                /media/floppy           auto
pamconsole,fscontext=system_u:object_r:removable_t,exec,noauto,managed
0 0



[root@localhost onkar]# cat /boot/grub/grub.conf
# 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=/ rhgb quiet
       kernel /boot/vmlinuz-2.6.12.6 ro root=/dev/sda1

The configuration here looks fine but your panic messages shows something else

       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


with this ::


----------------------------------------------RESULT OF
REBOOTING-----------------------------
::::::::::::
::::::::::::
lot of stuff goes here
::::::::::::
::::::::::::
[4294671,594000] VFS: Cannot open root device "sad1" or unknown-block(0,0)
Probably there was a typo when you have altered the /boot/grub/grub.conf. Here the grub looks for the /dev/sad1 (the place where it looks for the /boot/<kernel image> ) and
no such device exist, thats what your panic message says
[4294671,594000] Please append a correct "root=" boot option
[4294671,594000] Kernel panic -not syncing: VFS: Unable to mount root
fs on unknown-block(0,0)
[4294671,594000]_

hang !!!

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

can you suggest me anything else.

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



--
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