LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-18-2007, 10:49 PM   #1
minighosh
LQ Newbie
 
Registered: Aug 2007
Posts: 4

Rep: Reputation: 0
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
 
Old 08-19-2007, 02:29 AM   #2
reverse
Member
 
Registered: Apr 2007
Distribution: Gentoo
Posts: 337

Rep: Reputation: 30
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
 
Old 08-20-2007, 08:00 AM   #3
minighosh
LQ Newbie
 
Registered: Aug 2007
Posts: 4

Original Poster
Rep: Reputation: 0
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
 
Old 08-20-2007, 03:10 PM   #4
reverse
Member
 
Registered: Apr 2007
Distribution: Gentoo
Posts: 337

Rep: Reputation: 30
Code:
ls -al /mnt/hda2
ls -al /mnt/hda3
 
Old 08-22-2007, 06:53 AM   #5
minighosh
LQ Newbie
 
Registered: Aug 2007
Posts: 4

Original Poster
Rep: Reputation: 0
Re:

Hello!

I did

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

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

thanks,
mini
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
kernel panic with initrd UDF-fs: No partition found (1) Gremo Linux - Hardware 1 09-28-2006 07:12 PM
kernel panic due to /initrd deleted linux_ecil Linux - Kernel 1 07-10-2006 08:30 AM
bootsplash causes kernel panic after modifying initrd bewareofthesnowman Linux - Software 2 02-28-2006 06:33 PM
initrd & kernel panic asjapulk Linux - General 2 01-13-2004 01:35 AM
initrd kernel panic gavares Linux - General 0 08-25-2003 11:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:56 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration