+ Post New Thread
Page 2 of 2 FirstFirst 12
Results 16 to 27 of 27
*nix Thread, grub2 in Technical; [Bug 402154] Re: grub2 Windows 7 fails to start. The grub2 in the jaunty repos is grub2_1.96+20080724-12ubuntu2_i386.deb not sure if ...
  1. #16

    RabbieBurns's Avatar
    Join Date
    Apr 2008
    Location
    Sydney
    Posts
    5,521
    Thank Post
    1,333
    Thanked 469 Times in 306 Posts
    Blog Entries
    6
    Rep Power
    199
    [Bug 402154] Re: grub2 Windows 7 fails to start.

    The grub2 in the jaunty repos is grub2_1.96+20080724-12ubuntu2_i386.deb

    not sure if thats my problem

  2. #17

    powdarrmonkey's Avatar
    Join Date
    Feb 2008
    Location
    Alcester, Warwickshire
    Posts
    4,859
    Thank Post
    412
    Thanked 777 Times in 650 Posts
    Rep Power
    182
    Ah, yes. That's certainly not going to help

    It's a karmic installation, right? Once you've chrooted into it you should be able to apt-get dist-upgrade to get grub2_1.96+20090725 and then reinstall it as before.

    If it's a jaunty installation (ignore the rescue cd, you're just using that as a way to chroot) you'll have to add mixed repositories, pin them to jaunty, and pull in the karmic grub2 package. I'll walk you through that if you have.


    Edit: I just thought, I would actually do an apt-get update and then apt-get install grub2, which should just upgrade grub2, not everything else.

  3. Thanks to powdarrmonkey from:

    RabbieBurns (12th August 2009)

  4. #18

    RabbieBurns's Avatar
    Join Date
    Apr 2008
    Location
    Sydney
    Posts
    5,521
    Thank Post
    1,333
    Thanked 469 Times in 306 Posts
    Blog Entries
    6
    Rep Power
    199
    Its not karmic. just jaunty with grub2 upgraded.

    grub says its up-to-date so if you could talk me through how to get the karmic version Ill give that a whirl

  5. #19

    powdarrmonkey's Avatar
    Join Date
    Feb 2008
    Location
    Alcester, Warwickshire
    Posts
    4,859
    Thank Post
    412
    Thanked 777 Times in 650 Posts
    Rep Power
    182
    Oh sorry, must have mis-read. Anywho,

    1. Add karmic repositories to your apt sources (use a local mirror)
    2. Pin the default to be jaunty packages:
    Code:
    /etc/apt/apt.conf:
    
    APT::Default-Release "jaunty";
    3. apt-get update, apt-get install -d -t karmic grub2
    4. Check the correct version was downloaded, then drop the -d to install it

  6. Thanks to powdarrmonkey from:

    RabbieBurns (12th August 2009)

  7. #20

    RabbieBurns's Avatar
    Join Date
    Apr 2008
    Location
    Sydney
    Posts
    5,521
    Thank Post
    1,333
    Thanked 469 Times in 306 Posts
    Blog Entries
    6
    Rep Power
    199
    Im a bit dumb this afternoon...

    I dont have an apt.conf, ive got a apt.conf.d folder though.

    Also, what are the karmic repository lines to add to sources.list

    This is what Ive got for jaunty, do I just add the same but change it to karmic?
    Code:
    deb http://ftp.iinet.net.au/pub/ubuntu/ jaunty main restricted
    deb-src http://ftp.iinet.net.au/pub/ubuntu/ jaunty main multiverse universe #Added by software-properties

  8. #21

    powdarrmonkey's Avatar
    Join Date
    Feb 2008
    Location
    Alcester, Warwickshire
    Posts
    4,859
    Thank Post
    412
    Thanked 777 Times in 650 Posts
    Rep Power
    182
    Create it, and yes.

  9. Thanks to powdarrmonkey from:

    RabbieBurns (12th August 2009)

  10. #22

    RabbieBurns's Avatar
    Join Date
    Apr 2008
    Location
    Sydney
    Posts
    5,521
    Thank Post
    1,333
    Thanked 469 Times in 306 Posts
    Blog Entries
    6
    Rep Power
    199
    apt-get update seems to have added the karmic

    Code:
    root@rubuntu:~# apt-get update
    ...
    Hit http://ftp.iinet.net.au karmic Release.gpg
    Hit http://ftp.iinet.net.au karmic/main Translation-en_GB
    Hit http://ftp.iinet.net.au karmic/restricted Translation-en_GB
    ...
    Hit http://ftp.iinet.net.au karmic/main Packages
    Hit http://ftp.iinet.net.au karmic/restricted Packages
    Hit http://ftp.iinet.net.au karmic/main Sources
    Hit http://ftp.iinet.net.au karmic/multiverse Sources
    Hit http://ftp.iinet.net.au karmic/universe Sources
    Code:
    root@rubuntu:~# apt-get install -d -t karmic grub2
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    grub2 is already the newest version.
    However

    Code:
    root@rubuntu:~# apt-get --reinstall install grub2
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 209 not upgraded.
    Need to get 8298B of archives.
    After this operation, 0B of additional disk space will be used.
    Do you want to continue [Y/n]? y
    Get: 1 http://ftp.iinet.net.au jaunty/universe grub2 1.96+20080724-12ubuntu2 [8298B]
    ...

  11. #23

    RabbieBurns's Avatar
    Join Date
    Apr 2008
    Location
    Sydney
    Posts
    5,521
    Thank Post
    1,333
    Thanked 469 Times in 306 Posts
    Blog Entries
    6
    Rep Power
    199
    Managed to sort it. Found the deb of the latest build of grub2, and installed it manually. It all works now

  12. #24

    powdarrmonkey's Avatar
    Join Date
    Feb 2008
    Location
    Alcester, Warwickshire
    Posts
    4,859
    Thank Post
    412
    Thanked 777 Times in 650 Posts
    Rep Power
    182
    Aha, I was just looking for this thread. Excellent

  13. #25

    RabbieBurns's Avatar
    Join Date
    Apr 2008
    Location
    Sydney
    Posts
    5,521
    Thank Post
    1,333
    Thanked 469 Times in 306 Posts
    Blog Entries
    6
    Rep Power
    199
    Quote Originally Posted by powdarrmonkey View Post
    Aha, I was just looking for this thread. Excellent
    Do you reckon I should take the karmic out my sources.list now? Update manager keeps prompting me to update a whole heap of stuff... Or should I keep it in so that I will receive updated to firefox which Ive installed from the karmic source?

  14. #26

    powdarrmonkey's Avatar
    Join Date
    Feb 2008
    Location
    Alcester, Warwickshire
    Posts
    4,859
    Thank Post
    412
    Thanked 777 Times in 650 Posts
    Rep Power
    182
    Quote Originally Posted by RabbieBurns View Post
    Do you reckon I should take the karmic out my sources.list now? Update manager keeps prompting me to update a whole heap of stuff... Or should I keep it in so that I will receive updated to firefox which Ive installed from the karmic source?
    The default that you've put in /etc/apt/apt.conf should stop that happening... it might be a ubuntuism, you might have to put it into a new config file in /etc/apt/conf.d.

  15. #27

    RabbieBurns's Avatar
    Join Date
    Apr 2008
    Location
    Sydney
    Posts
    5,521
    Thank Post
    1,333
    Thanked 469 Times in 306 Posts
    Blog Entries
    6
    Rep Power
    199
    Finally got round to upgrading from the RC to the RTM yesterday. Went for a complete reformat/reinstall.

    Grub2 went on straight away no problems.

    Heres the link I used the last time, I forgot to post it here the last time, but here it is in case anyone from google or anything is looking for answers.

    Ubuntu Blog: Howto Recover Grub2 After Windows Installation

SHARE:
+ Post New Thread
Page 2 of 2 FirstFirst 12

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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