| To: | linux-xfs@xxxxxxxxxxx |
|---|---|
| Subject: | Re: [ANNOUNCE] Red Hat Linux 9 XFS DVD Released |
| From: | Mogens Kjaer <mk@xxxxxx> |
| Date: | Fri, 11 Apr 2003 14:56:23 +0200 |
| In-reply-to: | <3E94C880.2070003@stesmi.com> |
| Organization: | Carlsberg Laboratory |
| References: | <3E94C880.2070003@stesmi.com> |
| Sender: | linux-xfs-bounce@xxxxxxxxxxx |
| User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030225 |
Stefan Smietanowski wrote: ... There is a bug with using GRUB as a bootloader. Either use LILO or use one of the following workarounds:
chroot /mnt/sysimage /sbin/grub --batch --nofloppy --device-map=/boot/grub/device.map and give the two commands again (in my case): root (hd0,0) install /boot/grub/stage1 d (hd0) /boot/grub/stage2 p (hd0,0)/boot/grub/grub.conf quit and ctrl-D to exit chroot. (the install ... line is one line). Then you can go back to the installer. Interestingly, the command above is exactly the same the installer gives in stage2.img /usr/lib/booty/bootloaderInfo.py one has: ... rhpl.executil.execWithRedirect( "/sbin/grub-install", ["/sbin/grub-install", "--just-copy"], stdout = "/dev/tty5", stderr = "/dev/tty5", root = instRoot) # get the stage files synced to disk
import isys
isys.sync()
isys.sync()
isys.sync() # really install the bootloader
p = os.pipe()
os.write(p[1], cmd + '\n')
os.close(p[1])
rhpl.executil.execWithRedirect('/sbin/grub' ,
[ "grub", "--batch", "--no-floppy","--device-map=/boot/grub/device.map" ], stdin = p[0], stdout = "/dev/tty5", stderr = "/dev/tty5", root = instRoot) os.close(p[0]) ... I'm wondering if these sync's aren't enough on an XFS filesystem... Hm, I'll try and put 100 extra... Mogens -- Mogens Kjaer, Carlsberg A/S, Computer Department Gamle Carlsberg Vej 10, DK-2500 Valby, Denmark Phone: +45 33 27 53 25, Fax: +45 33 27 47 08 Email: mk@xxxxxx Homepage: http://www.crc.dk |
| Previous by Date: | Re: patches on Redhat (errata) kernel source, Seth Mos |
|---|---|
| Next by Date: | Re: [ANNOUNCE] Red Hat Linux 9 XFS DVD Released, Ajay Ramaswamy |
| Previous by Thread: | Re: [ANNOUNCE] Red Hat Linux 9 XFS DVD Released, Stefan Smietanowski |
| Next by Thread: | Re: [ANNOUNCE] Red Hat Linux 9 XFS DVD Released, Ajay Ramaswamy |
| Indexes: | [Date] [Thread] [Top] [All Lists] |