LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-29-2008, 12:34 AM   #1
pankaj9999
LQ Newbie
 
Registered: Dec 2008
Posts: 1

Rep: Reputation: 0
Unhappy Dual boot problem-windows xp nd ubuntu


sir
Earlier i was using both ubuntu nd xp.but due to some problem in xp i formatted it.now only xp is running nd ubunto has gone,but ubuntu still hav space on my disk.could u plz tell me d complete procedure how to get ubuntu ranning simultaneously with xp....
 
Old 12-29-2008, 12:52 AM   #2
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 61
Boot the Ubuntu live CD and get to a command prompt. Type: sudo fdisk -l to see what is your Ubuntu boot/root partition. If it is /dev/sda2 (the second partition on the first drive), type the four commands below to open a grub session and reinstall grub in the MBR of the first hard drive set to boot in the bios:
Code:
sudo grub
root (hd0,1)
setup (hd0)
quit
Shutdown the live CD session, remove it from the optical drive and reboot the computer, you should be able to get a menu with both XP and Ubuntu.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Dual Boot-Ubuntu and Windows ME ebrown1927 Ubuntu 6 09-02-2007 11:28 PM
Dual boot - Ubuntu/Windows dickrounds Linux - General 3 08-05-2007 01:00 AM
help! dual boot related, cannot boot windows any more, ubuntu is ok parv Ubuntu 16 04-10-2007 12:29 AM
Ubuntu/Windows XP dual boot IrishX Ubuntu 2 08-09-2006 09:29 AM
How would I dual boot with Ubuntu and WIndows Xp cheetahman Ubuntu 6 07-13-2005 09:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:10 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration