[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
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.
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
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:
3. apt-get update, apt-get install -d -t karmic grub2Code:/etc/apt/apt.conf: APT::Default-Release "jaunty";
4. Check the correct version was downloaded, then drop the -d to install it
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
Create it, and yes.
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 SourcesHoweverCode: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.
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] ...
Managed to sort it. Found the deb of the latest build of grub2, and installed it manually. It all works now
Aha, I was just looking for this thread. Excellent
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
There are currently 1 users browsing this thread. (0 members and 1 guests)