[lug] Moving /

Timothy C. Klein teece at silverklein.net
Thu Apr 25 21:05:07 MDT 2002


* Dhruva Reddy (sledgehammer2010 at yahoo.com) wrote:
> Hello all,
> 
> I am in the process of recovering from a hard drive
> crash, and decided to take this opportunity to migrate
> to ReiserFS.
> 
> I have installed Debian, and am converting one at a
> time.  It goes smoothly until I get to the root
> partition (/).  The first time, I moved it, then
> changed /etc/fstab to point / at the temporary
> partition, forgetting to run lilo (arrgh!). 
> Strangely, when I rebooted it still thought that / was
> on the original partition.  Of course I didn't realize
> this until I reformatted the original partition, so I
> was dead in the water at this point.
> 
> So I reinstalled from scratch, and am gearing up to
> run lilo first.  / is currently on /dev/hda9, and I am
> trying to move it to /dev/hda10 (mounted on /spare). 
> Here is what I have tried:
> 
>     lilo -r /spare
> 

I have never tried this.  What I do is change the the /spare directory,
and then 'chroot .'

Then run lilo in the chrooted environment.  I read once something bad
could happen from this, but It has always worked for me.

Tim
--
==============================================
== Timothy Klein || teece at silverklein.net   ==
== ---------------------------------------- ==
== "Hello, World" 17 Errors, 31 Warnings... ==
==============================================



More information about the LUG mailing list