[SOLVED]Oppss I scewed up (installed win after mint)

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
User avatar
whare1
Level 2
Level 2
Posts: 70
Joined: Fri May 04, 2007 6:29 am

[SOLVED]Oppss I scewed up (installed win after mint)

Post by whare1 »

A very noob scewup but i managed to make it lol

installed XP as i needed a win OS for a few things completly forgetting that linux has to be loaded second now i can not get back onto mint and i dont want to reinstall and risk the loss of data so what to add to windows boot.txt so i can select my linux drive on boot?

Thanx all
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
I've Been
Minted

Running Mint 9 KDE
Running Mint 9 Gnome
wayne128

Re: Oppss I scewed up (installed win after mint)

Post by wayne128 »

whare1 wrote:A very noob scewup but i managed to make it lol

installed XP as i needed a win OS for a few things completly forgetting that linux has to be loaded second now i can not get back onto mint and i dont want to reinstall and risk the loss of data so what to add to windows boot.txt so i can select my linux drive on boot?

Thanx all

You can boot computer with Live CD, then open a terminal, type a few commands to reinstall Grub.
1. First you need to know which partition is your Mint root partition containing boot loader, to do that you can run a command

Code: Select all

sudo os-prober
Once you know your Mint root partition, say it is /dev/sda3

2. Next is to mount the root partition
sudo mount /dev/sda3 /mnt

3. next command is to reinstall grub to MBR by
sudo grub-install --root-directory=/mnt /dev/sda

hopefully it works
Reboot and test.
good luck
User avatar
whare1
Level 2
Level 2
Posts: 70
Joined: Fri May 04, 2007 6:29 am

Re: Oppss I scewed up (installed win after mint)

Post by whare1 »

Give that man a cookie

Thanx worked perfect
I've Been
Minted

Running Mint 9 KDE
Running Mint 9 Gnome
Locked

Return to “Installation & Boot”