Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Debian This forum is for the discussion of Debian Linux.


  Search this Thread
Old 12-29-2004, 01:12 PM   #1
LQ Newbie
Registered: Dec 2004
Posts: 2

Rep: Reputation: 0
Help installing dual boot

I have recently installed Ubuntu 4.1 (a distribution based largely on debian) on my Windows system. Now windows doesn't boot.

I have GRUB as the default bootloader. I also used to have both Windows 98 and XP installed.

I only have one hard drive, which had four partitions: one primary (Windows 98) and three other logical drives (within an extended partition), the first of which Windows XP was installed in. So,

C: Win98 (hd0, 0)
D: WinXP (hd0, 4)
E: (hd0, 5)
F: (hd0, 6)

When I installed linux, I resized F to linux swap size, and consequently made E bigger. I installed Linux to E, and made F the swap partition.
When installing GRUB, it recognized Windows and said it's okay to install GRUB to the Master Boot Record. I did as it said, and now Windows doesn't work.

I researched on the Internet, and basically came up with the fact that my having two Windows' installed may be the problem.

Is there any way to fix this without reinstalling Windows and maintaining Linux?
Old 12-30-2004, 11:17 AM   #2
Senior Member
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
You will have to edit /boot/grub/menu.lst and check what has been configured but you should have lines like this;

title Windows 98
root (hd0,0)
chainloader +1

title Windows XP
root (hd0,4)
chainloader +1

Once you made these changes then you need to write them to the mbr by doing as root grub-update.
Old 12-31-2004, 02:49 AM   #3
LQ Newbie
Registered: Dec 2004
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks for the help!


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
Installing FAT32 drive for Dual-Boot PlantPerson Linux - Hardware 2 09-04-2004 07:35 PM
problem with Installing red hat linux dual boot(/boot < for 1024 cylinders ) praveenb Linux - Newbie 2 02-13-2004 08:49 PM
Help Installing Mandrake 9.1 -- Dual Boot w/ XP Nefarious Linux - Newbie 8 04-13-2003 08:12 AM
problem installing dual boot w/ NT srkherad Linux - General 6 10-06-2002 06:59 AM
Installing RedHat 7.0 on Dual boot :( auscape Linux - Software 0 05-10-2001 10:38 PM > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 12:54 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration