You are not logged in.

#1 2009-12-01 03:15:22

duke11235
Member
Registered: 2009-10-09
Posts: 221

Grub.cfg

I know that grub2 usually does this manually, however that is not an option. It's a long story.
I have to manually configure my grub.cfg file(I know its not recommended)
Since Grub2 is relatively nonstandard, and I see multiple posts about grub2 here, can anyone help me out?

This is what I have:

menuentry "Fedora, linux 2.6.31.5-127.fc12.x86_64" {
    insmod lvm
    set root=(haven-gate)
    linux    /vmlinuz-2.6.31.5-127.fc12.x86_64 root=/dev/mapper/haven-gate ro quiet rhgb 
}
menuentry "Fedora, linux 2.6.31.5-127.fc12.x86_64 (testb)" {
    insmod lvm
    set root=(haven-gate)
    linux    /vmlinuz root=/dev/mapper/haven-gate ro single quiet rhgb
}

My /boot is a logical partition (gate) in logical group (haven)
My root is encrypted and is also part of a logical partition(central) in the same group
I have a number of questions

1. The root is encrypted. I know it is not setup right, and points to /boot instead of /root. I believe the cryptoroot function was used in grub, what about grub2? I could really use some help in this regard.

2. The second entry is a test. Is it legal to use /vmlinuz as a shortening for the the vmlinuz line. I read somewhere it would automatically boot the latest kernel

Any help with the above two questions would be greatly appreciated. Configuring grub correctly will allow access to Fedora for the first time in a long while. Thank You

Offline

Board footer

Powered by FluxBB