Thank You Larry for all of your info, at the time I didn't know which grub was default, now I do.
I had lost my Grub in Ubuntu. Was trying to recover without reinstalling os. I ended-up reinstalling Ubuntu upgrading kernel in Debian so as to be able to read Ubuntu's fs. This is my grub conf: PHP Code:
I guess that will be right after I get the ins and outs of the existing grub. |
I am still working on mine when I have time.
|
This is an after-thought, could I have used os-prober and update-grub from the cd and not have had to reinstall os?
|
hi
lets re-visit original requests Quote:
2 You can convert back to grub-legacy if you wish....optional stil open 3) So in your preferred linux partition...download grub and install it to MBR and create entries for menu.lst I assume you are familar with grub-legacy? 4) bootable flag is something windows needs and should be set only once per drive IMHO and you appear to have 2 drives? so now my questions A) have you done a speed test on drive 1 versus 2? If drive 2 is fastest make that the first bootable drive and re-do grub legacy or grub2 to its MBR B) you can have grub-legacy in MBR with its booting files controlling your menu and chainload to grub2 on some other partition....or have grub2 in MBR with its booting files chainloading to grub-legacy or one grub or one grub2.....controlling the lot Do you understand? good luck |
I have noticed grub2 takes at least two times as long to load as grub legacy so if speed is a priority use legacy on your fastest drive with Debain and chainload ubuntu.
|
Quote:
As aus9 has pointed out, legacy and grub2 can chainload each other. For this to be possible, the boot loader - either one - has to be installed in the superblock of the root partition. I have found it easier to get grub 1 "legacy" into the superblock. With grub2 you have to use the --force option, and even then it hasn't always worked for me. So IMHO it's easiest to put grub 2 into the MBR, pointing to your "main" distribution (ie, let that distro install Grub2 to the MBR when you install), and for the others, don't let them overwrite the MBR; if they won't put grub x into the root partition, install without a boot loader, and manually install grub1 later. For chainloading you will need a file/etc/grub.d/xx_custom where xx is a two digit number, if it is below 30 then it will load before /etc/grub.d/30_os-prober, which is convenient. The file should start like: Quote:
Saikee's Just booting tips Never leave home without it! There is also a thread on the Ubuntu forum for tweaking grub2, which is useful for getting rid of the verbiage. |
Quote:
Quote:
Quote:
Ubuntu server to sdb6(hd1,6). At the present time all of my os'es have their own grub with entries in the 1 on sdb1. Right now I'm quite comfortable with working with the grub and if lost I can find and almost positive that with a quick os-probe and update I can get access to all the other os'es. Right now I'm working on getting Ubuntu to shutdown without pressing the button. Impert thanks for the chainloading information, I still have more to learn on it but it's all helpful. Larry I'm going to mark this 1 as solved, and to be continued on next thread when I get ready to install with 1 grub with multiple os'es. |
All times are GMT -5. The time now is 10:08 PM. |