[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: LILO help please



On Sun, Nov 16, 2003 at 07:02:10AM -0500, ajlewis2@intac.com wrote:
> In gmane.linux.debian.user, you wrote:
> > I'm trying to recover from a hard drive failure on my main workstation.
> >
> > I posted to this list the other day, and recieved some very helpful
> > replies, which I seem to have deleted, by mistak :-(
> >
> > In any cas, I've replaced the disk, partioned it, adn restored all of the
> > files from an amanda backup. Now I need to make the disk bootable.
> >
> > As, I recall, this involves booting from the rescue disk, and running liol,
> > but I cannot remeber the corect options, and the man page is confusing me.
> >
> > I tried to search for the answer in the list archive, but I was unable  to
> > find it :(
> >
> > So, could some kind solu help me, once more?
> 
> You could boot with the rescue disk using the parameter root=/dev/hdax where
> 'x' is the / partition.  
> So it will be something like 'linux root=/dev/hda3' or maybe it is 'rescue'
> instead of 'linux'.
> 
> Then check /etc/lilo.conf to be sure that the partition listed there is
> correct for your current setup.  I assume that you used the same partition
> scheme, but best to make sure. Then run /sbin/lilo to write it to wherever
> you have it set in the boot= line.  I usually set mine to /dev/fd0 for the
> first pass to be sure that it works before I write it to /dev/hda (mbr for
> first drive)

Thanks, that worked jsut perfect.

All in all, except for trashing one working (but unimportant) system during
the restore, this worked better than I expected.

If you're curious how I trashed a suste, I mounted the new disk on
/tmp/mnt. Unfortunately the disk I was restoring had a /tmp/mnt, and
somehow (and I'm not certain how) the /tmp/mnt on the running disk got
overwriten, from that point on the restore was writing to the running disk,
that was ugly :-(

-- 
"They that would give up essential liberty for temporary safety deserve
neither liberty nor safety."
						-- Benjamin Franklin



Reply to: