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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
12-27-2012, 07: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, 10:22 AM
|
#2
|
|
Member
Registered: Sep 2010
Location: Algarve
Distribution: Linux Multiboot
Posts: 244
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, 11:03 AM
|
#3
|
|
Member
Registered: Dec 2011
Location: Michigan USA
Distribution: OpenSUSE 12.3 64bit-Gnome 3.6 on ASUS U52F
Posts: 970
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.
Good luck to you
|
|
|
1 members found this post helpful.
|
12-28-2012, 11:06 AM
|
#4
|
|
Senior Member
Registered: Jul 2006
Location: London
Distribution: CentOS, Salix
Posts: 2,285
|
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, 07: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, 07:38 PM
|
#6
|
|
Member
Registered: Dec 2011
Location: Michigan USA
Distribution: OpenSUSE 12.3 64bit-Gnome 3.6 on ASUS U52F
Posts: 970
Rep: 
|
It is good to hear you fix it. One way or another the important thing is that is working
|
|
|
|
12-28-2012, 08:03 PM
|
#7
|
|
Member
Registered: Sep 2009
Location: Oklahoma
Distribution: Debian, CentOS, windows xp
Posts: 776
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, 10:25 PM
|
#8
|
|
LQ Newbie
Registered: Dec 2012
Posts: 11
Original Poster
Rep: 
|
Got It, Thank You So Much. You Power Users Rock!!!
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 03:59 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
|
|