Page 1 of 3 123 LastLast
Results 1 to 10 of 27

Thread: i dual booted but grub menu doesnt give windows xp?

  1. #1
    Join Date
    Jun 2008
    Beans
    78

    i dual booted but grub menu doesnt give windows xp?

    title.. grub doesnt show windows xp in dual boot menu

  2. #2
    Join Date
    Jan 2007
    Location
    Connecticut
    Beans
    1,650
    Distro
    Ubuntu Development Release

    Re: i dual booted but grub menu doesnt give windows xp?

    please post the output of:

    Code:
    sudo fdisk -l

  3. #3
    Join Date
    Jun 2008
    Beans
    78

    Re: i dual booted but grub menu doesnt give windows xp?

    Code:
    Disk /dev/sda: 320.0 GB, 320072933376 bytes
    255 heads, 63 sectors/track, 38913 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0x04d304d2
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sda2   *           1       38912   312560608+   f  W95 Ext'd (LBA)
    /dev/sda5            9139       35246   209712478+  82  Linux swap / Solaris
    /dev/sda6           35247       38912    29447113+   7  HPFS/NTFS
    /dev/sda7               1        9138    73400890+  83  Linux
    
    Partition table entries are not in disk order

  4. #4
    Join Date
    Jun 2006
    Beans
    7,419
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: i dual booted but grub menu doesnt give windows xp?

    http://ubuntuguide.org/wiki/Ubuntu:F...into_GRUB_menu

    except for root use (hd0,1) or (hd0,5).

    but it may not work

    are you sure sda6 is windows system partition (c:\) ? If so, how did it end up on logical partition?

  5. #5
    Join Date
    Jun 2008
    Beans
    78

    Re: i dual booted but grub menu doesnt give windows xp?

    I dont realy know how to check the number of the windows hd i mean like what is the hd(x, x) of windows.. (i am new to linux).. how do i check this?

  6. #6
    Join Date
    Jun 2006
    Beans
    7,419
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: i dual booted but grub menu doesnt give windows xp?

    grub starts counting from 0

    linux designation - grub designation

    sda2 --> hd0,1 (i.e. first drive, second partition) this is the extended partition containing the others, with boot flag (*)
    sda5 --> hd0,4 (first drive, fifth partiiton)
    sda6 --> hd0,5 ( " " sixth " ) windows/NTFS
    sda7 --> hd0,6 ubuntu root
    Last edited by logos34; June 24th, 2008 at 09:23 PM.

  7. #7
    Join Date
    Jun 2008
    Beans
    78

    Re: i dual booted but grub menu doesnt give windows xp?

    so what i need to add in GRUB configuration is:
    title Microsoft Windows
    rootnoverify (hd0,5)
    savedefault
    makeactive
    chainloader +1

    let me understand: title means the title it get in the grub menu, root.. means the HardDrive that the operation system is there (where to boot from)
    and the others i dont realy understand can you tell me what they are for? i assume that the "savedefault" means that this will be the default boot command.. (windows will boot by default) am i correct?

  8. #8
    Join Date
    Jun 2006
    Beans
    7,419
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: i dual booted but grub menu doesnt give windows xp?

    sorry for the delayed response...I was troubleshooting my k3b app

    yes to all the above...savedefault means grub will boot the last used OS if the 'default' line near top is set to 'saved'

    more here

    try hd0,1 or hd0,5

    *if hd0,5 gives error, take out line 'makeactive'

  9. #9
    Join Date
    Jun 2008
    Beans
    78

    Re: i dual booted but grub menu doesnt give windows xp?

    when i try hd0,1 or hd0,5 it tells me error 12: Invalid device requested.
    what should i do?
    Last edited by dinbrca; June 24th, 2008 at 10:21 PM.

  10. #10
    Join Date
    Jun 2006
    Beans
    7,419
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: i dual booted but grub menu doesnt give windows xp?

    give me some more details...like in what order ubuntu and windows were installed (or rather in the case of windows, copied), why on a logical partition, etc. Can you mount windows in ubuntu and access files there?

Page 1 of 3 123 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •