Advise to reinstall XP with Linux - Success

Collins Richey crichey
Mon Nov 15 13:09:17 PST 2004


On Mon, 15 Nov 2004 10:12:52 -0500, Bruce Marshall <bmarsh at bmarsh.com> wrote:
> On Tuesday 09 November 2004 12:59 am, Jean Sagi wrote:
> > It was simple indeed with a boot disk the process was:
> >
> > 1. Create boot-disk
> > 2. Install XP
> > 3. Reboot with boot disk and reinstall lilo adding XP
> >
> >
> > However someone mention that instead of a boot CD a could use a Knoppix
> > CD..
> >
> > Just for learning; How?
> 
> I've never used knoppix for rebuilding lilo but I've done the same thing using
> the SuSE rescue system:
> 
> 1) Boot knoppix
> 2) mount /dev/<your-root-disk>  /mnt
> 3) chroot /mnt
> 4) mount  /dev/<your-boot-disk>  /boot
> 5) Run  lilo
> 
> Should do the trick.
> 

The only difference with Knoppix would be this: Knoppix mounts all
partitions. Change the command in 2) to remount your partition as r/w
and 3) to chroot to whatever mount point Knoppix is using. Also, does
the chroot command default to a shell? I'm more familiar with 'chroot
/mnt /bin/bash'.

-- 
 Collins


More information about the Linux-users mailing list