LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Making grub.conf accessible from Windows (https://www.linuxquestions.org/questions/linux-newbie-8/making-grub-conf-accessible-from-windows-492166/)

bercy46 10-13-2006 02:33 PM

Making grub.conf accessible from Windows
 
Hi,

I have a few dual-boot systems that have Fedora Core 5 and Windows XP.

GOAL : to be able to control remotely how to reboot any one system.

So, if I'm in a SSH session and I want to reboot in Windows (and Linux is currently the default in grub.conf), all I need to do is edit grub.conf, and voilą.

However, if I'm in Windows (remote desktop), and the current default in grub.conf is also Windows, and I want to reboot in Linux, I'm screwed.

Solution 1 : Windows driver to access Linux partition (ext3)

I've looked at ext2fsd, but it seems not to support ext3 in write mode... Any comments ?

Solution 2 : Make a (small) fat32 partition, somehow transfer the grub.conf there, and I'd be all set.

This seems like a good enough solution. I can figure out how to physically transfer the files from ext3 to fat32, but can anyone tell me how to configure the Linux boot process so that Linux will look on the new fat32 partition for grub.conf ? Detailed steps would really be appreciated here... thanks...

pljvaldez 10-13-2006 03:33 PM

http://www.gnu.org/software/grub/man...-once_002donly

Just assume the second entry is for Windows and add the savedefault 0 to the XP entry.

syg00 10-13-2006 05:44 PM

Have a look at grub4dos. I tried it early in its development. Worked fine.
There were some potential issues with XP SP2 (I was using Win2k) - don't know where that's at these days. Check the doco.


All times are GMT -5. The time now is 12:48 AM.