Elric27
July 24th, 2008, 01:44 PM
Hi. I have this strange problem with, and I can't find any post really related to this particular problem.
I have a tri-boot machine, windowsxp, ubuntu and a third partition where I now have debian installed. I hace installed over this last partition a few times, and edited menu.lst without problems to boot.
Then, I installed gfxboot, followed the instructions but did setup (hdx) on the windows partition. Grub loaded, only worked with Ubuntu but I ran windowsxp cd with fixboot, and it all went fine.
The thing now is that I can't boot debian now. The menu.lst is the same I used to boot debian before gfxboot, but it says error 2, bad file or directory, when I try to boot debian.
Even stranger, if I do "find /boot/grub/stage1" it returns mistake, as if I didn't have it installed. I know the partion nomenclature is fine in menu.lst. but if I try to "root (hd0,3), that's the sd4 ubuntu partition, is says no device found. device.map shows (hd0) /dev/sda.
The thing is, grub is installed and works with ubuntu, but it can't find itself, only run, but no install grub or anythig. Ubuntu is working, but I would like to regain control on my grub. Oh, super grub cannot load debian either. It also seems to be an initrd problem, (it's when is says error 2) so i wouldn't mind to erase that debian I',ve been playing with, but the fact that my grub dosen't recognize its own archives, or that I cannot run its commands is worrisome.
I guess root (hd0,3) tells grub where its files are, and setup (hd0) installs it in mbr. however, if i try any of the above, it says invalid device requested, error12. the device hd0 is /dev/sda in device.map
Thanx and excuse the lengthy post.
I have a tri-boot machine, windowsxp, ubuntu and a third partition where I now have debian installed. I hace installed over this last partition a few times, and edited menu.lst without problems to boot.
Then, I installed gfxboot, followed the instructions but did setup (hdx) on the windows partition. Grub loaded, only worked with Ubuntu but I ran windowsxp cd with fixboot, and it all went fine.
The thing now is that I can't boot debian now. The menu.lst is the same I used to boot debian before gfxboot, but it says error 2, bad file or directory, when I try to boot debian.
Even stranger, if I do "find /boot/grub/stage1" it returns mistake, as if I didn't have it installed. I know the partion nomenclature is fine in menu.lst. but if I try to "root (hd0,3), that's the sd4 ubuntu partition, is says no device found. device.map shows (hd0) /dev/sda.
The thing is, grub is installed and works with ubuntu, but it can't find itself, only run, but no install grub or anythig. Ubuntu is working, but I would like to regain control on my grub. Oh, super grub cannot load debian either. It also seems to be an initrd problem, (it's when is says error 2) so i wouldn't mind to erase that debian I',ve been playing with, but the fact that my grub dosen't recognize its own archives, or that I cannot run its commands is worrisome.
I guess root (hd0,3) tells grub where its files are, and setup (hd0) installs it in mbr. however, if i try any of the above, it says invalid device requested, error12. the device hd0 is /dev/sda in device.map
Thanx and excuse the lengthy post.