Dual boot

Joshua Judson Rosen rozzin at geekspace.com
Thu Oct 14 14:10:28 EDT 2010


David Rose <proviss at gmail.com> writes:
>
>     GNU GRUB  version 0.97  (640K lower / 3072K upper memory)
> 
>  [ Minimal BASH-like line editing is supported.  For the first word, TAB
>    lists possible command completions.  Anywhere else TAB lists the possible
>    completions of a device/filename.]
> 
> grub> root (hd
>  Possible disks are:  hd0 hd1
> 
> grub> root (hd0,0)
>  Filesystem type unknown, partition type 0x7
> 
> grub> root (hd1,
>  Possible partitions are:
>    Partition num: 0,  Filesystem type is ext2fs, partition type 0x83
>    Partition num: 1,  Filesystem type unknown, partition type 0x8e
> 
> grub> root (hd1,0)
>  Filesystem type is ext2fs, partition type 0x83

OK, so GRUB says that your NTFS partition is (hd0,0) and that
your Linux partition is (hd1,0); so now that we've done a sanity-check,
I gather (never done it myself...) that you should be able to run through
this sequence of commands to boot Windows (NOTE: don't change the drive-
configuration--it'll cause the numbers the change):

    rootnoverify (hd0,0)
    makeactive
    chainloader +1
    boot

I'd try that on GRUB's command-shell, so that you can verify that each step
is working--if you can't run through the whole series and end up booting
the OS, at what point does something fail?

Now, I note that this `Windows on (hd0,0) and Linux on (hd1,0)'
is exactly the opposite of what you had in your first message, where you
wrote:

    Initially, I had Windows as the first drive and tried to have the
    choice using "boot.ini". I have since switched the drives[...]

Have you since switched them back? Is that how the Windows disk became #0?
Or is your computer doing something weird and, I don't know... randomising
them at boot?

And if the Windows disk is `the first one' (and I'm not entirely sure
what that means with SATA + your BIOS...), how is it that you're
booting into GRUB? Is GRUB installed into the boot-record on the Windows drive,
or do you have the BIOS set up to `boot from the second drive', or...?

-- 
"Don't be afraid to ask (λf.((λx.xx) (λr.f(rr))))."



More information about the gnhlug-discuss mailing list