Dual-boot Ubuntu/Win2k
Yes I searched first......;)
To the best of my memory, this happened the same way with 5.04 AND 5.10... Win2k is on first partition of first HD, and is working with no issues. Install Ubuntu on another drive (first partition), and tell the installer to install grub bootloader. Re-boot fails---grub reports error 22 and never gets to the boot menu. (error 22 in the grub manual refers to a bad partition reference.) Start over and do NOT install grub in the HD---tell the installer to make a boot floppy. Now all works normally. In between these two steps, I tried to manually make a boot floppy--it failed with the same "error 22" I never had an issue like this with Redhat or SUSE |
Where do you install Grub, to MBR on the first drive or to the second drive Ubuntu's root partition?
1st drive would be /dev/hda and 2nd drive would be /dev/hdb. |
MBR on first drive---I think this is the default??
|
Can you post your /boot/grub/menu.lst file?
|
Here is "menu.lst"---I am now booting from floppy, but I presume that this file would be the same as if booting from grub in the MBR.
As I said previously, I dont think grub ever got this far when booting from the MBR.... lines starting with "#" have been stripped Code:
default 0 |
I'm a little confused by your grub menu.lst setup.
Grub should be similar to this: hd0,0 is the first drive, first partition hd1,0 is the second drive, first partition hd1,1 is the second drive, second partition and so on. Where exactly did you intall grub? How did you get this? root=/dev/hdg1 ro quiet splash |
All this was generated by the Ubuntu installer---and it works when called by grub from the floppy. (This menu listing is similar to what i have seen before......)
Win2K is on first drive---hd0,0 Ubuntu is on the 3rd---hd2.0 during install, I believe the installer put grub on the MBR on hd0---I would have to re-run it to be sure |
Shouldn't root be 'root=/dev/hdc1'?
/dev/hda=1 drive /dev/hdb=2 drive /dev/hdc=3 drive Seems like something is pointing to the wrong device. |
Again, the menu.lst that I posted WORKS....
Here's a clue: My 4 drives are on a Highpoint controller---not the main PATA bus. Windows does not care, and Linux sees them as hde, hdf, hdg, and hdh. (The main PATA bus goes to two optical drives---I dont know how that uses up hda thru hdd---except maybe that there are a total of 4 positions available....) I've had other Linux distros working (eg FC4)--it seems that Ubuntu is the only one with this funny. I do need to research where the installer tries to put grub if you select installation on the hard drive. Booting from the floppy created by the installer, everything works fine. |
All times are GMT -5. The time now is 06:32 AM. |