I have strange trouble with Linux Mint 13 installation. I have Windows XP installed, I want to install Linux Mint as a second system (with dual boot), I've already done it multiple times on several machines, with exactly the same Mint version and even exactly the same installation media. But this time, I'm running into troubles: just after new Linux Mint installation is complete, I reboot, and I see the following:
error: no such partition grub rescue>
I googled much and tried all of this: http://itsfoss.com/solve-error-partition-grub-rescue-ubuntu-linux/ and similar howto-s, nothing helped. I.e. I've reinstalled grub, no errors reported, but when I reboot, I got the same error again.
But then, I've noticed strange fact. I have two NTFS partitions:
/dev/sda5. My main Linux partition is on
/dev/sda6, swap is
Then, in grub rescue prompt, I've entered
ls, and the output is:
(hd0) (hd0,msdos5) (hd0,msdos1)
But, all of these partitions are actually NTFS! So that it doesn't see my
ext4 partition completely. That's why it says "no such partition". Note that if I load via livecd and gun gparted, I see all of these partitions, everything looks fine. Of course I can mount it somewhere and
chroot into it, it works.
But, GRUB doesn't see them.
What could be the trouble, and how to fix it?
sfdisk -d /dev/sda:
mint@mint ~ $ sudo sfdisk -d /dev/sda Warning: extended partition does not start at a cylinder boundary. DOS and Linux will interpret the contents differently. # partition table of /dev/sda unit: sectors /dev/sda1 : start= 63, size=102392577, Id= 7, bootable /dev/sda2 : start=102392701, size=522749059, Id= 5 /dev/sda3 : start= 0, size= 0, Id= 0 /dev/sda4 : start= 0, size= 0, Id= 0 /dev/sda5 : start=102392703, size=324082017, Id= 7 /dev/sda6 : start=426475520, size=194473984, Id=83 /dev/sda7 : start=620951552, size= 4190208, Id=82
I'm not sure what exactly does that warning mean, but note that on another machine with the same configuration (WinXP + Linux Mint) I have very similar output of
sfdisk, so that it shouldn't be a problem.
As @AvinashRaj suggested, I tried boot-repair, but it didn't help. Log: http://paste.ubuntu.com/7209498/
(it seems there was some problems, but at the end it reported
Boot successfully repaired.)
And let me repeat that the GRUB just doesn't see my linux partitions (
sda7), for some reason.