humm, you need a /initrd. but i also have doubt about the
necessity of

    pivot_root /sysroot /sysroot/initrd
    umount /initrd/proc

will you experiment a little with the both and one by one?

jaybrata

----- Original Message -----
From: "Sumeet Madhukar Moghe" <[EMAIL PROTECTED]>
To: "ILUG CAL" <[EMAIL PROTECTED]>
Sent: Thursday, March 27, 2003 8:05 PM
Subject: Re: [ilug-cal] Kernel panic with initrd image


> On Thu, 2003-03-27 at 01:02, Jaybrata Bhattacharyya wrote:
> > can you send me the startup script (linuxrc??) of the initrd.img along
> > with its full (sub)directory listing? i can try.....
> Well, u gave me a great hint JB. My linuxrc file happens to contain the
following
>  conclusive lines.
> ~~~~~~~~~~~~~~~
> pivot_root /sysroot /sysroot/initrd
> umount /initrd/proc
> ~~~~~~~~~~~~~~
>  This is where the exceptions were being thrown. A little RTFM about
> pivot_root and initrd told me that **pivot_root <new_root> <put_old>**
> moves  the  root  file system of the current process to the directory
> put_old and makes new_root the new root file  system.
> Also if directory /initrd does not exist  on  the  normal root
> file‐system and any processes remain running from /dev/ram0 when
> /linuxrc exits, the behavior of the kernel is UNSPECIFIED.
> So the no-brainer solution to the problem seemed to be the obvious --
> create /initrd on the root file system with contents same as my initrd
> image. That did the trick and my system boots up as usual. What is still
> very strange is the fact that i faced this problem in the first place,
> considering that my system ran like greased lightning, just before this
> happened.
> Neways thnx for makin my brainz lite up like that!!
> > jaybrata
> /Sumeet
> --
> -----------------------------------------------------------------------
> Sumeet Madhukar Moghe         | mailto:[EMAIL PROTECTED]
> C/O Mr PK Das, Ghola C Block, | Phone:+ 91 - 33 - 2595 1420
> Opposite Checkpost, Sodepur,  |       + 91 - 33 - 2565 7575
> Calcutta 700 110 - INDIA      |
> Download PGP Pub Key   http://www.geocities.com/flame_boy_81/pubkey.zip
> -----------------------------------------------------------------------
>
> As far as the laws of mathematics refer to reality, they are not
> certain, and as far as they are certain, they do not refer to reality.
> -- Albert Einstein
>
>
>
> --
> To unsubscribe, send mail to [EMAIL PROTECTED] with the body
> "unsubscribe ilug-cal" and an empty subject line.
> FAQ: http://www.ilug-cal.org/node.php?id=3





--
To unsubscribe, send mail to [EMAIL PROTECTED] with the body
"unsubscribe ilug-cal" and an empty subject line.
FAQ: http://www.ilug-cal.org/node.php?id=3

Reply via email to