gentoo bootdisk...


Recommended Posts

i kinda have to format and reinstall my windowsxp partition but i don't want to install gentoo again.

so how do i create a boot disk that'll allow me to boot into gentoo again after i reinstalled windows in order to setup grub again...?

Link to comment
Share on other sites

If you've got your LiveCD, just pop that in, once you're in:

#mount /dev/hdaX /mnt/gentoo

#mount /dev/hdaX /mnt/gentoo/boot

#mount -t proc proc /mnt/gentoo/proc

#chroot /mnt/gentoo /bin/bash

#grub

grub> root(hd0,X)

grub> setup (hd0)

grub> quit

#exit

#umount /mnt/gentoo/boot proc /mnt/gentoo

#reboot

Fill in the correct numbers for the X's of course.

Link to comment
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.