PDA

View Full Version : grub help-- added vfat partition



Wiles
19th December 2006, 03:55 PM
using windows I formatted the empty space between my windows and linux OS as fat32, so I can exchange files. but after restarting, i get a command line grub>
how do I get into linux or windows from there? how to fix this so that the normal splash screen appears?

Dies
19th December 2006, 04:48 PM
Wierd, you probably just confused grub, you can try typing in the commands manually if you're familiar with grub, tab completes commands and shows you options as long as you're on the right track, there's also a help command.
You may want to try re-installing grub and seeing if that brings it back, that's probably the easiest thing to do, just pop in your FC disk an type linux rescue at the prompt, follow along, you don't need network for this, when you get to a command line type

chroot /mnt/sysimage
grub-install --recheck /dev/hd? <-- You need the recheck option since you've made changes and you'll have to adjust the device name to whatever drive you're using /dev/hda would be the first IDE hard drive, if you use Sata /dev/sda would be the first Sata drive.

Then type exit twice and it should reboot and hopefully be back to normal.

If not getting into windows should just be a matter of typing these at the grub command prompt:

root (hd0,0) <-- assuming Win is on the first partition of the first disk.
chainloader +1
boot

You may also want to DL this just to have around:

http://supergrub.forjamari.linex.org/features.php