Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I've made a boot disk with the kernel in one floppy and root fs in the other. The kernel boots and asks for thr Root filesystem.
On iserting the root fs floppy, I get the message:
RAMDISK: Compressed image found a block 0
For about 30-35 seconds it continues to read the floppy. Then it flashes the message:
Kernel Panic: No init found. Try passing init= option to kernel.
Then my keyboard also stops responding except for the Num lock and Caps Lock keys.
Is it something wong with the libraries.
My 'ldd init' gives
libc.so.6 => /lib/i686/libc.so.6
ld-linux.so.2 => /lib/ld-linux.so.2
So, I've copied my loader to /lib, but the library and its link to /lib/i686 directory. It's too big to be copied twice. So, I didn't copy it in /lib. I also made a soft link from /lib/lic.so.6 to the library in /lib/i686 in the hope of rectifying the error. But it didn't help. I'm using RH 7.3.
# Things to run in every runlevel.
ud:nce:/sbin/update
# Run gettys in standard runlevels
1:2345:respawn:/sbin/mingetty 9600 tty1
2:2345:respawn:/sbin/mingetty 9600 tty2
3:2345:respawn:/sbin/mingetty 9600 tty3
4:2345:respawn:/sbin/mingetty 9600 tty4
5:2345:respawn:/sbin/mingetty 9600 tty5
6:2345:respawn:/sbin/mingetty 9600 tty6
Though I haven't seen the update file included anywhere else, when I did 'man update', it said that this is the file that is executed every time by the system irrespective of the runlevel. So, I didn't delete it from inittab.
I had done objcopy --strip-debug for all the libraries, and --strip-all for all the binaries.
I had also done ldconfig. I think it shoukd be some error concerned with /etc/rc.d directory files. I might have not deleted the paths of some files properly, or something like that, because I don't know how to trim those files, all the rc.sysinit, rc, and all other files.
What files do I have to add in support of the /sbin/syslogd and /sbin/klogd? (On my system, it's /sbin and not /bin for these 2 files).
Don't we need the script of rc.sysinit?
What files do you have in /etc/rc.d/init.d? I've deleted almost all. It has all have script files, and they were either manipulating or using some files of /etc that I hadn't added, so I deleted those script files from init.d.
I've also made changes to my lilo.conf stored on the hard disk so that I can test my kernel and FS from there also.
When I boot from floppy, after giving kernel panic it doesn't respond to my alr+ctrl+del. But when I boot the same kernel and fs from the hard disk, it does give the same kernel panic, but when I press alt+ctrl+del it gives the message:
<6>keyboard: unknown scancode e0 7a
It's all boggled up. The main problem is either with /etc or /lib.
What to do?
I've made a boot disk with the kernel in one floppy and root fs in the other. The kernel boots and asks for thr Root filesystem.
On iserting the root fs floppy, I get the message:
RAMDISK: Compressed image found a block 0
For about 30-35 seconds it continues to read the floppy. Then it flashes the message:
Kernel Panic: No init found. Try passing init= option to kernel.
Then my keyboard also stops responding except for the Num lock and Caps Lock keys.
Is it something wong with the libraries.
My 'ldd init' gives
libc.so.6 => /lib/i686/libc.so.6
ld-linux.so.2 => /lib/ld-linux.so.2
So, I've copied my loader to /lib, but the library and its link to /lib/i686 directory. It's too big to be copied twice. So, I didn't copy it in /lib. I also made a soft link from /lib/lic.so.6 to the library in /lib/i686 in the hope of rectifying the error. But it didn't help. I'm using RH 7.3.
Any ideas?
call me a simpilton (no, don't really), but it sounds like you didn't actually write the image to the floppy, but just copied the image straight to the disk.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.