My computer is dual booted between Windows XP and Fedora Core 3. There is only one physical disk. Windows is on the first partition and Fedora Core is on the second partition (all of the Linux file system is on the same partition).
I'm using GRUB for the bootloader which defaults to Windows (long story).
My co-worker (ya. this is my work computer) just discovered you can remotely shutdown a Windows computer from another Windows computer with the following command:
Code:
shutdown -s -m \\windowscomputername -t 01 -f
-s: shutdown
-m \\computername: machine name
-t xx: time in seconds
-f: force running applications to close
There I was, peacefully typing away when I see the shutdown message. His first attempt didn't have a time so I just typed
in the command prompt (abort the system shutdown). So his second try used the time limit of one second which left me no time to stop it.
OK. So I waited for my computer to shutdown.
The problem was when it started up again. GRUB didn't show me the normal screen; instead, it had a command line prompt. I tried using a few Unix commands like ls, cd, shutdown, ...
It only worked when I looked up a couple of commands on the internet. Namely,
Code:
chainloader +1
rootnoverify (hd0,0)
boot
Then it booted into Windows. Good! But when I restarted, it still booted into the GRUB command line.
It boots... but I want to fix it so it worked like it did before. What do I do? How do I boot into the second partition? (hd0,1) didn't work.
thanks in advance,
ian