Order of events:
-For a year or so dual-booted winxp and ubuntu with no problems using grub
-Decided to mess with things, did a LOT of screwing with partitions and bootloaders/the MBR
-Somehow all partitions are still intact, I recovered and have windows booting using the windows bootloader
-Spent a really long time trying to get grub properly reinstalled on the ubuntu partition
-Finally realized I could boot ubuntu if I changed a bit in my menu.list and device.map and made the linux hdd the boot hdd in my BIOS
-So now I can boot both by changing that one thing in my BIOS, but would really rather be able to boot both from windows bootloader (I won't use GRUB anymore, just take this for granted please)
Now for the pertinent (I believe) and gory details:
/dev/hda1 ntfs winxp
/dev/hdb1 ext3 ubuntu
menu.lst (all comments removed):
Code:
default 0
timeout 10
title Ubuntu, kernel 2.6.12-10-amd64-generic Default
root (hd0,0)
kernel /boot/vmlinuz root=/dev/hdb1 ro quiet splash
initrd /boot/initrd.img
savedefault
boot
When I switch the boot order back to windows then linux, I change to "root (hd1,0)" in menu.lst and switch the numbers in device.map also to reflect the linux harddrive becoming hd1 and winxp becoming hd0 according to GRUB. When I do this and try to boot from the windows bootloader I just get "GRUB _" with the underscore/cursor blinking and everything else frozen.
My boot.ini file has this line for booting Ubuntu:
Code:
C:\ubuntu.bin="Ubuntu"
And used this command to make ubuntu.bin:
Code:
sudo dd if=/dev/hdb1 of=/media/hda1/ubuntu.bin bs=512 count=1
So, what is the problem? :P
(Sorry if this is not really a software question, I was unsure)
-Minn3h