Mailinglist Archive: opensuse-bugs (3543 mails)
| < Previous | Next > |
[Bug 717321] Broken Grub boot menu - Wrong disk destination in menu.lst
- From: bugzilla_noreply@xxxxxxxxxx
- Date: Thu, 22 Sep 2011 14:27:01 +0000
- Message-id: <20110922142701.C3203CC7D4@soval.provo.novell.com>
https://bugzilla.novell.com/show_bug.cgi?id=717321
https://bugzilla.novell.com/show_bug.cgi?id=717321#c10
Lukas Ocilka <locilka@xxxxxxxx> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEEDINFO |ASSIGNED
CC| |locilka@xxxxxxxx,
| |ug@xxxxxxxx
InfoProvider|locilka@xxxxxxxx |
--- Comment #10 from Lukas Ocilka <locilka@xxxxxxxx> 2011-09-22 14:27:00 UTC ---
It's "$something --bind", which means:
clients/bootloader_finish.ycp: mount -v --bind /dev ${targetdir}/dev
clients/bootloader_finish.ycp: y2milestone ("mount --bind cmd: %1", cmd);
clients/bootloader_finish.ycp: y2milestone ("mount --bind /dev /mnt/dev
output: %1", out);
clients/inst_prepdisk.ycp: + "mount -v --bind /dev '" +
String::Quote(Storage::PathToDestdir("/dev")) + "'";
clients/inst_kickoff.ycp: "/bin/rm -rf '%1/dev/' && /bin/mkdir -p
'%1/dev/' && /bin/mount -v --bind '/dev/' '%1/dev/'",
include/autoinstall/io.ycp: string cmd = "mount -v
--bind `grep "+cdrom_device+" /proc/mounts |cut -f 2 -d \\ ` "+mount_point+";";
I'd say clients/inst_kickoff.ycp for the update process but also
clients/bootloader_finish.ycp for storing the bootloader configuration
and also clients/inst_prepdisk.ycp for the installation
IMO worth creating a simple library (or include file) and calling it from
all the other places. Uwe, you might be interested as well.
Also please adjust
list <string> umount_these = ["/proc", "/sys", "/dev"];
in clients/umount_finish.ycp
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
| < Previous | Next > |