Grub Loader Dual Boot Error-no such device for WinXP[SOLVED]
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Grub Loader Dual Boot Error-no such device for WinXP[SOLVED]
I can not boot from Grub in to Windows XP, I get the error "no such device". I am new to Linux but it seems that the volume is incorrectly named. I cloned my windows HD with clonezilla to a partition on my current hard drive, details below.
History as to how everything was installed:
From my old WIN XP hard drive I used clonezilla to clone the drive to a partition on my new hard drive for Linux. Windows is on SDA4 which is the last partition of the drive, it is mounted at sda4/windows using ntfs. I then loaded Mint 8 gnome on the 2nd partition sda2 using ext3 mounted at /, sda1 is my Linux swap, and sda3 is mounted at /home using ext3. While installing I selected to mount Linux ext3 at /
When I choose to load winXP from the grub boot loader I get dev/sda4 no such device 10CDR36778638F73. Also when I try to unmount from disk utility I get the following error: Error unmounting: umount exited with exit code 1: helper failed with:
umount: only root can unmount UUID=10CDF36778638F73 from /windows
History as to how everything was installed:
From my old WIN XP hard drive I used clonezilla to clone the drive to a partition on my new hard drive for Linux. Windows is on SDA4 which is the last partition of the drive, it is mounted at sda4/windows using ntfs. I then loaded Mint 8 gnome on the 2nd partition sda2 using ext3 mounted at /, sda1 is my Linux swap, and sda3 is mounted at /home using ext3. While installing I selected to mount Linux ext3 at /
When I choose to load winXP from the grub boot loader I get dev/sda4 no such device 10CDR36778638F73. Also when I try to unmount from disk utility I get the following error: Error unmounting: umount exited with exit code 1: helper failed with:
umount: only root can unmount UUID=10CDF36778638F73 from /windows
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: Grub Loader Dual Boot Error-no such device for WinXP
You should run and post the results of the boot info script described here: http://ubuntuforums.org/showthread.php?t=1291280
Other than that, when you made your Clonezilla backup, was it just the partition, or the entire drive?
Other than that, when you made your Clonezilla backup, was it just the partition, or the entire drive?
Re: Grub Loader Dual Boot Error-no such device for WinXP
When I did the clonezilla, i did a disk to disk partition to disk partition clone. Based on the file system data/specs it is identical in size so not sure if perhaps something is missing.
I just reinstalled Linux MInt, should I have formatted /home to fat32 instead of ext3 if if I am going to share documents with WinXP? If so can I change it in disk utility?
I am going to go try to figure out what you are telling me to do and post the results. Will you be around to help when I am finished.
Thanks, Janice
I just reinstalled Linux MInt, should I have formatted /home to fat32 instead of ext3 if if I am going to share documents with WinXP? If so can I change it in disk utility?
I am going to go try to figure out what you are telling me to do and post the results. Will you be around to help when I am finished.
Thanks, Janice
Re: Grub Loader Dual Boot Error-no such device for WinXP
Here are the results you requested, thanks again for your help, I truly appreciate it.
Boot Info Script 0.55 dated February 15th, 2010
============================= Boot Info Summary: ==============================
=> Grub 2 is installed in the MBR of /dev/sda and looks on the same drive in
partition #2 for /boot/grub.
=> No boot loader is installed in the MBR of /dev/sdb
=> Windows is installed in the MBR of /dev/sdc
sda1: _________________________________________________________________________
File system: swap
Boot sector type: -
Boot sector info:
sda2: _________________________________________________________________________
File system: ext3
Boot sector type: -
Boot sector info:
Operating System: Linux Mint 8 Helena - Main
Edition
Boot files/dirs: /boot/grub/grub.cfg /etc/fstab /boot/grub/core.img
sda3: _________________________________________________________________________
File system: ext3
Boot sector type: -
Boot sector info:
Operating System:
Boot files/dirs:
sda4: _________________________________________________________________________
File system: ntfs
Boot sector type: Windows XP
Boot sector info: According to the info in the boot sector, sda4 starts
at sector 63. But according to the info from fdisk,
sda4 starts at sector 521935785. According to the info
in the boot sector, sda4 has 102848066 sectors, but
according to the info from fdisk, it has 103201559
sectors.
Operating System: Windows XP
Boot files/dirs: /boot.ini /ntldr /NTDETECT.COM
sdb1: _________________________________________________________________________
File system: vfat
Boot sector type: Fat32
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files/dirs:
sdb2: _________________________________________________________________________
File system: vfat
Boot sector type: Fat32
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files/dirs:
sdb3: _________________________________________________________________________
File system: ntfs
Boot sector type: Windows Vista/7
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files/dirs:
sdc1: _________________________________________________________________________
File system: vfat
Boot sector type: MSWIN4.1: Fat 32
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files/dirs: /boot.ini /ntldr /NTDETECT.COM
=========================== Drive/Partition Info: =============================
Drive: sda ___________________ _____________________________________________________
Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0xf6c30b51
Partition Boot Start End Size Id System
/dev/sda1 63 4,096,574 4,096,512 82 Linux swap / Solaris
/dev/sda2 * 4,096,575 55,295,729 51,199,155 83 Linux
/dev/sda3 55,295,730 521,935,784 466,640,055 83 Linux
/dev/sda4 * 521,935,785 625,137,344 103,201,560 7 HPFS/NTFS
Drive: sdb ___________________ _____________________________________________________
Disk /dev/sdb: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0x0001e5d3
Partition Boot Start End Size Id System
/dev/sdb1 63 233,552,969 233,552,907 b W95 FAT32
/dev/sdb2 233,552,970 563,062,184 329,509,215 b W95 FAT32
/dev/sdb3 563,062,185 625,137,344 62,075,160 7 HPFS/NTFS
Drive: sdc ___________________ _____________________________________________________
Disk /dev/sdc: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders, total 156301488 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0x8f9c798a
Partition Boot Start End Size Id System
/dev/sdc1 63 156,280,319 156,280,257 c W95 FAT32 (LBA)
blkid -c /dev/null: ____________________________________________________________
Device UUID TYPE LABEL
/dev/sda1 40b5e526-a767-4401-8730-23fbeb58101b swap Linux Swap File
/dev/sda2 e80a5677-2918-45f9-af03-707bca71bc3a ext3 LinuxMint
/dev/sda3 780428f8-863d-4b13-84f8-5ff62ea642e0 ext3 Home
/dev/sda4 10CDF36778638F73 ntfs
/dev/sdb1 1278-247F vfat JK_MyDocs
/dev/sdb2 801C-5744 vfat JK_Pictures
/dev/sdb3 5BA08D9A672567B8 ntfs JKHD_Ghost
/dev/sdc1 7534-EE97 vfat WD-EXT-75G
============================ "mount | grep ^/dev output: ===========================
Device Mount_Point Type Options
/dev/sda2 / ext3 (rw,errors=remount-ro)
/dev/sda4 /windows fuseblk (rw,nosuid,nodev,allow_other,default_permissions,blksize=4096)
/dev/sda3 /home ext3 (rw)
/dev/sdb3 /media/JKHD_Ghost fuseblk (rw,nosuid,nodev,allow_other,default_permissions,blksize=4096)
/dev/sdb1 /media/JK_MyDocs vfat (rw,nosuid,nodev,uhelper=devkit,uid=1000,gid=1000,shortname=mixed,dmask=0077,utf8=1,flush)
/dev/sdc1 /media/WD-EXT-75G vfat (rw,nosuid,nodev,uhelper=devkit,uid=1000,gid=1000,shortname=mixed,dmask=0077,utf8=1,flush)
/dev/sdb2 /media/JK_Pictures vfat (rw,nosuid,nodev,uhelper=devkit,uid=1000,gid=1000,shortname=mixed,dmask=0077,utf8=1,flush)
=========================== sda2/boot/grub/grub.cfg: ===========================
#
# 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=(hd0,2)
search --no-floppy --fs-uuid --set e80a5677-2918-45f9-af03-707bca71bc3a
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/06_mint_theme ###
insmod ext2
set root=(hd0,2)
search --no-floppy --fs-uuid --set e80a5677-2918-45f9-af03-707bca71bc3a
insmod png
if background_image /boot/grub/linuxmint.png ; then
set color_normal=white/black
set color_highlight=white/light-gray
else
set menu_color_normal=white/black
set menu_color_highlight=white/light-gray
fi
### END /etc/grub.d/06_mint_theme ###
### BEGIN /etc/grub.d/10_linux ###
menuentry "Linux Mint 8 Helena, linux 2.6.31-14-generic (/dev/sda2)" {
recordfail=1
if [ -n ${have_grubenv} ]; then save_env recordfail; fi
set quiet=1
insmod ext2
set root=(hd0,2)
search --no-floppy --fs-uuid --set e80a5677-2918-45f9-af03-707bca71bc3a
linux /boot/vmlinuz-2.6.31-14-generic root=UUID=e80a5677-2918-45f9-af03-707bca71bc3a ro quiet splash
initrd /boot/initrd.img-2.6.31-14-generic
}
menuentry "Linux Mint 8 Helena, linux 2.6.31-14-generic (recovery mode)" {
recordfail=1
if [ -n ${have_grubenv} ]; then save_env recordfail; fi
insmod ext2
set root=(hd0,2)
search --no-floppy --fs-uuid --set e80a5677-2918-45f9-af03-707bca71bc3a
linux /boot/vmlinuz-2.6.31-14-generic root=UUID=e80a5677-2918-45f9-af03-707bca71bc3a 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 Professional (on /dev/sda4)" {
insmod ntfs
set root=(hd0,4)
search --no-floppy --fs-uuid --set 10cdf36778638f73
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 ###
=============================== sda2/etc/fstab: ===============================
# /etc/fstab: static file system information.
#
# Use 'blkid -o value -s UUID' to print the universally unique identifier
# for a device; this may be used with UUID= as a more robust way to name
# devices that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# / was on /dev/sda2 during installation
UUID=e80a5677-2918-45f9-af03-707bca71bc3a / ext3 errors=remount-ro 0 1
# /home was on /dev/sda3 during installation
UUID=780428f8-863d-4b13-84f8-5ff62ea642e0 /home ext3 defaults 0 2
# /windows was on /dev/sda4 during installation
UUID=10CDF36778638F73 /windows ntfs defaults,nls=utf8,umask=007,gid=46 0 0
# swap was on /dev/sda1 during installation
UUID=40b5e526-a767-4401-8730-23fbeb58101b none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto,exec,utf8 0 0
/dev/scd1 /media/floppy1 auto rw,user,noauto,exec,utf8 0 0
=================== sda2: Location of files loaded by Grub: ===================
15.6GB: boot/grub/core.img
15.5GB: boot/grub/grub.cfg
15.5GB: boot/initrd.img-2.6.31-14-generic
15.5GB: boot/vmlinuz-2.6.31-14-generic
15.5GB: initrd.img
15.5GB: vmlinuz
================================ sda4/boot.ini: ================================
[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /fastdetect /NoExecute=OptIn
================================ sdc1/boot.ini: ================================
[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /fastdetect /NoExecute=OptIn
Boot Info Script 0.55 dated February 15th, 2010
============================= Boot Info Summary: ==============================
=> Grub 2 is installed in the MBR of /dev/sda and looks on the same drive in
partition #2 for /boot/grub.
=> No boot loader is installed in the MBR of /dev/sdb
=> Windows is installed in the MBR of /dev/sdc
sda1: _________________________________________________________________________
File system: swap
Boot sector type: -
Boot sector info:
sda2: _________________________________________________________________________
File system: ext3
Boot sector type: -
Boot sector info:
Operating System: Linux Mint 8 Helena - Main
Edition
Boot files/dirs: /boot/grub/grub.cfg /etc/fstab /boot/grub/core.img
sda3: _________________________________________________________________________
File system: ext3
Boot sector type: -
Boot sector info:
Operating System:
Boot files/dirs:
sda4: _________________________________________________________________________
File system: ntfs
Boot sector type: Windows XP
Boot sector info: According to the info in the boot sector, sda4 starts
at sector 63. But according to the info from fdisk,
sda4 starts at sector 521935785. According to the info
in the boot sector, sda4 has 102848066 sectors, but
according to the info from fdisk, it has 103201559
sectors.
Operating System: Windows XP
Boot files/dirs: /boot.ini /ntldr /NTDETECT.COM
sdb1: _________________________________________________________________________
File system: vfat
Boot sector type: Fat32
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files/dirs:
sdb2: _________________________________________________________________________
File system: vfat
Boot sector type: Fat32
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files/dirs:
sdb3: _________________________________________________________________________
File system: ntfs
Boot sector type: Windows Vista/7
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files/dirs:
sdc1: _________________________________________________________________________
File system: vfat
Boot sector type: MSWIN4.1: Fat 32
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files/dirs: /boot.ini /ntldr /NTDETECT.COM
=========================== Drive/Partition Info: =============================
Drive: sda ___________________ _____________________________________________________
Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0xf6c30b51
Partition Boot Start End Size Id System
/dev/sda1 63 4,096,574 4,096,512 82 Linux swap / Solaris
/dev/sda2 * 4,096,575 55,295,729 51,199,155 83 Linux
/dev/sda3 55,295,730 521,935,784 466,640,055 83 Linux
/dev/sda4 * 521,935,785 625,137,344 103,201,560 7 HPFS/NTFS
Drive: sdb ___________________ _____________________________________________________
Disk /dev/sdb: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0x0001e5d3
Partition Boot Start End Size Id System
/dev/sdb1 63 233,552,969 233,552,907 b W95 FAT32
/dev/sdb2 233,552,970 563,062,184 329,509,215 b W95 FAT32
/dev/sdb3 563,062,185 625,137,344 62,075,160 7 HPFS/NTFS
Drive: sdc ___________________ _____________________________________________________
Disk /dev/sdc: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders, total 156301488 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0x8f9c798a
Partition Boot Start End Size Id System
/dev/sdc1 63 156,280,319 156,280,257 c W95 FAT32 (LBA)
blkid -c /dev/null: ____________________________________________________________
Device UUID TYPE LABEL
/dev/sda1 40b5e526-a767-4401-8730-23fbeb58101b swap Linux Swap File
/dev/sda2 e80a5677-2918-45f9-af03-707bca71bc3a ext3 LinuxMint
/dev/sda3 780428f8-863d-4b13-84f8-5ff62ea642e0 ext3 Home
/dev/sda4 10CDF36778638F73 ntfs
/dev/sdb1 1278-247F vfat JK_MyDocs
/dev/sdb2 801C-5744 vfat JK_Pictures
/dev/sdb3 5BA08D9A672567B8 ntfs JKHD_Ghost
/dev/sdc1 7534-EE97 vfat WD-EXT-75G
============================ "mount | grep ^/dev output: ===========================
Device Mount_Point Type Options
/dev/sda2 / ext3 (rw,errors=remount-ro)
/dev/sda4 /windows fuseblk (rw,nosuid,nodev,allow_other,default_permissions,blksize=4096)
/dev/sda3 /home ext3 (rw)
/dev/sdb3 /media/JKHD_Ghost fuseblk (rw,nosuid,nodev,allow_other,default_permissions,blksize=4096)
/dev/sdb1 /media/JK_MyDocs vfat (rw,nosuid,nodev,uhelper=devkit,uid=1000,gid=1000,shortname=mixed,dmask=0077,utf8=1,flush)
/dev/sdc1 /media/WD-EXT-75G vfat (rw,nosuid,nodev,uhelper=devkit,uid=1000,gid=1000,shortname=mixed,dmask=0077,utf8=1,flush)
/dev/sdb2 /media/JK_Pictures vfat (rw,nosuid,nodev,uhelper=devkit,uid=1000,gid=1000,shortname=mixed,dmask=0077,utf8=1,flush)
=========================== sda2/boot/grub/grub.cfg: ===========================
#
# 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=(hd0,2)
search --no-floppy --fs-uuid --set e80a5677-2918-45f9-af03-707bca71bc3a
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/06_mint_theme ###
insmod ext2
set root=(hd0,2)
search --no-floppy --fs-uuid --set e80a5677-2918-45f9-af03-707bca71bc3a
insmod png
if background_image /boot/grub/linuxmint.png ; then
set color_normal=white/black
set color_highlight=white/light-gray
else
set menu_color_normal=white/black
set menu_color_highlight=white/light-gray
fi
### END /etc/grub.d/06_mint_theme ###
### BEGIN /etc/grub.d/10_linux ###
menuentry "Linux Mint 8 Helena, linux 2.6.31-14-generic (/dev/sda2)" {
recordfail=1
if [ -n ${have_grubenv} ]; then save_env recordfail; fi
set quiet=1
insmod ext2
set root=(hd0,2)
search --no-floppy --fs-uuid --set e80a5677-2918-45f9-af03-707bca71bc3a
linux /boot/vmlinuz-2.6.31-14-generic root=UUID=e80a5677-2918-45f9-af03-707bca71bc3a ro quiet splash
initrd /boot/initrd.img-2.6.31-14-generic
}
menuentry "Linux Mint 8 Helena, linux 2.6.31-14-generic (recovery mode)" {
recordfail=1
if [ -n ${have_grubenv} ]; then save_env recordfail; fi
insmod ext2
set root=(hd0,2)
search --no-floppy --fs-uuid --set e80a5677-2918-45f9-af03-707bca71bc3a
linux /boot/vmlinuz-2.6.31-14-generic root=UUID=e80a5677-2918-45f9-af03-707bca71bc3a 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 Professional (on /dev/sda4)" {
insmod ntfs
set root=(hd0,4)
search --no-floppy --fs-uuid --set 10cdf36778638f73
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 ###
=============================== sda2/etc/fstab: ===============================
# /etc/fstab: static file system information.
#
# Use 'blkid -o value -s UUID' to print the universally unique identifier
# for a device; this may be used with UUID= as a more robust way to name
# devices that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# / was on /dev/sda2 during installation
UUID=e80a5677-2918-45f9-af03-707bca71bc3a / ext3 errors=remount-ro 0 1
# /home was on /dev/sda3 during installation
UUID=780428f8-863d-4b13-84f8-5ff62ea642e0 /home ext3 defaults 0 2
# /windows was on /dev/sda4 during installation
UUID=10CDF36778638F73 /windows ntfs defaults,nls=utf8,umask=007,gid=46 0 0
# swap was on /dev/sda1 during installation
UUID=40b5e526-a767-4401-8730-23fbeb58101b none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto,exec,utf8 0 0
/dev/scd1 /media/floppy1 auto rw,user,noauto,exec,utf8 0 0
=================== sda2: Location of files loaded by Grub: ===================
15.6GB: boot/grub/core.img
15.5GB: boot/grub/grub.cfg
15.5GB: boot/initrd.img-2.6.31-14-generic
15.5GB: boot/vmlinuz-2.6.31-14-generic
15.5GB: initrd.img
15.5GB: vmlinuz
================================ sda4/boot.ini: ================================
[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /fastdetect /NoExecute=OptIn
================================ sdc1/boot.ini: ================================
[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /fastdetect /NoExecute=OptIn
Re: Grub Loader Dual Boot Error-no such device for WinXP
Hi,
I am newbie to mint so I can't tell you much about it. My install is not yet complete. But the way you have cloned XP it won't work. Couple of days back I had the same problem. Windows XP remembers it's environment in it's registry, literally . Do you have your old hard drive handy if yes I will give you the simple steps.
Regards,
Pandey
I am newbie to mint so I can't tell you much about it. My install is not yet complete. But the way you have cloned XP it won't work. Couple of days back I had the same problem. Windows XP remembers it's environment in it's registry, literally . Do you have your old hard drive handy if yes I will give you the simple steps.
Regards,
Pandey
Re: Grub Loader Dual Boot Error-no such device for WinXP
I'm just asking the question, but isn't part of the problem that boot.ini on the cloned WinXP drive:
Shouldn't that be edited to reflect that fact that it is now at "partition(4)" ?
Not quite sure what to make of sdc1's boot.ini either but it's pointing to the same location as sda4's boot.ini.
Is no longer at that location?================================ sda4/boot.ini: ================================
[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /fastdetect /NoExecute=OptIn
Shouldn't that be edited to reflect that fact that it is now at "partition(4)" ?
Not quite sure what to make of sdc1's boot.ini either but it's pointing to the same location as sda4's boot.ini.
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.
Re: Grub Loader Dual Boot Error-no such device for WinXP
try the following:
- open gparted and set the boot flag to sda4
- remove grub2 from the drive's mbr:
NOTE: BE CAREFUL WITH WHAT YOU TYPE USING THE DD COMMAND, COPY AND PASTE
- reboot your system. it should now boot straight into windows (if the boot loader is not corrupt)
- run checkdsk /f
- reboot twice
- boot off the livecd and issue these commands:
- reboot into Mint
- regenerate your grub.cfg
- open gparted and set the boot flag to sda4
- remove grub2 from the drive's mbr:
Code: Select all
sudo dd if=/dev/zero of=/dev/sda bs=446 count=1
- reboot your system. it should now boot straight into windows (if the boot loader is not corrupt)
- run checkdsk /f
- reboot twice
- boot off the livecd and issue these commands:
Code: Select all
sudo mount /dev/sda2 /mnt
sudo grub-install --recheck --root-directory=/mn /dev/sda
- regenerate your grub.cfg
Code: Select all
sudo update-grub
Re: Grub Loader Dual Boot Error-no such device for WinXP
I reloaded Mint last night to see if anthing changed so to be sure it is still the same here is the latest log.
All i know is I looked at the advanced section in partitioner when I was loading it and it said (h0,0) for boot loader. This is my first Linux & I am LOVING IT so I would need assistance (copy & paste code) in order to correct the problem. Unfortunately there are 3 programs that I need for work that are not available for Linux and would have to run, otherwise I would never have to see the word Microsoft again. Thank you!! Janice
Boot Info Script 0.55 dated February 15th, 2010
============================= Boot Info Summary: ==============================
=> Grub 2 is installed in the MBR of /dev/sda and looks on the same drive in
partition #2 for /boot/grub.
=> Windows is installed in the MBR of /dev/sdb
=> No boot loader is installed in the MBR of /dev/sdc
sda1: _________________________________________________________________________
File system: swap
Boot sector type: -
Boot sector info:
sda2: _________________________________________________________________________
File system: ext3
Boot sector type: -
Boot sector info:
Operating System: Linux Mint 8 Helena - Main
Edition
Boot files/dirs: /boot/grub/grub.cfg /etc/fstab /boot/grub/core.img
sda3: _________________________________________________________________________
File system: ext3
Boot sector type: -
Boot sector info:
Operating System:
Boot files/dirs:
sda4: _________________________________________________________________________
File system: ntfs
Boot sector type: Windows XP
Boot sector info: According to the info in the boot sector, sda4 starts
at sector 63. But according to the info from fdisk,
sda4 starts at sector 521935785. According to the info
in the boot sector, sda4 has 102848066 sectors, but
according to the info from fdisk, it has 103201559
sectors.
Operating System: Windows XP
Boot files/dirs: /boot.ini /ntldr /NTDETECT.COM
sdb1: _________________________________________________________________________
File system: vfat
Boot sector type: MSWIN4.1: Fat 32
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files/dirs: /boot.ini /ntldr /NTDETECT.COM
sdc1: _________________________________________________________________________
File system: vfat
Boot sector type: Fat32
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files/dirs:
sdc2: _________________________________________________________________________
File system: vfat
Boot sector type: Fat32
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files/dirs:
sdc3: _________________________________________________________________________
File system: ntfs
Boot sector type: Windows Vista/7
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files/dirs:
=========================== Drive/Partition Info: =============================
Drive: sda ___________________ _____________________________________________________
Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0xf6c30b51
Partition Boot Start End Size Id System
/dev/sda1 63 4,096,574 4,096,512 82 Linux swap / Solaris
/dev/sda2 * 4,096,575 55,295,729 51,199,155 83 Linux
/dev/sda3 55,295,730 521,935,784 466,640,055 83 Linux
/dev/sda4 * 521,935,785 625,137,344 103,201,560 7 HPFS/NTFS
Drive: sdb ___________________ _____________________________________________________
Disk /dev/sdb: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders, total 156301488 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0x8f9c798a
Partition Boot Start End Size Id System
/dev/sdb1 63 156,280,319 156,280,257 c W95 FAT32 (LBA)
Drive: sdc ___________________ _____________________________________________________
Disk /dev/sdc: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0x0001e5d3
Partition Boot Start End Size Id System
/dev/sdc1 63 233,552,969 233,552,907 b W95 FAT32
/dev/sdc2 233,552,970 563,062,184 329,509,215 b W95 FAT32
/dev/sdc3 563,062,185 625,137,344 62,075,160 7 HPFS/NTFS
blkid -c /dev/null: ____________________________________________________________
Device UUID TYPE LABEL
/dev/sda1 40b5e526-a767-4401-8730-23fbeb58101b swap Linux Swap File
/dev/sda2 c59917a2-74c0-4665-b909-1f6659ad0089 ext3 Linux Mint
/dev/sda3 3ee6ce64-a0eb-4f71-b7b6-4b5004153865 ext3 Home
/dev/sda4 10CDF36778638F73 ntfs
/dev/sdb1 7534-EE97 vfat WD-EXT-75G
/dev/sdc1 1278-247F vfat JK_MyDocs
/dev/sdc2 801C-5744 vfat JK_Pictures
/dev/sdc3 5BA08D9A672567B8 ntfs JKHD_Ghost
============================ "mount | grep ^/dev output: ===========================
Device Mount_Point Type Options
/dev/sda2 / ext3 (rw,errors=remount-ro)
/dev/sda4 /windows fuseblk (rw,nosuid,nodev,allow_other,default_permissions,blksize=4096)
/dev/sda3 /home ext3 (rw)
/dev/sdb1 /media/WD-EXT-75G vfat (rw,nosuid,nodev,uhelper=devkit,uid=1000,gid=1000,shortname=mixed,dmask=0077,utf8=1,flush)
/dev/sdc2 /media/JK_Pictures vfat (rw,nosuid,nodev,uhelper=devkit,uid=1000,gid=1000,shortname=mixed,dmask=0077,utf8=1,flush)
/dev/sdc1 /media/JK_MyDocs vfat (rw,nosuid,nodev,uhelper=devkit,uid=1000,gid=1000,shortname=mixed,dmask=0077,utf8=1)
/dev/sdc3 /media/JKHD_Ghost fuseblk (rw,nosuid,nodev,allow_other,default_permissions,blksize=4096)
=========================== sda2/boot/grub/grub.cfg: ===========================
#
# 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=(hd0,2)
search --no-floppy --fs-uuid --set c59917a2-74c0-4665-b909-1f6659ad0089
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/06_mint_theme ###
insmod ext2
set root=(hd0,2)
search --no-floppy --fs-uuid --set c59917a2-74c0-4665-b909-1f6659ad0089
insmod png
if background_image /boot/grub/linuxmint.png ; then
set color_normal=white/black
set color_highlight=white/light-gray
else
set menu_color_normal=white/black
set menu_color_highlight=white/light-gray
fi
### END /etc/grub.d/06_mint_theme ###
### BEGIN /etc/grub.d/10_linux ###
menuentry "Linux Mint 8 Helena, linux 2.6.31-14-generic (/dev/sda2)" {
recordfail=1
if [ -n ${have_grubenv} ]; then save_env recordfail; fi
set quiet=1
insmod ext2
set root=(hd0,2)
search --no-floppy --fs-uuid --set c59917a2-74c0-4665-b909-1f6659ad0089
linux /boot/vmlinuz-2.6.31-14-generic root=UUID=c59917a2-74c0-4665-b909-1f6659ad0089 ro quiet splash
initrd /boot/initrd.img-2.6.31-14-generic
}
menuentry "Linux Mint 8 Helena, linux 2.6.31-14-generic (recovery mode)" {
recordfail=1
if [ -n ${have_grubenv} ]; then save_env recordfail; fi
insmod ext2
set root=(hd0,2)
search --no-floppy --fs-uuid --set c59917a2-74c0-4665-b909-1f6659ad0089
linux /boot/vmlinuz-2.6.31-14-generic root=UUID=c59917a2-74c0-4665-b909-1f6659ad0089 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 Professional (on /dev/sda4)" {
insmod ntfs
set root=(hd0,4)
search --no-floppy --fs-uuid --set 10cdf36778638f73
drivemap -s (hd0) ${root}
chainloader +1
}
menuentry "Microsoft Windows XP Professional (on /dev/sdb1)" {
insmod fat
set root=(hd1,1)
search --no-floppy --fs-uuid --set 7534-ee97
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 ###
=============================== sda2/etc/fstab: ===============================
# /etc/fstab: static file system information.
#
# Use 'blkid -o value -s UUID' to print the universally unique identifier
# for a device; this may be used with UUID= as a more robust way to name
# devices that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# / was on /dev/sda2 during installation
UUID=c59917a2-74c0-4665-b909-1f6659ad0089 / ext3 errors=remount-ro 0 1
# /home was on /dev/sda3 during installation
UUID=3ee6ce64-a0eb-4f71-b7b6-4b5004153865 /home ext3 defaults 0 2
# /windows was on /dev/sda4 during installation
UUID=10CDF36778638F73 /windows ntfs defaults,nls=utf8,umask=007,gid=46 0 0
# swap was on /dev/sda1 during installation
UUID=40b5e526-a767-4401-8730-23fbeb58101b none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto,exec,utf8 0 0
/dev/scd1 /media/floppy1 auto rw,user,noauto,exec,utf8 0 0
=================== sda2: Location of files loaded by Grub: ===================
16.0GB: boot/grub/core.img
15.9GB: boot/grub/grub.cfg
15.9GB: boot/initrd.img-2.6.31-14-generic
16.0GB: boot/vmlinuz-2.6.31-14-generic
15.9GB: initrd.img
16.0GB: vmlinuz
================================ sda4/boot.ini: ================================
[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /fastdetect /NoExecute=OptIn
================================ sdb1/boot.ini: ================================
[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /fastdetect /NoExecute=OptIn
All i know is I looked at the advanced section in partitioner when I was loading it and it said (h0,0) for boot loader. This is my first Linux & I am LOVING IT so I would need assistance (copy & paste code) in order to correct the problem. Unfortunately there are 3 programs that I need for work that are not available for Linux and would have to run, otherwise I would never have to see the word Microsoft again. Thank you!! Janice
Boot Info Script 0.55 dated February 15th, 2010
============================= Boot Info Summary: ==============================
=> Grub 2 is installed in the MBR of /dev/sda and looks on the same drive in
partition #2 for /boot/grub.
=> Windows is installed in the MBR of /dev/sdb
=> No boot loader is installed in the MBR of /dev/sdc
sda1: _________________________________________________________________________
File system: swap
Boot sector type: -
Boot sector info:
sda2: _________________________________________________________________________
File system: ext3
Boot sector type: -
Boot sector info:
Operating System: Linux Mint 8 Helena - Main
Edition
Boot files/dirs: /boot/grub/grub.cfg /etc/fstab /boot/grub/core.img
sda3: _________________________________________________________________________
File system: ext3
Boot sector type: -
Boot sector info:
Operating System:
Boot files/dirs:
sda4: _________________________________________________________________________
File system: ntfs
Boot sector type: Windows XP
Boot sector info: According to the info in the boot sector, sda4 starts
at sector 63. But according to the info from fdisk,
sda4 starts at sector 521935785. According to the info
in the boot sector, sda4 has 102848066 sectors, but
according to the info from fdisk, it has 103201559
sectors.
Operating System: Windows XP
Boot files/dirs: /boot.ini /ntldr /NTDETECT.COM
sdb1: _________________________________________________________________________
File system: vfat
Boot sector type: MSWIN4.1: Fat 32
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files/dirs: /boot.ini /ntldr /NTDETECT.COM
sdc1: _________________________________________________________________________
File system: vfat
Boot sector type: Fat32
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files/dirs:
sdc2: _________________________________________________________________________
File system: vfat
Boot sector type: Fat32
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files/dirs:
sdc3: _________________________________________________________________________
File system: ntfs
Boot sector type: Windows Vista/7
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files/dirs:
=========================== Drive/Partition Info: =============================
Drive: sda ___________________ _____________________________________________________
Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0xf6c30b51
Partition Boot Start End Size Id System
/dev/sda1 63 4,096,574 4,096,512 82 Linux swap / Solaris
/dev/sda2 * 4,096,575 55,295,729 51,199,155 83 Linux
/dev/sda3 55,295,730 521,935,784 466,640,055 83 Linux
/dev/sda4 * 521,935,785 625,137,344 103,201,560 7 HPFS/NTFS
Drive: sdb ___________________ _____________________________________________________
Disk /dev/sdb: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders, total 156301488 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0x8f9c798a
Partition Boot Start End Size Id System
/dev/sdb1 63 156,280,319 156,280,257 c W95 FAT32 (LBA)
Drive: sdc ___________________ _____________________________________________________
Disk /dev/sdc: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0x0001e5d3
Partition Boot Start End Size Id System
/dev/sdc1 63 233,552,969 233,552,907 b W95 FAT32
/dev/sdc2 233,552,970 563,062,184 329,509,215 b W95 FAT32
/dev/sdc3 563,062,185 625,137,344 62,075,160 7 HPFS/NTFS
blkid -c /dev/null: ____________________________________________________________
Device UUID TYPE LABEL
/dev/sda1 40b5e526-a767-4401-8730-23fbeb58101b swap Linux Swap File
/dev/sda2 c59917a2-74c0-4665-b909-1f6659ad0089 ext3 Linux Mint
/dev/sda3 3ee6ce64-a0eb-4f71-b7b6-4b5004153865 ext3 Home
/dev/sda4 10CDF36778638F73 ntfs
/dev/sdb1 7534-EE97 vfat WD-EXT-75G
/dev/sdc1 1278-247F vfat JK_MyDocs
/dev/sdc2 801C-5744 vfat JK_Pictures
/dev/sdc3 5BA08D9A672567B8 ntfs JKHD_Ghost
============================ "mount | grep ^/dev output: ===========================
Device Mount_Point Type Options
/dev/sda2 / ext3 (rw,errors=remount-ro)
/dev/sda4 /windows fuseblk (rw,nosuid,nodev,allow_other,default_permissions,blksize=4096)
/dev/sda3 /home ext3 (rw)
/dev/sdb1 /media/WD-EXT-75G vfat (rw,nosuid,nodev,uhelper=devkit,uid=1000,gid=1000,shortname=mixed,dmask=0077,utf8=1,flush)
/dev/sdc2 /media/JK_Pictures vfat (rw,nosuid,nodev,uhelper=devkit,uid=1000,gid=1000,shortname=mixed,dmask=0077,utf8=1,flush)
/dev/sdc1 /media/JK_MyDocs vfat (rw,nosuid,nodev,uhelper=devkit,uid=1000,gid=1000,shortname=mixed,dmask=0077,utf8=1)
/dev/sdc3 /media/JKHD_Ghost fuseblk (rw,nosuid,nodev,allow_other,default_permissions,blksize=4096)
=========================== sda2/boot/grub/grub.cfg: ===========================
#
# 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=(hd0,2)
search --no-floppy --fs-uuid --set c59917a2-74c0-4665-b909-1f6659ad0089
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/06_mint_theme ###
insmod ext2
set root=(hd0,2)
search --no-floppy --fs-uuid --set c59917a2-74c0-4665-b909-1f6659ad0089
insmod png
if background_image /boot/grub/linuxmint.png ; then
set color_normal=white/black
set color_highlight=white/light-gray
else
set menu_color_normal=white/black
set menu_color_highlight=white/light-gray
fi
### END /etc/grub.d/06_mint_theme ###
### BEGIN /etc/grub.d/10_linux ###
menuentry "Linux Mint 8 Helena, linux 2.6.31-14-generic (/dev/sda2)" {
recordfail=1
if [ -n ${have_grubenv} ]; then save_env recordfail; fi
set quiet=1
insmod ext2
set root=(hd0,2)
search --no-floppy --fs-uuid --set c59917a2-74c0-4665-b909-1f6659ad0089
linux /boot/vmlinuz-2.6.31-14-generic root=UUID=c59917a2-74c0-4665-b909-1f6659ad0089 ro quiet splash
initrd /boot/initrd.img-2.6.31-14-generic
}
menuentry "Linux Mint 8 Helena, linux 2.6.31-14-generic (recovery mode)" {
recordfail=1
if [ -n ${have_grubenv} ]; then save_env recordfail; fi
insmod ext2
set root=(hd0,2)
search --no-floppy --fs-uuid --set c59917a2-74c0-4665-b909-1f6659ad0089
linux /boot/vmlinuz-2.6.31-14-generic root=UUID=c59917a2-74c0-4665-b909-1f6659ad0089 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 Professional (on /dev/sda4)" {
insmod ntfs
set root=(hd0,4)
search --no-floppy --fs-uuid --set 10cdf36778638f73
drivemap -s (hd0) ${root}
chainloader +1
}
menuentry "Microsoft Windows XP Professional (on /dev/sdb1)" {
insmod fat
set root=(hd1,1)
search --no-floppy --fs-uuid --set 7534-ee97
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 ###
=============================== sda2/etc/fstab: ===============================
# /etc/fstab: static file system information.
#
# Use 'blkid -o value -s UUID' to print the universally unique identifier
# for a device; this may be used with UUID= as a more robust way to name
# devices that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# / was on /dev/sda2 during installation
UUID=c59917a2-74c0-4665-b909-1f6659ad0089 / ext3 errors=remount-ro 0 1
# /home was on /dev/sda3 during installation
UUID=3ee6ce64-a0eb-4f71-b7b6-4b5004153865 /home ext3 defaults 0 2
# /windows was on /dev/sda4 during installation
UUID=10CDF36778638F73 /windows ntfs defaults,nls=utf8,umask=007,gid=46 0 0
# swap was on /dev/sda1 during installation
UUID=40b5e526-a767-4401-8730-23fbeb58101b none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto,exec,utf8 0 0
/dev/scd1 /media/floppy1 auto rw,user,noauto,exec,utf8 0 0
=================== sda2: Location of files loaded by Grub: ===================
16.0GB: boot/grub/core.img
15.9GB: boot/grub/grub.cfg
15.9GB: boot/initrd.img-2.6.31-14-generic
16.0GB: boot/vmlinuz-2.6.31-14-generic
15.9GB: initrd.img
16.0GB: vmlinuz
================================ sda4/boot.ini: ================================
[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /fastdetect /NoExecute=OptIn
================================ sdb1/boot.ini: ================================
[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /fastdetect /NoExecute=OptIn
Re: Grub Loader Dual Boot Error-no such device for WinXP
did you do this part:JC-TX wrote:I reloaded Mint last night to see if anthing changed so to be sure it is still the same here is the latest log.
Code: Select all
boot into windows (if the boot loader is not corrupt)
- run checkdsk /f
- reboot twice into windows
Re: Grub Loader Dual Boot Error-no such device for WinXP
I can't boot in to windows, so I don't now how to run fdisk if I can't get in to Windows? I can do what you were telling me to do but I won't be able to do it until after 6 central time. After you looked at the new log can you please list what all you want me to do and what order i should do all of this? I am an old DOS woman but it has been 30 years I know I can do it but it would sure be nice if I knew you were going to be around for help, this is pretty big stuff for me and it seems like nothing for you, maybe it will be for me one day too.
Re: Grub Loader Dual Boot Error-no such device for WinXP
the easiest and safest way is actually issuing these commands from Mint:JC-TX wrote:I can't boot in to windows, so I don't now how to run fdisk if I can't get in to Windows?
Code: Select all
sudo apt-get install lilo
sudo lilo -M /dev/sda mbr
however, on second thought you may actually be able to boot windows without removing grub2.
open your grub.cfg with a text editor:
Code: Select all
gksudo gedit /boot/grub/grub.cfg
Code: Select all
menuentry "Microsoft Windows XP Professional (on /dev/sda4)" {
insmod ntfs
set root=(hd0,4)
drivemap -s (hd0) ${root}
chainloader +1
}
of course, we're here to helpJC-TX wrote:After you looked at the new log can you please list what all you want me to do and what order i should do all of this?
haha, finally a new linux user who knows the dos promptJC-TX wrote:I am an old DOS woman
i'll be online tonight, but i'm in europe... so depending on your timezone, i may not reply until tomorrow...JC-TX wrote:it would sure be nice if I knew you were going to be around for help, this is pretty big stuff for me and it seems like nothing for you, maybe it will be for me one day too.
I think that the real issue here is that you restored a windows partition of another machine. as far as my experience goes, the UUID's that are nowadays used by linux systems, seems to be stored somewhere in the partition table. however, at boot this UUID apparently is calculated and not retrieved from the disk. this causes a mismatch in the identification of the partition(s).
Re: Grub Loader Dual Boot Error-no such device for WinXP
GREAT, I have an appointment now and I will be back in about 3 hours and will start. Is there a chance I will loose Mint? I have everything backed up but just want to know what might could go wrong? Thank you sooo much, you must have been using Linux a long time to be so knowlegable! What part of Europe? Janice
Re: Grub Loader Dual Boot Error-no such device for WinXP
if you only modify the grub configuration file and do the ntfs checks, you should not loose any data.JC-TX wrote:Is there a chance I will loose Mint?
that you won't be able to use the automatic probing function of grub2 for windows xp?JC-TX wrote:I have everything backed up but just want to know what might could go wrong?
thanks for the compliment, but i had actually tried linux a couple of times in the past, but never really had much time to familiarize myself with it. i then picked it up last summer againJC-TX wrote:Thank you sooo much, you must have been using Linux a long time to be so knowlegable!
but i'm really not that knowledgable
at the moment not so sunny Italy...JC-TX wrote:What part of Europe? Janice
Re: Grub Loader Dual Boot Error-no such device for WinXP
Hi,
Please don't mess with grub anymore. Just do these changes and you will be good to start. Your problem has many parts. The first is to fix XP boot sector as it is still pointing to old harddrive sectors.
Your partition info says it all.
sda4: _________________________________________________________________________
File system: ntfs
Boot sector type: Windows XP
Boot sector info: According to the info in the boot sector, sda4 starts
at sector 63. But according to the info from fdisk,
sda4 starts at sector 521935785. According to the info
in the boot sector, sda4 has 102848066 sectors, but
according to the info from fdisk, it has 103201559
sectors.
Operating System: Windows XP
Boot files/dirs: /boot.ini /ntldr /NTDETECT.COM
------------------------------------------------------------------
Now, here is what you need to do. But be very careful. I am not good at Linux so other guys can point if there is mistake. These changes are required as per XP.
1.Logon in Linux as Root.
2. Using HEXEDITOR edit partition /dev/sda4
3. Go to hex location 1C.
4. Now we need to put your new sector number 9s1b1c1f. (actual sector number is 521935785. In hex it will be 1f1c11b9s. In reverse it is 9s1b1c1f)
Try to boot the PC now see if works. If not we will start with plan B.
Regards,
Pandey
Please don't mess with grub anymore. Just do these changes and you will be good to start. Your problem has many parts. The first is to fix XP boot sector as it is still pointing to old harddrive sectors.
Your partition info says it all.
sda4: _________________________________________________________________________
File system: ntfs
Boot sector type: Windows XP
Boot sector info: According to the info in the boot sector, sda4 starts
at sector 63. But according to the info from fdisk,
sda4 starts at sector 521935785. According to the info
in the boot sector, sda4 has 102848066 sectors, but
according to the info from fdisk, it has 103201559
sectors.
Operating System: Windows XP
Boot files/dirs: /boot.ini /ntldr /NTDETECT.COM
------------------------------------------------------------------
Now, here is what you need to do. But be very careful. I am not good at Linux so other guys can point if there is mistake. These changes are required as per XP.
1.Logon in Linux as Root.
2. Using HEXEDITOR edit partition /dev/sda4
3. Go to hex location 1C.
4. Now we need to put your new sector number 9s1b1c1f. (actual sector number is 521935785. In hex it will be 1f1c11b9s. In reverse it is 9s1b1c1f)
Try to boot the PC now see if works. If not we will start with plan B.
Regards,
Pandey
Re: Grub Loader Dual Boot Error-no such device for WinXP
Where do I find Hexeditor? Is it in windows files or Linux files?
Re: Grub Loader Dual Boot Error-no such device for WinXP
Hi,
I guess in Mint you have to go to Package Manager and search for GHEX and install it. One installed you should be able to use it. Also, change your boot.ini to point to 4th partition.
multi(0)disk(0)rdisk(0)partition(4)\WINDOWS="Microsoft Windows XP Professional" /fastdetect /NoExecute=OptIn
I guess in Mint you have to go to Package Manager and search for GHEX and install it. One installed you should be able to use it. Also, change your boot.ini to point to 4th partition.
multi(0)disk(0)rdisk(0)partition(4)\WINDOWS="Microsoft Windows XP Professional" /fastdetect /NoExecute=OptIn
Re: Grub Loader Dual Boot Error-no such device for WinXP
OK I will go out and get it, are you going to be around in the event I get stumped and need help or should I hold off untill you will be around. How do I edit boot ini, through Linux in the filesystem text editor?
Re: Grub Loader Dual Boot Error-no such device for WinXP
I am around for another 30 minutes and then will be gone for an hour. Will be back after that? Use Texteditor.
My problem is I know nothing about MINT menus. I am using Puppy Linux and have windows xp.
My problem is I know nothing about MINT menus. I am using Puppy Linux and have windows xp.
Re: Grub Loader Dual Boot Error-no such device for WinXP
From ghex what file do I start, or what code do I enter to find what you want me to edit? I guess this is a bit over my head.......... but I can do it but might need more guidance
Re: Grub Loader Dual Boot Error-no such device for WinXP
Hi,
One dumb question. You have XP loaded on your third drive right. I guess that was original XP loaded.
One dumb question. You have XP loaded on your third drive right. I guess that was original XP loaded.