summaryrefslogtreecommitdiffstats
path: root/bootloader.py
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2001-06-26 19:43:00 +0000
committerJeremy Katz <katzj@redhat.com>2001-06-26 19:43:00 +0000
commit9a6aeabc4e1faf123055fcc7fa779254fde62f98 (patch)
tree4c79975a368bb13d175d078403127f9ed1ba9009 /bootloader.py
parent3a6c46fc8fc64c10a6de3dbfab84cec54eedcecf (diff)
downloadanaconda-9a6aeabc4e1faf123055fcc7fa779254fde62f98.tar.gz
anaconda-9a6aeabc4e1faf123055fcc7fa779254fde62f98.tar.xz
anaconda-9a6aeabc4e1faf123055fcc7fa779254fde62f98.zip
more bootloader fixes
Diffstat (limited to 'bootloader.py')
-rw-r--r--bootloader.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/bootloader.py b/bootloader.py
index a77c44596..b3de4adf7 100644
--- a/bootloader.py
+++ b/bootloader.py
@@ -188,8 +188,7 @@ class x86BootloaderInfo:
f.write('\n')
if os.access (instRoot + initrd, os.R_OK):
- f.write('\tinitrd %sinitrd%s.img\n' % (cfPath, 'initrd',
- kernelTag, '.img'))
+ f.write('\tinitrd %sinitrd%s.img\n' % (cfPath, kernelTag))
for (label, device) in chainList:
f.write('title %s\n' % (label))
@@ -202,7 +201,7 @@ class x86BootloaderInfo:
part = grubbyPartitionName(bootDev)
prefix = "%s/%s" % (grubbyPartitionName(bootDev), grubPath)
- cmd = "root %s\ninstall %s/i386-pc/stage1 d (%s) %s/i386-pc/stage2 p %s%s/grub.conf" % \
+ cmd = "root %s\ninstall %s/i386-redhat/stage1 d (%s) %s/i386-redhat/stage2 p %s%s/grub.conf" % \
(part, grubPath, grubbyDiskName(bl.getDevice()), grubPath,
part, grubPath)