LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 11-28-2009, 10:07 AM   #1
hei
LQ Newbie
 
Registered: Jul 2009
Posts: 7

Rep: Reputation: 0
Unhappy after partitioning windows won't boot


After resizing hda1 and creating hda2, hda3. I loaded linux on hda2, made flag boot. the resizing and loading of operating system on second partition went without error. I could load Windows. I then loaded Grub to MBR, it loaded without error. I then tried to boot hda2. It loaded without problem. I then rebooted and tried to load Windows, no Grub error, I then get Starting up: an it freezes up. Can anybody tell me what in Windows got corrupted and how I maybe able to fix it.
Thanks for any help!
 
Old 11-28-2009, 10:11 AM   #2
raju.mopidevi
Senior Member
 
Registered: Jan 2009
Location: vijayawada, India
Distribution: openSUSE 11.2, Ubuntu 9.0.4
Posts: 1,155
Blog Entries: 12

Rep: Reputation: 92
Which Operating system you are able to load ??
windows or linux ???
 
Old 11-28-2009, 10:12 AM   #3
raju.mopidevi
Senior Member
 
Registered: Jan 2009
Location: vijayawada, India
Distribution: openSUSE 11.2, Ubuntu 9.0.4
Posts: 1,155
Blog Entries: 12

Rep: Reputation: 92
If you install
1) windows first , linux second ....then GRUB manages the both os's
2) linux first, windows second ....then windows installation removes grub...
 
Old 11-28-2009, 10:17 AM   #4
raju.mopidevi
Senior Member
 
Registered: Jan 2009
Location: vijayawada, India
Distribution: openSUSE 11.2, Ubuntu 9.0.4
Posts: 1,155
Blog Entries: 12

Rep: Reputation: 92
Use your linux cd/ dvd. Boot with that .

select -> repair installed system -> search for the bootloader and repair it.
 
Old 11-28-2009, 11:36 AM   #5
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 6,869

Rep: Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247
What did you use to resize the windows partition, windows/ Linux?
Which windows OS are you using?
Which Linux OS are you using?
Most Linux distributions will automatically detect other OS's and put an entry in the menu.lst or grub.cfg file
What do you mean by "made boot flag", windows needs to be set active but Linux does not.
 
Old 11-30-2009, 10:10 AM   #6
hei
LQ Newbie
 
Registered: Jul 2009
Posts: 7

Original Poster
Rep: Reputation: 0
Windows will not boot.

Quote:
Originally Posted by raju.mopidevi View Post
Which Operating system you are able to load ??
windows or linux ???
I am able to load Linux. I am using Windows XP
 
Old 11-30-2009, 03:03 PM   #7
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 6,869

Rep: Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247
If I understand your situation correctly, you had xp on one large partition resized it and created two partitions, sda2 (Linux) and sda3 (swap??). You are now able to boot Linux on sda2 and not xp on sda1, correct?

Did you put an entry for xp in your /boot/grub/menu.lst file?
What distribution and version of Linux are you using? Methods differ and the last time I checked there were about 1,000 though only a few are commonly used.

You likely would get specific help if you posted the output of the fdisk -l command earlier suggested as well as the menu.lst file.
 
Old 11-30-2009, 03:16 PM   #8
johnsfine
LQ Guru
 
Registered: Dec 2007
Distribution: Centos
Posts: 5,286

Rep: Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181
Quote:
Originally Posted by hei View Post
After resizing hda1 and creating hda2, hda3. I loaded linux on hda2, made flag boot.
Do you mean you flagged hda2 bootable in the partition table? Or what do you mean?

It would be better to have hda1 flagged as bootable. Grub/Linux won't care which partition is bootable.

Quote:
the resizing and loading of operating system on second partition went without error. I could load Windows.
You finished installing Linux and then rebooted in Windows before you loaded Grub to the MBR? Before or after changing the boot flag in the partition table?

If I understand/believe you, that means the resize didn't harm Windows. But you are describing an unlikely series of actions.

Quote:
I then loaded Grub to MBR, it loaded without error. I then tried to boot hda2. It loaded without problem. I then rebooted and tried to load Windows, no Grub error, I then get Starting up: an it freezes up. Can anybody tell me what in Windows got corrupted and how I maybe able to fix it.
If you hadn't claimed Windows worked after installing Linux and before loading Grub to the MBR, I would think something in Windows was messed up by the resize.

Maybe Windows is confused by its partition not being flagged bootable. The /boot/grub/menu.lst file could include a command to make Windows think its partition is flagged bootable even if it isn't. But it may be simpler to just use a partition editor to make hda1 really be flagged bootable.

If you didn't mess up the Windows partition, you must have something wrong in /boot/grub/menu.lst
Post the contents of that file.
 
Old 11-30-2009, 11:27 PM   #9
mike11
Member
 
Registered: Apr 2009
Posts: 222

Rep: Reputation: 17
http://www.linuxquestions.org/questi...nu.lst-770432/
 
  


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
Partitioning Issues - Attempting to dual boot Windows 7 and Slackware 13.0 xTyrant Linux - Newbie 3 10-13-2009 02:42 PM
partitioning for dual boot - windows xp and opensuse 10.3 floren Linux - Newbie 1 12-22-2007 03:05 AM
dual boot with windows partitioning question saimike Ubuntu 2 12-09-2006 04:52 PM
dual boot windows xp and suse linux 9.0 partitioning problem spodops Linux - Newbie 3 10-31-2004 04:38 PM
Partitioning drives to split Linux and windows with windows already on computer. linuxnoub Linux - Hardware 5 10-16-2003 01:21 AM


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