LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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-03-2010, 09:23 PM   #1
sanjaydelhi
Member
 
Registered: Sep 2010
Location: India
Distribution: Ubuntu
Posts: 39

Rep: Reputation: 2
GRUB hanging after deleting CentOS


Hi,

I am new to linux.

I had dual boot Win Xp and CentOs Linux.

I have small harddisk and needed more space, so I removed CentOS linux with partition manager and rebooted. Now I can not boot my XP. All I can see is GRUB prompt. Keyboard do not respond except CTRL ALT DEL. I know I have to fixmbr. But I can not boot from my bootable XP CD. I can boot from CentOS linux DVD and enter into linux rescue mode. From that I typed "grub" entered into grub. Then I tried
root(hd0,0)
makeactive
chainloader --force +1
boot.

But it gives me some error.

KNOPPIX linux cd to boot and some how start internet to post this topic.

Can I boot my XP from CentOS DVD rescue mode?

Please help.
 
Old 11-03-2010, 09:29 PM   #2
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Main: Gentoo Others: What fits the task
Posts: 15,619
Blog Entries: 2

Rep: Reputation: 4076Reputation: 4076Reputation: 4076Reputation: 4076Reputation: 4076Reputation: 4076Reputation: 4076Reputation: 4076Reputation: 4076Reputation: 4076Reputation: 4076
You can use SuperGrubDisk for booting into Windows and fixing your boot issues. UninstallGRUB - Super Grub Disk
 
Old 11-03-2010, 10:21 PM   #3
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,031

Rep: Reputation: 559Reputation: 559Reputation: 559Reputation: 559Reputation: 559Reputation: 559
If you have xp disk, go to repair or rescue
It will bring you to cli
type: fixmbr
 
Old 11-04-2010, 10:31 PM   #4
sanjaydelhi
Member
 
Registered: Sep 2010
Location: India
Distribution: Ubuntu
Posts: 39

Original Poster
Rep: Reputation: 2
Thank you TobiSGD & EDDY1.

Had a tough time for two days. I have little old system in which I have USB drive but it does not boot from USB because bios is old. I had win XP bootable cd, but I still did not understand it did not used to boot from winxp cd but it used to boot knoppix linux live. Floppy drive also was not working. I tried overwriting MBR with lilo because I found at one forum user saying if you install MBR with lilo and then uninstall lilo, it will work. But unfortunately it did not work for me saying hda1 does not contain partition table. I do not know. Problem with using SuperGrub was , floppy drive not working. Can not write in CD because using Live Linux CD and no use in writing in USB because BIOS do not boot from USB.

What I did to restore my system to old state is, I re sized my partitions to make space for linux installation again using QtParted in knoppix linux live. I again installed CentOS which in turn installed GRUB again and I made my XP as my default OS while installing GRUB and I could restore it. But obviously this is not nice solution, but I could restore it some how.
 
Old 11-05-2010, 01:35 AM   #5
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,031

Rep: Reputation: 559Reputation: 559Reputation: 559Reputation: 559Reputation: 559Reputation: 559
Well atleast you were able to get it running. I had been having a time with Grub and Grub2. So I installed Grub2 period anytime I do anything that I think changed my loading order I go in and do "os-prober"
and then update-grub.

As far as winsxp disk if you were to boot from it and actually read the blue screen you will see that they ask "what you want to do", "install or repair". Repair takes you to command prompt.

I have my windows on 3rd partition even though everyone advises against it.
I have Debian testing on 1st partition of sda1, Winsxp sda3, Ubuntu 10.10 sdb1 and Ubuntu 10.10 server sdb6.
Since this forum has been helping me I feel very comfortable playing around with os or multiple os'es.

Any way nice to know you gotit going.
 
  


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
ssh connection hanging centos rallymatte Linux - Networking 2 12-14-2009 05:35 PM
LXer: PV-Grub on CentOS 5.2 PV DomU at Xen 3.3 CentOS 5.2 Dom0 (all 64-bit) LXer Syndicated Linux News 0 10-05-2008 11:12 PM
Problem with Centos hanging, console services/network down, no log info jackd1000 Red Hat 2 09-25-2008 04:54 AM
Grub hanging mngmd Linux - Software 27 09-24-2005 08:14 PM
Grub hanging Syncrm Linux - General 2 11-27-2002 02:33 PM


All times are GMT -5. The time now is 10:05 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration