Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Grub hates this, and will tell you in very strong words not to do it.
- If you want to do it anyway, do the following:
- Assume the partition you want to install onto is /dev/sdx (or /dev/hdx if not sata drive)
- Make sure you have it mounted, say to: /mnt/sdx
- Install grub2 with this command:
- # grub-install --force --no-floppy --root-directory=/mnt/sdx /dev/sdx
- This will put the grub files (grub folder) into /mnt/sdx/boot
- and install grub to the boot sector of /dev/sdx
- NB) Make sure you create your new grub.cfg in the /grub folder
- I have never encountered any problems from doing this and have found it extremely useful.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement