LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 08-04-2004, 03:51 AM   #16
eeverde
LQ Newbie
 
Registered: Aug 2004
Distribution: linux redhat fc1
Posts: 9

Rep: Reputation: 0

Quote:
Here's the config.

# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd1,0)
# kernel /vmlinuz-version ro root=/dev/hdc2
# initrd /initrd-version.img
#boot=/dev/hda
default=0
timeout=10
splashimage=(hd1,0)/grub/splash.xpm.gz
title Red Hat Linux (2.4.20-31.9)
root (hd1,0)
kernel /vmlinuz-2.4.20-31.9 ro root=LABEL=/ hdd=ide-scsi
initrd /initrd-2.4.20-31.9.img
title Red Hat Linux (2.4.20-6)
root (hd1,0)
kernel /vmlinuz-2.4.20-6 ro root=LABEL=/ hdd=ide-scsi
initrd /initrd-2.4.20-6.img
title DOS
rootnoverify (hd0,0)
chainloader +1
well, what i could notice here is that the DOS filesystem is set to be searched at (hd0,0) and that's the first hdisk mbr, and i thing DOS is actually located in (hd0,1) first data part of the first HD.. but now you say that you cant even boot linux, what you can do is at the grub screen, at the command prompt (i dont remember the command to get there) you type:

rootnoverify (hd0,1) (enter)
chainloader +1 (enter)

and that should get you to boot windows... i think that the commands are correct, as soon as i reboot my system i will re-check, and post any corrections here, but what you should do is change the grub.conf or lilo.conf under
itle DOS
rootnoverify (hd0,0)
to
rootnoverify (hd0,1)

.... please anyone let me know if im wrong... well thankz... hope it helps
 
Old 08-04-2004, 03:57 AM   #17
Demonbane
LQ Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
grub starts counting disks AND partitions at 0, so (hd0,0) is correct, to specify the wholedisk(ie the mbr) you just remove the partition so its (hd0).
 
Old 08-04-2004, 12:25 PM   #18
dns21
Member
 
Registered: Feb 2004
Location: AZ
Distribution: Slackware, Ubuntu, CentOS, Debian
Posts: 139

Rep: Reputation: 15
Everything that talon posted, would be true in my case, with minor differences. 40 gb drive as opposed to 15.

Talon contacted me on another post because we were having exactly the same issue.
 
Old 08-04-2004, 12:43 PM   #19
Demonbane
LQ Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
Quote:
Everything that talon posted, would be true in my case, with minor differences. 40 gb drive as opposed to 15.

Talon contacted me on another post because we were having exactly the same issue.
K what error message, if any, do you get when you boot your machine now?
 
Old 08-04-2004, 12:52 PM   #20
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 52
how about ' #modprobe ntfs ' and mount win-stuff ' mount -t ntfs /dev/hd?? /win-stuff ?

egag
 
Old 08-04-2004, 05:30 PM   #21
Origami
LQ Newbie
 
Registered: Aug 2004
Posts: 2

Rep: Reputation: 0
Smile

Your first hint did it.

It worked fine, the computer accepted a DOS bootdisk and the rest was the usual way. A really good feeling to see the DOS command prompt, a familiar environment.

Thanks for your efforts.
 
Old 08-04-2004, 05:37 PM   #22
pony85
LQ Newbie
 
Registered: Aug 2004
Location: Bangalore
Distribution: Redhat Linux 9.0
Posts: 25

Rep: Reputation: 15
I had experienced the same prob

Well dude all you have to do is try editing the grub config file by pressing e when you get the boot prompt and then try to make it hd1,0 instead of hd0 it worked for me...
cheers
Pavan.M.V. ( pony85)
Quote:
Windows Windoze windozzzzzzzzzzzzzzzzzz haha win must be sleeping dudes at M$ listining....
 
  


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
Going back to windows? sonic04002 General 8 11-13-2005 02:48 PM
i need windows back seanz6688 General 37 03-01-2004 05:08 PM
Back to Windows Baz Linux - Newbie 13 02-17-2004 03:49 PM
Can't get Windows back!!!!!!!! NathanCohen2003 Mandriva 3 08-27-2003 02:45 PM
Cant get back into Windows : ( thetruevoice Linux - Software 3 09-07-2001 12:25 PM


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