LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 01-18-2007, 09:10 PM   #1
ashishjen
LQ Newbie
 
Registered: Jan 2007
Posts: 25

Rep: Reputation: 15
lost my windows...


i installed ubuntu and now at the time of booting i m not getting option to select from ubuntu or windows so i wanted to ask that what should i do now to edit the boot loader config so that i get the option to select from the two....
 
Old 01-18-2007, 09:25 PM   #2
sumguy231
Member
 
Registered: Apr 2004
Location: North America
Distribution: Kubuntu 7.04 - Feisty Fawn
Posts: 296

Rep: Reputation: 30
What is your partition table like? Type 'fdisk -l' in the terminal and paste the output here.
You'll need to edit /boot/grub/menu.lst. Go to the command line and type:
Code:
sudo nano -w /boot/grub/menu.lst
Down towards the bottom past the 'defaults' section you'll need to add something like this:
Code:
title Windows
root (hd0,0)
makeactive
chainloader +1
Where it says "root (hd0,0)" you'll need to edit it to reflect the location of your Windows partition. If you post the fdisk output here, someone can help you with that.
 
  


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
Lost Windows Manager timjowers Linux - Software 1 09-14-2006 02:45 PM
lost windows xp boot ardent Linux - Newbie 17 05-27-2006 01:32 AM
Lost Windows/C NikToo Linux - Hardware 23 01-26-2006 05:57 AM
I lost windows aleli Mandriva 6 09-30-2003 06:28 PM
Lost Windows Partition? Unifex Linux - Newbie 7 03-20-2003 04:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:15 PM.

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