Update-grub does not set kopt correctly in loopinstallations
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Wubi |
Fix Released
|
Medium
|
Unassigned | ||
grub (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: grub
Update-grub does not set kopt correctly in loopinstallations, the following patch should improve the situation. This bug blocks https:/
300,311c300
< loop_file=$(awk '$2=="/" && $4~"loop" {print $1}' /etc/fstab)
< host_device=$(awk '"'${loop_
< host_mountpoint
< loop_file=
< if [ -n "$host_device" ]; then
< boot_device=
< root_device=
< default_
< else
< default_
< fi
< kopt="$
---
> kopt="root=$(awk '$2 == "/" {print $1}' /etc/fstab) ro"
836c825
< kopt_2_
---
> kopt_2_
Related branches
description: | updated |
Changed in wubi: | |
importance: | Undecided → Medium |
status: | New → Fix Committed |
Changed in wubi: | |
status: | Fix Committed → Fix Released |
Changed in grub: | |
status: | Fix Released → In Progress |
Changed in wubi: | |
status: | In Progress → Fix Released |
The patched file is available at:
http:// codebrowse. launchpad. net/~ubuntu- installer/ lupin/hardy/ annotate/ ago%40nbago- 20071212234211- 5cirxnh5zfkgqvz h?file_ id=updategrub- 20071021190150- hexwoe8fo26l1f9 b-10