Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 08-08-2009, 09:57 PM   #1
LQ Newbie
Registered: Aug 2009
Posts: 3
Blog Entries: 1

Rep: Reputation: 0
Exclamation Why can't I enter to Windows XP

I have a SATA hard disk with Windows XP and just installed Linux Ubuntu 7.04 and it works just fine.
But the problem is that now I cannot enter to Windows XP anymore.
I know something is missing or maybe I did something wrong.
By the way, I am using Grub.

I wish someone could help me.

Old 08-09-2009, 12:21 AM   #2
Wim Sturkenboom
Senior Member
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Slackware 10.1/10.2/12, Ubuntu 12.04, Crunchbang Statler
Posts: 3,786

Rep: Reputation: 282Reputation: 282Reputation: 282
First check if you did not accidently wipe windows of your computer. In a terminal do the following
wim@desktop1:~$ sudo fdisk -l
[sudo] password for wim: 

Disk /dev/sda: 251.0 GB, 251000193024 bytes
255 heads, 63 sectors/track, 30515 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x2e192e18

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1        3264    26218048+   7  HPFS/NTFS
/dev/sda2            3265       26892   189791910    f  W95 Ext'd (LBA)
/dev/sda5            3265        7180    31455238+   7  HPFS/NTFS
/dev/sda6            7181       10444    26218048+   b  W95 FAT32
/dev/sda7           10445       13708    26218048+  83  Linux
/dev/sda8           13709       13838     1044193+  82  Linux swap / Solaris
/dev/sda9           13839       26892   104856223+  83  Linux
If you indeed still have Windows partitions, you can add an entry at the end of grub's menu.lst with the below content

title           Microsoft Windows XP Professional
root            (hd0,0)
chainloader     +1
hd(0,0) means first harddisk, first partition; the numbers might need to change depending on your config

To do so, you can use a command like
sudo nano /boot/grub/menu.lst

Just a note:
Ubuntu 7.04 is outdated and no longer supported. You will be better off with 8.04 (long term support) or 9.04

And another note:
Welcome to LQ
Old 08-09-2009, 08:26 PM   #3
LQ Newbie
Registered: Aug 2009
Posts: 3
Blog Entries: 1

Original Poster
Rep: Reputation: 0
OK Wim

OK Wim:
Thank's for your answer.
I will test your hint and let you know what happens.
I hope this works.



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
how to enter x windows on slackware8.1 jtk084 Linux - Newbie 7 12-15-2006 04:10 AM
as I can enter the Windows archives from linux? juangabriel1786 Linux - General 2 01-20-2006 11:51 AM
as I can enter the Windows archives from linux? juangabriel1786 Linux - General 4 01-20-2006 09:06 AM
Random windows open when I press enter in KDE pointdexter Linux - Software 0 11-12-2003 02:05 PM
Can't Enter X-windows???My monitor? chenfeibo Linux - Laptop and Netbook 2 10-09-2003 09:33 AM > Forums > Linux Forums > Linux - Newbie

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

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