After installing LM LXDE 12 (64 bit), Windows XP is gone!

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post please read how to get help
neolex
Level 1
Level 1
Posts: 16
Joined: Tue Jul 03, 2012 7:11 pm
Contact:

After installing LM LXDE 12 (64 bit), Windows XP is gone!

Post by neolex »

I've successfully installed linux mint lxde 12 (64 bit) version with 9.5GB of space on my harddrive. 0.5GB for swap and 50GB main partition remains for windows xp pro. in the past after i install lm lxde 12, windows xp will always show up as a menu item in grub but this time and is completely accessible from mint itself. yesterday, after i installed the 64 bit version windows xp is no longer part of the grub menu. trying to access the partition using dolphin will only show nothing. this is true whether i use the livecd or the installed version. i followed the instructions and commands on this thread... http://forums.linuxmint.com/viewtopic.p ... 5&t=101217 but to no avail. here is what i have done so far:

1. boot from Mint Live CD
2. open a terminal, type a few commands
3. sudo fdisk -l
4. sudo parted -l print
5. sudo os-prober

Results for step 3 are:

Disk /dev/sda: 60.0 GB, 60011642880 bytes
255 heads, 63 sectors/track, 7296 cylinders, total 117210240 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x95aa95aa

Device Boot Start End Blocks Id System
/dev/sda1 * 63 97662610 48831274 7 HPFS/NTFS/exFAT
/dev/sda2 97662974 117209087 9773057 5 Extended
/dev/sda5 116219904 117209087 494592 82 Linux swap / Solaris
/dev/sda6 97662976 116219903 9278464 83 Linux

Partition table entries are not in disk order

Disk /dev/sdb: 4110 MB, 4110417920 bytes
72 heads, 7 sectors/track, 15928 cylinders, total 8028160 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Device Boot Start End Blocks Id System
/dev/sdb1 8192 8028159 4009984 b W95 FAT32


Results for step 4 are:

Model: ATA ST960822A (scsi)
Disk /dev/sda: 60.0GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number Start End Size Type File system Flags
1 32.3kB 50.0GB 50.0GB primary ntfs boot
2 50.0GB 60.0GB 10.0GB extended
6 50.0GB 59.5GB 9501MB logical ext4
5 59.5GB 60.0GB 506MB logical linux-swap(v1)


Model: HUAWEI MMC Storage (scsi)
Disk /dev/sdb: 4110MB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number Start End Size Type File system Flags
1 4194kB 4110MB 4106MB primary fat32


Warning: Unable to open /dev/sr0 read-write (Read-only file system). /dev/sr0
has been opened read-only.
Error: Invalid partition table - recursive partition on /dev/sr0.
Ignore/Cancel?

After selecting ignore:

Model: TEAC DV-W28EW (scsi)
Disk /dev/sr0: 1165MB
Sector size (logical/physical): 2048B/2048B
Partition Table: msdos

Number Start End Size Type File system Flags


Warning: Unable to open /dev/sr1 read-write (Read-only file system). /dev/sr1
has been opened read-only.
Warning: The driver descriptor says the physical block size is 512 bytes, but
Linux says it is 2048 bytes.
Ignore/Cancel?

I hit ignore again and I got this: Error: Can't have a partition outside the disk!

I try proceeding to step 5 and this is what i got:

mint@mint ~ $ sudo os-prober
ls: reading directory /media/MENTAT-1MX: Input/output error
ls: reading directory /media/MENTAT-1MX: Input/output error
ls: reading directory /media/MENTAT-1MX: Input/output error
ls: reading directory /media/MENTAT-1MX: Input/output error
ls: reading directory /media/MENTAT-1MX: Input/output error
ls: reading directory /media/MENTAT-1MX: Input/output error
ls: reading directory /media/MENTAT-1MX: Input/output error
/dev/sda6:Linux Mint 12 KDE (12):LinuxMint:linux
mint@mint ~ $

Now i am stuck with only Mint to rely on for my work and no windows xp. my data in the win xp partition is also unreachable at this time.

Please help get back my winXP partition. thank you so much.

mintybits
Level 6
Level 6
Posts: 1123
Joined: Fri Jan 27, 2012 5:09 pm

Re: After installing LM LXDE 12 (64 bit), Windows XP is gone

Post by mintybits »

Are you saying you cannot access your XP partition using Nautilus (the Mint file browser)?
The partition shows up in fdisk so thats a good sign.

Best to download and run http://bootinfoscript.sourceforge.net/ and post the results here inside code tags.

neolex
Level 1
Level 1
Posts: 16
Joined: Tue Jul 03, 2012 7:11 pm
Contact:

Re: After installing LM LXDE 12 (64 bit), Windows XP is gone

Post by neolex »

That is right. I can mount the win xp partition using dolphin but i see nothing. and it also does not show up in the grub boot menu as a selection. all the data in my win xp partion is currently unreachable/untouchable/inaccessible. please help me get it back to normal. :(

mintybits
Level 6
Level 6
Posts: 1123
Joined: Fri Jan 27, 2012 5:09 pm

Re: After installing LM LXDE 12 (64 bit), Windows XP is gone

Post by mintybits »

So if you open a terminal and type
sudo mount -t ntfs /dev/sda1 /mnt
ls /mnt

Are any files listed or nothing at all? Any errors?

neolex
Level 1
Level 1
Posts: 16
Joined: Tue Jul 03, 2012 7:11 pm
Contact:

Re: After installing LM LXDE 12 (64 bit), Windows XP is gone

Post by neolex »

here are the results of those 2 commands... i don't think they look good. :(

neolex@Mentat-LMK ~ $ sudo mount -t ntfs /dev/sda1 /mnt
[sudo] password for neolex:
ntfs_mst_post_read_fixup: magic: 0x00000000 size: 4096 usa_ofs: 0 usa_count: 65535: Invalid argument
Index buffer (VCN 0x0) of directory inode 0x5 has a size (24) differing from the directory specified size (4096).
ntfs_mst_post_read_fixup: magic: 0x00000000 size: 4096 usa_ofs: 0 usa_count: 65535: Invalid argument
Index buffer (VCN 0x0) of directory inode 0x5 has a size (24) differing from the directory specified size (4096).
ntfs_mst_post_read_fixup: magic: 0x00000000 size: 4096 usa_ofs: 0 usa_count: 65535: Invalid argument
Index buffer (VCN 0x0) of directory inode 0x5 has a size (24) differing from the directory specified size (4096).
neolex@Mentat-LMK ~ $ ls /mnt
ls: reading directory /mnt: Input/output error
neolex@Mentat-LMK ~ $

breaker
Level 5
Level 5
Posts: 607
Joined: Sun Mar 16, 2008 5:28 am

Re: After installing LM LXDE 12 (64 bit), Windows XP is gone

Post by breaker »

Hi, mintybits is great at helping folks out here, and I try also ;)

Anyway, one thing I have run into is when resizing NTFS partitions, Windows needs a check disk run before the filesystem is "clean" again. Did the installer do the resizing for you? If you open the graphical partition table editor (gparted) then chose the /dev/sda1, then right-click it and pick properties, and if it has an error to run chkdsk /f twice, then this is your issue. You need to use your Windows XP x64 install CD, boot to recovery console, and attempt this. Except in recovery console, there is no /f I don't think (just in regular windows), anyway see link below.

http://support.microsoft.com/kb/314058

That boot info script RESULTS.TXT might also be helpful...

Finally, you can manually attempt to chainload Windows from GRUB shell at boot;

Code: Select all

set root=/dev/sda1
chainloader +1
boot
This is typed at the GRUB shell at boot...
rtfm - read the fine manual...
Boot info script: http://ubuntuforums.org/showthread.php?t=1291280
grub2 https://help.ubuntu.com/community/Grub2
PC-BIOS based booting, mbr, boot records; http://thestarman.pcministry.com/

neolex
Level 1
Level 1
Posts: 16
Joined: Tue Jul 03, 2012 7:11 pm
Contact:

Re: After installing LM LXDE 12 (64 bit), Windows XP is gone

Post by neolex »

ahhh... my windows xp is 32 bit but my linux mind is 64 bit? can that be the real problem? :?

breaker
Level 5
Level 5
Posts: 607
Joined: Sun Mar 16, 2008 5:28 am

Re: After installing LM LXDE 12 (64 bit), Windows XP is gone

Post by breaker »

no, it doesn't matter
rtfm - read the fine manual...
Boot info script: http://ubuntuforums.org/showthread.php?t=1291280
grub2 https://help.ubuntu.com/community/Grub2
PC-BIOS based booting, mbr, boot records; http://thestarman.pcministry.com/

neolex
Level 1
Level 1
Posts: 16
Joined: Tue Jul 03, 2012 7:11 pm
Contact:

Re: After installing LM LXDE 12 (64 bit), Windows XP is gone

Post by neolex »

mintybits wrote:Are you saying you cannot access your XP partition using Nautilus (the Mint file browser)?
The partition shows up in fdisk so thats a good sign.

Best to download and run http://bootinfoscript.sourceforge.net/ and post the results here inside code tags.
finally got the livecd working again and ran the bootinfoscript. here're the results.

Code: Select all

                  Boot Info Script 0.61      [1 April 2012]


============================= Boot Info Summary: ===============================

 => Grub2 (v1.99) is installed in the MBR of /dev/sda and looks at sector 1 of 
    the same hard drive for core.img. core.img is at this location and looks 
    for (,msdos6)/boot/grub on this drive.
 => No boot loader is installed in the MBR of /dev/sdb.
 => FreeDOS (eXtended FDisk) is installed in the MBR of /dev/sdc.

sda1: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows XP: NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        

sda2: __________________________________________________________________________

    File system:       Extended Partition
    Boot sector type:  Unknown
    Boot sector info: 

sda5: __________________________________________________________________________

    File system:       swap
    Boot sector type:  -
    Boot sector info: 

sda6: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  Linux Mint 12 KDE
    Boot files:        /boot/grub/grub.cfg /etc/fstab /boot/grub/core.img

sdb1: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  -
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        

sdc1: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  Windows XP: FAT32
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        

============================ Drive/Partition Info: =============================

Drive: sda _____________________________________________________________________

Disk /dev/sda: 60.0 GB, 60011642880 bytes
255 heads, 63 sectors/track, 7296 cylinders, total 117210240 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sda1    *             63    97,662,610    97,662,548   7 NTFS / exFAT / HPFS
/dev/sda2          97,662,974   117,209,087    19,546,114   5 Extended
/dev/sda5         116,219,904   117,209,087       989,184  82 Linux swap / Solaris
/dev/sda6          97,662,976   116,219,903    18,556,928  83 Linux


Drive: sdb _____________________________________________________________________

Disk /dev/sdb: 4110 MB, 4110417920 bytes
72 heads, 7 sectors/track, 15928 cylinders, total 8028160 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sdb1               8,192     8,028,159     8,019,968   b W95 FAT32


Drive: sdc _____________________________________________________________________

Disk /dev/sdc: 16.1 GB, 16064184320 bytes
7 heads, 37 sectors/track, 121140 cylinders, total 31375360 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sdc1               8,192    31,375,359    31,367,168   b W95 FAT32


"blkid" output: ________________________________________________________________

Device           UUID                                   TYPE       LABEL

/dev/loop0                                              squashfs   
/dev/sda1        AAB82067B820346B                       ntfs       MENTAT-1MX
/dev/sda5        e982368b-4490-41ed-b163-80c711527028   swap       
/dev/sda6        8cdef2bd-4561-4f23-af84-cbd02e0f9887   ext4       
/dev/sdb1        72AD-2013                              vfat       SUN BB 4G
/dev/sdc1        0DD1-E6AC                              vfat       MENTAT16X

================================ Mount points: =================================

Device           Mount_Point              Type       Options

/dev/loop0       /rofs                    squashfs   (ro,noatime)
/dev/sr0         /cdrom                   iso9660    (ro,noatime)


=========================== sda6/boot/grub/grub.cfg: ===========================

--------------------------------------------------------------------------------
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
  set have_grubenv=true
  load_env
fi
set default="0"
if [ "${prev_saved_entry}" ]; then
  set saved_entry="${prev_saved_entry}"
  save_env saved_entry
  set prev_saved_entry=
  save_env prev_saved_entry
  set boot_once=true
fi

function savedefault {
  if [ -z "${boot_once}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
  fi
}

function recordfail {
  set recordfail=1
  if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
}

function load_video {
  insmod vbe
  insmod vga
  insmod video_bochs
  insmod video_cirrus
}

insmod part_msdos
insmod ext2
set root='(hd0,msdos6)'
search --no-floppy --fs-uuid --set=root 8cdef2bd-4561-4f23-af84-cbd02e0f9887
if loadfont /usr/share/grub/unicode.pf2 ; then
  set gfxmode=auto
  load_video
  insmod gfxterm
  insmod part_msdos
  insmod ext2
  set root='(hd0,msdos6)'
  search --no-floppy --fs-uuid --set=root 8cdef2bd-4561-4f23-af84-cbd02e0f9887
  set locale_dir=($root)/boot/grub/locale
  set lang=en_PH
  insmod gettext
fi
terminal_output gfxterm
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/light-gray
if background_color 0,0,0; then
  clear
fi
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/06_mint_theme ###
set menu_color_normal=white/black
set menu_color_highlight=white/light-gray
### END /etc/grub.d/06_mint_theme ###

### BEGIN /etc/grub.d/10_linux ###
if [ ${recordfail} != 1 ]; then
  if [ -e ${prefix}/gfxblacklist.txt ]; then
    if hwmatch ${prefix}/gfxblacklist.txt 3; then
      if [ ${match} = 0 ]; then
        set linux_gfx_mode=keep
      else
        set linux_gfx_mode=text
      fi
    else
      set linux_gfx_mode=text
    fi
  else
    set linux_gfx_mode=keep
  fi
else
  set linux_gfx_mode=text
fi
export linux_gfx_mode
if [ "$linux_gfx_mode" != "text" ]; then load_video; fi
menuentry 'Linux Mint 12 KDE 64-bit, 3.0.0-12-generic (/dev/sda6)' --class linuxmint --class gnu-linux --class gnu --class os {
	recordfail
	set gfxpayload=$linux_gfx_mode
	insmod gzio
	insmod part_msdos
	insmod ext2
	set root='(hd0,msdos6)'
	search --no-floppy --fs-uuid --set=root 8cdef2bd-4561-4f23-af84-cbd02e0f9887
	linux	/boot/vmlinuz-3.0.0-12-generic root=UUID=8cdef2bd-4561-4f23-af84-cbd02e0f9887 ro   quiet splash vt.handoff=7
	initrd	/boot/initrd.img-3.0.0-12-generic
}
menuentry 'Linux Mint 12 KDE 64-bit, 3.0.0-12-generic (/dev/sda6) -- recovery mode' --class linuxmint --class gnu-linux --class gnu --class os {
	recordfail
	insmod gzio
	insmod part_msdos
	insmod ext2
	set root='(hd0,msdos6)'
	search --no-floppy --fs-uuid --set=root 8cdef2bd-4561-4f23-af84-cbd02e0f9887
	echo	'Loading Linux 3.0.0-12-generic ...'
	linux	/boot/vmlinuz-3.0.0-12-generic root=UUID=8cdef2bd-4561-4f23-af84-cbd02e0f9887 ro recovery nomodeset 
	echo	'Loading initial ramdisk ...'
	initrd	/boot/initrd.img-3.0.0-12-generic
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/10_lupin ###
### END /etc/grub.d/10_lupin ###

### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
	insmod part_msdos
	insmod ext2
	set root='(hd0,msdos6)'
	search --no-floppy --fs-uuid --set=root 8cdef2bd-4561-4f23-af84-cbd02e0f9887
	linux16	/boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
	insmod part_msdos
	insmod ext2
	set root='(hd0,msdos6)'
	search --no-floppy --fs-uuid --set=root 8cdef2bd-4561-4f23-af84-cbd02e0f9887
	linux16	/boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
### 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 ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f  $prefix/custom.cfg ]; then
  source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
--------------------------------------------------------------------------------

=============================== sda6/etc/fstab: ================================

--------------------------------------------------------------------------------
# /etc/fstab: static file system information.
#
# Use 'blkid' 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    nodev,noexec,nosuid 0       0
# / was on /dev/sda6 during installation
UUID=8cdef2bd-4561-4f23-af84-cbd02e0f9887 /               ext4    errors=remount-ro 0       1
# swap was on /dev/sda5 during installation
UUID=e982368b-4490-41ed-b163-80c711527028 none            swap    sw              0       0
--------------------------------------------------------------------------------

=================== sda6: Location of files loaded by Grub: ====================

           GiB - GB             File                                 Fragment(s)

  48.700641632 = 52.291915776   boot/grub/core.img                             1
  50.097824097 = 53.792129024   boot/grub/grub.cfg                             1
  53.374023438 = 57.309921280   boot/initrd.img-3.0.0-12-generic               2
  50.125614166 = 53.821968384   boot/vmlinuz-3.0.0-12-generic                  1
  53.374023438 = 57.309921280   initrd.img                                     2
  50.125614166 = 53.821968384   vmlinuz                                        1

======================== Unknown MBRs/Boot Sectors/etc: ========================

Unknown BootLoader on sda2

00000000  01 73 00 74 00 69 00 20  00 70 00 72 00 61 00 6e  |.s.t.i. .p.r.a.n|
00000010  00 65 00 61 01 69 00 6d  00 05 01 20 00 76 00 61  |.e.a.i.m... .v.a|
00000020  00 72 00 74 00 6f 00 74  00 6f 00 6a 00 73 01 20  |.r.t.o.t.o.j.s. |
00000030  00 70 00 61 00 6c 00 61  00 69 00 6b 00 79 00 6d  |.p.a.l.a.i.k.y.m|
00000040  00 6f 00 20 00 74 00 61  00 72 00 6e 00 79 00 62  |.o. .t.a.r.n.y.b|
00000050  00 61 00 69 00 3f 00 c9  00 00 00 60 01 69 00 73  |.a.i.?.....`.i.s|
00000060  00 20 00 70 00 72 00 69  00 65 00 64 00 61 00 73  |. .p.r.i.e.d.a.s|
00000070  00 20 00 2f 01 64 00 69  00 65 00 67 00 74 00 61  |. ./.d.i.e.g.t.a|
00000080  00 73 00 20 00 6e 00 65  00 74 00 69 00 6e 00 6b  |.s. .n.e.t.i.n.k|
00000090  00 61 00 6d 00 61 00 69  00 2c 00 20 00 61 00 72  |.a.m.a.i.,. .a.r|
000000a0  00 20 00 6e 00 6f 00 72  00 69 00 74 00 65 00 20  |. .n.o.r.i.t.e. |
000000b0  00 61 00 74 00 73 00 69  00 73 00 69 00 73 01 73  |.a.t.s.i.s.i.s.s|
000000c0  00 74 00 69 00 20 00 69  00 72 00 20 00 2f 01 64  |.t.i. .i.r. ./.d|
000000d0  00 69 00 65 00 67 00 74  00 69 00 20 00 6e 00 61  |.i.e.g.t.i. .n.a|
000000e0  00 75 00 6a 00 61 00 75  00 73 00 69 00 05 01 20  |.u.j.a.u.s.i... |
000000f0  00 76 00 65 00 72 00 73  00 69 00 6a 00 05 01 3f  |.v.e.r.s.i.j...?|
00000100  00 5c 00 6e 00 5c 00 6e  00 4a 00 65 00 69 00 20  |.\.n.\.n.J.e.i. |
00000110  00 61 00 6e 00 6b 00 73  00 0d 01 69 00 61 00 75  |.a.n.k.s...i.a.u|
00000120  00 20 00 6d 00 61 00 74  00 17 01 74 00 65 00 20  |. .m.a.t...t.e. |
00000130  00 61 01 69 00 05 01 20  00 7e 01 69 00 6e 00 75  |.a.i... .~.i.n.u|
00000140  00 74 00 19 01 2c 00 20  00 6b 00 72 00 65 00 69  |.t...,. .k.r.e.i|
00000150  00 70 00 6b 00 69 00 74  00 17 01 73 00 20 00 2f  |.p.k.i.t...s. ./|
00000160  01 20 00 76 00 61 00 72  00 74 00 6f 00 74 00 6f  |. .v.a.r.t.o.t.o|
00000170  00 6a 00 73 01 20 00 70  00 61 00 6c 00 61 00 69  |.j.s. .p.a.l.a.i|
00000180  00 6b 00 79 00 6d 00 6f  00 20 00 74 00 61 00 72  |.k.y.m.o. .t.a.r|
00000190  00 6e 00 79 00 62 00 05  01 20 00 69 00 72 00 20  |.n.y.b... .i.r. |
000001a0  00 70 00 72 00 61 00 6e  00 65 00 61 01 6b 00 69  |.p.r.a.n.e.a.k.i|
000001b0  00 74 00 65 00 20 00 6d  00 75 00 6d 00 73 00 fe  |.t.e. .m.u.m.s..|
000001c0  ff ff 82 fe ff ff 02 28  1b 01 00 18 0f 00 00 fe  |.......(........|
000001d0  ff ff 05 fe ff ff 01 00  00 00 01 28 1b 01 00 00  |...........(....|
000001e0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000001f0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 55 aa  |..............U.|
00000200


=============================== StdErr Messages: ===============================

xz: (stdin): Compressed data is corrupt
ls: reading directory sda1/: Input/output error


mintybits
Level 6
Level 6
Posts: 1123
Joined: Fri Jan 27, 2012 5:09 pm

Re: After installing LM LXDE 12 (64 bit), Windows XP is gone

Post by mintybits »

breaker wrote:Hi, mintybits is great at helping folks out here, and I try also ;)
Thanks. You too. Still grateful for "chattr +i" tip. :)

mintybits
Level 6
Level 6
Posts: 1123
Joined: Fri Jan 27, 2012 5:09 pm

Re: After installing LM LXDE 12 (64 bit), Windows XP is gone

Post by mintybits »

neolex wrote:finally got the livecd working again and ran the bootinfoscript. here're the results.
The first thing I noticed is that sda1 is not showing any Windows boot files. This may mean there aren't any or it may be that bootinfoscript cannot read the NTFS filesystem and is too basic in design to report this failure. Breaker's suggestion to check the filesystem is good, but you may need to find a Windows disk from somewhere.

Some more info about what changed when you upgraded to 64-bit might help.
Did you do anything differently this time you installed Mint 12?
Did you modify the sda1 partition in any way? Did you use the Mint installer to resize it?
Did you make any other changes that might have affected sda1 in any way?
Did you remove or change any other disk...is it possible that another disk contained a Windows partition with boot files?

Another possibility, perhaps unlikely, is a corrupt partition. Have you checked for disk errors? You can download "smartmontools" and run "sudo smartctl -a".

neolex
Level 1
Level 1
Posts: 16
Joined: Tue Jul 03, 2012 7:11 pm
Contact:

Re: After installing LM LXDE 12 (64 bit), Windows XP is gone

Post by neolex »

Did you do anything differently this time you installed Mint 12?
>> no, i didn't. the only thing different i did was installed 64 bit lm to replace the 32 bit version. same partition and everything. i deleted the partition first, set it for format, then go.

Did you modify the sda1 partition in any way? Did you use the Mint installer to resize it?
>> no, i did not modify the sda1 partition in any way. and i originally used the mint 32 bit installer to resize the partition to make room for my first mint 32 bit installation. it's a 60gb harddrive and i gave 9.5gb to mint and 0.5gb to the swap.

Did you make any other changes that might have affected sda1 in any way?
>> i don't think or believe so. i only ran the installer and while it ran i did nothing else on the computer. i was walking around while waiting for it finish.

Did you remove or change any other disk...is it possible that another disk contained a Windows partition with boot files?
>> another disk? i know that only the sda1 partition has the mbr and the boot files.

Another possibility, perhaps unlikely, is a corrupt partition. Have you checked for disk errors? You can download "smartmontools" and run "sudo smartctl -a".
>> i'm searching for this to download and run now. there doesn't seem to be anything about mint there. :(

neolex
Level 1
Level 1
Posts: 16
Joined: Tue Jul 03, 2012 7:11 pm
Contact:

Re: After installing LM LXDE 12 (64 bit), Windows XP is gone

Post by neolex »

breaker wrote: Anyway, one thing I have run into is when resizing NTFS partitions, Windows needs a check disk run before the filesystem is "clean" again. Did the installer do the resizing for you? If you open the graphical partition table editor (gparted) then chose the /dev/sda1, then right-click it and pick properties, and if it has an error to run chkdsk /f twice, then this is your issue. You need to use your Windows XP x64 install CD, boot to recovery console, and attempt this. Except in recovery console, there is no /f I don't think (just in regular windows).
I right-clicked on properties in the partition manager. the results don't show any errors like you've described. it does tell me that there are 'none found' for mount point.

this is frustrating. it's beginning to look like i might have to reinstall windows, if i can find the installer cd, still. i'm still trying to recall where i put it. :(


mintybits
Level 6
Level 6
Posts: 1123
Joined: Fri Jan 27, 2012 5:09 pm

Re: After installing LM LXDE 12 (64 bit), Windows XP is gone

Post by mintybits »

neolex wrote:Another possibility, perhaps unlikely, is a corrupt partition. Have you checked for disk errors? You can download "smartmontools" and run "sudo smartctl -a".
>> i'm searching for this to download and run now. there doesn't seem to be anything about mint there. :(
sudo apt-get install smartmontools
sudo smartctl -a /dev/sda

[edit: corrected missing device name]
Last edited by mintybits on Wed Jul 04, 2012 5:31 pm, edited 1 time in total.

neolex
Level 1
Level 1
Posts: 16
Joined: Tue Jul 03, 2012 7:11 pm
Contact:

Re: After installing LM LXDE 12 (64 bit), Windows XP is gone

Post by neolex »

running smartmontools i got the following results... do they look good? :?

Code: Select all

mint@mint ~ $ sudo smartctl -a
smartctl 5.41 2011-06-09 r3365 [i686-linux-3.0.0-12-generic] (local build)
Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net

ERROR: smartctl requires a device name as the final command-line argument.


Use smartctl -h to get a usage summary

mint@mint ~ $ sudo smartctl -a /dev/sda1
smartctl 5.41 2011-06-09 r3365 [i686-linux-3.0.0-12-generic] (local build)
Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net

=== START OF INFORMATION SECTION ===
Model Family:     Seagate Momentus 5400.2
Device Model:     ST960822A
Serial Number:    3LF1TR1B
Firmware Version: 3.02
User Capacity:    60,011,642,880 bytes [60.0 GB]
Sector Size:      512 bytes logical/physical
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   6
ATA Standard is:  ATA/ATAPI-6 T13 1410D revision 2
Local Time is:    Thu Jul  5 04:52:16 2012 PHT
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

General SMART Values:
Offline data collection status:  (0x82) Offline data collection activity
                                        was completed without error.
                                        Auto Offline Data Collection: Enabled.
Self-test execution status:      (   0) The previous self-test routine completed
                                        without error or no self-test has ever 
                                        been run.
Total time to complete Offline 
data collection:                (  426) seconds.
Offline data collection
capabilities:                    (0x5b) SMART execute Offline immediate.
                                        Auto Offline data collection on/off support.
                                        Suspend Offline collection upon new
                                        command.
                                        Offline surface scan supported.
                                        Self-test supported.
                                        No Conveyance Self-test supported.
                                        Selective Self-test supported.
SMART capabilities:            (0x0003) Saves SMART data before entering
                                        power-saving mode.
                                        Supports SMART auto save timer.
Error logging capability:        (0x01) Error logging supported.
                                        No General Purpose Logging support.
Short self-test routine 
recommended polling time:        (   1) minutes.
Extended self-test routine
recommended polling time:        (  84) minutes.

SMART Attributes Data Structure revision number: 10
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate     0x000f   062   058   034    Pre-fail  Always       -       182164504
  3 Spin_Up_Time            0x0003   096   095   000    Pre-fail  Always       -       0
  4 Start_Stop_Count        0x0032   096   096   020    Old_age   Always       -       4731
  5 Reallocated_Sector_Ct   0x0033   093   093   036    Pre-fail  Always       -       309
  7 Seek_Error_Rate         0x000f   089   060   030    Pre-fail  Always       -       894968857
  9 Power_On_Hours          0x0032   065   065   000    Old_age   Always       -       30758
 10 Spin_Retry_Count        0x0013   100   046   034    Pre-fail  Always       -       0
 12 Power_Cycle_Count       0x0032   097   097   020    Old_age   Always       -       3345
192 Power-Off_Retract_Count 0x0032   099   099   000    Old_age   Always       -       3345
193 Load_Cycle_Count        0x0032   001   001   000    Old_age   Always       -       365191
194 Temperature_Celsius     0x0022   048   059   000    Old_age   Always       -       48 (0 14 0 0)
195 Hardware_ECC_Recovered  0x001a   062   057   000    Old_age   Always       -       182164504
197 Current_Pending_Sector  0x0012   092   092   000    Old_age   Always       -       161
198 Offline_Uncorrectable   0x0010   092   092   000    Old_age   Offline      -       161
199 UDMA_CRC_Error_Count    0x003e   200   200   000    Old_age   Always       -       0
200 Multi_Zone_Error_Rate   0x0000   100   253   000    Old_age   Offline      -       0
202 Data_Address_Mark_Errs  0x0032   085   238   000    Old_age   Always       -       15

SMART Error Log Version: 1
ATA Error Count: 397 (device log contains only the most recent five errors)
        CR = Command Register [HEX]
        FR = Features Register [HEX]
        SC = Sector Count Register [HEX]
        SN = Sector Number Register [HEX]
        CL = Cylinder Low Register [HEX]
        CH = Cylinder High Register [HEX]
        DH = Device/Head Register [HEX]
        DC = Device Command Register [HEX]
        ER = Error register [HEX]
        ST = Status register [HEX]
Powered_Up_Time is measured from power on, and printed as
DDd+hh:mm:SS.sss where DD=days, hh=hours, mm=minutes,
SS=sec, and sss=millisec. It "wraps" after 49.710 days.

Error 397 occurred at disk power-on lifetime: 30757 hours (1281 days + 13 hours)
  When the command that caused the error occurred, the device was active or idle.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  40 51 00 a4 a0 f3 e0  Error: UNC at LBA = 0x00f3a0a4 = 15966372

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  25 00 80 50 a0 f3 e0 00      02:30:11.772  READ DMA EXT
  c8 00 40 10 a0 f3 e6 00      02:30:11.770  READ DMA
  c8 00 18 f8 9f f3 e6 00      02:30:11.766  READ DMA
  25 00 80 50 98 f3 e0 00      02:30:11.873  READ DMA EXT
  c8 00 40 10 98 f3 e6 00      02:30:11.871  READ DMA

Error 396 occurred at disk power-on lifetime: 30757 hours (1281 days + 13 hours)
  When the command that caused the error occurred, the device was active or idle.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  40 51 00 61 c1 d7 e0  Error: UNC at LBA = 0x00d7c161 = 14139745

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  25 00 80 50 c0 d7 e0 00      02:29:28.977  READ DMA EXT
  ec 00 00 00 00 00 a0 02      02:29:28.975  IDENTIFY DEVICE
  ef 03 45 00 00 00 a0 02      02:29:28.967  SET FEATURES [Set transfer mode]
  ec 00 00 00 00 00 a0 02      02:29:28.966  IDENTIFY DEVICE
  25 00 80 50 c0 d7 e0 00      02:29:28.964  READ DMA EXT

Error 395 occurred at disk power-on lifetime: 30757 hours (1281 days + 13 hours)
  When the command that caused the error occurred, the device was active or idle.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  40 51 00 60 c1 d7 e0  Error: UNC at LBA = 0x00d7c160 = 14139744

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  25 00 80 50 c0 d7 e0 00      02:29:28.977  READ DMA EXT
  c8 00 40 10 c0 d7 e6 00      02:29:28.975  READ DMA
  c8 00 18 f8 bf d7 e6 00      02:29:28.967  READ DMA
  c8 00 18 a0 bb d7 e6 00      02:29:28.966  READ DMA
  c8 00 10 68 bb d7 e6 00      02:29:28.964  READ DMA

Error 394 occurred at disk power-on lifetime: 30750 hours (1281 days + 6 hours)
  When the command that caused the error occurred, the device was active or idle.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  40 51 00 ae c6 56 e6  Error: UNC at LBA = 0x0656c6ae = 106350254

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  c8 00 f0 c0 c5 56 e6 00      00:01:35.724  READ DMA
  c8 00 08 b8 c5 56 e6 00      00:01:35.724  READ DMA
  c8 00 08 b0 c5 56 e6 00      00:01:35.723  READ DMA
  c8 00 f0 30 c4 56 e6 00      00:01:35.716  READ DMA
  c8 00 08 28 c4 56 e6 00      00:01:35.716  READ DMA

Error 393 occurred at disk power-on lifetime: 30750 hours (1281 days + 6 hours)
  When the command that caused the error occurred, the device was active or idle.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  40 51 00 67 90 56 e6  Error: UNC at LBA = 0x06569067 = 106336359

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  c8 00 08 60 90 56 e6 00      00:01:29.142  READ DMA
  c8 00 08 58 90 56 e6 00      00:01:29.141  READ DMA
  c8 00 f0 20 8f 56 e6 00      00:01:29.138  READ DMA
  c8 00 08 18 8f 56 e6 00      00:01:29.133  READ DMA
  c8 00 08 10 8f 56 e6 00      00:01:29.176  READ DMA

SMART Self-test log structure revision number 1
Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error
# 1  Short offline       Completed without error       00%         1         -

SMART Selective self-test log data structure revision number 1
 SPAN  MIN_LBA  MAX_LBA  CURRENT_TEST_STATUS
    1        0        0  Not_testing
    2        0        0  Not_testing
    3        0        0  Not_testing
    4        0        0  Not_testing
    5        0        0  Not_testing
Selective self-test flags (0x0):
  After scanning selected spans, do NOT read-scan remainder of disk.
If Selective self-test is pending on power-up, resume after 0 minute delay.

neolex
Level 1
Level 1
Posts: 16
Joined: Tue Jul 03, 2012 7:11 pm
Contact:

Re: After installing LM LXDE 12 (64 bit), Windows XP is gone

Post by neolex »

oobetimer wrote:TestDisk could rescue your XP.
http://forums.linuxmint.com/viewtopic.p ... sk#p599739
i ran testdisk and got this...

Code: Select all

TestDisk 6.11, Data Recovery Utility, April 2009                                
Christophe GRENIER <grenier@cgsecurity.org>                                     
http://www.cgsecurity.org                                                       
                                                                                
Disk /dev/sda - 60 GB / 55 GiB - CHS 7296 255 63                                
                                                                                
The harddisk (60 GB / 55 GiB) seems too small! (< 63 GB / 59 GiB)               
Check the harddisk size: HD jumpers settings, BIOS detection...                 
                                                                                
The following partitions can't be recovered:                                    
     Partition               Start        End    Size in sectors                
  Linux                 6622 242 21  7778  16 46   18556928                     
  Linux                 6624 122 27  7779 151 52   18556928                     
  Linux                 6625  29 61  7780  59 23   18556928                     
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
[ Continue ]                                                                    
EXT4 Large file Sparse superblock Recover, 9501 MB / 9061 MiB                   
Does this mean I am scr3w3d? :(

oobetimer

Re: After installing LM LXDE 12 (64 bit), Windows XP is gone

Post by oobetimer »

Continue to the deeper search.

mintybits
Level 6
Level 6
Posts: 1123
Joined: Fri Jan 27, 2012 5:09 pm

Re: After installing LM LXDE 12 (64 bit), Windows XP is gone

Post by mintybits »

Unfotunately the SMART results look quite bad. The seek retry count is huge, the uncorrectable sector count is big. Looks like this disk is on its way out. This could explain why the XP partition is unreadable, although it could be something else.
I would recommend you get a new disk before risking any new data on this one.
As for recovering data from sda1 I have no better suggestion than oobetimer's, try Testdisk.

neolex
Level 1
Level 1
Posts: 16
Joined: Tue Jul 03, 2012 7:11 pm
Contact:

Re: After installing LM LXDE 12 (64 bit), Windows XP is gone

Post by neolex »

oobetimer wrote:Continue to the deeper search.
Deeper search results are:

Code: Select all

TestDisk 6.11, Data Recovery Utility, April 2009                                
Christophe GRENIER <grenier@cgsecurity.org>                                     
http://www.cgsecurity.org                                                       
                                                                                
Disk /dev/sda - 60 GB / 55 GiB - CHS 7296 255 63                                
                                                                                
The harddisk (60 GB / 55 GiB) seems too small! (< 63 GB / 59 GiB)               
Check the harddisk size: HD jumpers settings, BIOS detection...                 
                                                                                
The following partitions can't be recovered:                                    
     Partition               Start        End    Size in sectors                
  Linux                 6622 242 21  7778  16 46   18556928                     
  Linux                 6624 122 27  7779 151 52   18556928                     
  Linux                 6625  29 61  7780  59 23   18556928mint@mint ~ $        
                                                                                
[ Continue ]                                                                    
EXT4 Large file Sparse superblock Recover, 9501 MB / 9061 MiB                   
@mintybits... i believe you're right about the disk being on its way out. it's at 7 years old by now. i got the laptop from my brother in 2007 and he said at that time it was nearing 3 years old. this is what i was fearing for some time now and hence the dive into linux. :(

Post Reply

Return to “Installation & Boot”