On Sat, Jun 21, 2003 at 05:41:51PM +0530, SRIKANTH NS wrote:
>
> I triple boot (win98/RH7.3/MDK9.1) with /boot of RH in
> /dev/hda8 and / in /dev/hda9 . LILO(RH with location of MDK
> indicated in /etc/lilo.conf) is at present in MBR.
>
> I thought I will give a try booting linux using loadlin.
>
> I created a directory loadlin in C: , copied all the files from
> /boot into this directory.
>
> Made a batch file linux.bat with the following line
> c:\loadlin\loadlin.exe c:\loadlin\vmlinuz root=/dev/hda8 ro
>
> Booted into pure DOS mode and ran linux.bat. It booted and
> halted with an error message : No INIT found , Try passing
> INIT= to kernel. At this message machine stopped with scroll
> lock and caps lock lights flashing.
>
> Is this happening because LILO is in MBR and I am trying to
> boot thru loadlin?
>
---end quoted text---
I could not understand the last line. If you have LILO in MBR,
then the boot mechanism is LILO not DOS. For loadlin to operate
it must be a DOS boot up mechanism. You can divert to alternate
OSs through the config.sys mechanism, or at a later stage
through a .bat file. With LILO in MBR you cannot have a normal
DOS boot up, or are you booting through floppy/ CD ?
Under loadlin /boot is of little significance, since the kernel
is physically present within the DOS partition, and the root
device is loaded by the kernel. You do not need the rest of the
files under /boot ... loadlin has no use for them.
Just ensure that the kernel is pointed to the root (/) file
system (viz rdev kernel_name). If your root partition is hda9,
then ensure it is pointing to /dev/hda9.
My gut feeling is that the error lies here:
> c:\loadlin\loadlin.exe c:\loadlin\vmlinuz root=/dev/hda8 ro
If /dev/hda9 is your root partition then amend this line to
/dev/hda9 since /etc/inittab would never be found to commence
the init process.
Please note, that loadlin does not have any advantage over LILO
or grub except under the following circumstances:
a) Its ability to boot an UMSDOS installation (viz Linux itself
is totally installed in a MS-DOS partition).
b) Booting alternate OSs (like QNX and BeOS) which are
installed on non-primary partitions or under DOS partitions.
Just my POV
Bish
--
:
####[ GNU/Linux One Stanza Tip (LOST) ]#######################
Sub : Selective header fields in mutt LOST #120
Add the following to your .muttrc
ignore * # this means "ignore all lines by default"
# I do want to see some fields, though!
unignore From To Cc Subject Date Reply-To X-mailer \
Organization X-url
####[bish (at) nde.vsnl.net.in]###############################
:
-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help