Cannot login in windows after i installed Ubuntu
I am a regular Windows user and have decided to use Ubuntu as i have heard it is good.
I have two hard-discs. 1 is 80Gb PATA disc and other 1 is 160Gb SATA disc. I have Windows XP- service pack 2 installed on SATA disc which is my secondary boot device (first being my CD-ROM). I installed Ubuntu 8.10 on my 2nd hard-disc (PATA) and then restarted the computer. At that moment i got an error message saying "DISC BOOT FAILURE. PLEASE INSERT THE SYSTEM DISC IN TRAY AND TRY AGAIN" After this, i went in the boot menu and tried to boot in Windows but the same error kept on repeating. I can select to boot in my secondary hard-disc and boot in Ubuntu without (till this moment) any problem. I am happy with Ubuntu but i need to boot in Windows for using softwares for my academics. I have used Windows for long time but i am completely new in Linux world. my system configuration is Pentium 4 processor, 2.6 GHz, 1.2 Gb RAM, 64 Mb on-board graphics card, 160 Gb SATA hard disc (secondary boot device) 80 Gb PATA hard disc (tertiary boot device) Any help will be greatly appreciated. |
the right way to go about dualbooting is to use a bootloader like grub - not messing with bootorder in bios
you get the option to install this during the linux install - it will even detect your windows and automagically configure the shebab have never tried to install grub after install but i suppose its possible - find yourself a howto (good starting place is the grub site) |
By default grub should be installed. when you boot up to Ubuntu can you post the output of /boot/grub/menu.lst? If you look down through there you should see something that might say
Code:
title windows vista |
@jimjones
I have Grub installed by default. When i boot in Ubuntu, it says "Grub loading..." etc. I have installed Ubuntu once before and it used to show Ubuntu and Windows before booting, allowing me to choose OS to boot. @jstephens84 I could not clearly understand what you want me to do. so i typed "/boot/grub/menu.lst" in terminal. It displayed on next line "permission denied". Is that what you wanted me to do? Do i have to get some privileges to do this? and if yes, how do i do that? thanks for your replies :) |
The menu.lst file in /boot/grub/ directory is only accessible with root privileges. Type: "sudo". you will be prompted for your user password, enter it, hit Enter key and then type vi /boot/grub/menu.lst. vi is a text editor, if you aren't familiar with it, use nano or whatever text editor you have with Ubuntu. If you're not familiar with the menu.lst file, post it here. It would also be a good idea to post the output of "sudo fdisk -l" (lower case Letter L in that command) as that gives your partition informaiton.
|
Quote:
Code:
cat /boot/grub/menu.lst |
I typed cat /boot/grub/menu.lst. It worked. I don't know exactly what to paste, so i'm posting this :
Code:
# menu.lst - See: grub(8), info grub, update-grub(8) output was as following Code:
|
Ok so you will need to check your menu.lst and make sure that the rootnoverify has (hd0,0) next to it. hd0 is the first hard drive on your computer and the next 0 means use the first partition on that system.
looks like you didn't get all the information as there should be more. if you do Code:
cat /boot/grub/menu.lst | less |
Here is complete output of menu.lst file
Quote:
|
ok try this.
First we create a backup Code:
cp /boot/grub/menu.lst /boot/grub/menu.lst_bkup_09032009 Code:
sudo vim /boot/grub/menu.lst Code:
title Windows XP (loader) |
I did something i was told on ubuntuforums and it had some change but not the solution.
I was told to Quote:
After that i restarted and increased the priority of my SATA drive in boot configuration to make it first boot device in hard-discs. After that i saw message "Grub loading. press ESC to enter boot menu." As i pressed ESC, i saw familiar boot menu that allowed to select OS to boot in... I selected Windows XP and i got following message. Quote:
there was nothing there except this message on black screen What do i do now? Do i need to restore original menu.lst? |
No we are actually getting somewhere. NTLDR is the boot loader for windows. You may just need to keep changing the (hd0,0) to 5. I see that you have several partitions on that system so I can't say which one for sure is your c drive. But since 0 didn't work try (hd0,4).
|
I tried all the variations from 0 to 4.
For 1 to 4, after I select Windows XP, it displayed "Starting up..." but that was all. It hung up there for ever. :( For 0, It was Quote:
|
i have no id how grub exactly numbers its drives -
you could try (hd1,0) (or 1,2 ...) bonne chance |
I tried hd1,0 but it displayed
Quote:
I think the hard-disc hd1 is the hard-disc with Ubuntu because whilw booting in Ubuntu it shows Quote:
|
All times are GMT -5. The time now is 04:57 AM. |