LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Dual Boot problem (https://www.linuxquestions.org/questions/linux-newbie-8/dual-boot-problem-726722/)

puviy 05-18-2009 04:34 AM

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!!

syg00 05-18-2009 05:15 AM

Quote:

Originally Posted by puviy (Post 3544384)
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

yancek 05-18-2009 08:54 AM

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

puviy 05-18-2009 03:37 PM

Quote:

Originally Posted by syg00 (Post 3544417)
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

puviy 05-18-2009 03:43 PM

Quote:

Originally Posted by yancek (Post 3544665)
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!

yancek 05-18-2009 10:44 PM

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?

syg00 05-18-2009 11:03 PM

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


All times are GMT -5. The time now is 10:51 AM.