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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
![Reply](https://www.linuxquestions.org/questions/images/buttons/reply.gif) |
11-28-2009, 10:07 AM
|
#1
|
LQ Newbie
Registered: Jul 2009
Posts: 7
Rep:
|
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!
|
|
|
11-28-2009, 10:11 AM
|
#2
|
Senior Member
Registered: Jan 2009
Location: vijayawada, India
Distribution: openSUSE 11.2, Ubuntu 9.0.4
Posts: 1,155
Rep:
|
Which Operating system you are able to load ??
windows or linux ???
|
|
|
11-28-2009, 10:12 AM
|
#3
|
Senior Member
Registered: Jan 2009
Location: vijayawada, India
Distribution: openSUSE 11.2, Ubuntu 9.0.4
Posts: 1,155
Rep:
|
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...
|
|
|
11-28-2009, 10:17 AM
|
#4
|
Senior Member
Registered: Jan 2009
Location: vijayawada, India
Distribution: openSUSE 11.2, Ubuntu 9.0.4
Posts: 1,155
Rep:
|
Use your linux cd/ dvd. Boot with that .
select -> repair installed system -> search for the bootloader and repair it.
|
|
|
11-28-2009, 11:36 AM
|
#5
|
LQ Guru
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 11,188
|
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.
|
|
|
11-30-2009, 10:10 AM
|
#6
|
LQ Newbie
Registered: Jul 2009
Posts: 7
Original Poster
Rep:
|
Windows will not boot.
Quote:
Originally Posted by raju.mopidevi
Which Operating system you are able to load ??
windows or linux ???
|
I am able to load Linux. I am using Windows XP
|
|
|
11-30-2009, 03:03 PM
|
#7
|
LQ Guru
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 11,188
|
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.
|
|
|
11-30-2009, 03:16 PM
|
#8
|
LQ Guru
Registered: Dec 2007
Distribution: Centos
Posts: 5,286
|
Quote:
Originally Posted by hei
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.
|
|
|
11-30-2009, 11:27 PM
|
#9
|
Member
Registered: Apr 2009
Posts: 222
Rep:
|
|
|
|
All times are GMT -5. The time now is 11:25 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|