LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   umount/initrd/proc failed :2 kernel panic: no int found (https://www.linuxquestions.org/questions/linux-newbie-8/umount-initrd-proc-failed-2-kernel-panic-no-int-found-578124/)

minighosh 08-18-2007 10:49 PM

umount/initrd/proc failed :2 kernel panic: no int found
 
Hi there!

I have both windows XP and fedora core linux on my laptop. Yesterday I was in linux and just gave one file search ( that was taking long) and I stoped it in between and then I inserted one pendrive (which earlier also I had used with this laptop) and I found that there is some problem in saving the file in vi editor, it became just read only mode. Then I rebooted the machine but got following messages:

Ext3 -fs : šan't read group descriptor 1
mount :error 22 mounting ext3
pivotroot: pivot_root (sysroot,/sysroot/initd) failed :2
umount/initrd/proc failed :2
kernel panic: No init found
try passing init =option to kernel

then it hangs


I tried to see answers of similar questions but, could not do any thing. I tried some kernel options from ""grub>" but could not succeeded.

I do not have botable CD for this linux. I had installed many related software on this linux so I do not want to loose it.

Is there a way to fix this problem? I have one bootable Knoppix linux but that too not taking me to my that partion of the system, means I could boot it through Knoppix bootable CD but couldnot access my earlier files.

If possible please help me.

Thanks,
Mini

reverse 08-19-2007 02:29 AM

Quote:

Is there a way to fix this problem? I have one bootable Knoppix linux but that too not taking me to my that partion of the system, means I could boot it through Knoppix bootable CD but couldnot access my earlier files.
Very strange indeed, let's make sure and check some settings first things first: boot up your Knoppix CD. Do you have a sepparate /boot partition? Try using the Knoppix cd to mount the root ( / ) partition of your installed linux system, and if you have a /boot partition, try mounting that too. If you don't know what devices to mount, "fdisk" might be of assistaince in pointing out your linux devices, give a paste of "fdisk -l" here if you still can't figure it out. If you don't know how to mount partitions, "man mount" should give you a clue.

Let's say you don't have a sepparate /boot partition, then give us the output of:

Code:

cat /mount/point/of/your/installed/root/partition/boot/grub/menu.lst
If you *do* have a sep. /boot partition, then give us the output of:

Code:

cat /mount/point/of/your/installed/boot/partition/grub/menu.lst
and the output of:

Code:

cat /mount/point/of/your/root/partition/etc/fstab
For example: if I mount my "boot" part to /mnt/my_boot and "/" to /mnt/my_root, I'd have to:

Code:

cat /mnt/my_boot/grub/menu.lst
cat /mnt/my_root/etc/fstab

Only "/" (no sep. "/boot"):

Code:

cat /mnt/my_root/boot/grub/menu.lst
cat /mnt/my_root/etc/fstab


minighosh 08-20-2007 08:00 AM

Reply
 
knoppix@ttyp0[knoppix]$ fdisk -l
Cannot open /dev/hda
knoppix@ttyp0[knoppix]$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/root 2.0M 1.1M 909K 54% /
/dev/cdrom 695M 695M 0 100% /cdrom
/dev/cloop 2.0G 2.0G 0 100% /KNOPPIX
/ramdisk 346M 2.8M 343M 1% /ramdisk
/mfs 9.6G -16Z 9.6G 101% /mfs
knoppix@ttyp0[knoppix]$ ls
Desktop tmp
knoppix@ttyp0[knoppix]$ mount /root
mount: can't find /root in /etc/fstab or /etc/mtab
knoppix@ttyp0[knoppix]$ cd ..
knoppix@ttyp0[home]$ ls
knoppix
knoppix@ttyp0[home]$ cd ..
knoppix@ttyp0[/]$ ls
KNOPPIX boot dev home mfs none proc root tmp var
bin cdrom etc lib mnt opt ramdisk sbin usr
knoppix@ttyp0[/]$ cd etc

knoppix@ttyp0[etc]$ cat fstab
proc /proc proc defaults 0 0
pts /dev/pts devpts mode=0622 0 0
/dev/fd0 /mnt/auto/floppy auto user,noauto,exec,umask=000 0 0
/dev/cdrom /mnt/auto/cdrom auto user,noauto,exec,ro 0 0
mfs /mfs mfs dfsa=1 0 0
# Added by KNOPPIX
/dev/hda1 /mnt/hda1 ntfs noauto,users,exec,ro,umask=000,uid=knoppix,gid=knoppix 0 0
# Added by KNOPPIX
/dev/hda2 /mnt/hda2 ext3 noauto,users,exec 0 0
# Added by KNOPPIX
/dev/hda3 /mnt/hda3 ext3 noauto,users,exec 0 0
# Added by KNOPPIX
/dev/hda5 none swap defaults 0 0

knoppix@ttyp0[boot]$ cd ../root
knoppix@ttyp0[root]$ ls
knoppix@ttyp0[root]$
knoppix@ttyp0[root]$ cd /usr/share/doc/grub/examples/
knoppix@ttyp0[examples]$ ls
menu.lst
knoppix@ttyp0[examples]$ vi menu.lst
knoppix@ttyp0[examples]$ cat menu.lst


Here I am getting more than 1 page on screen, so not copying here.

Please tell me whether this much information could be of any use?

I could not find boot partion of my linux system.

Thanks,
Mini

reverse 08-20-2007 03:10 PM

Code:

ls -al /mnt/hda2
ls -al /mnt/hda3


minighosh 08-22-2007 06:53 AM

Re:
 
Hello!

I did

$ls -al /mnt/hda2
$ls -al /mnt/hda3

but it is showing only . and ..
nothing more.

thanks,
mini


All times are GMT -5. The time now is 12:18 AM.