Re: How to specify where to write MBR

From: Randome (randome_profile_at_yahoo.com)
Date: 09/16/04


Date: Thu, 16 Sep 2004 12:57:10 GMT

Lew Pitcher wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Randome wrote:
>
>
>>Hi,
>>
>>I have a pretty unique problem. I use 2 pairs of ide buses to control
>
> 8 ide
>
>>devices. I installed an extra ide/raid controller to do this.
>>
>>When I have dont have the extra controller, my ide devices as seen
>>by linux are as such:
>>
>>The motherboard controller.
>>hda - the first ide where the MBR does
>>hdb
>>hdc
>>hdd
>>
>>When I have the extra controller, my ide devices as seen by linux are as
>>such:
>>
>>The extra controller
>>hda - this is where the BIO bootup stuff is written by lilo
>>hdb
>>hdc
>>hdd
>>
>>The motherboard controller.
>>hde - this the first ide device where the BIOS will boot off
>>hdf
>>hdg
>>hdh
>>
>>So I want lilo (or grub) to write to the MBR of the hde drive! How do
>
> I get
>
>>it to do that??
>
>
> lilo -b /dev/hde
>
> See lilo(8) ("man 8 lilo") for details
>
>
>
> - --
>
> Lew Pitcher, IT Consultant, Enterprise Application Architecture
> Enterprise Technology Solutions, TD Bank Financial Group
>
> (Opinions expressed here are my own, not my employer's)
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.4 (MingW32)
>
> iD8DBQFBSGL5agVFX4UWr64RAt9GAKDtF1KS8z7YQe4S+e6HBO5KG1f2+QCgqONx
> Of/dVhneMEmdhAjgLuTX5dk=
> =vrqY
> -----END PGP SIGNATURE-----

that unfortunately doens't work. I did it and it did write to the MBR I
wnat, but the boot doesn't complete; at bootup it says

LI

and just hangs. I dug around and found out that's cos my /boot/boot.b is
in the wrong place.

my /etc/lilo.conf file:
prompt
timeout=50
default=fedora1
boot=/dev/hde
map=/boot/System.map
install=/boot/boot.b
#message=/boot/message
lba32

image=/boot/vmlinuz
         label=fedora1
         initrd=/boot/initrd-2.4.22-1.2115.nptl.img
         read-only
         append="hdb=ide-scsi root=/dev/hde7"

other=/dev/hde2
         optional
         label=DOS



Relevant Pages

  • Re: I had IDE hard drive and now want to restore disc image onto new SATA drive
    ... Properties: Driver: Driver Details ... that is "vanilla IDE emulation" in the PCI space. ... and there could be a separate Jmicron chip "Extra RAID/IDE controller". ... Does this mean that there are or that I can put 4 hard drives in my ...
    (alt.comp.periphs.mainboard.asus)
  • Re: Desktop running XP Home Edition taking 30 minutes to boot
    ... You have hardware problems on your controller. ... You can remove unnecessary devices from the IDE chain and see if things improve, adding them one at a time thereafter will help finding the culprit. ... I looked at the event log and found the following warnings and errors ... The browser was unable to retrieve a list of servers from ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: distro recommendation
    ... but which IDE chipset do you have? ... sor to DRAM Controller ... 00:01.0 PCI bridge: Intel Corporation Mobile 915GM/PM Express PCI ... 04d0-04d1: pnp 00:02 ...
    (comp.os.linux.misc)
  • IDE hackery: lock fixes and hotplug controller stuff
    ... Its a work in progress but my IDE exposure ... static int show_driver ... +static void ide_no_outb ... In pass through mode then it is an IDE controller. ...
    (Linux-Kernel)
  • Re: Converting IDE RAID 1 to SATA RAID 1
    ... If it is connected to the IDE controller no other hardware has ... > boot from) the disk created by the IDE controller once it was removed from ... I replace the drives each year. ...
    (comp.sys.ibm.pc.hardware.storage)