Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 135459 - Grub Emerge Fails On New 2006.0 Install, Errno 5
Summary: Grub Emerge Fails On New 2006.0 Install, Errno 5
Status: RESOLVED DUPLICATE of bug 132190
Alias: None
Product: Gentoo Release Media
Classification: Unclassified
Component: Installer (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-03 18:11 UTC by John Kavan
Modified: 2006-06-04 00:48 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John Kavan 2006-06-03 18:11:21 UTC
Alright, installed Gentoo from 2006.0 LiveCD. Everything goes fine till emerging grub. I used the installer on the CD as the CVS installer didn't like partitioning. 

http://synergy6.googlepages.com/installer.log.failed
http://synergy6.googlepages.com/installprofile.xml
http://synergy6.googlepages.com/emergeinfo.txt

From Output :
-- /usr/lib/
>>> /usr/lib/grub/
>>> /usr/lib/grub/i686-pc-linux-gnu/
--- /boot/
Traceback (most recent call last):
  File "/usr/bin/emerge", line 3228, in ?
    mydepgraph.merge(pkglist)
  File "/usr/bin/emerge", line 1912, in merge
    retval=portage.doebuild(y,"merge",myroot,self.pkgsettings,edebug,tree="porttree")
  File "/usr/lib/portage/pym/portage.py", line 2771, in doebuild
    return merge(mysettings["CATEGORY"],mysettings["PF"],mysettings["D"],mysettings["BUILDDIR"]+"/build-info",myroot,mysettings,myebuild=mysettings["EBUILD"],mytree=tree)
  File "/usr/lib/portage/pym/portage.py", line 2946, in merge
    return mylink.merge(pkgloc,infloc,myroot,myebuild)
  File "/usr/lib/portage/pym/portage.py", line 6984, in merge
    return self.treewalk(mergeroot,myroot,inforoot,myebuild,cleanup=cleanup)
  File "/usr/lib/portage/pym/portage.py", line 6593, in treewalk
    if self.mergeme(srcroot,destroot,outfile,secondhand,"",cfgfiledict,mymtime):
  File "/usr/lib/portage/pym/portage.py", line 6849, in mergeme
    if self.mergeme(srcroot,destroot,outfile,secondhand,offset+x+"/",cfgfiledict,thismtime):
  File "/usr/lib/portage/pym/portage.py", line 6841, in mergeme
    os.mkdir(mydest)
OSError: [Errno 5] Input/output error: '/boot/grub'
Exception received:
EmergePackageError :FATAL: emerge: Could not emerge sys-boot/grub-0.96-r2!
Please submit a bug report (after searching to make sure it's not a known issue and verifying you didn't do something stupid) with the contents of /var/log/install.log and /tmp/installprofile.xml and the version of the installer you used


From Log:
GLI: June 04 2006 01:50:12 - get_deps(): deplist for grub: ['sys-boot/grub-0.96-r2']
GLI: June 04 2006 01:50:12 - get_deps(): checking to see if sys-boot/grub-0.96-r2 is already in pkglist
GLI: June 04 2006 01:50:12 - get_deps(): adding sys-boot/grub-0.96-r2 to pkglist
GLI: June 04 2006 01:50:12 - get_deps(): pkglist is ['sys-boot/grub-0.96-r2']
GLI: June 04 2006 01:50:12 - install_packages(): pkglist is ['sys-boot/grub-0.96-r2']
GLI: June 04 2006 01:50:12 - install_packages(): processing package sys-boot/grub-0.96-r2
GLI: June 04 2006 01:51:02 - Exception received during 'Configuring and installing bootloader': EmergePackageError :FATAL: emerge: Could not emerge sys-boot/grub-0.96-r2!
GLI: June 04 2006 01:51:02 - Traceback (most recent call last):
GLI: June 04 2006 01:51:02 - File "/opt/installer/GLIClientController.py", line 165, in run
    self._install_steps[self._install_step]['function']()
GLI: June 04 2006 01:51:02 - File "/opt/installer/templates/x86ArchitectureTemplate.py", line 39, in install_bootloader
    exitstatus = self._portage.emerge(bootloader_pkg)
GLI: June 04 2006 01:51:02 - File "/opt/installer/GLIPortage.py", line 222, in emerge
    raise GLIException("EmergePackageError", "fatal", "emerge", "Could not emerge " + pkg + "!")
GLI: June 04 2006 01:51:02 - GLIException: EmergePackageError :FATAL: emerge: Could not emerge sys-boot/grub-0.96-r2!
GLI: June 04 2006 01:51:02 - DEBUG: waiting at top of 'while' loop in CC in secondary thread...waiting to start step 21, Setting up and running bootloader
GLI: June 04 2006 01:51:02 - DEBUG: install_failed_cleanup(): gathering mounts to unmount
GLI: June 04 2006 01:51:03 - DEBUG: install_failed_cleanup(): running: umount -l /mnt/gentoo/sys
GLI: June 04 2006 01:51:03 - DEBUG: install_failed_cleanup(): running: umount -l /mnt/gentoo/proc
GLI: June 04 2006 01:51:03 - DEBUG: install_failed_cleanup(): running: umount -l /mnt/gentoo/fat
GLI: June 04 2006 01:51:03 - DEBUG: install_failed_cleanup(): running: umount -l /mnt/gentoo/dev
GLI: June 04 2006 01:51:03 - DEBUG: install_failed_cleanup(): running: umount -l /mnt/gentoo/boot
GLI: June 04 2006 01:51:03 - DEBUG: install_failed_cleanup(): running: umount -l /mnt/gentoo
GLI: June 04 2006 01:51:03 - DEBUG: install_failed_cleanup(): running: umount -l 
GLI: June 04 2006 01:51:03 - DEBUG: install_failed_cleanup(): running: swapoff /dev/hdb2
GLI: June 04 2006 01:51:03 - DEBUG: install_failed_cleanup(): running: cp /tmp/compile_output.log /tmp/compile_output.log.failed then removing /tmp/compile_output.log
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-06-04 00:48:34 UTC

*** This bug has been marked as a duplicate of 132190 ***