moving one drive to another...

Nicholas Leippe nick at leippe.com
Mon Jun 25 09:22:04 MDT 2007


On Saturday 23 June 2007, Michael Torrie wrote:
> On Sat, 2007-06-23 at 15:44 -0600, Gabriel Gunderson wrote:
> > On Sat, 2007-06-23 at 13:09 -0600, Michael Torrie wrote:
> > > The last part is kind of tricky. I usually boot on knoppix and chroot
> > > into my new hard drive install (be sure to mount proc and sys).  An
> > > alternative is to create a boot floppy or CD, and then use that to
> > > boot your new hard drive as the root partition.  Then once it's up,
> > > run grub-install.
> >
> > Couldn't you just go "grub-install /dev/hdX" where X was the new drive?

Just chroot to the new drive and use grub's 'device' command to map it, and 
install grub from there. No need for a boot disk.




More information about the PLUG mailing list