I can't access Linux anymore after having reinstalled Windows in Dual Boot mode
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I can't access Linux anymore after having reinstalled Windows in Dual Boot mode
Hello, Thanks for all the input about where to start with Linux, i installed the Ubuntu along side the windows xp pro 32 bit. on the start up i allays got the option to choose what OS To Boot From, but i had to Re install the windows, did not delete or format the partition where Ubuntu is installed, but i don't get the option to boot to Linux or xp anymore, the system starts up automatically to xp, do i need to re install the Ubuntu? or is there a way to get back the options to choose the OS on start Up? I appreciate the help. thanks.
Hi!
Please boot from your live Linux (which distribution?), start a Terminal / Konsole and run
Code:
sudo su
to get admin rights; afterwards
Code:
parted -l print
or, if no output:
Code:
fdisk -l
Important: in both cases "l" is a lowercase "L" like list.
And
Code:
uname -a
and
Code:
cat /etc/*{version,release}
Hint: Please
copy and paste the commands into the Terminal;
outputs: Use code tags (last but one symbol '#') - copy and paste the output between the 2 pairs of [ ] [ ].
Distribution: OpenSUSE 13.2 64bit-Gnome on ASUS U52F
Posts: 1,444
Rep:
Re Installing GRUB
You will need to re install GRUB using your install CD or flash drive. I am attaching the instructions on how to do that in a PDF file, read them and understand them before.
The whole process is done through the command line so it will be fun.
First, what's happened? When you start the computer, the BIOS looks to the Master Boot Record at the beginning of the disk to find where the operating system should be loaded from. When you installed Ubuntu, it set the MBR to point to its own bootloader, Grub, and set that up to give you a choice. When you re-installed Windows, it rewrote the MBR to use the Windows bootloader, and that doesn't give you a choice.
Thanks to all for helping, about how to get the option to choose the OS on the Boot Process, i got it Back!! I'm not well command implementer get, i tried with commands but the system ask for administrator user, so i tried the other way, thanks to DavidMcCann Senior Member i downloaded the ISO Boot Repair Disk
fallowed some instructions from the disc and i got it fixed. my system is UBUNTU 12.04 LTS the windows is xp pro.here is the link if anybody else needs to fix the same problem i got in to, after re installing Windows
there is another way you can do it as well which is a bit less work
Quote:
sudo mount /dev/sdxx /mnt
sudo grub-install --root-directory=/mnt /dev/sdx # sdx is the drive your install to. On my system it will be --root-directory=/mnt /dev/sda
sudo umount /mnt
reboot
I know you got it fixed the easy way I just wanted to give you some alternitives just incase your way fails or some others to try.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.