-
boot problem
hello.
This is my problem:
I have linux (mandrake 7.1) installed on disk #2. LILO was installed on mbr on disk #1, but I erased it by mistake while installing win98 on disk #1. Now I cannot access my linux on disk #2.
I have downloaded and istalled tomsrtbt. I created a boot disk and it works well. I can access my old linux on disk #2. I just wonder how I can reinstall LILO on disk #1 so I get a chance to choose at boot time which OS I want to run.
note: In order to access my old linux I have to mount it on mnt/ on the tomsrtbt linux.
As you surely have noticed I am a newbie.
Any help appreciated. Thanks in advance.
-
simple solution:
pop that cd bask in the drive, boot to it, select the "upgrade" install option. When it asks if you want to install lilo, answer with a resoudning yes.
Complex solution:
read the man page or some howto or something. It's got to be in there somewhere.
starX
www.axisoftime.com
-
if you can boot back to linux partition through your disk then simply execute
"lilo -v" to verify the /etc/lilo.conf and let it write to the harddisk u will have lilo back .
try grub it's quite good ;)
-
Hi!
I prefer to use loadlin on a dual-boot system, combined with a DOS boot-menu. This also makes it possible to boot into MSDOS (i.e., without booting windows first)
I did it this way:
MSDOS.SYS:
Code:
[Paths]
WinDir=C:\WINDOWS
WinBootDir=C:\WINDOWS
HostWinBootDrv=C
[Options]
BootMulti=0
BootGUI=0
DoubleBuffer=1
AutoScan=2
WinVer=4.10.2222
Logo=0
;
;The following lines are required for compatibility with other programs.
;Do not remove them (MSDOS.SYS needs to be >1024 bytes).
;xxxxxxxxxx...
(You probably don't need the DoubleBuffer=1 and AutoScan=2 line; Logo=0 just disables the flashing of the start-up graphics; The other entries were generated by windows' setup)
CONFIG.SYS:
Code:
[menu]
MENUITEM=dos, Start MS-DOS
MENUITEM=windows, Start Windows 98
MENUITEM=linux, Start Linux
MENUDEFAULT=linux, 30
[dos]
[windows]
[linux]
[common]
SWITCHES=/F
DOS=HIGH,UMB
AUTOEXEC.BAT:
Code:
@echo off
doskey /insert
goto %config%
goto end
:linux
cd c:\linux
linux
goto end
:dos
goto end
:windows
win
:end
c:\linux\linux.bat:
Code:
loadlin vml2413.ac8 idebus=40 hda=ide-scsi root=/dev/ataraid/disk0/part5
and the directory linux contains LOADLIN.EXE and a copy of the kernel you want to be able to boot, copied from the /boot directory.
Hope this is informative to you...
alex
-
the old hack probably the best one during those slackware days ;)
but lilo gives you a lot of power like password check and other things and grub have no problemo with 1024 cylinders. so you can install beyond 1024 or install /boot in the first 1024 cylinders.