LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   kernel panic in linux after reinstalling windows (https://www.linuxquestions.org/questions/linux-newbie-8/kernel-panic-in-linux-after-reinstalling-windows-358165/)

b0nd 08-29-2005 12:49 PM

kernel panic in linux after reinstalling windows
 
Hello all,
i've windows XP, slackware 10.1 and redhat 9 on my machine.
yesterday i reinstalled XP.
i do not have common /boot or /home for my linux distros.
the bootloader is of redhat and the entries of slackware are in the /etc/grub.conf of redhat.
after reinstalling XP, as was quite obvious, i lost grub.
i booted with redhat 1st cd, reinstalled grub. O/S options are now there.
i can perfectly boot into XP and slackware but can't make it into Redhat.
when i'm trying to boot Redhat its giving the following error

**************
EXT 2-fs : ide0(3,9) :couldn't mount b'coz of unsupportd optional features (4)
kernel panic: VFS :unalbe to mount root fs on 03:09

**************
i've only one hard drive.

/dev/hda7 is for slackware
/dev/hda8 is for swap and
/dev/hda9 is for Redhat

i tried reinstalling grub 2-3 times but its of no avail.

what should i do now???
any kind of help will be appriciated.

regards

Edit: i also can't mount the redhat in slackware and the fs of redhat was ext3

masand 08-29-2005 01:26 PM

post ur grub.conf and output of

fdisk -l

from slack

regards

b0nd 08-29-2005 01:41 PM

since don't have access to redhat so can't post the entries of /etc/grub.conf

root@darkstar:~# fdisk -l

Disk /dev/hda: 40.0 GB, 40020664320 bytes
255 heads, 63 sectors/track, 4865 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 637 5116671 b W95 FAT32
/dev/hda2 638 4864 33953377+ f W95 Ext'd (LBA)
/dev/hda5 638 1274 5116671 7 HPFS/NTFS
/dev/hda6 1275 3696 19454683+ b W95 FAT32
/dev/hda7 3697 4257 4506201 83 Linux
/dev/hda8 4258 4282 200781 82 Linux swap
/dev/hda9 4283 4864 4674883+ 83 Linux

masand 08-29-2005 01:43 PM

so what errors do u get on mounting hda7 and hda9

b0nd 08-29-2005 01:44 PM

root@darkstar:~# mount /dev/hda9 /mnt/redhat/
mount: wrong fs type, bad option, bad superblock on /dev/hda9,
missing codepage or other error
In some cases useful info is found in syslog - try
dmesg | tail or so

root@darkstar:~#

masand 08-29-2005 01:51 PM

what do u have in /etc/fstab

and what do u get for

dmesg | tail

regards

rextor 08-29-2005 01:57 PM

i got similar problems with LFS. still have not solved it.
this link similar to your problem? this thread may also help ME sove this

b0nd 08-29-2005 01:58 PM

root@darkstar:~# cat /etc/fstab
/dev/hda8 swap swap defaults 0 0
/dev/hda7 / reiserfs defaults 1 1
/dev/hda1 /mnt/winC vfat defaults 1 0
/dev/hda5 /mnt/ntfs ntfs defaults 1 0
/dev/hda6 /mnt/winE vfat defaults 1 0
/dev/hda9 /mnt/refhat auto defaults 1 0
/dev/cdrom /mnt/cdrom iso9660 noauto,owner,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0


root@darkstar:~# dmesg | tail
hw_random: misc device register failed
[drm] AGP 0.99 Aperture @ 0xe8000000 64MB
[drm] Initialized i810 1.2.1 20020211 on minor 0
mtrr: base(0xe8000000) is not aligned on a size(0x180000) boundary
PCI: Found IRQ 11 for device 00:01.0
CSLIP: code copyright 1989 Regents of the University of California
PPP generic driver version 2.4.2
PPP BSD Compression module registered
PPP Deflate Compression module registered
EXT2-fs: ide0(3,9): couldn't mount because of unsupported optional features (4).
root@darkstar:~#

masand 08-29-2005 02:00 PM

did u recomplie this kernel and what do u get for

cat /proc/filesystems


regards

b0nd 08-29-2005 02:04 PM

no i didn't recompiled this kernel.

root@darkstar:/proc# cat filesystems
nodev rootfs
nodev bdev
nodev proc
nodev sockfs
nodev tmpfs
nodev shm
nodev pipefs
ext3
ext2
nodev ramfs
umsdos
msdos
vfat
iso9660
nodev nfs
reiserfs
nodev devpts
ntfs
nodev usbdevfs
nodev usbfs
root@darkstar:/proc#

masand 08-29-2005 02:22 PM

well it loks to me that there is some problem with your partiton

just google for

"couldn't mount because of unsupported optional features (4)."
and u can se what u can get from there

regards


All times are GMT -5. The time now is 02:43 AM.