Can't boot in Ubuntu after windows upgrade

Posted by VanceAnce on Ask Ubuntu See other posts from Ask Ubuntu or by VanceAnce
Published on 2012-11-19T12:24:38Z Indexed on 2012/11/19 17:22 UTC
Read the original article Hit count: 317

Filed under:
|
|
|

After my lastest update for Ubuntu and Windows XP, I got a Grub error on booting the next day. ls lists the following (without () ):

sd0 sd1, msdos sd2 sd5 sd6 

When I tried to get into one with (sd0,xy)/ it doesn't detect system or unknown file system error.

I tried to boot to a live session with a Knoppix live CD and found out that all data exists. I also tried to recover with TestDisk and it finds all systems. Here is the test disk result:

                          Start        End     Size in sectors
 1 * HPFS - NTFS              0   1  1  7079 254 63  113740137
 2 E extended LBA          7080   0  1 12161 254 63   81642330
 5 L HPFS - NTFS           7080   1  1 10266 254 63   51199092 [Schule]
   X extended             12031  30  1 12161 254 63    2102625
 6 L Linux Swap           12031  31 33 12161 254 63    2102530

I've 1 winxp-home, 1x Ubuntu (ext3+swap) and 1 winxp prof and then I wrote on mbr with TestDisk but I always get the same errors with Grub.

What should I do? I need both XP and Ubuntu. Help me please.

more infos in answers below - sry for thos confusing style but im working on diff live system and browsers and have to reboot always

the boot info script output is also down below

maybe an advanced user can correct my fail posting - after i can solve my issuse i will register here

thanx and pls help me with those weired issues !


as i still cant just comment my own answer or those on top i again has to put it here as a sepperate answer..... (or even edit - maybe an browser failur using the live cds ... cause this posti can edit)

here the bootinfo script output - but the result is the same as with TestDisk ... but it looks worse - cause it also doesnt detect my old ubuntu ... but there wasnt a eares process or overwrite process visibile ending the last working session

output:

                  Boot Info Script 0.61      [1 April 2012]

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

=> Syslinux MBR (4.04 and higher) is installed in the MBR of /dev/sda.

sda1: __________________________________________

File system:       ntfs
Boot sector type:  Windows XP: NTFS
Boot sector info:  No errors found in the Boot Parameter Block.
Operating System:  Windows XP
Boot files:        /boot.ini /ntldr /NTDETECT.COM

sda2: __________________________________________

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

sda5: __________________________________________

File system:       ntfs
Boot sector type:  Windows XP: NTFS
Boot sector info:  According to the info in the boot sector, sda5 starts 
                   at sector 63.
Operating System:  Windows XP
Boot files:        

sda6: __________________________________________

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

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

Drive: sda _______________________________________

Disk /dev/sda: 100.0 GB, 100030242816 bytes 255 heads, 63 sectors/track, 12161 cylinders, total 195371568 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 113,740,199 113,740,137 7 NTFS / exFAT / HPFS /dev/sda2 113,740,200 195,382,529 81,642,330 f W95 Extended (LBA) /dev/sda5 113,740,263 164,939,354 51,199,092 7 NTFS / exFAT / HPFS /dev/sda6 193,280,000 195,382,529 2,102,530 82 Linux swap / Solaris

/dev/sda2 ends after the last sector of /dev/sda /dev/sda6 ends after the last sector of /dev/sda

"blkid" output: ____________________________________

Device UUID TYPE LABEL

/dev/loop0 squashfs
/dev/sda1 6596D86768011128 ntfs
/dev/sda5 1300D3B7744EC141 ntfs Schule /dev/sda6 5b95f2a1-4145-43a5-ac51-41d7dd32b213 swap

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

Device Mount_Point Type Options

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

================================ sda1/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 Home Edition" /fastdetect /NoExecute=OptOut

multi(0)disk(0)rdisk(0)partition(2)\WINDOWS="Microsoft Windows XP Professional" /fastdetect

[spybotsd]

timeout.old=30


the last part shows that i now use the windows boot loader so that i can acces at least one OS but shouldnt i also get acces to my ubuntu partitions with live-linux-cds ? or do i have to boot with grub to get to those files only ??

© Ask Ubuntu or respective owner

Related posts about boot

Related posts about grub2