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

Re: "Recovery disk" question



after you rescue root=/dev/hda[xx], I think you can usually run lilo
and have it write to the harddrives MBR. Seems easier that the other
stuff.

Jack Nguy


On Thu, 03 Feb 2005 19:50:50 -0800, Rich Rudnick <nickrud@verizon.net> wrote:
> On Thu, 2005-02-03 at 20:09 -0500, Curt Howland wrote:
> > -----BEGIN PGP SIGNED MESSAGE-----
> >
> > Ok, I intend to use Knoppix as a recovery disk. I know it has tools
> > like fsck and such, but I have a procedural question:
> >
> > How do I run "lilo" (if I need to, Cromm forbid) so that the MBR and
> > boot files on the hard drive are effected, not the CD?
> >
> > I've never tried to boot from one disk and run "lilo" on the other, I
> > don't know how to change the perspective of "lilo" to know to look
> > at /dev/hda1 instead of whatever disk it booted from.
> >
> 
> My Seven Steps to Lilo Heaven
> 
> (Assuming sarge or later for nano)
> 
> 1. Boot up knoppix (or any recovery disk) and open a shell.
> 
> 2. Create a mount point ( `mkdir /repair` )
> 
> 3. Mount your root partition ( `mount -text3 /dev/hdd2 /repair` for me )
> 
>    * If /boot and/or /etc are separate partitions, mount them also
>               ( /repair/[ boot|etc ] )
> 
> 4. Switch to the hard disk installation ( `chroot /repair` )
> 
> 5. Check for the correct boot files ( `ls /boot` )
> 
> 6. Check the lilo configuration ( `nano /etc/lilo.conf` )
> 
> 7. Write the MBR ( `lilo` )
> 
> 
> --
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> 
>



Reply to: