Fedora Linux Support Community & Resources Center
  #1  
Old 7th April 2012, 06:46 AM
gsmith62 Offline
Registered User
 
Join Date: Feb 2011
Posts: 10
windows_xp_2003firefox
dual-boot not working after upgrade to f16 from f14

I have now spent 3 evenings trolling the forum trying things out and it seems, making things worse. :o(

Carried out the upgrade using the pre-upgrade described @ fedoraproject.org/wiki/PreUpgrade. there were no messages and I rebooted.

the first time:
The grub menu came up showing

f16
f16 recovery
Win XP

On selecting f16 it started, I got the blue bar a the bottom of the screen and when it was about a quarter of the way, it banged out into a maintenance mode asking for the root password.

So I spent an evening trying to find out anything relevant from the forum.
Almost everything pointed to the newer grub2 not installing properly.
I tried the grub2-install and grub2-mkconfig commands but they returned errors. and I was stuck in maintenance mode.
At some point I must have broken something and I am now not sure what I did(SORRY), but I decided to boot into Windows, because I needed get some info. XP started and I was able to work. I notice the antivirus was out -of-date so I upgraded. the required a reboot.

On rebooting, I got the bios splash-screen followed by a black screen with a cursor top left. Then it continued into a boot loop, splash -black-splash-black....and so on. :o(

So I downloaded the f16 iso and burnt a dvd.

I am able to boot and I can get into the recover fedora installation mode.

nothing I have tried has given me a boot menu.


Here's what I think should have worked but didn't:

bash-4.2# vgchange -a y
2 logical volume(s) in volume group "vg_gandalf2" now active
[root@localhost grub2]# lvscan
ACTIVE '/dev/vg_gandalf2/lv_root' [38.97 GiB] inherit
ACTIVE '/dev/vg_gandalf2/lv_home' [36.38 GiB] inherit
ACTIVE '/dev/vg_gandalf2/lv_swap' [5.19 GiB] inherit

bash-4.2#
bash-4.2# mkdir /mnt/root
bash-4.2# mount /dev/vg_gandalf2/lv_root /mnt/root
bash-4.2# mount /dev/sda7 /mnt/root/boot
bash-4.2# mount -o bind /dev /mnt/root/dev
bash-4.2# mount -o bind /proc /mnt/root/proc
bash-4.2# mount -o bind /sys /mnt/root/sys
bash-4.2# mount -o bind /run /mnt/root/run
bash-4.2# chroot /mnt/root

sh-4.2# grub2-install --no-floppy --recheck /dev/sda
Installation finished. No error reported.

sh-4.2# grub2-mkconfig -o /boot/grub2/grub.cfg
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-3.3.0-8.fc16.x86_64
Found initrd image: /boot/initramfs-3.3.0-8.fc16.x86_64.img
Found Microsoft Windows XP Professional on /dev/sdb1
done

exited out of chroot and out of shell. rebooted, no boot menu.
==============================================
here some info about my system:
Dual boot Win XP pro sp3, Fedora 16
4GB RAM, 2 x 250GB HDD,


#parted -l in parted.txt
#fdisk -l in fdisk.txt
#df -h in df.txt
#os-prober in os-prober.txt
============================================

I'm hoping it's something simple, but I just cannot get my head around it. I'd be very gratefull for any help.

Please let me know if you need any more info about the system.

Cheers!!

Grant
Attached Files
File Type: txt parted.txt (2.3 KB, 83 views)
File Type: txt fdisk.txt (2.6 KB, 85 views)
File Type: txt df.txt (940 Bytes, 80 views)
File Type: txt os-prober.txt (129 Bytes, 72 views)
Reply With Quote
  #2  
Old 7th April 2012, 07:48 PM
gsmith62 Offline
Registered User
 
Join Date: Feb 2011
Posts: 10
windows_xp_2003firefox
Re: dual-boot not working after upgrade to f16 from f14

oh yes, I also updated the boot loader using the recovery dvd. but that didn't work either.

Grant
Reply With Quote
  #3  
Old 7th April 2012, 11:52 PM
Dutchy Offline
Registered User
 
Join Date: Aug 2011
Posts: 1,044
linuxfirefox
Re: dual-boot not working after upgrade to f16 from f14

Okay, I'm a bit puzzled; the problem is that you can't get it to boot into a usable DE and after trying to fix that you now have trouble to activate the grub menu?

For the grub menu: have you tried holding down the shift key? That should activate it (although having mutliple OSes should already do that).
To the main problem: have you tried to enter a different runlevel (i.e. runlevel 5)?

You've already provided a lot of information but could you also provide /boot/grub2/grub.cfg?
Reply With Quote
  #4  
Old 8th April 2012, 02:41 AM
gsmith62 Offline
Registered User
 
Join Date: Feb 2011
Posts: 10
windows_xp_2003firefox
Re: dual-boot not working after upgrade to f16 from f14

Quote:
Originally Posted by Dutchy View Post
Okay, I'm a bit puzzled; the problem is that you can't get it to boot into a usable DE and after trying to fix that you now have trouble to activate the grub menu?

For the grub menu: have you tried holding down the shift key? That should activate it (although having mutliple OSes should already do that).
To the main problem: have you tried to enter a different runlevel (i.e. runlevel 5)?

You've already provided a lot of information but could you also provide /boot/grub2/grub.cfg?
@ Dutchy
not half as puzzled as me. ;o)

I'm now in a state of not able to boot into either OS. Unless I put the dvd in it just goes in circles and never boots.

here's the contents of the grub.cfg run one last time this morning.
================================================
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub2-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
load_env
fi
set default="${saved_entry}"
if [ "${prev_saved_entry}" ]; then
set saved_entry="${prev_saved_entry}"
save_env saved_entry
set prev_saved_entry=
save_env prev_saved_entry
set boot_once=true
fi

function savedefault {
if [ -z "${boot_once}" ]; then
saved_entry="${chosen}"
save_env saved_entry
fi
}

function load_video {
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
}

set timeout=5
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/10_linux ###
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Microsoft Windows XP Professional (on /dev/sdb1)" --class windows --class os {
insmod part_msdos
insmod ntfs
set root='(hd1,msdos1)'
search --no-floppy --fs-uuid --set=root D0246F89246F7180
drivemap -s (hd0) ${root}
chainloader +1
}
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###

### BEGIN /etc/grub.d/90_persistent ###
### END /etc/grub.d/90_persistent ###
============================================

In the mean time I have gone out and bought a new pc with win7. I've added a 2TB drive on which I will be doing a fresh install of F16. However I still need to get this old one running as it is going in the basement.
So I still need a pointer as to what may be wrong.

How do I get into runlevel 5?

Cheers!
Grant
Reply With Quote
Reply

Tags
dualboot, f14, f16, upgrade, working

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Dual boot not working bigpayne69 Installation, Upgrades and Live Media 3 12th July 2010 05:47 AM
Trying to get dual boot working tomtom65 Installation, Upgrades and Live Media 9 16th September 2008 10:08 PM
Upgrade Dual Boot Machine FC3 to FC4 dreg EOL (End Of Life) Versions 2 14th June 2005 12:19 PM
FC2 to FC3 Upgrade on a Dual boot - possible bug? repeater75 EOL (End Of Life) Versions 7 11th November 2004 02:50 AM


Current GMT-time: 04:24 (Monday, 20-10-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat
Mingyue Photos - Le Vesinet Travel Photos - Singaraja Travel Photos