Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hello, heres the issue.
I have a gateway laptop with Vista 64 previously installed with 2 partitions: C and D and an "invisible" 10gb recovery partition. I installed Fedora 12 without issue, but now when grub loads it gives me 2 options: Fedora and Other.
Instead of "Other" going to Windows it now goes to the Gateway recovery tool. Which i believe resides on that 10gb "invisible" partition.
I dont think this will be a hard fix. Im sure its just a file i need to edit. Just not sure where to find it, kinda new and such. Any help that can be given i will greatly appreciate.
Please paste the output of the command "fdisk -l", if you are not logged in as root but have sudo you may have to do "sudo /sbin/fdisk -l" instead. With this if you could then also output the the content of "/boot/grub/menu.lst" or "/boot/grub/grub.conf". We should be able to tell you what to change, I suspect if you are right then you may have done an update to Fedora that updated a driver that allowed it to see that partition, if this is the case then it might be just a case of changing the reference of hd(0,0) to hd(0,1) but let's see the output first before messing around with boot scripts .
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,4)
# kernel /vmlinuz-version ro root=/dev/mapper/vg_gateway-lv_root
# initrd /initrd-[generic-]version.img
#boot=/dev/sda
default=0
timeout=5
splashimage=(hd0,4)/grub/splash.xpm.gz
hiddenmenu
title Fedora (2.6.31.5-127.fc12.x86_64)
root (hd0,4)
kernel /vmlinuz-2.6.31.5-127.fc12.x86_64 ro root=/dev/mapper/vg_gateway-lv_root LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us rhgb quiet
initrd /initramfs-2.6.31.5-127.fc12.x86_64.img
title Other
rootnoverify (hd0,0)
chainloader +1
title Other
rootnoverify (hd0,1) <<< ===
chainloader +1
Maybe change the title to something meaningful while you're at it.
Personally I prefer to see the menu, so comment out the hiddenmenu line - add "#" at start of the line.
Probably as I guessed a driver update that caused it to be able to see a partition that was previously not viewable under the previous driver for the Hard Drive controller. Only curious thing if this is the case is why it didn't break your linux installation as well. But everything seems to be working for now so it should be fine. It might be fedora fixed it's own configuration at the same time of compiling the driver into the kernel.
Quote:
Originally Posted by syg00
Maybe change the title to something meaningful while you're at it.
I would say I agree with this, I myself do this just for normal installations but I go further with my hosted server where I work to make things a bit more obvious.
A typical kernel line would be like the following (please note this is from the domain-0 of a xen server)
title CentOS (2.6.18-164.11.1.el5xen)
I change this on my server to
title CentOS, Kernel: 2.6.18-164.11.1.el5xen (current)
on top of this I label previous Kernels as (old) and none Xen Kernels as (do not use) as Xen was installed post installation since the usage of the server changed and I did not reinstall it I still get none Xen Kernels but if Xen did develop a problem I still have the back-up of a none-xen kernel to fix things from, however these won't bring up my Virtual Machines so I label these as (do not use).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.