boot problem

This is a discussion on boot problem within the Linux Programming forums, part of the Platform Specific Boards category; hello. This is my problem: I have linux (mandrake 7.1) installed on disk #2. LILO was installed on mbr on ...

  1. #1
    Unregistered
    Guest

    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.

  2. #2
    Registered User
    Join Date
    Aug 2001
    Posts
    202
    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

  3. #3
    Registered User rohit's Avatar
    Join Date
    Feb 2002
    Posts
    69
    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

  4. #4
    Registered User alex's Avatar
    Join Date
    Sep 2001
    Posts
    132
    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

  5. #5
    Unregistered
    Guest
    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.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. A question related to strcmp
    By meili100 in forum C++ Programming
    Replies: 6
    Last Post: 07-07-2007, 02:51 PM
  2. WS_POPUP, continuation of old problem
    By blurrymadness in forum Windows Programming
    Replies: 1
    Last Post: 04-20-2007, 06:54 PM
  3. Laptop Problem
    By Boomba in forum Tech Board
    Replies: 1
    Last Post: 03-07-2006, 05:24 PM
  4. Replies: 5
    Last Post: 11-07-2005, 10:34 PM
  5. half ADT (nested struct) problem...
    By CyC|OpS in forum C Programming
    Replies: 1
    Last Post: 10-26-2002, 08:37 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21