[Bug 217348] Re: Incorrect disk order detection generates wrong menu.lst

2008-06-25 Thread Martin Pitt
Copied to hardy-updates.

** Changed in: grub-installer (Ubuntu Hardy)
   Status: Fix Committed => Fix Released

-- 
Incorrect disk order detection generates wrong menu.lst
https://bugs.launchpad.net/bugs/217348
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 217348] Re: Incorrect disk order detection generates wrong menu.lst

2008-06-25 Thread Martin Pitt
** Tags added: verification-done

** Tags removed: verification-needed

-- 
Incorrect disk order detection generates wrong menu.lst
https://bugs.launchpad.net/bugs/217348
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 217348] Re: Incorrect disk order detection generates wrong menu.lst

2008-06-24 Thread davmor2
Seems to be fixed with wubi 503 on 20080620.1 hardy.1 cd

-- 
Incorrect disk order detection generates wrong menu.lst
https://bugs.launchpad.net/bugs/217348
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 217348] Re: Incorrect disk order detection generates wrong menu.lst

2008-06-12 Thread Steve Langasek
** Changed in: grub-installer (Ubuntu Hardy)
   Status: Fix Released => Fix Committed

-- 
Incorrect disk order detection generates wrong menu.lst
https://bugs.launchpad.net/bugs/217348
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 217348] Re: Incorrect disk order detection generates wrong menu.lst

2008-05-09 Thread Evan Dandrea
** Changed in: grub-installer (Ubuntu)
   Status: Fix Committed => Fix Released

** Changed in: grub-installer (Ubuntu Hardy)
   Status: Fix Committed => Fix Released

-- 
Incorrect disk order detection generates wrong menu.lst
https://bugs.launchpad.net/bugs/217348
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 217348] Re: Incorrect disk order detection generates wrong menu.lst

2008-05-04 Thread Agostino Russo
** Changed in: wubi
   Status: In Progress => Fix Committed

-- 
Incorrect disk order detection generates wrong menu.lst
https://bugs.launchpad.net/bugs/217348
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 217348] Re: Incorrect disk order detection generates wrong menu.lst

2008-05-02 Thread Steve Langasek
accepted into hardy-proposed.

** Tags added: verification-needed

-- 
Incorrect disk order detection generates wrong menu.lst
https://bugs.launchpad.net/bugs/217348
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 217348] Re: Incorrect disk order detection generates wrong menu.lst

2008-05-02 Thread Steve Langasek
** Changed in: grub-installer (Ubuntu Hardy)
   Target: None => ubuntu-8.04.1

** Changed in: grub-installer (Ubuntu)
   Target: ubuntu-8.04.1 => None

-- 
Incorrect disk order detection generates wrong menu.lst
https://bugs.launchpad.net/bugs/217348
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 217348] Re: Incorrect disk order detection generates wrong menu.lst

2008-05-02 Thread Evan Dandrea

** Description changed:

  This is due to bug  8497 but I am keeping it separate because I would like to 
provide a wubi specific workaround.
  One way is to add an extra boot menu option with kernel argument edd=on to 
address the issue.
  
  See https://bugs.launchpad.net/ubuntu/+source/grub/+bug/8497
  
- EDIT: as suggested by bean123 and tinybit it is possible to modify the
- grub-installer line so that root is not set at all within menu.lst. This
- is because another menu.lst is used beforehand which will set root and
- then call configfile.
+ 
+ TEST CASE: On some systems with multiple disks, grub can set the root device 
incorrectly, causing a Wubi install to fail.
+ 
+ As suggested by bean123 and tinybit it is possible to modify the grub-
+ installer line so that root is not set at all within menu.lst. This is
+ because another menu.lst is used beforehand which will set root and then
+ call configfile.
+ 
+ Potential regressions introduced by this patch should only be limited to
+ Wubi installs as it is currently the only case in which grub-
+ installer/bootdev_directory would be set.

** Attachment added: "grub-installer-wubi.debdiff"
   http://launchpadlibrarian.net/14092458/grub-installer-wubi.debdiff

** Description changed:

  This is due to bug  8497 but I am keeping it separate because I would like to 
provide a wubi specific workaround.
  One way is to add an extra boot menu option with kernel argument edd=on to 
address the issue.
  
  See https://bugs.launchpad.net/ubuntu/+source/grub/+bug/8497
  
  
  TEST CASE: On some systems with multiple disks, grub can set the root device 
incorrectly, causing a Wubi install to fail.
  
  As suggested by bean123 and tinybit it is possible to modify the grub-
  installer line so that root is not set at all within menu.lst. This is
  because another menu.lst is used beforehand which will set root and then
  call configfile.
  
+ http://launchpadlibrarian.net/14092458/grub-installer-wubi.debdiff is a
+ patch for hardy-proposed.  Please note that ubiquity needs to be
+ uploaded afterwards in order for this to be tested.
+ 
  Potential regressions introduced by this patch should only be limited to
  Wubi installs as it is currently the only case in which grub-
  installer/bootdev_directory would be set.

** Changed in: grub-installer (Ubuntu)
   Target: None => ubuntu-8.04.1

** Changed in: grub-installer (Ubuntu Hardy)
 Assignee: (unassigned) => Evan Dandrea (evand)
   Status: New => Fix Committed

** Changed in: grub-installer (Ubuntu)
   Status: In Progress => Fix Committed

-- 
Incorrect disk order detection generates wrong menu.lst
https://bugs.launchpad.net/bugs/217348
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 217348] Re: Incorrect disk order detection generates wrong menu.lst

2008-05-02 Thread Agostino Russo
Forget the above post, that will not work since update-grub will use
groot to generate lines such as "root find --set-root" as opposed to
"find --set-root".

We will go for the solution in #5 then!

groot=(hdX,Y)/ubuntu/disks   =>groot=()/ubuntu/disks
+
update-grub

-- 
Incorrect disk order detection generates wrong menu.lst
https://bugs.launchpad.net/bugs/217348
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 217348] Re: Incorrect disk order detection generates wrong menu.lst

2008-05-02 Thread Evan Dandrea
>From discussions in #ubuntu-installer we've determined that
https://bugs.launchpad.net/wubi/+bug/217348/comments/9 will not work
without modification to update-grub, which is too invasive for 8.04.1.

Therefor we will implement
https://bugs.launchpad.net/wubi/+bug/217348/comments/5 for 8.04.1 and
implement the better long-term solution in 8.10.

** Changed in: grub-installer (Ubuntu)
 Assignee: (unassigned) => Evan Dandrea (evand)
   Status: New => In Progress

-- 
Incorrect disk order detection generates wrong menu.lst
https://bugs.launchpad.net/bugs/217348
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 217348] Re: Incorrect disk order detection generates wrong menu.lst

2008-05-02 Thread Agostino Russo
** Changed in: wubi
   Status: Fix Committed => In Progress

-- 
Incorrect disk order detection generates wrong menu.lst
https://bugs.launchpad.net/bugs/217348
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 217348] Re: Incorrect disk order detection generates wrong menu.lst

2008-05-01 Thread Agostino Russo
The find syntax has been changed slightly in grub4dos. Now it is: find
--set-root=/relative/path /path/to/file/to/search

Please do the following test.

Within a wubi installation edit /boot/grub/menu.lst so that the #groot
line reads:

#groot=find --ignore-floppies --set-root=/ubuntu/disks
/ubuntu/disks/boot/grub/menu.lst

Save and run:

sudo update-grub

Then in Windows unpack the attached wubildr.zip into both C:\ (or
whatever is your boot drive) and C:\ubuntu\winboot. Make sure that any
existing wubildr* file is overwritten with the new ones. Then try to
boot into Ubuntu. More points if you have multiple disks.


** Attachment added: "wubildr.zip"
   http://launchpadlibrarian.net/14073482/wubildr.zip

-- 
Incorrect disk order detection generates wrong menu.lst
https://bugs.launchpad.net/bugs/217348
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 217348] Re: Incorrect disk order detection generates wrong menu.lst

2008-05-01 Thread Agostino Russo
s/requires upgrading the grub package/requires upgrading the grub4dos
package/

-- 
Incorrect disk order detection generates wrong menu.lst
https://bugs.launchpad.net/bugs/217348
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 217348] Re: Incorrect disk order detection generates wrong menu.lst

2008-05-01 Thread Agostino Russo
On second thought, using:

find --set-root --relative=/ubuntu/disks
/ubuntu/disks/boot/grub/menu.lst

is more generic and even if setting the root is superfluous in the case
of Wubi the setup above might be useful where the grub menu is used
directly without going through the embedded menu.lst. The disadvantage
is that using find --relative requires upgrading the grub package (which
will probably be required anyway because of other patches).

--- grub-installer 2008-04-28 16:21:48.519362000 +0100
+++ grub-installer.new 2008-04-28 16:26:37.285702000 +0100
@@ -857,7 +857,7 @@
 fi

if db_get grub-installer/bootdev_directory && [ "$RET" ]; then
- sed -i "/^# groot=/s:).*:)$RET:" $ROOT/boot/grub/$menu_file
+ sed -i "s:^# groot=:# groot=find --set-root --relative=$RET 
$RET/boot/grub/$menu_file:" $ROOT/boot/grub/$menu_file
need_update_grub=1
 fi

A variation of the above involves looking for a UUID file as opposed to
looking for menu.lst as suggested by Colin.

-- 
Incorrect disk order detection generates wrong menu.lst
https://bugs.launchpad.net/bugs/217348
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 217348] Re: Incorrect disk order detection generates wrong menu.lst

2008-04-29 Thread Agostino Russo
** Changed in: wubi
   Target: None => 8.04.1

-- 
Incorrect disk order detection generates wrong menu.lst
https://bugs.launchpad.net/bugs/217348
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 217348] Re: Incorrect disk order detection generates wrong menu.lst

2008-04-29 Thread Agostino Russo
The above patch was tested successfully by myself and davmor2.


** Also affects: sysvinit (Ubuntu)
   Importance: Undecided
   Status: New

** Changed in: grub-installer (Ubuntu)
Sourcepackagename: sysvinit => grub-installer

** Description changed:

  This is due to bug  8497 but I am keeping it separate because I would like to 
provide a wubi specific workaround.
  One way is to add an extra boot menu option with kernel argument edd=on to 
address the issue.
  
  See https://bugs.launchpad.net/ubuntu/+source/grub/+bug/8497
+ 
+ EDIT: as suggested by bean123 and tinybit it is possible to modify the
+ grub-installer line so that root is not set at all within menu.lst. This
+ is because another menu.lst is used beforehand which will set root and
+ then call configfile.

-- 
Incorrect disk order detection generates wrong menu.lst
https://bugs.launchpad.net/bugs/217348
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs