PDA

View Full Version : get back boot options


DukeNukem
06-03-2007, 09:40 PM
Hi there guys
i used to have Ubuntu 6.06,Win XPSP2,win 2k3 installed on my os
due to some probs i had to format c drive (xpsp2) and reinstall.
now i only had Xpsp2 and 2k3 as available boot options .


can i get the ubuntu boot option back or i had to reinstall every thing from scratch ????????

help the crying soul (fed up of reinstalling os)

kalpik
06-03-2007, 09:52 PM
1. Boot from a Live CD, like Ubuntu Live, Knoppix, Mepis, or similar.
2. Type "sudo grub" which makes a GRUB prompt appear.
3. Type "find /boot/grub/stage1". You'll get a response like "(hd0)" or in my case "(hd0,3)".
4. Type "root (hd0,3)", or whatever step 3 gives.
5. Type "setup (hd0)".
6. Type "quit".
7. Restart the system. Remove the bootable CD.

DukeNukem
06-03-2007, 10:21 PM
thanks there kalpik bro.
i am using the ubuntu now only because of you.
can you tell me to set environmental variables in ubuntu
and enabling ntfs read write
(as you told me bout the bot options)

int86
06-03-2007, 11:00 PM
use EXPLORE2FS
http://www.chrysocome.net/downloads/explore2fs-1.07.zip

kalpik
06-03-2007, 11:06 PM
NTFS read-write can be enabled using NTFS-3G. Check here: http://www.ubuntuforums.org/showthread.php?t=217009&highlight=ntfs-3g

And why do you need to set environment variables? Anyway, to set environment variables, type "export <variablename>=<value>"

Eg: export JAVA_HOME=/usr/java