LinuxQuestions.org
Visit Jeremy's Blog.
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 09-20-2010, 05:44 AM   #1
asinghpu
Member
 
Registered: Mar 2010
Location: India
Posts: 32

Rep: Reputation: 15
window vista not loading


hi all


i have a system which consist of window vista and linux os both . Few day back i have partitioned my c drive in window vista by using partition magic software . but when i restart , window not boot .

out put of > fdisk -l

Device Boot Start End Blocks Id System
/dev/sda1 * 1 14793 118824741 7 HPFS/NTFS
/dev/sda2 14794 15558 6144862+ 83 Linux
/dev/sda3 15559 21932 51199155 83 Linux
/dev/sda4 21933 30401 68027242+ 5 Extended
/dev/sda5 21933 26394 35840983+ 83 Linux
/dev/sda6 26395 27669 10241406 83 Linux
/dev/sda7 27670 27733 514048+ 82 Linux swap / Solaris
/dev/sda8 27734 30401 21430678+ 83 Linux


and grub.conf file is

#boot=/dev/sda
default=0
timeout=10
splashimage=(hd0,1)/grub/splash.xpm.gz
hiddenmenu
title Scientific Linux SL (2.6.18-194.11.3.el5)
root (hd0,1)
kernel /vmlinuz-2.6.18-194.11.3.el5 ro root=LABEL=/1 rhgb quiet crashkernel=128M@16M
initrd /initrd-2.6.18-194.11.3.el5.img
title Scientific Linux SL (2.6.18-194.11.1.el5)
root (hd0,1)
kernel /vmlinuz-2.6.18-194.11.1.el5 ro root=LABEL=/1 rhgb quiet crashkernel=128M@16M
initrd /initrd-2.6.18-194.11.1.el5.img
title Vista
rootnoverify (hd0,0)
chainloader +1



plz help to solve this problem .

amandeep
 
Old 09-20-2010, 08:03 AM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 14,842

Rep: Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823
You haven't told us what the problem is.
 
Old 09-20-2010, 08:08 AM   #3
prayag_pjs
Senior Member
 
Registered: Feb 2008
Location: Pune - India
Distribution: Fedora,RedHat,CentOS,Gentoo
Posts: 1,138
Blog Entries: 4

Rep: Reputation: 147Reputation: 147
Hi,

Please let us know did you only partition the c drive or installed windows vista in it?
When the system is booted it shows GRUB?
Please mention what's your problem?
 
Old 09-20-2010, 09:22 AM   #4
jmc1987
Member
 
Registered: Sep 2009
Location: Oklahoma
Distribution: Debian, CentOS, windows 7
Posts: 872

Rep: Reputation: 112Reputation: 112
try booting with your windows cd and go into recovery mode. select the drive and log into your administrator account and type
Code:
fixmbr
That might get windows to boot however you will have to reinstall grub to the mbr after that. If your distro has a recovery mode on the cd then boot into that and have the system mounted and chrooted into the envirnment. the just run grub-install /dev/xxx where xxx is put your master drive.

besure to to read documents on grub so you know what your doing. it may be different on how to update grub on your system.
 
Old 09-20-2010, 09:22 AM   #5
jmc1987
Member
 
Registered: Sep 2009
Location: Oklahoma
Distribution: Debian, CentOS, windows 7
Posts: 872

Rep: Reputation: 112Reputation: 112
try booting with your windows cd and go into recovery mode. select the drive and log into your administrator account and type
Code:
fixmbr
That might get windows to boot however you will have to reinstall grub to the mbr after that. If your distro has a recovery mode on the cd then boot into that and have the system mounted and chrooted into the envirnment. the just run grub-install /dev/xxx where xxx is put your master drive.

besure to to read documents on grub so you know what your doing. it may be different on how to update grub on your system.
 
Old 09-20-2010, 10:00 AM   #6
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,130
Blog Entries: 2

Rep: Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825
Quote:
Originally Posted by jmc1987 View Post
try booting with your windows cd and go into recovery mode. select the drive and log into your administrator account and type
Code:
fixmbr
This will only work with Windows XP, but the OP mentioned that he is using Vista. The command should be
Code:
bootrec /fixmbr
@asinghpu:
Quote:
Few day back i have partitioned my c drive in window vista by using partition magic software . but when i restart , window not boot .
Please specify what you mean with "windows not boot". Is grub showing up? Can you select the Windows entry in the boot-menu? If so, what happens if you select it?

By the way, it is never a good idea to repartition a disk from within an OS that is running on the same disk, especially when you make changes to the system-partition.
 
  


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
[SOLVED] loading ubuntu with mint and vista Jesse W Ubuntu 5 10-14-2009 11:04 PM
Loading Vista loads up stage 2 grub Freezeil Linux - Desktop 6 01-23-2009 04:53 PM
Difficulty loading Vista Partition through Grub ajungstein Linux - Software 8 12-26-2008 06:55 PM
Can't boot Window$ Vista with GRUB Miice Linux - Newbie 7 02-11-2008 10:01 PM
Hang at grub loading +1 Vista in a logical partition lambchops468 Linux - General 3 09-30-2007 10:45 PM


All times are GMT -5. The time now is 02:28 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