/[smeserver]/cdrom.image/updates/bootloaderInfo.py
ViewVC logotype

Diff of /cdrom.image/updates/bootloaderInfo.py

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

Revision 1.3 by slords, Wed Jul 13 22:11:53 2005 UTC Revision 1.4 by slords, Wed Nov 23 22:49:43 2005 UTC
# Line 893  class x86BootloaderInfo(bootloaderInfo): Line 893  class x86BootloaderInfo(bootloaderInfo):
893              if target == "partition":              if target == "partition":
894                  stage1Target = self.grubbyPartitionName(gtPart)                  stage1Target = self.grubbyPartitionName(gtPart)
895    
896              cmd = "install %s%s/stage1 d %s %s/stage2 p %s%s/grub.conf" % \              cmd = "install %s --stage2=/boot/grub/stage2 %s%s/stage1 %s %s%s/stage2 p %s/grub.conf" % \
897                  (forcelba, grubPath, stage1Target, grubPath, bPart, grubPath)                  (forcelba, bPart, grubPath, stage1Target, bPart, grubPath, grubPath)
898              cmds.append(cmd)              cmds.append(cmd)
899    
900          if not justConfigFile:          if not justConfigFile:
# Line 1138  class x86BootloaderInfo(bootloaderInfo): Line 1138  class x86BootloaderInfo(bootloaderInfo):
1138                      grubbyRootPart = self.grubbyPartitionName(rootDev)                      grubbyRootPart = self.grubbyPartitionName(rootDev)
1139                      break                      break
1140                                            
1141              cmd = "root %s\ninstall %s/stage1 d %s %s/stage2 p %s%s/grub.conf" \              cmd = "root %s\ninstall --stage2=/boot/grub/stage2 %s%s/stage1 %s %s%s/stage2 p %s/grub.conf" \
1142                  % (grubbyRootPart, grubPath, grubbyStage1Dev,                  % (grubbyRootPart, grubbyRootPart, grubPath, grubbyStage1Dev,
1143                     grubPath, grubbyRootPart, grubPath)                     grubbyRootPart, grubPath, grubPath)
1144                    
1145          if not justConfigFile:          if not justConfigFile:
1146              log("GRUB command %s", cmd)              log("GRUB command %s", cmd)


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed