February 11th, 2002, 09:30 PM #1
booting into Linux w/o lilo and a bootdisk
Hey, I have a linux and a windows 98se machine that i dualboot to. Recently I had to reinstall windows and lilo went away. How do I get into linux without a bootdisk to try to get lilo back?
Win98se, mandrake 8.1
February 11th, 2002, 09:32 PM #2
I'm afraid you are probably out of luck without a boot disk, I finally made one, after quite a few reinstalls. You can always reinstall and just not format the/home partition, that will preserve most of your settings and whatever you have there.
February 11th, 2002, 11:43 PM #3
if you have the CDs you can boot from it and choose resce, you will have to remount the / partion and rerun lilo.Odds are very good there are several spelling mistakes in this post.
February 12th, 2002, 12:05 AM #4
My rescue has never worked , maybe that's because it's always serious trouble when I use it to restore.
February 12th, 2002, 11:45 AM #5
Linux/Win9x dual boot tip -loadlin.exe
There are a number of common sense tips that will help if you have a box running Win98 and then install Linux, but I will focus on one, loadlin:
There is a DOS program called loadlin.exe that can be installed on your Windows partition and in conjunction with your Linux kernel image it can allow you to boot into Linux from DOS.
Loadlin is usually included on the first Linux install CD. Simply copy loadlin.exe onto your Windows drive along with a copy of your Linux kernel image from your Linux install, typically: /boot/vmlinuz
Then at the DOS prompt to boot into Linux:
C:\>loadlin vmlinuz root=/dev/hda3* <enter>
*note: you must specify the correct root partition, e.g. hda2, hda3,hda4...5...6 ... hdb* ...sda*...sdb* ..etc
Loadlin can come in handy to boot Linux and reinstall the Linux boot loader if you have had to reinstall Windows and you cannot find your Linux boot floppy.... (which you of course made when you initially installed Linux).
February 12th, 2002, 04:32 PM #6
how do I reinstall without formatting...or...
how do I remount from rescue?
Sorry I didn't reply earlier but my computer died and I cannot post on techimo.
February 12th, 2002, 06:01 PM #7
Okay, it's not that difficult but I will admit that Mandrake rescue is not as easy as SuSE rescue:
1. boot from the Mandrake install CD
2. press F1 when prompted
3. enter "rescue" at the prompt e.g.
4. a bunch of text scrolls by and stops at "Press enter to continue" - press enter (here's a clue, if you had read the last part of that text you'd know what to do)
5. a prompt is displayed - now type and enter the following "chroot mnt" e.g.
[root@rescue/]#chroot mnt <enter>
6. a new prompt is displayed, now type and enter "lilo" e.g.
7. -reboot - (Ctrl-Alt-Del may work here) -don't forget to remove the CD
LILO should be restored - don't forget to make a boot floppy in the Mandrake control panel DrakConf
February 12th, 2002, 08:56 PM #8
After chroot /mnt and hitting enter, you switch to the root directory on your HDD. The next command should be /sbin/lilo. Then hit enter, then reboot. I've only done the Mandrake rescue once, but I think you can just type reboot then hit enter.
GermHow do you set this laser printer to stun??
February 12th, 2002, 09:08 PM #9
Thanks, I'll see what I can do. I'm still not finished getting the Windows part of the system up yet.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)