Re: [SLE] Messed up my bootloader

From: Patrick Shanahan (paka_at_wahoo.no-ip.org)
Date: 02/28/04

  • Next message: Sid Boyce: "Re: [SLE] Kernel Panic VFS Unable to mount root fs on 03:43"
    Date: Fri, 27 Feb 2004 19:27:58 -0500
    To: SuSE-Linux-English <suse-linux-e@suse.com>
    
    

    * Trey Sizemore <trey@fastmail.fm> [02-27-04 18:57]:
    > I was attempting to get my machine to multiboot with a few Linux OSs and
    > Win2000. I have SUSE 9.0 installed and successfully triple booting Win2000
    > and Mandrake 10 beta 2 with grub on the MBR. I installed Arch Linux as well,
    > but inadvertantly had lilo installed as well (on the MBR) such that now when
    > I start the machine I only get lilo and the ability to log into arch.
    >
    > So I edited my lilo.conf and added the following entry thinking I would be
    > able to log back into SUSE and add grub back to the MBR with an entry for
    > Arch:
    >
    > #
    > # /etc/lilo.conf
    > #
    >
    > boot=/dev/discs/disc0/disc
    > # This line often fixes L40 errors on bootup
    > # disk=/dev/discs/disc0/disc bios=0x80
    >
    > default=arch
    > timeout=50
    > lba32
    > prompt
    >
    > image=/boot/vmlinuz26
    > label=arch
    > root=/dev/discs/disc0/part11
    > read-only
    >
    > image=/boot/vmlinuz
    > label=suse
    > root=/dev/discs/disc0/part7
    > read-only
    >
    > #other=/dev/discs/disc0/part1
    > # label=dos
    >
    > # End of file
    >
    > However, I get a kernel panic when I select the suse option in lilo when it
    > gets to the point of loading the kernel. I have Win2000 on /dev/hda1,
    > a /data1 SUSE partition on hda5, swap on hda6, and my 48Gb root SUSE
    > partition on hda7.
    >
    > Any help getting this back is greatly appreciated
    >

    lilo and grub cannot both reside on the mbr

    boot from your SuSE 9.0 install cd and when the boot command line
    comes up select rescue (or enter it on the command line, I don't
    remember - old age). When the system has booted, enter on a command
    line, grub-install --recheck /dev/hda0

    NOTE: this will not recover your 'Arch Linux' install.

    after recovery, edit (as root) /boot/grub/menu.lst and add:

    title Linux - Arch Linux
        kernel (hd0,11)/boot/vmlinuz root=/dev/hda12
        initrd (hd0,11)/boot/initrd
        

    ymmv, this is as best as I can remember. Someone else more proficient
    may provide a better or more correct solution. I am sure there are
    several.

    another approach, return lilo.conf to it's original status, boot to
    Arch Linux.

    Then run grub-install /dev/hda0

    access the root directory of the _last_ linux distro installed and
    copy the entries from /boot/grub/menu.lst and add them to your Arch
    Linux /boot/grub/menu.lst making corrections for your choice of
    default, etc. Then you should be able to access everything.

    This last scenario would probably be the safest. It is _much_ easier
    to make corrections to grub than lilo, and you can do it on the fly.

    gud luk,

    -- 
    Patrick Shanahan                        Registered Linux User #207535
    http://wahoo.no-ip.org                        @ http://counter.li.org
    -- 
    Check the headers for your unsubscription address
    For additional commands send e-mail to suse-linux-e-help@suse.com
    Also check the archives at http://lists.suse.com
    Please read the FAQs: suse-linux-e-faq@suse.com
    

  • Next message: Sid Boyce: "Re: [SLE] Kernel Panic VFS Unable to mount root fs on 03:43"

    Relevant Pages

    • Re: 1st time linux dual-boot w/win98se install question
      ... >drive that I want to install SUSE on. ... LILO will do that automatically during the install (assuming ... LILO will write itself to the MBR and take over boot duties for both ... Linux and Win98. ...
      (linux.redhat.install)
    • Re: Newbie: linux + FreeBSD
      ... >> So I first installed Linux, then reboot, install FreeBSD. ... > Grub are a pain to deal with so i'm using lilo installed on the ... > MBR- GAG boot mgr. ...
      (comp.unix.bsd.freebsd.misc)
    • Re: Dynamic Drive overlay
      ... Well I was able to get linux installed and recognizes the full size, ... can't get lilo to update or grub to install, I've tried both the MBR and the ... I copied the MBR to a file and it looks like the original lilo comes first ... > I had to use the limit jumpers a while back with 40G drives in oldish ...
      (alt.linux)
    • Re: [SLE] boot manager woes
      ... I tried, about a year ago, to install lilo in hdb, and failed. ... installed system", meaning booting your Linux. ...
      (SuSE)
    • Re: LILO Issue (L 80 80 80 80 80) --> have you considered the following?
      ... Fedora Core 3 is the latest, ... Suggest that you install GRUB instead of Lilo: ... Grub tends to become the de-facto standard for Linux distros, ... But LILO works. ...
      (linux.redhat.install)