Re: [SLUG] mbr mistake

From: Bryan-TheBS-Smith (b.j.smith@ieee.org)
Date: Sun Oct 14 2001 - 09:07:55 EDT


Russell Hires wrote:
> I've made a stupid mistake by installing the MBR on the Windows drive
> (/dev/hda), rather than the Linux drive (/dev/hdd).

Er, installing LILO to /dev/hdd wouldn't do much, and still wouldn't
let you boot Linux. Unless you hide all other IDE devices (hda-hdc)
in the BIOS. That's messy IMHO.

Instead, you want to install LILO at the beginning of your Linux /
(or /boot) partition, /dev/hdd# (1? 2?). And then use a 3rd party
boot manager like XOSL (http://www.xosl.org) to select which
partition(s) to boot for each.

> I wasn't paying too much attention to this, unfortunately (see where
> inexperience can lead you? :-), and now I can't boot off my hard drive,

Why can't you boot into Linux if you install LILO into the MBR?

And from there, why can't you setup LILO to boot both Linux and
Windows???

As far as "experience," this is a pure _partitioning_ issue and not
so much a Linux one. In fact, if Windows was as flexible with
booting as Linux was, you wouldn't have any issues.

> unless I boot from floppy, and then I can only get into Linux (darn! ;-)

Again, why not setup LILO to boot both?

> ...obviously I need to spend more time reading about this stuff, but in
> the mean time, I wonder if, because I installed the mbr on the wrong drive
> if I'll ever get Windows back.

Boot a Windows floppy and issue "fdisk /mbr". Of course, you now
prevent Linux from booting.

If you want to boot multiple OSes, and really don't like LILO, try
XOSL (http://www.xosl.org). But be sure to re-install LILO at the
beginning of the Linux / (or /boot) partition.

-- TheBS

-- 
Bryan "TheBS" Smith     mailto:b.j.smith@ieee.org    chat:thebs413
Engineer   AbsoluteValue Systems, Inc.   http://www.linux-wlan.org
President    SmithConcepts, Inc.      http://www.SmithConcepts.com
------------------------------------------------------------------
Those living in the US who consider the American flag to be a sym-
bol of oppression obviously fail to understand what the word means



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 15:18:52 EDT