PDA

View Full Version : Can someone help me dual boot?


gundark
16th August 2008, 04:09 AM
Hey all, my laptop has ubuntu (came with), fc9 on one partition, and now f10 on another partition. My question is that f10 boots fine, but not with plymouth just in text mode. I was hoping someone could help me in getting my grub.conf set up right to boot plymouth. Yes I have an intel card and on the cd plymouth looks like it works great.

JeffZZZ
16th August 2008, 07:06 AM
1. Boot and when you see the fedora boot screen with the 5 second countdown. Hit then down arrow. This will show if there are and other distros that you can boot. You can always come up into the boot options screen by commenting out 'hiddenmenu' see example below. Maybe you will have the distros there. 99% chancefedora overwrote info for ubuntu. Haven't messed with FC8 or FC9 bootloaders so don't know if they play nice with other linux distros. All of the linux distros that I have used have picked up and will allow you to boot windows they just seem to overwrite the linux distros.

2. before you add any more distros you should print out menu.lst, which is located in /boot/grub directory. It has the required info needed to boot vmlinuz and initrd and where they are located. Should look like this

# 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,0)
# kernel /vmlinuz-version ro root=/dev/sda2
# initrd /initrd-version.img
#boot=/dev/sda
default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
#hiddenmenu -------------------commented out
title Fedora (2.6.25.14-108.fc9.i686)
root (hd0,0)
kernel /vmlinuz-2.6.25.14-108.fc9.i686 ro root=UUID=sdafjhkwhekjhkejhdsofjrefkjhfkjhf rhgb quiet
initrd /initrd-2.6.25.14-108.fc9.i686.img
title Fedora (2.6.25-14.fc9.i686)
root (hd0,0)
kernel /vmlinuz-2.6.25-14.fc9.i686 ro root=UUID=sdafjhkwhekjhkejhdsofjrefkjhfkjhf rhgb quiet
initrd /initrd-2.6.25-14.fc9.i686.img

You can copy title and boot info from the other distros into menu.lst. This is quick and dirty. When you do updates the Grub menu.lst only updates the last installed distro. If you update the kernels on the other distros, you have to change the kernel boot info manually on the other distros titles(vmlinuz and initrd).


hope that helps

Evil_Bert
16th August 2008, 07:19 AM

I think he means, "what is the equivalent grub.conf entry to the previous rhgb that will cause F10 to boot in graphical mode with plymouth?"

Answer: I don't know.

Have you tried looking at the contents of grub.conf on the CD that you have (if I understand you correctly)? I'd expect the entry to be the same.

Edit:
If you look at an example extract from grub.conf in F9 and prior:
kernel /vmlinuz-2.6.25-14.fc9.i686 ro root=LABEL=/1 rhgb quiet
... it's the rhgb entry that causes the graphical boot and the quiet that causes details to be hidden.

gundark
16th August 2008, 11:50 AM
Thank you for putting it more eloquent than I, evil, bert. Despite your inherent evil nature you are quite correct in assisting me. I did copy over the grub.conf from the cd, I am assuming sense there are a whole bunch of other files and directories on the boot cd boot directory that something else needs to happen, however sense its a live cd I don't know what pertains to the live cd and what to plymouth. Just a little back ground, I just had a tonsillectomy and am trying to do this all loopy on liquid vicodin, let me tell you, you thought linux was fun before, I have to be careful not to mess my shorts.

cenomanien
16th August 2008, 01:35 PM
Hello,

You should find some info in the F10 Alpha release notes : http://fedoraproject.org/wiki/Releases/10/Alpha/ReleaseNotes#Boot_up

Although the site is down at the moment.

Evil_Bert
16th August 2008, 01:40 PM
Despite your inherent evil nature you are quite correct in assisting me.
It's not inherent - I have to work really hard to be this evil! :)

gundark
16th August 2008, 03:35 PM
It's not inherent - I have to work really hard to be this evil! :)
My apologies for not giving credit where credit is due. ::bows::

leigh123linux
17th August 2008, 05:26 PM
Try setting the boot up screen resolution ! ( vga=0x318 )


title Fedora (2.6.27-0.256.rc3.git1.fc10.x86_64)
root (hd2,1)
kernel /boot/vmlinuz-2.6.27-0.256.rc3.git1.fc10.x86_64 ro root=UUID=03c970c1-0eac-4a27-8e7e-25558d3a667f quiet vga=0x318 rhgb
initrd /boot/initrd-2.6.27-0.256.rc3.git1.fc10.x86_64.img

gundark
17th August 2008, 09:39 PM
ok, that works, and sense my video driver is no longer working in rawhide, intel, with this option I still get a graphical server, without it I get only a text mode. However my laptop resolution is 1280x800 and I can't find that grub option anywhere. Any ideas?

leigh123linux
17th August 2008, 10:18 PM
ok, that works, and sense my video driver is no longer working in rawhide, intel, with this option I still get a graphical server, without it I get only a text mode. However my laptop resolution is 1280x800 and I can't find that grub option anywhere. Any ideas?


This option ( vga=0x318 ) sets the boot up VGA resolution to 1024x768 for the vesafb only and shouldn't effect the session resolution ! ( is plymouth working OK now ) .

http://www.tldp.org/HOWTO/Framebuffer-HOWTO-5.html




However my laptop resolution is 1280x800 and I can't find that grub option anywhere. Any ideas?

The GDM login & session resolution settings for the intel driver are controlled by /etc/X11/xorg.conf !

gundark
17th August 2008, 10:28 PM
huh... so I gather by your advice I should try working on my xorg? Yes plymouth works, I like, even the text mode is cleaner, I like. Oh, but without this option the xserver never comes up, it just leaves me in text mode, with errors related to the intel driver.. i think.

leigh123linux
17th August 2008, 10:34 PM
huh... so I gather by your advice I should try working on my xorg? Yes plymouth works, I like, even the text mode is cleaner, I like. Oh, but without this option the xserver never comes up, it just leaves me in text mode, with errors related to the intel driver.. i think.


Yes ! .................


Have you tried setting it with system-config-display ?

system-config-display

gundark
17th August 2008, 11:48 PM
ok... no go on the system-config-display, i even changed it a bit to match up with f9... but I still get these errors in my xorg log. I just had to take some more vicodin so be patient with me if I get goofy or sound dumb. Only when I delete the xorg.conf and have the vga line in the kernel can I get to a graphical f10, which is what i am working out of

gundark
17th August 2008, 11:52 PM
sorry here are the files, messed it up on the last post