On Fri, Mar 15, 2002 at 09:32:07PM -0800, b g wrote: > > My linux boot disk got bad .. so i m not able to boot now. >
o How did you boot before ? Through floppy only or did you have a HDD boot as well ? o Is yours a dual boot system ? If yes which is the other OS. It may be possible to get in through the alternate OS without re-installing. > > I tried to upgdate the linux using the installation > CDs.. but then I get something .. like.. "ur system > was not shutdown properly.. pls reboot ur system and > then do upgrade!!!" > > i tried the "linux rescue" mode frm teh installation.. > i can get into the linux partition.. but no use.. > Problem 1 is to get access to your existing installation so that you can copy the existing kernel to a floppy. For this you need a rescue disk or any one-floppy distro like alfa- linux or tomsrtbt. Boot through this stand-alone distro, and mount your /boot (wherever it may be on the hard disk, to a mount point). The copy the kernel image to a floppy. Ensure that the ker- nel is pointed to the correct device (viz rdev kernel-image) In case not, correct it to wherever your /boot lies: (viz rdev /floppy/kenel-image /dev/hda2 (assuming that your /boot lies in /dev/hda2). Once this is done, make a loadlin boot floppy ... On any DOS box make a bootable DOS floppy. (format a: /s/v). Then copy loadlin.exe on it (loadlin is normally there with CDs of all distros). Copy the kernel image to this new floppy through DOS. Make a one line config.sys on this floppy: "shell=a:\loadlin.exe a:\vmlinuz root=/dev/hda2 ro" This is assuming that your /boot or / (if you do not have a seperate /boot) is located at /dev/hda2, and your kernel is named vmlinuz. Boot through this floppy ... HTH Bish -- : ####[ Linux One Stanza Tip (LOST) ]########################### Sub : Contents of .deb file [#1] LOST #044 To know the contents of a deb file, if you have dpkg installed fire Midnight Commander (mc) ... Just press enter on the .deb file in mc and you have all the contents of the .deb file ... Then you can copy all the stuff from one pane to another in some directory. Same thing applies to .tar.gz and rpm files .. provided rpm, tar and gzip are installed. ####<[EMAIL PROTECTED]>################################## : _______________________________________________ linux-india-help mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/linux-india-help
