** Attachment added: "grub.cfg"
   
https://bugs.launchpad.net/ubuntu/+source/lupin/+bug/738345/+attachment/1921266/+files/grub.cfg

** Description changed:

  The 10_lupin script generates menu entries to boot Wubi installs. The 
following entry has been created:
  ### BEGIN /etc/grub.d/10_lupin ###
  menuentry "Ubuntu, Linux 2.6.38-7-generic" {
-       insmod ext2
-       set root='(/dev/loop0)'
-       search --no-floppy --fs-uuid --set=root 
23b0f259-6cdd-4cd2-bc50-8febbcb784b0
-       loopback loop0 /ubuntu/disks/root.disk
-       set root=(loop0)
-       linux /boot/vmlinuz-2.6.38-7-generic root=UUID=80E4E195E4E18DAA 
loop=/ubuntu/disks/root.disk ro   quiet splash
-       initrd /boot/initrd.img-2.6.38-7-generic
+  insmod ext2
+  set root='(/dev/loop0)'
+  search --no-floppy --fs-uuid --set=root 23b0f259-6cdd-4cd2-bc50-8febbcb784b0
+  loopback loop0 /ubuntu/disks/root.disk
+  set root=(loop0)
+  linux /boot/vmlinuz-2.6.38-7-generic root=UUID=80E4E195E4E18DAA 
loop=/ubuntu/disks/root.disk ro   quiet splash
+  initrd /boot/initrd.img-2.6.38-7-generic
  }
  
  The UUID 23bf... is the loop device /dev/loop0. The file
  /ubuntu/disks/root.disk is not on the loop device, it's on the host
  (UUID=80E4...). So to 1) set root to /dev/loop0 which it should be,
  override to /dev/loop0 by uuid, and then try to loop mount
  /ubuntu/disks/root.disk won't work.
  
+ I'm not sure exactly what the cause of the message is - but after selecting 
to boot, the next screen you get a blank screen with:
+ "Error: file not found.
+ Press any key to continue"
+ After pressing a key it then boots normally.
+ 
+ This did not happen on the initial install, so I assume it's changed since 
running updates.
+ I also noticed a flashed 'Error: file not found' just before the grub menu 
displays. This also did not happen on the initial install.
+ 
+ Just for reference here is a copy of a Lucid version of a lupin
+ menuentry for Wubi. Note the differences of insmod ntfs, and setting
+ root to the partition (not loop device).
+ 
  On a lucid wubi it looks similar to this:
  ### BEGIN /etc/grub.d/10_lupin ###
  menuentry "Ubuntu, Linux 2.6.32-27-generic" {
-     insmod ntfs
-     set root='(hd0,1)'
-     search --no-floppy --fs-uuid --set 80E4E195E4E18DAA
-     loopback loop0 /ubuntu/disks/root.disk
-     set root=(loop0)
-     linux /boot/vmlinuz-2.6.32-27-generic root=/dev/sda1 
loop=/ubuntu/disks/root.disk ro   quiet splash
-     initrd /boot/initrd.img-2.6.32-27-generic
+     insmod ntfs
+     set root='(hd0,2)'
+     search --no-floppy --fs-uuid --set 80E4E195E4E18DAA
+     loopback loop0 /ubuntu/disks/root.disk
+     set root=(loop0)
+     linux /boot/vmlinuz-2.6.32-27-generic root=/dev/sda2 
loop=/ubuntu/disks/root.disk ro   quiet splash
+     initrd /boot/initrd.img-2.6.32-27-generic
  }
  
- I'm not sure exactly what the cause of the message is - but after selecting 
to boot, the next screen you get a blank screen with:
- "Error: file not found. 
- Press any key to continue"
- After pressing a key it then boots normally.
- 
- This did not happen on the initial install, so I assume it's changed
- since running updates.
  
  ProblemType: Bug
  DistroRelease: Ubuntu 11.04
  Package: lupin-support 0.33
  ProcVersionSignature: Ubuntu 2.6.38-7.36-generic 2.6.38
  Uname: Linux 2.6.38-7-generic i686
  Architecture: i386
  Date: Sat Mar 19 10:52:15 2011
  InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Alpha i386 (20110314)
  ProcEnviron:
-  LANGUAGE=en_US:en
-  LANG=en_US.UTF-8
-  SHELL=/bin/bash
+  LANGUAGE=en_US:en
+  LANG=en_US.UTF-8
+  SHELL=/bin/bash
  SourcePackage: lupin
  UpgradeStatus: No upgrade log present (probably fresh install)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/738345

Title:
  Grub2 entries to boot Wubi incorrect... "Error: file not found, Press
  any key to continue" at boot

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to