Linux - Newbie This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
12-27-2012, 08:11 PM
|
#1
|
LQ Newbie
Registered: Dec 2012
Posts: 11
Rep:
|
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.
|
|
|
12-28-2012, 11:22 AM
|
#2
|
Member
Registered: Sep 2010
Location: Algarve
Distribution: Linux Multiboot
Posts: 295
Rep:
|
Hi!
Please boot from your live Linux (which distribution?), start a Terminal / Konsole and run
to get admin rights; afterwards
or, if no output:
Important: in both cases "l" is a lowercase "L" like list.
And
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 [ ] [ ].
|
|
|
12-28-2012, 12:03 PM
|
#3
|
Senior Member
Registered: Dec 2011
Location: Michigan USA
Distribution: OpenSUSE 13.2 64bit-Gnome on ASUS U52F
Posts: 1,444
|
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.
Good luck to you
|
|
1 members found this post helpful.
|
12-28-2012, 12:06 PM
|
#4
|
LQ Veteran
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Salix
Posts: 6,191
|
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.
So, how do you get Ubuntu back? Boot up from your Ubuntu live disk and follow the instructions here:
https://help.ubuntu.com/community/Boot-Repair
|
|
1 members found this post helpful.
|
12-28-2012, 08:08 PM
|
#5
|
LQ Newbie
Registered: Dec 2012
Posts: 11
Original Poster
Rep:
|
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
https://help.ubuntu.com/community/Boot-Repair
http://sourceforge.net/projects/boot-repair-cd
/files/
|
|
1 members found this post helpful.
|
12-28-2012, 08:38 PM
|
#6
|
Senior Member
Registered: Dec 2011
Location: Michigan USA
Distribution: OpenSUSE 13.2 64bit-Gnome on ASUS U52F
Posts: 1,444
|
It is good to hear you fix it. One way or another the important thing is that is working
|
|
|
12-28-2012, 09:03 PM
|
#7
|
Member
Registered: Sep 2009
Location: Oklahoma
Distribution: Debian, CentOS, windows 7/10
Posts: 893
Rep:
|
You can also repair your MBR like this.
Boot live cd.
mount file system to /mnt
Quote:
sudo mount -t auto /dev/sdxx /mnt
sudo mount --bind /dev /mnt/dev
sudo mount --bind /sys /mnt/sys
sudo mount --bind /proc /mnt/proc
sudo chroot /mnt
sudo update-grub
exit
sudo umount /mnt/sys
sudo umount /mnt/dev
sudo umount /mnt/proc
sudo umount /mnt
sudo reboot
|
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.
|
|
1 members found this post helpful.
|
12-28-2012, 11:25 PM
|
#8
|
LQ Newbie
Registered: Dec 2012
Posts: 11
Original Poster
Rep:
|
Got It, Thank You So Much. You Power Users Rock!!!
|
|
|
All times are GMT -5. The time now is 02:35 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|