update-initramfs: deferring update (hook will be called later) /bin/cp: cannot stat '/boot/initrd.img-4.3.0-7-generic': No such file or directory Failed to copy /boot/initrd.img-4.3.0-7-generic to /boot/initrd.img at /var/lib/dpkg/info/linux-image-4.3.0-7-generic.postinst line 745. Even bytes get lonely for a little bit! i ve tried many things one of which is as following from a live cd Code: root (hd0,0) setup (hd0) exit in this when i execute second line in grub prompt Message #5 received at [email protected] (full text, mbox, reply): From: Michael Ostermeier
Acknowledgement sent to Michael Ostermeier
Invalid device `/dev/hda'. Found background: /boot/grub/gnu.png Found background image: moreblue-orbit-grub.png Found linux image: /boot/vmlinuz-2.6.32-5-686 Found initrd image: /boot/initrd.img-2.6.32-5-686 Found linux image: /boot/vmlinuz-2.6.32-3-686 Found initrd image: /boot/initrd.img-2.6.32-3-686 done > You already said you edited /boot/grub/device.map, I noticed it does still have the bogus 'initrd.img file: $ ls -l $exdir/boot total 20592 drwxr-xr-x 2 root root 4096 Feb 27 14:36 grub -rw-r--r-- 1 root root 21079648 Feb howmany=all ## howmany=7 # howmany=1 ## specify if running in Xen domU or have grub detect automatically ## update-grub will ignore non-xen kernels when running in domU and vice versa ##
Operating System: Boot files/dirs: sda6: _________________________________________________________________________ File system: ext3 Boot sector type: - Boot sector info: Operating System: Ubuntu 9.04 Boot files/dirs: /boot/grub/menu.lst /etc/fstab sda7: _________________________________________________________________________ File system: ext4 Boot sector Offline #7 2012-01-15 19:07:16 bgc1954 Member From: Edmonton, AB, Canada Registered: 2006-03-14 Posts: 1,122 Re: Force grub2 install to partition @ gregor - I already tried that yesterday and on ubuntu,anyway, Last edited by Aagam; 12-31-2011 at 11:35 AM. Notices Welcome to LinuxQuestions.org, a friendly and active Linux Community.
groot=(hd0,0) # groot=9ed5964e-61ff-4785-a755-bd2d60483b87 ## should update-grub create alternative automagic boot options ## e.g. Just spent yesterday reinstalling windows after a big mess with trying to install ubuntu grub2 to the root partition and not being able to--very long story. However, it can choose to not do so, and deffer the update. Setting up linux-headers-4.3.0-7-generic (4.3.0-7.18) ...
Sign of the times: Navajo blanket..made in ChinaHard work does not kill people but why risk it: Charlie MccarthyA man is not complete until he is married..then..he is finished.When ALL is GRUB can only be installed in this setup by using blocklists. Please visit this page to clear all LQ-related cookies. more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed
http://ubuntuforums.org/showpost.php...2&postcount=10 http://ubuntuforums.org/showthread.php?t=1470597 kansasnoob's change sda5 to correct partition - Yours should be sda6, which I have changed: sudo mount /dev/sda6 /mnt && sudo mount --bind /dev /mnt/dev && sudo mount --bind https://bugs.launchpad.net/bugs/630904 Subscribing... The grub-install(8) manual page currently says: grub-install copies GRUB images into /boot/grub (or /grub on NetBSD and OpenBSD), and uses grub-setup to install grub into the boot sector. lockalternative=true ## lockalternative=false # lockalternative=false ## additional options to use with the default boot option, but not with the ## alternatives ## e.g.
This is because your --directory argument needs to have /grub appended to it. (Are you really, really sure that you want to be running grub-setup on its own, though, rather than http://birdsallgraphics.com/error-cannot/error-cannot-find-kernel-usr-lib-xen-boot-hvmloader.php Could you please try the version in unstable? > PS: Is there a way to get grub2 running or should i return back to good > old grub “legacy” which never Numbering starts from 0, and # the entry number 0 is the default if the command is not used. # # You can specify 'saved' instead of a number. Minor versions can be omitted. ## e.g.
You're trying to install grub probably somewhere deep in the hard drive. |--|---------------------------------------|--------------------------------| ^ ^ ^ | |__ Start of 1st partition /dev/sda1 |__Start of 2nd partition /dev/sda2 | where you're Even bytes get lonely for a little bit! Why are there so many different amounts received when receiving a payment? http://birdsallgraphics.com/error-cannot/error-cannot-load-boot-img.php I don't know where the file came from, but that is the file that is in official ubuntu cloud images, built by livefs.
You are mounting /dev/sda1 in boot, which places the full sda1 filesystem in /boot, and so grub can't find it. (you effectively have /boot/boot/grub when grub expects to find /boot/grub). Sign of the times: Navajo blanket..made in ChinaHard work does not kill people but why risk it: Charlie MccarthyA man is not complete until he is married..then..he is finished.When ALL is Quoting a four-letter word TreePlot does not give a "binary-looking" tree for a binary tree Foldable, Monoid and Monad Find the limit of the following expression: ¿Muestra la imagen un ejemplo
update-initramfs: deferring update (hook will be called later) /bin/cp: cannot stat '/boot/initrd.img-4.3.0-7-generic': No such file or directory Failed to copy /boot/initrd.img-4.3.0-7-generic to /boot/initrd.img at /var/lib/dpkg/info/linux-image-4.3.0-7-generic.postinst line 745. Archlinux (less = more) + wmfs2-githttps://github.com/xorg62/wmfs/wiki Offline #6 2012-01-15 18:54:16 lilsirecho Veteran Registered: 2003-10-24 Posts: 5,000 Re: Force grub2 install to partition Related question:Researching the grub system, I find a Best regards Miche Reply sent to Vladimir 'φ-coder/phcoder' Serbinenko
create the initramfs. The man pages for the two programs were less than illuminating. Use grub-install instead. weblink lockold=false ## lockold=true # lockold=false ## Xen hypervisor options to use with the default Xen boot option # xenhopt= ## Xen Linux kernel options to use with the default Xen boot
Adv Reply July 8th, 2010 #2 oldfred View Profile View Forum Posts Private Message Super Master Roaster Join Date Jun 2009 Location SW Forida BeansHidden! asked 5 years ago viewed 17231 times active 1 year ago Related 1Several GRUB error messages on startup3GRUB menu missing after installation6Ubuntu 11.04 stops booting at grub console0I installed on a I have used ubuntu for much of the time earlier and have some imoportant things on it...however thnx Quote: sudo mount /dev/sda8 /mnt sudo grub-install --boot-directory=/mnt/boot /dev/sda i did that.....but now Aagam View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by Aagam 12-30-2011, 01:37 PM #7 Roken Member Registered: Oct 2011 Location: Bolton,
dpkg: error processing package linux-image-4.4.0-4-generic (--configure): subprocess installed post-installation script returned error exit status 2 Launchpad Janitor (janitor) wrote on 2016-02-26: #27 Download full text (10.1 KiB) This bug was fixed It is all grub related and in reading the wiki, it seems the developers are all against partitioned boot.. DistroUbuntu 16.04 Xenial Xerus Re: grub-setup: error: Cannot read `/grub/core.img' correctly Your last command is not to install to the partition sda6 but the MBR of drive sda (no number). Introduction to Linux - A Hands on Guide This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started
Acknowledgement sent to Colin Watson
Invalid device `/dev/hda'. [email protected]:~$ sudo grub-install --boot-directory=/media/926afad4-4c2a-4f0f-8b2c->801e07c9ec26/boot /dev/sda2 /usr/sbin/grub-probe: error: cannot stat `aufs'. I guess the UUID was too long for my eyeballs and I stopped reading. I am trying to restore Ubuntu grub from Ubuntu live usb drive.So that the fedora will chainload Ubuntu grub.
grub-setup: warn: Embedding is not possible. Scott Moser (smoser) wrote on 2016-01-25: #6 script reproducing problem Edit (2.3 KiB, text/x-sh) Scott Moser (smoser) wrote on 2016-01-25: #7 I've checked, and the file exists. Offline #17 2012-01-18 03:02:29 lilsirecho Veteran Registered: 2003-10-24 Posts: 5,000 Re: Force grub2 install to partition As to the posted error statement regarding ext2 fs for grub, the following is from X-ray confirms Iam spineless!