LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   help fast emergency (https://www.linuxquestions.org/questions/linux-newbie-8/help-fast-emergency-309155/)

AndrewZorn 04-03-2005 01:27 AM

help fast emergency
 
linux is cool and all but now i cant boot windows
i was doing all this formatting crap: http://www.linuxquestions.org/quest...threadid=309147
but never touched sda, where windows is
i have verified it is all still there as i can see it in /drives/windows/, but when i push any key to interrupt fedora booting, and then pick 'Other' (why cant it just say windows), i get some error that included noverify or something, then the last line was all this garbage kind of crazy characters. what did i do
i mean linux is fun and stuff but i have to get work done really really fast as in tomorrow afternoon so please if you have any idea as to anything please post

ok the error message says:

Booting 'Other'
rootnoverify (hd1,0)
chainloader +1
[a bunch of garbage characters]

again i really need a solution to this soon

(i know it might be against the rules to post twice but i really need something fast you can delete both after i get it fixed if you must)

__J 04-03-2005 01:30 AM

is windows on your first or second harddrive?

AndrewZorn 04-03-2005 01:56 AM

Windows/Linux: SATA HDD primary
FAT32 extra: IDE HDD secondary

__J 04-03-2005 03:01 AM

ok, just to be clear, have you booted windows since you installed linux? also, if it's an nt based windows, if you boot the windows cd and go to repair, it will have an option to fix mbr ( IIRC it's called fixboot).

AndrewZorn 04-03-2005 03:08 AM

i have booted windows fine up until i started playing around with the shared drive (might not be cause/effect but it seems like it)

elaborate on what you said, and will that make it so it wont boot Fedora anymore because i dont want to not be able to get back on linux i really like it but for me ive been using it a day

__J 04-03-2005 03:17 AM

in grub ( the bootloader you are using), the first of anything is 0, so the first partition of the first hardrive is (0,0), the second partition of the first hardrive is (0,1), the first partition of the second harddrive is (0,1) etc...

so basically up above where it says:

rootnoverify(1,0)

it looks like it is trying to load windows from the second harddrive where you need it to boot from the first harddrive.

one thing to try, boot into your linux installation, and as root open up /boot/grub/config ( or wherever it is, sorry but I'm a lilo user) and under the section "Other" make sure the root is (0,0)

On fixing the mbr, if you use the windows cd and go to repair an installation, one of the options is to repair, I believe it's called fixboot. if you installed the bootloader to the mbr during installation, this will overwrite it so you would have to boot from your linux installation cd. ( one thing you might want to look into is installing your bootloader to a floppy instead of to the disk, that way if in the future you decide linux is not for you, it will be much easier for you to get your drive(s) set back up the way you want them.

AndrewZorn 04-03-2005 03:30 AM

im kind of afraidof losing access to linux (dont have a floppy drive) so ill avoid the windows thing for now...

i dont have a config file in that folder, i have grub.conf, but it has a red x over it and i cannot open it

if anyone has fedora can you tell me the equivalent
or a solution at all

again at least all the files are still there, at least linux says they are, but it just will not go into windows, all i ever did was format the secondary hard drive, maybe its because i selected primary partition or something? but linux still boots...?

AndrewZorn 04-03-2005 03:32 AM

nevermind i got it!

Code:

# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE:  You do not have a /boot partition.  This means that
#          all kernel and initrd paths are relative to /, eg.
#          root (hd0,4)
#          kernel /boot/vmlinuz-version ro root=/dev/sda5
#          initrd /boot/initrd-version.img
#boot=/dev/sda
default=0
timeout=5
splashimage=(hd0,4)/boot/grub/splash.xpm.gz
hiddenmenu
title Fedora Core (2.6.10-1.770_FC3)
        root (hd0,4)
        kernel /boot/vmlinuz-2.6.10-1.770_FC3 ro root=LABEL=/ rhgb quiet
        initrd /boot/initrd-2.6.10-1.770_FC3.img
title Fedora Core (2.6.9-1.667)
        root (hd0,4)
        kernel /boot/vmlinuz-2.6.9-1.667 ro root=LABEL=/ rhgb quiet
        initrd /boot/initrd-2.6.9-1.667.img
title Other
        rootnoverify (hd1,0)
        chainloader +1

so what do i need to change? i see hd0,4 but i dont know if thats wrong or something

EDIT adn that reminds me why do i have two fedoras
and is this where i can rename other to Windows XP el Crappo edition?

__J 04-03-2005 03:33 AM

the red x means you don't have access, which you won't if your a normal user ( you need to be root to edit/modify something out of your home directory unless your the owner of that file/directory).

I don't know whether you are running kde or gnome, but either way open up a terminal and:

Code:

su
<your root password>

(if gnome) gedit
(if kde) kate

once you open up one of the text editors above, open up the grub.conf file and look for the "Other" section as per above

kimx 04-03-2005 03:36 AM

I think that you need to change
Code:

title Other
        rootnoverify (hd1,0)
        chainloader +1

to
Code:

title Other
        rootnoverify (hd0,0)
        chainloader +1

because you have Windows on the same harddrive as linux, which you has as hd0.

AndrewZorn 04-03-2005 02:28 PM

IT WORKED!! Thanks! Makes sense too, so I'm learning!

FINALLY BACK IN WINDOWS!!!
But the 250gig drive I formatted to FAT32 does not appear in the drive list. What do I do? I really need to get my stuff off someone else's computer.

Note: no longer in emergency status.

kimx 04-04-2005 09:38 AM

If it¨s from windows that you want to acces the hardrive then I don't know what you should do, but from linux you should be able to edit you fstab.


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