[UCLA-LUG] ? Files to change for booting ?
Dan Helfman
witten@linux.ucla.edu
Wed, 19 Apr 2000 10:11:30 -0700
On Wed, Apr 19, 2000 at 09:45:19AM -0700, Michael Daines wrote:
> Hello, I have a question.
>
> Which files are important for booting, particularly if you are going
> to change the disk?
>
> For example, if I move the linux HD from hda to hdc, what files do I
> need to change while I have linux running from hda? (I'm using Red
> Hat 6.1). I know that there is a file /etc/lilo.conf which contains
> boot information, but I have been reluctant to make changes there. I
> want to be sure before I do anything, else I loose everything. Are
> there other files which I need to change?
You should also probably change /etc/fstab, which has info on which
filesystems are on which physical harddrives. When you do alter
/etc/lilo.conf, be sure to run /sbin/lilo afterwards to write the changes to
the master boot record.
That should be about it.. Linux is pretty good about being moved from one
harddrive to another or having its harddrive moved. (I've even moved a Linux
installation from one system to another.)
>
> Thanx,
> msd
--
Dan Helfman
UCLA Linux Users Group: http://www.linux.ucla.edu
My GnuPG key: http://torsion.org/witten/public-key.txt