Re: LILO, SATA & IDE drive

From: Ron Johnson (ronnyjunior_at_comcast.net)
Date: 09/26/05

  • Next message: Alvin Oga: "Re: LILO, SATA & IDE drive"
    Date: Mon, 26 Sep 2005 04:45:35 -0500
    To: debian-user@lists.debian.org
    
    

    On Mon, 26 Sep 2005 00:25:20 -0700 (PDT)
    Alvin Oga <aoga@mail.Linux-Consulting.com> wrote:

    >
    > hi ya ron
    >
    > On Mon, 26 Sep 2005, Ron Johnson wrote:
    >
    > > I just successfully installed etch (now upgraded to sid)
    > > onto a SATA drive /dev/sda. Now, though, I want to get
    > > my data off of the old IDE drive. So, I stuck it in and
    > > powered up. Unfortunately, but understandably, the box
    > > wants to boot off of that drive /dev/hda.
    >
    > you can also go into the BIOS and tell it to boot off hd0
    > vs hd1

    If the BIOS has such an option, I haven't found it.

    > or usb-hdd listed after hda

    Huh? Why USB?

    > - the boot name varies between different bios and
    > vendors
    > > Is changing the boot= param from /dev/sda to /dev/hda all
    > > that is necessary? (Besides rerunning lilo, of course.)
    >
    > no ..

    If I can't mod the BIOS, how will lilo know to update the
    /dev/hda MBR, to tell it that the OS, etc are on /dev/sda?

    > you need to remove /boot/map

    rm it, or comment it out of lilo.conf?

    > - unless oyu like to get L- LI- LIL- or 99 99 99
    > or 80 80 80
    >
    > lilo will recreate the map file based on the new config of
    > combinations of disks
    >
    > > Existing lilo.conf:
    > > boot=/dev/sda ### <<<<<<<<<<<<
    > > root=/dev/sda2
    >
    > that assumes you're booting into your new sata disk

    Yes, I definitely want to boot into the new system, not the
    old disk.

    But the BIOS wants to run the "old" lilo that's on /dev/hda,
    not the new lilo that's on /dev/sda.

    > > Proposed new lilo.conf
    > > boot=/dev/hda ### <<<<<<<<<<<<
    > > root=/dev/sda2
    >
    > that means both sda and hda will have the same boot info
    > ( MBR ) ... which is okay ...

    -- 
    To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: Alvin Oga: "Re: LILO, SATA & IDE drive"

    Relevant Pages

    • Re: maximum hard drive size in Latitude cpi
      ... > actually written a boot loader they won't be so adamant about how "Windows ... > of the disk, and while it is being read off of the disk the machine is ... > limitatoins of that BIOS. ... After that the kernel takes over. ...
      (comp.sys.laptops)
    • Re: Grub hangs - two hard drives and a CD
      ... > What you wrote is all based on a wrong assumption that grub numbers drives ... > that the BIOS will call to boot an OS. ... The Bios calls to read disk require the register DL to ...
      (comp.os.linux.setup)
    • Re: How to use a corrupted hard drive as an external hard drive
      ... Do I just attach it and boot the computer like normal? ... Thank you in advance for any guidance you can give me as I am technically challenged and attaching all the cables correctly is a challenge. ... should see the identity string in the BIOS screen. ... as they exist on the disk). ...
      (microsoft.public.windowsxp.hardware)
    • Re: Installation: doesnt see setup files on hard drive?
      ... > disk the BIOS is set to boot from must have an appropriate Master Boot ... I was worried about those points you made above so I removed all drives except the one I want to instll ...
      (microsoft.public.win2000.general)
    • Re: Is it possible to read BIOS setting?
      ... Say the kernel starts complaining about a disk failure, ... activate the program that will change the BIOS to boot from a flash device ... The flash or cdrom will boot up and copy the image from its ... Is it possible to read BIOS setting? ...
      (freebsd-questions)