You are not logged in.
Hi all!
I think I've broken my system
I had dual boot.
Recently I took my HD to copy somethind from another computer (also Arch-powered). Connected it instead of CD drive, booted, mounted, everything went fine.
But when I tried to boot from it at home, there was not usual grub menu, just windows started to boot instead
Here is my fdisk -l output:
Device Boot Id System
/dev/sda1 * . . . b W95 FAT32
/dev/sda2 . . . 83 Linux
/dev/sda3 . . . 83 Linux
I've tried few options from Live CD
->More options:
Attempt existing Linux detection.
Result:
Booting 'Scan for /boot/grub/menu.lst'
find --set-root --ignore-floppies /boot/grub/menu.lst
Error 15: File not found
Press any key to continue...
Boot Existing Linux Install:
root (hd0,0)
kernel /vmlinuz26 root=/dev/sda3 ro
initrd /kernel26.img
result:
Booting '[EDIT ME] Boot Existing Linux Install'
root (ht0,0)
Filesystem type is fat, partition type 0xb
kernel /vmlinuz26 root=/dev/sda3 ro
Error 15: File not found
Press any key to continue...
Also I tried to reinstall grub following wiki. grub-install warned that it can take long time, but how long? minute or five, longer?
Seems to me it halts on this stage, though I can stop it with ^C
Am I doing something wrong?
Thanks in advance for your answers.
Last edited by Rimas (2009-10-03 11:23:39)
Offline
I'm not sure why your grub would disappear from connecting to another machie, I keep on changing HDs with no issue. Boot the arch cd, mount the arch partition and chroot in it then:
grub-install /dev/sda
Also I tried to reinstall grub following wiki. grub-install warned that it can take long time, but how long? minute or five, longer?
Just a second or two.
Last edited by sHyLoCk (2009-10-03 10:09:29)
Offline
Thanks, sHyLoCk, for your answer.
Tried once more to reinstall grub and result is the same
Just blinking cursor after grub-install /dev/sda
Last edited by Rimas (2009-10-03 10:40:42)
Offline
Finally!
It installed grub, but it takes extremely long to accomplish that.
But after reboot again no grub menu ;(
So, the problem was not in the grub. I have also /dev/sdb - my "storage" drive. ntfs and no OS on it.
Problem was in BIOS.
My little son switched on the computer without system drive, so bios swaps drives priority and my "storage" appeared at the first position o_O
So, when system was booting, it at first was asking my "storage" for OS, and after refusal was askin second drive (/dev/sda) and it proposed windows each time, so in such way grub was passed around.
Drives priority in BIOS corrected and everything is working again
And sorry for such topic. I still have rather smal experience
Offline