Was not able to install GRUB to root of partition.
Was not able to install GRUB to root of partition. | |
|
|
Junior Mitglied Posts: 2 Registered: 2007-11-12 | I want to chainload Paldo's GRUB but I could not place it in the root of the partition. I did not see that option with the installer. Is there a way to do so? |
|
|
|
|
|
Re: Was not able to install GRUB to root of partit | |
|
|
Administrator Posts: 426 Registered: 2004-09-09 | You have to manually install GRUB if you need it in the partition for chainloading.
This should work with
in the grub shell (where X is the GRUB disk number and Y the partition number) or with the grub-install command. |
|
|
|
|
|
Re: Was not able to install GRUB to root of partition. | |
|
|
Junior Mitglied Posts: 2 Registered: 2007-11-12 | Thanks,
I know how to install GRUB in the root with that command:
root (hdX,Y)
setup (hdX,Y)
...but is there anything to be done to the GRUB that is installed by the command after that? It seems to me that I have done that command in the past, installed GRUB in the root of the partition for chainloading and the GRUB in the root would not boot the distro because it did not have the necessary information. It was a blank menu.lst, if I remember correctly. I do not know how to figure out all of the particulars of a GRUB menu.lst entry to boot a kernel or image, that is why I chainload. |
|
|
|
|
|
Re: Was not able to install GRUB to root of partit | |
|
|
Moderator Linux-Dude Posts: 1187 Registered: 2006-11-23 | Here is my actual menu.lst for paldo:
Code | [In neuem Fenster öffnen] | | timeout 5
setkey y z
setkey z y
setkey Y Z
setkey Z Y
setkey equal parenright
setkey parenright parenleft
setkey parenleft asterisk
setkey doublequote at
setkey plus bracketright
setkey minus slash
setkey slash ampersand
setkey ampersand percent
setkey percent caret
setkey underscore question
setkey question underscore
setkey semicolon less
setkey less numbersign
setkey numbersign backslash
setkey colon greater
setkey greater bar
setkey asterisk braceright
default saved
title paldo testing (linux 2.6.23.1-paldo2-x86)
kernel /boot/linux-2.6.23.1-paldo2-x86 root=/dev/sda8 resume=/dev/sda1 vga=0x317 nodmraid
initrd /boot/initramfs-2.6.23.1-paldo2-x86
savedefault
title paldo testing (linux 2.6.23.1-paldo2-x86_64)
kernel /boot/linux-2.6.23.1-paldo2-x86_64 root=/dev/sda9 resume=/dev/sda2 vga=0x317 nodmraid
initrd /boot/initramfs-2.6.23.1-paldo2-x86_64
savedefault |
maybe you've to mod root= and resume= and maybe remove nodmraid |
|
|
|
|
|