On Sat, Mar 23, 2002 at 02:22:23PM +0000, liyju janardhan wrote: > > I have made boot.lnx file and made changes to my boot.ini, in > accrodance with LOST82. But when I select my Linux option, I > get following message :- > > Invalid System disk > Replace the disk, and then press any key >
This is a Win2k error message, and appears when there is some problem lies with the boot sector image. It is possible that LILO image had not been installed in the 1st sector of the root partition at the time of installation. If you installed Linux first, placed LILO on the MBR (viz /dev/hda), and then installed Win-2k which would over-write the MBR, there would be no valid boot record on the Linux partition. For detailed step-by-step guidance, have a look at: http://geocities.com/usmbish/hdi.html See the guidelines for NT. This is applicable for NT family (viz NT/ 2k/ XP). > > When I do press a key LILO appears. That means I am able to > toggle between LILO and nt boot loader, but i have to see > this error message when I switch to lilo from nt boot loader. > This indicates that all is okay on the Win-2k side.The problem lies with the boot record image. > My question(s): > Why I am getting such message? > Is there any way to remove this? > > My win2k is in hda1 > Linux native is in hdc3 > Linux swap is in hdc4 > hdc5 is my F drive in win2k - FAT32 > hdc1 is E drive of win2k - FAT32 > > when I ran cfdisk I showed boot on hdc1( my edrive) > So I did #dd -if=/dev/hdc1 -of=/tmp/boot.lnx bs=512 count=1 > ^^^^^ instead of hdc3 Mark your /dev/hda1 (2k partition bootable), NOT /dev/hdc1. You are booting through 2k not Linux. The error probably lies here. If you have correctly installed LILO on the 1st sector of the root partition, and your root partition is /dev/hdc3, then the correct thing would be: #dd if=/dev/hdc3 of=/mnt/floppy/boot.lnx bs=512 count=1 Note: Copy to a M$ floppy instead of /tmp, so that it is easier copying it to Win2k partition through M$. In case you did NOT install LILO on 1st sector of root part- ition, this will NOT work. You need to re-run lilo and place LILO boot record on /dev/hdc3, not the MBR. HTH Bish -- : ####[ Linux One Stanza Tip (LOST) ]########################### Sub : Explaining first char in "ls -al" LOST #232 o"-rw-r--r--" (-) normal file o"drwxrwxrwt" (d) directory o"prw-r-----" (p) FIFO o"brw-r-----" (b) block device o"crw-r-----" (c) character device FIFO, block and character devices are created by mknod command ####<[EMAIL PROTECTED]>#################################### : _______________________________________________ linux-india-help mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/linux-india-help
