Author Topic: Upgrading to Windows 8 - How do I reinstall GRUB without reinstalling Linux?  (Read 1436 times)

Offline kentgbailey

  • Jr. Member
  • **
  • Posts: 29
I am upgrading to Windows 8. Will I have a problem with reinstalling GRUB?

Offline T6

  • Super Villain
  • ******
  • Posts: 19077
  • xmas is comming!
i haven't played yet with windows 8 but usually you just install it in the same partition you have, leave the linux partitions untouched and when everything is ready in windows you boot the livecd

once loaded you use redombr on the livecd to restore the old boot of linux

i ignore if windows 8 has anything special that could give you problems when adding it to the old mbr but if you already had it working then it should be working again too
"If you wish to make an apple pie from scratch, you must first invent the universe."

Carl Sagan

Offline kentgbailey

  • Jr. Member
  • **
  • Posts: 29
Thank you very much, T6.

Do you happen to know,offhand, where I can get documentation for that command and others like it?

Have a good day.

Kent

Offline sling-shot

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1730
  • Satyameva Jayate | Truth Alone Triumphs.
redombr is a GUI tool. It needs root password.
It is available in the PC Menu.
Packaging well will cure headaches of many :) But learning to package will cause headaches in many :(

AMD AthlonX2 3600+/ASUS M2NPV-VM/ATi HD4670/Onboard sound/3.5GB DDR2-533 RAM/SEAGATE 160+320GB HDD/DELL S2240L FullHD/Creative SBS370 2.1/PCLinuxOS2013/KDE4
Samsung NP305U1-A06IN | Nokia E6

Offline Crow

  • Hero Member
  • *****
  • Posts: 8767
  • OBJECTS IN MIRROR... ARE LOSING
A member of this forum gave my this instructions which has always worked for me, like T6 I haven't tried Win 8 and I hope won't have to do it in a long time, in fact I hope to skip Win 8  ;D

Open a terminal and type in
su - root password - grub

You get a grub prompt and then enter the following

find   /boot/grub/menu.lst

take note of the report you get.
Hopefully you will be able to determine from that which of the returned locations is the PCLOS one.

Then type the following

root   (hdx,y)    #  where the (hdx,y) is the PCLOS partition reported from the last command

setup  (hdx)      #  again where (hdx) is the boot drive


You should get back a report which ends with "Success"

Quit the Console.

Reboot and extract the live CD and hopefully you will boot into PCLOS..
I shall pass this way but once;
any good therefore that I can do,
or any kindness that I can show
let me not defer nor neglect it,
for I shall not pass this way again.

Linux User #330412

Offline kentgbailey

  • Jr. Member
  • **
  • Posts: 29
Well, thanks for all the help, but guess what? I just installed Windows 8 and it left GRUB alone. Just thought you would like to know.

Again, thanks for your time and trouble.


Kent

Offline Crow

  • Hero Member
  • *****
  • Posts: 8767
  • OBJECTS IN MIRROR... ARE LOSING
Is working fine?  I can't believe it   :o   :o
I shall pass this way but once;
any good therefore that I can do,
or any kindness that I can show
let me not defer nor neglect it,
for I shall not pass this way again.

Linux User #330412