LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-14-2007, 07:15 PM   #1
tetigo
LQ Newbie
 
Registered: Apr 2007
Posts: 4

Rep: Reputation: 0
Problem with GRUB


Hello. I am aLINUX n00b, and I'm having a little problem with GRUB. I've had a lot of OS switches, hard disc switches, etc. on my computer, so naturally it ends up being a pretty tangled jungle. A while ago, a friend of mine helped me out with GRUB, and apparently installed it to my master boot record. I recently switched from Windows back to Ubuntu (after fixing – okay, reinstalling – Ubuntu) and since then have not been able to boot my Windows. The grub commands are as follows (more or less, I could misspell, I'm not copy-pasting):

root (hd1,0)
savedefault
makeactive
chainloader +1

This had always worked for me before, but ever since installing Ubuntu, without modifying GRUB, whenever I try to boot Windows I get this message:

Starting up...

Which is normal. But it never starts up, it just sits there. The first time, it even started repeating the message on different parts of the screen, and then my printer just started printing pages that said “Starting Up...” I have no idea what to do. Could I get some help?
 
Old 04-14-2007, 07:17 PM   #2
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Linux 11 (Bullseye)
Posts: 3,407

Rep: Reputation: 141Reputation: 141
Before we can help you with grub, we need to know what is on which drive. Your post implies that Windows was installed on the second drive as drive "D:". Is this really the case?
 
Old 04-14-2007, 07:20 PM   #3
tetigo
LQ Newbie
 
Registered: Apr 2007
Posts: 4

Original Poster
Rep: Reputation: 0
Windows is the slave, Linux is on the master (along with a few other storage partitions, but Linux is on the main partition). I know that I'm booting the right drive. I tried just booting off of the other drive from the boot menu, but it brings me back to Grub.
 
Old 04-14-2007, 07:32 PM   #4
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Linux 11 (Bullseye)
Posts: 3,407

Rep: Reputation: 141Reputation: 141
Try this. The map statements makes Windows see the second drive as drive "C:". The rootnoverify effectively says JFDI.

title Winbloze
rootnoverify (hd1,0)
map (hd0) (hd1)
map (hd1) (hd0)
makeactive
chainloader +1
 
Old 04-14-2007, 07:34 PM   #5
tetigo
LQ Newbie
 
Registered: Apr 2007
Posts: 4

Original Poster
Rep: Reputation: 0
Oh, shit, that's EXACTLY what it was before! I'm remembering this now, my friend used some map commands, yeah. This should work. Thank you very much.
 
Old 04-14-2007, 07:42 PM   #6
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Linux 11 (Bullseye)
Posts: 3,407

Rep: Reputation: 141Reputation: 141
Be SURE to use the title statement that I added!
 
Old 04-15-2007, 11:49 AM   #7
tetigo
LQ Newbie
 
Registered: Apr 2007
Posts: 4

Original Poster
Rep: Reputation: 0
Yeah, it works. Thank you so much.
 
  


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
installing GRUB 2, grub-install problem r00tb33r Linux - Software 1 02-26-2007 09:42 PM
Booting my new ubuntu install = "GRUB GRUB GRUB GRUB GRUB" etc. dissolved soul Ubuntu 2 01-13-2007 12:55 PM
GRUB dual boot problem: Boot "other" (windows) just restarts GRUB! stevod333 Linux - Software 13 04-06-2006 05:26 AM
HDD problem, scancode problem and grub EJ_INSIDE Debian 2 07-15-2004 09:36 AM
Grub setup problem (/boot/grub/stage1 not found) davidas Debian 2 04-28-2004 08:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:18 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
Open Source Consulting | Domain Registration