💾 Archived View for chirale.org › 2010-10-03_403.gmi captured on 2024-05-12 at 15:25:05. Gemini links have been rewritten to link to archived content

View Raw

More Information

-=-=-=-=-=-=-

Reinstalling Windows keeping GNU/Linux partition safe

Tested with:

Today I’ve to reinstall Windows. I’ve already an installation of GNU/Linux (Ubuntu) on the same disk. I have to worry? In the past, I had to say a big YES. And since I do a Windows reinstall every 2-3 years, this carry back something from previous times.

(Please skip this paragraph.)

Well, now things are easier.

Backup your files from Windows (Lucas Arts adventures savegames too…). Reinstall that crappy OS that you had to have to play some games to the partition that it deserves. After the operation Your Master Boot Record is gone, GRUB is gone. Linux, where are you?? Download . Take an old CD-RW (that one with the photos of your sister kitten that she loves so much), erase it and burn the bootable iso on it. Now follow the instruction from the website. I’ve followed these steps: Select Detect any OS. On the next window, select your GNU/Linux distribution, identified by the kernel version (the more recent version is usually the right). Now that your distro is successfully running (i.e. Ubuntu), you have to rebuild the Grub bootloader, putting it on the MBR of the disk. Open a shell and type:

sudo -i

grub-install /dev/sda

Where /dev/sda is the device for the disk where the two OS are. If you have doubt, use tools like gparted *to inspect your disk searching for the right device identifier.

If you’re also interested on changing grub boot sequence order, follow this howto.

changing grub boot sequence order, follow this howto

https://web.archive.org/web/20101003000000*/http://www.supergrubdisk.org/super-grub2-disk/

https://web.archive.org/web/20101003000000*/https://chirale.wordpress.com/2008/10/26/grub-configuration-startupmanager/