Jump to content


 


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Photo

Can't get Windows XP into grub 1.99


  • Please log in to reply
4 replies to this topic

#1 SidMax

SidMax

  • Members
  • 27 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:08:27 PM

Posted 26 May 2013 - 05:21 PM

After I messed up a bit with the partition system, I started from scratch and installed Ubuntu 12.04 LTS on my hard drive, on one partition. Then, I created other 2 partitions, one for general use, and one for Windows XP.

 

I installed Windows XP on the partition I specifically created for this purpose, but I can't get it to appear into GRUB. This way I can't enter Windows XP. Do you have any suggestion? I tried editing menu.lst and do grub-update, but with no results. 

 

Below are some outputs that could probably help.

 

fdisk -l

Disk /dev/sda: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders, total 488397168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000ea42c

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *          63    97675199    48837568+  83  Linux
/dev/sda2        97675262   488375999   195350369    f  W95 Ext'd (LBA)
/dev/sda5       105595240   465499439   179952100    7  HPFS/NTFS/exFAT
/dev/sda6       465499503   488375999    11438248+   7  HPFS/NTFS/exFAT
/dev/sda7        97675264   105594879     3959808   82  Linux swap / Solaris

Partition table entries are not in disk order

df

Filesystem     1K-blocks    Used Available Use% Mounted on
/dev/sda1       48070472 6418396  39210200  15% /
udev             1004896       4   1004892   1% /dev
tmpfs             405136     860    404276   1% /run
none                5120       0      5120   0% /run/lock
none             1012832     304   1012528   1% /run/shm

I will really appreciate any help. Thank you.


Edited by SidMax, 26 May 2013 - 05:21 PM.


BC AdBot (Login to Remove)

 


#2 K6567

K6567

  • Members
  • 50 posts
  • OFFLINE
  •  
  • Local time:08:27 PM

Posted 26 May 2013 - 09:38 PM

Looks like you installed Ubuntu before XP. Windows likes to be 1st and normally should be installed first. You'll need to fix the MBR which you can do from a live CD. Since it's kind of lengthy to explain, here's a link.

https://help.ubuntu.com/community/WindowsDualBoot.   In the contents you'll see a section for "Installing Windows after Ubuntu."  An alternate to that solution is to use your Windows or even better, Hiren's Boot CD to fix the MBR then the Ubuntu or Hiren's to re-install grub2. 



#3 mrfingerz

mrfingerz

  • Members
  • 228 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:UK, London
  • Local time:01:27 AM

Posted 27 May 2013 - 07:38 PM

I dual-boot and boot repair has saved me a couple of times....details/download at ..........

 

http://sourceforge.net/p/boot-repair/home/Home/


It's nice to be important, it's much more important to be nice.

#4 res45

res45

  • Members
  • 9 posts
  • OFFLINE
  •  
  • Local time:09:27 PM

Posted 27 May 2013 - 09:18 PM

+1 on Boot Repair Live CD  great program.  Another is Parted Magic Live CD  http://www.snapfiles.com/get/partedmagic.html



#5 ejames82

ejames82

  • Members
  • 404 posts
  • OFFLINE
  •  
  • Location:oswego, ny
  • Local time:09:27 PM

Posted 01 June 2013 - 11:32 PM

if you don't have alot of time invested in the ubuntu install, reinstall ubuntu over itself (you would be losing data, so keep this in mind).  you would be installing it on sda1.  that would reinstall grub as well, and the installation utility would list xp on the grub menu for you.

if you don't want to go that route, I can also suggest some tutorials on youtube that explain how to reinstall grub, but that may involve 'complications'.






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users