Re: Grub - related

From: Robert Nichols (SEE_SIGNATURE_at_localhost.localdomain.invalid)
Date: 07/11/05


Date: Mon, 11 Jul 2005 16:05:11 +0000 (UTC)

In article <dashl7$p1u$1@lust.ihug.co.nz>, Adam <nospam@example.com> wrote:
:Please forgive this intrusion - I am in a similar situation.
:
:I have a dual boot, with W98 on hda, and linux on hdb. I plan to replace
:the hdb with a larger drive, but don't want to lose W98 on hda.
:
:However, when I remove physically hdb, I notice that LILO stalls and I can't
:boot just to W98, (LILO and W98 both on hda). Is this usual behaviour ?
:
:
:I feel my choices are;
:
:a) Install FC3 onto hdb, and hope that Grub will pick up the W98 on hda
:when it installs. (I can note the existing LILO conf for W98, to include in
:Grub later).
:
:b) Install FC3 onto hdb, and change LILO to point to new FC3 on hdb. (I
:fear LILO will stall with this approach).
:
:c) Replace the mbr on hda from W98, then install FC3 on hdb, and have Grub
:insert the dualboot.
:
:Its just that I'm paranoid about this next step, and ask if anyone has any
:comments. It seems that I can't rely on the existing LILO to remain
:operational during this process.

LILO is trying to read the second stage loader from the /boot directory
on hdb. That's about all the 446-byte primary boot loader in the MBR
can do. I suggest first saving the current MBR on a floppy disk (mount
/dev/fd0 and run "dd if=/dev/hda of=/mnt/floppy/oldmbr count=1") so that
you have an easy way to restore it if things go badly awry. Then
restore the standard MBR from Windows-98, or you could just run "lilo
-u" if there's a valid /boot/boot.0300 file to restore. Then install
your new hdb and install FC-3 on it.

The FC-3 installer will find your Windows partition just fine even if
you haven't restored the old MBR, but I'm sure you'd be happier knowing
that you can still boot Windows-98 even without the FC-3 installation
completed.

-- 
Bob Nichols         AT comcast.net I am "rnichols42"


Relevant Pages

  • Re: change hdb to hda
    ... > floppy and carried on with it on hdb. ... > Now I want move the drive with suse from hdb to hda, so I can add a second ... > -change the bootloader settings on the floppy from hdb to hda ... It might be easier to leave the existing drive as is, and install the new one ...
    (alt.os.linux.suse)
  • Re: Grub - related
    ... I have a dual boot, with W98 on hda, and linux on hdb. ... However, when I remove physically hdb, I notice that LILO stalls and I can't ...
    (linux.redhat.install)
  • Re: Help with GRUB
    ... > hda suse 9.3 ... The boot system and the file system ... hdb is SuSE 9.1 ... So now you want to install SUSE 10. ...
    (alt.os.linux.suse)
  • Re: New 9.1 with complete format of 9.0
    ... Expert mode still does not do the trick. ... hda is ide0 and hdb is ide 1 on boot screen. ... managed to boot with install CD and mounted the hd. ...
    (alt.os.linux.suse)
  • Re: file recovery ideas? - apparent HD failure
    ... IMHO if the disk has not died completely you should use it as little ... machine and install a good Linux system, then cable up the old disk, ... Disk hdb apparently failed. ... > What if hda isn't viable - can I partition it without a working system? ...
    (comp.os.linux.hardware)