Anne Wilson wrote:
The only reasion I remember is because I had to go through it not too long ago. I also learned that with udev, it gets interesting moving a working system to a new drive. udev mounts over the /dev directory, so you can not access the entries under it. Without the default entries, you can run lilo. So the rescue mode can not install the boot loader. So you have to use something like a "live" CD or a partition copy utility to move things. (Or do a bunch of extra work.) I now have a handy .tar file of the default /dev directory...-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Wednesday 02 Mar 2005 16:00, Mikkel L. Ellertson wrote:
Method 2 - Hit F2, then type rescue at the prompt.
I would use Method 2.
So would I
I would also leave "boot=/dev/hda" alone. This will install the boot loader to the new "Master" drive. You will needThanks for clarifying, Mikkel. I just couldn't remember clearly enough. I hadn't remembered, though, that windows could be a problem on the seconf hard drive.
this, unless your BIOS will let you boot from IDE1. But change all the
root= statments to use /dev/hdb# instead of /dev/hda#. You will also
need to edit /etc/fstab, and change from hda to hdb here too. You can
then re-install the boot loader.
I would make backup coppies of the files first, so if you deside to change things back, you can just put the origional files back. If you have not made any updates to the kernel, then the boot loader on the old drive will even boot things without any changes.
One thing to keep in mind, without some extra changes in your lilo.conf, Windows will not boot from the second hard drive!
Anne
I used to know how to make Windows boot from the second drive, but I would have to find my notes on it now. I think you have to use the "map" or "drive" options of lilo to remap the BIOS mapping of the drives, because the Windows boot loader used the BIOS mapping to load things. XP may be different, but all the versions I have used have used the first BIOS hard drive, and I don't know how to tell it to use a different drive. So I have had lilo change the drive mapping so that the first BIOS drive is the drive I want to boot from, instead of the "real" first drive. (It helps to have played with a mix of SCSI and IDE drives in the same machine...)
Mikkel
____________________________________________________ Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com ____________________________________________________
