[vox-tech] Getting new Linux box to boot

Peter Jay Salzman p at dirac.org
Fri Dec 31 11:07:13 PST 2004


On Fri 31 Dec 04, 10:56 AM, Richard Crawford <rscrawford at mossroot.com> said:
> >I have not closely followed this thread, but I have a suggestion: have you
> >tried starting a shell having the newly installed LuMiX partition as its
> >root filesystem, then running grub from there? (Use chroot(8) to do this.)
> 
> I didn't even know that could be done.
 
Yeah -- a common rescue purpose is when forget to run lilo.  Recovering from
that looks like:

   1. Boot a rescue disk
   2. Mount / on /mnt

But here you're stuck.  If you run lilo, there are two problems.

   1. A lilo.conf is in /etc but the one you *want* to use is in /mnt/etc/

   2. The root file system location, needed by lilo, is /mnt, but at the
      moment it looks like /, a totally different device.

There are two ways to fix both these problems.

   1a. cd into your *real* root filesystem, /mnt
   1b. Use chroot.  This makes /mnt temporarily "look" like /.
   1c. Run lilo and reboot.

or

   2a. Use lilo -r

Personally, "lilo -r" hardly ever works for me.  I have no idea whether
it's broken or if I'm not using it correctly.

Pete

-- 
The mathematics of physics has become ever more abstract, rather than more
complicated.  The mind of God appears to be abstract but not complicated.
He also appears to like group theory.  --  Tony Zee's "Fearful Symmetry"

GPG Fingerprint: B9F1 6CF3 47C4 7CD8 D33E  70A9 A3B9 1945 67EA 951D


More information about the vox-tech mailing list