LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   AH!! I need windows back :( (https://www.linuxquestions.org/questions/linux-newbie-8/ah-i-need-windows-back-212763/)

eeverde 08-04-2004 02:51 AM

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

Demonbane 08-04-2004 02:57 AM

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).

dns21 08-04-2004 11:25 AM

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.

Demonbane 08-04-2004 11:43 AM

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?

egag 08-04-2004 11:52 AM

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

egag

Origami 08-04-2004 04:30 PM

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.

pony85 08-04-2004 04:37 PM

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....


All times are GMT -5. The time now is 03:44 AM.