Re: [SLE] Messed up my bootloader
From: Patrick Shanahan (paka_at_wahoo.no-ip.org)
Date: 02/28/04
- Previous message: Dylan: "Re: [SLE] Help with application/x-java-vm, HOWTO"
- In reply to: Trey Sizemore: "[SLE] Messed up my bootloader"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: Dylan: "Re: [SLE] Help with application/x-java-vm, HOWTO"
- In reply to: Trey Sizemore: "[SLE] Messed up my bootloader"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|