Find the answer to your Linux question:
Results 1 to 5 of 5
Hello all, I've upgraded Jaunty to Karmic but I can't get XP to load from the GRUB 2 menu. I have 3 HDDS, 1 XP, 1 data (Windows stuff & ...
  1. #1
    Just Joined!
    Join Date
    Nov 2009
    Location
    Thurgoona NSW Australia
    Posts
    3

    GRUB2 - dual boot issue after 9.10 upgrade

    Hello all,
    I've upgraded Jaunty to Karmic but I can't get XP to load from the GRUB 2 menu. I have 3 HDDS, 1 XP, 1 data (Windows stuff & games) and 1 for Ubuntu.

    I know the XP mbr is OK, as I can boot it if I change the boot order in BIOS.

    fdisk -l output -
    Code:
    Disk /dev/sda: 120.0 GB, 120034123776 bytes
    255 heads, 63 sectors/track, 14593 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0xa3f79c20
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sda1   *           2       14593   117210240    f  W95 Ext'd (LBA)
    /dev/sda5               2       14593   117210208+   7  HPFS/NTFS
    
    Disk /dev/sdb: 120.0 GB, 120034123776 bytes
    255 heads, 63 sectors/track, 14593 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0x960c960c
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sdb1   *           1       14593   117218241    7  HPFS/NTFS
    
    Disk /dev/sdc: 160.0 GB, 160041885696 bytes
    255 heads, 63 sectors/track, 19457 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0xf66fc667
    
    
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sdc1   *           1        1309    10514511   83  Linux
    /dev/sdc2            1310       18705   139733370   83  Linux
    /dev/sdc3           18706       19457     6040440    5  Extended
    /dev/sdc5           18706       19457     6040408+  82  Linux swap / Solaris
    blkd output: -
    Code:
    /dev/sda5: UUID="A83CB1173CB0E18C" LABEL="Disk 2" TYPE="ntfs" 
    /dev/sdb1: UUID="01C3D871F965AC80" LABEL="DSK1_VOL1" TYPE="ntfs" 
    /dev/sdc1: UUID="ece48d4f-95ce-4c32-8ae6-20c3f3563597" TYPE="ext4" 
    /dev/sdc2: UUID="b073ff20-47f8-440f-98fc-5bbc5fcbbd8d" TYPE="ext4" 
    /dev/sdc5: UUID="27179ee5-e990-4dcb-9fc8-a5857a0f1b37" TYPE="swap"
    Device map is: -
    Code:
    (hd0)	/dev/sdb
    (hd1)	/dev/sda
    (hd2)	/dev/sdc
    and GRUB.cfg is : -
    Code:
    #
    # DO NOT EDIT THIS FILE
    #
    # It is automatically generated by /usr/sbin/grub-mkconfig using templates
    # from /etc/grub.d and settings from /etc/default/grub
    #
    
    ### BEGIN /etc/grub.d/00_header ###
    if [ -s /boot/grub/grubenv ]; then
      have_grubenv=true
      load_env
    fi
    set default="0"
    if [ ${prev_saved_entry} ]; then
      saved_entry=${prev_saved_entry}
      save_env saved_entry
      prev_saved_entry=
      save_env prev_saved_entry
    fi
    insmod ext2
    set root=(hd2,1)
    search --no-floppy --fs-uuid --set ece48d4f-95ce-4c32-8ae6-20c3f3563597
    if loadfont /usr/share/grub/unicode.pf2 ; then
      set gfxmode=640x480
      insmod gfxterm
      insmod vbe
      if terminal_output gfxterm ; then true ; else
        # For backward compatibility with versions of terminal.mod that don't
        # understand terminal_output
        terminal gfxterm
      fi
    fi
    if [ ${recordfail} = 1 ]; then
      set timeout=-1
    else
      set timeout=10
    fi
    ### END /etc/grub.d/00_header ###
    
    ### BEGIN /etc/grub.d/05_debian_theme ###
    set menu_color_normal=white/black
    set menu_color_highlight=black/white
    ### END /etc/grub.d/05_debian_theme ###
    
    ### BEGIN /etc/grub.d/10_linux ###
    menuentry "Ubuntu, Linux 2.6.31-14-generic" {
            recordfail=1
            if [ -n ${have_grubenv} ]; then save_env recordfail; fi
    	set quiet=1
    	insmod ext2
    	set root=(hd2,1)
    	search --no-floppy --fs-uuid --set ece48d4f-95ce-4c32-8ae6-20c3f3563597
    	linux	/boot/vmlinuz-2.6.31-14-generic root=UUID=ece48d4f-95ce-4c32-8ae6-20c3f3563597 ro   quiet splash
    	initrd	/boot/initrd.img-2.6.31-14-generic
    }
    menuentry "Ubuntu, Linux 2.6.31-14-generic (recovery mode)" {
            recordfail=1
            if [ -n ${have_grubenv} ]; then save_env recordfail; fi
    	insmod ext2
    	set root=(hd2,1)
    	search --no-floppy --fs-uuid --set ece48d4f-95ce-4c32-8ae6-20c3f3563597
    	linux	/boot/vmlinuz-2.6.31-14-generic root=UUID=ece48d4f-95ce-4c32-8ae6-20c3f3563597 ro single 
    	initrd	/boot/initrd.img-2.6.31-14-generic
    }
    ### END /etc/grub.d/10_linux ###
    
    ### BEGIN /etc/grub.d/20_memtest86+ ###
    menuentry "Memory test (memtest86+)" {
    	linux16	/boot/memtest86+.bin
    }
    menuentry "Memory test (memtest86+, serial console 115200)" {
    	linux16	/boot/memtest86+.bin console=ttyS0,115200n8
    }
    ### END /etc/grub.d/20_memtest86+ ###
    
    ### BEGIN /etc/grub.d/30_os-prober ###
    menuentry "Microsoft Windows XP Home Edition (on /dev/sdb1)" {
    	insmod ntfs
    	set root=(hd0,1)
    	search --no-floppy --fs-uuid --set 01c3d871f965ac80
    	drivemap -s (hd0) ${root}
    	chainloader +1
    }
    ### END /etc/grub.d/30_os-prober ###
    
    ### BEGIN /etc/grub.d/40_custom ###
    # This file provides an easy way to add custom menu entries.  Simply type the
    # menu entries you want to add after this comment.  Be careful not to change
    # the 'exec tail' line above.
    ### END /etc/grub.d/40_custom ###
    I am buggered if I can work out why it wouldn't just go!!

    Happy to take any advice, TIA.

  2. #2
    Just Joined!
    Join Date
    Nov 2009
    Location
    Thurgoona NSW Australia
    Posts
    3
    Bumpsy ??

    This issue is a real stopper - I can't change the BIOS every time the family needs to use XP

  3. #3
    Just Joined!
    Join Date
    Sep 2009
    Posts
    38
    OK I'm not following what your trying to do
    I did some thing similar I have two drives, one with XP the other with Ubuntu on it, had all kind of issues, the Bios is so old. One drive is primmary the other slave Primary will boot the other ones won't. Sounds like you want a difern't drive to be the boot drive if so you will need to move jumpers on the drive. But i really don't understand what you want to do.
    peter

  4. #4
    Just Joined!
    Join Date
    Nov 2009
    Location
    Thurgoona NSW Australia
    Posts
    3
    I'm trying to dual boot XP and Ubuntu Karmic (9.10)

    It used to work fine on 9.04 with the previous version of GRUB, and GRUB 2 is supposed to be better.

    I'm sure it's a configuration issue, but I don't know which one

  5. #5
    Just Joined!
    Join Date
    Sep 2009
    Posts
    38
    Well heres what i did and it works fine
    Loaded xp on my primarry drive fresh install then in xp loaded ubuntu using wubi
    used the fresh install not side by side cuz i wanted it on a new drive. Used the option to "help me boot" had trouble booting ubuntu. Reboot gave option xp or ubuntu used ubuntu. Setup loaded changed option to use entire disk had to change drives at this point to my slave one and install.
    now when i boot it asks what Os i want

Posting Permissions

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