get back boot options

Status
Not open for further replies.

DukeNukem

Come get Some
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

In Pursuit of "Happyness"
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.
 
OP
DukeNukem

DukeNukem

Come get Some
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)
 

kalpik

In Pursuit of "Happyness"
NTFS read-write can be enabled using NTFS-3G. Check here: *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
 
Status
Not open for further replies.
Top Bottom