LMDE "No Such Partition" Error when booting Windows 7

Questions about Grub, the liveCD and the installer
Forum rules
Before you post please read this

LMDE "No Such Partition" Error when booting Windows 7

Postby taifnknaifn on Mon Sep 24, 2012 2:08 pm

Hey,

i updated to kernel 3.2.0.3-amd64 yesterday and i think i made a mistake with the grub settings.
Everytime i want to boot my Windows 7, at first it looks like grub is just starting again (GRUB is loadin Stuff twice).
Then when i want to boot any Operating System (Linux Mint or Windows), i get a few "No such Partition" Error lines followed by "Press any Key to continue".
Then i have to restart the computer to have GRUB started the "first time" again, then i'am able to boot my linux mint normally.

here is my grub.cfg file and screenshot from gparted.

Image

Code: Select all
#
# 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
  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 load_video {
  insmod vbe
  insmod vga
  insmod video_bochs
  insmod video_cirrus
}

insmod part_msdos
insmod ext2
set root='(/dev/sda,msdos7)'
search --no-floppy --fs-uuid --set=root 10167a8b-53b8-4cff-ada2-6e0b3dd186a6
if loadfont /usr/share/grub/unicode.pf2 ; then
  set gfxmode=640x480
  load_video
  insmod gfxterm
  insmod part_msdos
  insmod ext2
  set root='(/dev/sda,msdos7)'
  search --no-floppy --fs-uuid --set=root 10167a8b-53b8-4cff-ada2-6e0b3dd186a6
  set locale_dir=($root)/boot/grub/locale
  set lang=de_AT
  insmod gettext
fi
terminal_output gfxterm
set timeout=5
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=cyan/blue
set menu_color_highlight=white/blue
### 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 ###
menuentry 'LinuxMint GNU/Linux, mit Linux 3.2.0-3-amd64' --class linuxmint --class gnu-linux --class gnu --class os {
   insmod gzio
   insmod part_msdos
   insmod ext2
   set root='(/dev/sda,msdos7)'
   search --no-floppy --fs-uuid --set=root 10167a8b-53b8-4cff-ada2-6e0b3dd186a6
   echo   'Linux 3.2.0-3-amd64 wird geladen …'
   linux   /boot/vmlinuz-3.2.0-3-amd64 root=UUID=10167a8b-53b8-4cff-ada2-6e0b3dd186a6 ro  quiet
   echo   'Initiale Ramdisk wird geladen …'
   initrd   /boot/initrd.img-3.2.0-3-amd64
}
menuentry 'LinuxMint GNU/Linux, mit Linux 3.2.0-3-amd64 (Wiederherstellungsmodus)' --class linuxmint --class gnu-linux --class gnu --class os {
   insmod gzio
   insmod part_msdos
   insmod ext2
   set root='(/dev/sda,msdos7)'
   search --no-floppy --fs-uuid --set=root 10167a8b-53b8-4cff-ada2-6e0b3dd186a6
   echo   'Linux 3.2.0-3-amd64 wird geladen …'
   linux   /boot/vmlinuz-3.2.0-3-amd64 root=UUID=10167a8b-53b8-4cff-ada2-6e0b3dd186a6 ro single
   echo   'Initiale Ramdisk wird geladen …'
   initrd   /boot/initrd.img-3.2.0-3-amd64
}
### END /etc/grub.d/10_linux ###

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

### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Windows 7 (loader) (on /dev/sda1)" --class windows --class os {
   insmod part_msdos
   insmod ntfs
   set root='(/dev/sda,msdos1)'
   search --no-floppy --fs-uuid --set=root 52EA1AE7EA1AC75F
   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 ###

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


do you have an idea how to fix this?
Last edited by taifnknaifn on Wed Sep 26, 2012 3:39 am, edited 1 time in total.
taifnknaifn
Level 1
Level 1
 
Posts: 1
Joined: Mon Sep 24, 2012 1:46 pm

Linux Mint is funded by ads and donations.
 

Re: LMDE "No Such Partition" Error when booting Windows 7

Postby arboon on Tue Sep 25, 2012 7:11 am

The same here, but I never got to choose where to install my grub. Now I cannot enter any boot sequence. Must be a problem with assigning boot partition? Let's hope someone finds any easy way out (without repartitioning and installing lmde all over again...)
arboon
Level 1
Level 1
 
Posts: 9
Joined: Sun Jun 07, 2009 10:18 am

Re: LMDE "No Such Partition" Error when booting Windows 7

Postby sardinha on Tue Sep 25, 2012 12:50 pm

You are not alone!

After last upgrade (UP5) and the new kernel, it's failing to boot using grub to any entry because I don't installed grub in MBR. I prefer to have it in a partition because I want to keep the Windows boot manager. The only way I see to resolve is reinstall grub. I tried it with no sucess using the livecd, then mount root partition, mount dev, proc and sys... chroot to mount root partion, edited grub, upgrade-grub.

This is an annoying bug... Not everyone can install Linux Mint (and grub in MBR) as default system.
sardinha
Level 1
Level 1
 
Posts: 4
Joined: Thu Aug 09, 2012 7:28 am

Re: LMDE "No Such Partition" Error when booting Windows 7

Postby sardinha on Wed Sep 26, 2012 10:06 am

I've resolved my issue after replacing a new entry to grub in BCD, using EasyBCD Community Edition.
sardinha
Level 1
Level 1
 
Posts: 4
Joined: Thu Aug 09, 2012 7:28 am

Re: LMDE "No Such Partition" Error when booting Windows 7

Postby squig on Wed Sep 26, 2012 1:25 pm

I had this problem as well after i accidentally choose the wrong partition during the grub install while applying update pack 5.
Booted LMDE in live mode from a usb stick and reinstalled grub which solved the issue.

edit: http://tricks2fix.topwebhostingzone.com ... inux-mint/ has a guide.
squig
Level 1
Level 1
 
Posts: 8
Joined: Wed Sep 26, 2012 1:20 pm

Re: LMDE "No Such Partition" Error when booting Windows 7

Postby arboon on Mon Oct 01, 2012 3:42 pm

Well, I am totally stuck....it won't boot my dvd, so the grub menu list keeps returning, and then : no such partition...all over again. Anyone knows how to solve this? I cannot get to my hard drive. In command mode it gives the same reply (error:no such partition) when I type in any command. You think it will respond to a live usb? HELP.
arboon
Level 1
Level 1
 
Posts: 9
Joined: Sun Jun 07, 2009 10:18 am

Re: LMDE "No Such Partition" Error when booting Windows 7

Postby kx32 on Tue Oct 02, 2012 3:14 am

I suppose this is a stupid reply but have you ensured that the cd set to boot in the bios. I have this problem since I have 4 discs plus the dvd so i have to swap the discs about on the very few occasions I ever need to boot from it. Actually only when trying to do the last 2 updates to LMDE. Reinstall the last time this time still ongoing.
I have exactly the same error yet I only run LMDE. This is not the first time GRUB has failed in a LMDE update, it doesn't like my multiple discs. I installed LMDE because it is supposed to be a "rolling distribution". Grub needs to be brought into at least the 20th century.
kx32
Level 1
Level 1
 
Posts: 3
Joined: Sun Nov 28, 2010 10:09 am

Re: LMDE "No Such Partition" Error when booting Windows 7

Postby arboon on Tue Oct 09, 2012 6:34 am

Ha, yes. Well. it is not a stupid reply, since it was exactly that: changing my boot order in BIOS resolved the problem of starting up from the live CD. Things can be easy if one starts to actually think. I again installed Mint, a version before the upgrade. It upgraded ok, and this time, grub wasn't screwed up. But, hey, there is no upgraded version, and Mint only starts up in the terminal mode...so, again something went wrong... I did mention not all packages could be fetched. Probably something with the settings fdor the repositories being wrong. But why does it not set them correctly by default when upgrading???
Anyway, thanks for your not so stupid reply (stupidity apparantly is also in the eye of the beholder...). And now I move to the next problem. Cheers.
arboon
Level 1
Level 1
 
Posts: 9
Joined: Sun Jun 07, 2009 10:18 am

Re: LMDE "No Such Partition" Error when booting Windows 7

Postby arboon on Fri Oct 12, 2012 1:55 pm

Problem solved: I first installed from LMDE live cd version December 2011. Updating to update pack 5 from this version did not work, maybe something to do with pointing to the wrong repositories. But when installing from live cd version April 2012 there was no problem. I don't know why it did not upgrade correctly the first time. I had LMDE upgraded to update pack 4, so all should have been OK. But I hope I don't have to do this with all larger updates.
Well, anyway, it works fine now. And remember all newbies (like me), always make a backup of your precious data.
arboon
Level 1
Level 1
 
Posts: 9
Joined: Sun Jun 07, 2009 10:18 am

Linux Mint is funded by ads and donations.
 

Return to Installation & Boot

Who is online

Users browsing this forum: No registered users and 4 guests