- To: Scott Ragen <sragen@xxxxxxxxxxxxxx>
- Subject: Re: [SLUG] Lilo Problems
- From: Jeff Waugh <jdub@xxxxxxxxxxx>
- Date: Sun Jul 8 10:08:02 2001
- Cc: slug@xxxxxxxxxxx
- User-agent: Mutt/1.3.18i
<quote who="Scott Ragen">
> I have tried using Linux rescue from the install cd (btw its redhat 6.2)
> and changing lilo from there, but the problem is, the mount points are
> wrong so lilo complains. eg /dev/hda is now /mnt/root/dev/hda
You're on the right track though!
What you should do is mount it the same way, and then type:
chroot /mnt/root/dev/hda
(or whatever directory you want to mount it to, /mnt itself is usually okay
for these kinds of things)
Then you'll find that your / is now /dev/hda's, and you can run lilo
normally and it will work. You can type 'exit' to leave the chroot. A faster
way of doing it is:
lilo -r /dev/hda
This does the same thing as what I described above, only it does the work
for you all in one step [ but it's better that you now know what a chroot
is! :) ].
- Jeff
--
No pants is good pants.