LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 05-18-2009, 05:34 AM   #1
puviy
LQ Newbie
 
Registered: May 2009
Posts: 3

Rep: Reputation: 0
Dual Boot problem


I am using ubuntu 9.04 which is installed in my Master HD. I already have a windows xp on my slave hard disk. After linux was installed, i could not boot into windows xp.

I tried to change the grub, but that doesnt solve the problem. I think my MBR is deleted in slave HD. I am not sure though!!

menu.lst file is appended like this:
## Other Operating System#
title Windows XP
savedefault
map (hd1) (hd0)
map (hd0) (hd1)
root (hd1,0)
chainloader +1


could anyone help me with this problem.

Thanks in Advance!!
 
Old 05-18-2009, 06:15 AM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 15,956

Rep: Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211
Quote:
Originally Posted by puviy View Post
I tried to change the grub, but that doesnt solve the problem.
What did you change ?.
What happens when you select XP ?. Show us the output from the following command when issued from a terminal (enter your password)
Quote:
sudo fdisk -l
 
Old 05-18-2009, 09:54 AM   #3
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 7,332

Rep: Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407
I would suggest you change your windows entry to below, assuming xp is still on slave drive?:

title Windows XP
rootnoverify (hd1,0)
map (hd0) (hd1)
map (hd1) (hd0)
chainloader +1
 
Old 05-18-2009, 04:37 PM   #4
puviy
LQ Newbie
 
Registered: May 2009
Posts: 3

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by syg00 View Post
What did you change ?.
What happens when you select XP ?. Show us the output from the following command when issued from a terminal (enter your password)
#syg00....

I changed the menu.lst like i first quoted. When I choose windows it says Starting... and then it hangs!!

The first disk (60GB) Linux has installed.. second one has Windows. fdisk gives this output-


Disk /dev/sda: 60.0 GB, 60060155904 bytes
255 heads, 63 sectors/track, 7301 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x0000cbf5



Device Boot Start End Blocks Id System
/dev/sda1 * 1 138 1108453+ 83 Linux
/dev/sda2 139 7301 57536797+ 5 Extended
/dev/sda5 7115 7301 1502046 82 Linux swap / Solaris
/dev/sda6 139 6926 54524547 83 Linux
/dev/sda7 6927 7114 1510078+ 82 Linux swap / Solaris

Partition table entries are not in disk order

Disk /dev/sdb: 40.0 GB, 40020664320 bytes
255 heads, 63 sectors/track, 4865 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xffbbe63d

Device Boot Start End Blocks Id System
/dev/sdb1 * 1 2553 20506941 c W95 FAT32 (LBA)
/dev/sdb2 2554 4865 18571140 f W95 Ext'd (LBA)
/dev/sdb5 2554 4865 18571108+ b W95 FAT32
 
Old 05-18-2009, 04:43 PM   #5
puviy
LQ Newbie
 
Registered: May 2009
Posts: 3

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by yancek View Post
I would suggest you change your windows entry to below, assuming xp is still on slave drive?:

title Windows XP
rootnoverify (hd1,0)
map (hd0) (hd1)
map (hd1) (hd0)
chainloader +1
#yancek...

I tried rootnoverify/root with (hdx,y). I also quoted windows as default. But Nothing really happened. I am sure that the windows is in (hd1,0). When I use (hd1,0), I get the message Starting... Other inputs gives me an error saying 'No such drive'

couldnt find a way out!
 
Old 05-18-2009, 11:44 PM   #6
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 7,332

Rep: Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407
Maybe Grub sees the drives differently. Login to a terminal as root and run the 'grub' command. Get a grub prompt and type geometry (hd0) and geometry (hd1) and check the output against the output of the fdisk command.

When you select xp, the message is "starting" nothing else?
 
Old 05-19-2009, 12:03 AM   #7
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 15,956

Rep: Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211
I'm always a little suspicious when I see [V]FAT partitions for Windows - what does "blkid" have to say ?.
 
  


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
linux boot problem on dual boot mac mini dla-nor Linux - General 2 06-13-2007 07:02 AM
dual boot dual drive XP and FC6 problem arjay Fedora 2 05-20-2007 12:38 PM
Need help fixing boot problem on Ubuntu/WinXp dual-boot Ay-Karamba! Linux - General 5 09-06-2005 10:20 PM
Problem with dual boot/dual drive setup Norab Linux - Hardware 10 08-29-2005 04:13 PM
problem with Installing red hat linux dual boot(/boot < for 1024 cylinders ) praveenb Linux - Newbie 2 02-13-2004 09:49 PM

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

All times are GMT -5. The time now is 01:37 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration