On Wed, Dec 12, 2001 at 02:16:57PM +0530, khagolsan wrote:
> 
> I have installed windows in /dev/hda1 and linux
> kernel in /dev/hda5.
>

Keeping bootable OSs on extended partitions is not a good idea
since there is only one boot record for all the extended logi-
cals put together. If you are considering full re-install at a
later stage, please keep this in mind.

> 
> My windows partition got corrupted, although with rescue disk 
> and through LINUX I can read windows data but  I was not able 
> to run WINDOWS through LILO.
> 

Which variety of Win is this ? Can you run it off a Win rescue
floppy disk ?

>
> Hence I reinstalled  windows.  Now this caused corruption of  
> LILO which was in MBR.
> 

If you re-install Windows without errors, the MBR  would  have
a M$ boot record. On next re-boot, you should be in Win, since
the Win install process, by force places itself on MBR.

>
> Now while booting instead of LILO, I got error messages like 
> Invalid MSDOS.SYS
> 

This indicates a failure of successful Win-9x install. MSDOS.
SYS is a hidden, RO, system file put by the installation pro-
cess. In Win-9x, this is a text file. Did  you  tinker around
with it by any chance ? In any case, to get into a proper Win
boot, you can do the following:

o Boot through a Win-9x rescue disk
o Do: fdisk /mbr

This should put the correct system bootup files in place and
enable a Windows-only boot from HDD.

>
> I tried to reconfigure LILO by booting through LINUX CD in 
> rescue mode. But it also failed. What is going wrong ?
> 

There are two options here. Once you have a  normal boot into 
Win from the HDD; you may:

a) Opt to continue booting  through Win,  and  achieve a dual
   boot into Linux/ Win using loadlin. OR;
   
b) Opt to dual boot through LILO, provided, your Win is other-
   wise booting flawlessly. To  enable a  LILO  dual boot, you
   need to do the following:
   
   o Boot through Linux rescue disk (not boot/ root disk)
   o Edit /etc/lilo.conf and check that the entries are corr-
     ect for both the OSs.
   o Run: '/sbin/lilo -v' to place LILO boot record on MBR.
      
HTH

Bish
   
--
:
####[ Linux One Stanza Tip (LOST) ]###########################

Sub : Sysadmin things (hostname in RedHat)           LOST #201

To change the host name of your RH machine, as  root edit file
/etc/hostname. Secondly, place in file  /etc/sysconfig/network 
'HOSTNAME=hostname_string',  else on  reboot it will revert to 
localhost.localdomain! Its a RH quirk !

####<[EMAIL PROTECTED]>#######################################
:

_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to