You are not logged in.
Pages: 1
As much as I'd love to get rid of my Win XP partition, I'm forced to use it for work. Anyway, I recently re-installed Windows.. and now when I boot up, it goes straight into windows and bypasses grub.
I have a live cd so I can get into my arch partition.. but how do I get grub to load when I boot up? I've searched all over and can't find a simple answer.. Thanks in advance.
I am a gated community.
Offline
mount -t filetype /dev/whatever /mnt
chroot /mnt /bin/bash
grub-install /dev/hdx
where x is the device you want grub to be installed
Offline
Thanks Penguin! I will try this when I get back home..
I am a gated community.
Offline
grub is gone because Windows always overwrites your MBR when you install it. Its main feature is that it only recognizes other Windows installs.
If Penguin's solution doesn't work, you can boot off the Arch install CD, do
mount -t <fs> /dev/<yourlinuxroot> /mnt
/arch/setup
and simply run "Install bootloader".
A bus station is where a bus stops.
A train station is where a train stops.
On my desk I have a workstation.
Offline
I tried Penguin's approach but the command "grub-install /dev/hda" never worked. I tried a zillion things other than "/dev/hda" just in case that wasn't right but I never got it to work.
FUBAR, I tried your approach and grub now loads! However, I can't get into my arch partitions It's using the same grub.menu file that I've always used, I don't know why it suddenly won't work. When I try to boot into Arch, I get:
root (hd0,3)
Filesystem type unknown, partition type 0xf
kernel /boot/vmlinuz26mm root=/dev/discs/disc0/part4 ro
Error 17: Cannot mount selected partition
How can this be? Argh, I miss Arch
I am a gated community.
Offline
check your partitions, you are trying to install grub on an W95 Ext'd (LBA) as reported by fdisk. Type fdisk -l (lower L) and when you found for /boot or / partition (whichever you have) then type:
#grub
root (hd0,x) x = partition where /boot or / resides.
setup (hd0)
Offline
When the grub menu loads at boot, hit the "e" key. Now you can edit your config and try booting it with "b". This way you can search for the right bootdevice.
Don't forget to edit /boot/grub/menu.lst afterwards, as the changes you make during bootup are not saved.
A bus station is where a bus stops.
A train station is where a train stops.
On my desk I have a workstation.
Offline
Thanks guys! I finally got it working.. I have no idea how it happened but some of the numbers for my partitions in both grub's menu.lst file and the fstab file were off by one. All I had done is reinstalled windows on the same partition it was already on... I don't understand it, but I'm glad to be back 8)
I am a gated community.
Offline
Pages: 1