LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (https://www.linuxquestions.org/questions/ubuntu-63/)
-   -   Boot loader problems. (https://www.linuxquestions.org/questions/ubuntu-63/boot-loader-problems-463321/)

Budman21901 07-12-2006 10:28 AM

Boot loader problems.
 
I resized my nfts partition, and installed ubuntu. Now i need the cd to boot both operating systems. I booted ubuntu from cd, and tried to install grub. It says its already installed. There is no boot config icon in system tools as the manual says there would be. I also checked etc directory for a boot config file, and found nothing. Can someone help me repair my bootloader?

lein 07-12-2006 10:55 AM

Lets see, I won't be too much help being a newbie myself. But here goes.

Ubuntu/Kubuntu/Edubuntu all put their grub config file:

/boot/grub/

and call is menu.lst

then it is just a case of figuring out why yours isn't working properly. I can't help you there.

lein 07-12-2006 11:04 AM

Actually the GNU Grub site may be of assistance to you. Possibly the Ubuntu documentation may hold a clue.


Also to help out you should have something similar to this. This being mine, obviously your partitions will be different, but it gives you the gist.

title Ubuntu, kernel 2.6.15-23-amd64-generic
root (hd0,3)
kernel /boot/vmlinuz-2.6.15-23-amd64-generic root=/dev/sda4 ro quiet splash
initrd /boot/initrd.img-2.6.15-23-amd64-generic
savedefault
boot

title Ubuntu, kernel 2.6.15-23-amd64-generic (recovery mode)
root (hd0,3)
kernel /boot/vmlinuz-2.6.15-23-amd64-generic root=/dev/sda4 ro single
initrd /boot/initrd.img-2.6.15-23-amd64-generic
boot

title Ubuntu, memtest86+
root (hd0,3)
kernel /boot/memtest86+.bin
boot

### END DEBIAN AUTOMAGIC KERNELS LIST

# This is a divider, added to separate the menu items below from the Debian
# ones.
title Other operating systems:
root


# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda1
title Microsoft Windows XP Professional
root (hd0,0)
savedefault
makeactive
chainloader +1


--- END MENU.LST EXAMPLE ---

Now, I've just had another thought and it isn't that I should be sleeping (although that is true) when you modified your ntfs partition was it still the first one ie as above " (hd0,0) " ??? As Windoze has a hissy fit if it isn't placed first so you may have to fool it with some trickery.

Budman21901 07-12-2006 11:43 AM

Thanks for the reply's everyone. I figured it out and i feel stupid! I booted into ubuntu, and checked /boot/grub/menu.lst . When i seen a perfectly working config file, it struck me that i changed my boot priority in the bios for install and never checked the exact configuration. Sure enough i booted into the bios, and HD was disabled. Chalk another one up to not thinking the obvious! LOL


All times are GMT -5. The time now is 10:06 AM.