Results 1 to 2 of 2

Thread: Triple boot, update to BT5R2 postinst hook script problem

  1. #1
    Just burned his ISO
    Join Date
    Mar 2012
    Posts
    1

    Default Triple boot, update to BT5R2 postinst hook script problem

    Hello all,

    I was wondering if I could get some assistance. I currently have a system that is triple booting. Windows 7 was installed first, then 2 ubuntu variants were installed after that. The installs went fine.

    In order it went like this: Windows 7, Ubuntu, Backtrack 5 R1.

    All 3 OSs boot just fine. When I installed BT5 R1 I did not install a boot loader because I wanted to use the boot loader from Ubuntu. Grub is installed on the Ubuntu partition and I think this is the crux of my problem.

    As per the instructions I ran an apt-get dist-upgrade from the terminal. However, part of the postinst hook script requires that it run update-grub. This causes the install to fail. Is there any way that I can bypass grub update so I can complete the dist-upgrade? TIA all!

    Here is a snippet of the error.

    Code:
    Running depmod.
    Examining /etc/kernel/postinst.d.
    run-parts: executing /etc/kernel/postinst.d/pm-utils 3.2.6 /boot/vmlinuz-3.2.6
    Running postinst hook script update-grub.
    User postinst hook script [update-grub] failed to execute: No such file or directory
    dpkg: error processing linux-image-3.2.6 (--configure):
     subprocess installed post-installation script returned error exit status 255
    Errors were encountered while processing:
    linux-image-3.2.6
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    Except it fails for both that and linux-image with the same problem.

  2. #2
    Just burned his ISO
    Join Date
    Mar 2012
    Posts
    1

    Default Re: Triple boot, update to BT5R2 postinst hook script problem

    Quote Originally Posted by ArthurDent42 View Post
    Hello all,

    I was wondering if I could get some assistance. I currently have a system that is triple booting. Windows 7 was installed first, then 2 ubuntu variants were installed after that. The installs went fine.

    In order it went like this: Windows 7, Ubuntu, Backtrack 5 R1.

    All 3 OSs boot just fine. When I installed BT5 R1 I did not install a boot loader because I wanted to use the boot loader from Ubuntu. Grub is installed on the Ubuntu partition and I think this is the crux of my problem.

    As per the instructions I ran an apt-get dist-upgrade from the terminal. However, part of the postinst hook script requires that it run update-grub. This causes the install to fail. Is there any way that I can bypass grub update so I can complete the dist-upgrade? TIA all!

    Here is a snippet of the error.

    Code:
    Running depmod.
    Examining /etc/kernel/postinst.d.
    run-parts: executing /etc/kernel/postinst.d/pm-utils 3.2.6 /boot/vmlinuz-3.2.6
    Running postinst hook script update-grub.
    User postinst hook script [update-grub] failed to execute: No such file or directory
    dpkg: error processing linux-image-3.2.6 (--configure):
     subprocess installed post-installation script returned error exit status 255
    Errors were encountered while processing:
    linux-image-3.2.6
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    Except it fails for both that and linux-image with the same problem.
    I am running into the same problem. Did you ever get any suggestions?

    Thanks in advance.

Similar Threads

  1. Triple Boot: Can't install Grub to /boot during Installation.
    By bishop101 in forum BackTrack 5 Beginners Section
    Replies: 0
    Last Post: 12-04-2011, 03:20 AM
  2. triple boot problem
    By not12listen in forum BackTrack 5 Beginners Section
    Replies: 3
    Last Post: 10-19-2011, 12:45 PM
  3. triple boot: Mac OSX, Win 7 & BT5 ?
    By sylvestor2002 in forum BackTrack 5 Beginners Section
    Replies: 0
    Last Post: 05-19-2011, 04:24 AM
  4. BT4 triple boot Help....
    By joshiley in forum OLD BT4beta Software Related Issues
    Replies: 30
    Last Post: 04-28-2009, 06:38 PM
  5. triple boot
    By pretender in forum OLD Newbie Area
    Replies: 3
    Last Post: 04-02-2009, 05:59 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •