http://ubuntuforums.org/showthread.php?t=83973
http://ubuntuforums.org/showpost.php?p=679706&postcount=23
sharing knowledge on open source software development, data mining and analysis, BI, virtualization and system administration
Saturday, July 18, 2009
Thursday, June 4, 2009
Remove Ubuntu - Restore Windows (vista) experience
Yesterday and early today morning, I have to clean up one of my current personal working laptop to give it away to my dad. I was having both vista and ubuntu linux on it, and i work mostly in the ubuntu partition. First, I backed up all my data in both windows and linux to my book. To prepare the laptop, I have deleted the linux partition, swap partition and merge the unallocated space to windows partition before I run the Gateway provided restore to manufacturer program. WHen i restart the computer, i got GRUB loading error 22... stuck...googling around...
... and come to this final answer for a quick solution
- find a copy of my windows vista cd and boot from it, choose repair to fix boot problem
-.. still not working after reboot, try again..and in the command line windows...type the following command: Bootrec.exe /FixMbr and see response:"operation completed successfully."
- reboot..windows start fine..and resetting your computer follow the screen
that's it
links:
http://episteme.arstechnica.com/eve/forums/a/tpc/f/96509133/m/254009228831
http://ubuntuforums.org/showthread.php?t=224351
http://forums.techguy.org/unix-linux/480163-restore-windows-xp-mbr.html
... and come to this final answer for a quick solution
- find a copy of my windows vista cd and boot from it, choose repair to fix boot problem
-.. still not working after reboot, try again..and in the command line windows...type the following command: Bootrec.exe /FixMbr and see response:"operation completed successfully."
- reboot..windows start fine..and resetting your computer follow the screen
that's it
links:
http://episteme.arstechnica.com/eve/forums/a/tpc/f/96509133/m/254009228831
http://ubuntuforums.org/showthread.php?t=224351
http://forums.techguy.org/unix-linux/480163-restore-windows-xp-mbr.html
Friday, April 10, 2009
moving file code
private static void moveFile(String a_FileName, String a_LocalPath) throws Exception
{
/** Move the file to an archive or delete it **/
/** The standard rivermine Util for this crashes and burns b/c this particular file has no . **/
/** Make new file out current file **/
File file = new File(a_FileName);
/** Make new file out desired directory **/
File dir = new File(a_LocalPath + File.separator + "archive" + File.separator);
dir.mkdir(); // have to call this to instantiate the folder if not exists
// otherwise, renameTo() below will NOT work.
/** Move the actual file to the directory **/
boolean success = file.renameTo(new File(dir, file.getName()));
if (success)
{
s_log.info("File Archived Succesfully to - " + dir.toString() + File.separator
+ file.getName());
}
else
{
s_log.info("File Not Archived Succesfully - please move it to - " + dir.toString());
}
}
{
/** Move the file to an archive or delete it **/
/** The standard rivermine Util for this crashes and burns b/c this particular file has no . **/
/** Make new file out current file **/
File file = new File(a_FileName);
/** Make new file out desired directory **/
File dir = new File(a_LocalPath + File.separator + "archive" + File.separator);
dir.mkdir(); // have to call this to instantiate the folder if not exists
// otherwise, renameTo() below will NOT work.
/** Move the actual file to the directory **/
boolean success = file.renameTo(new File(dir, file.getName()));
if (success)
{
s_log.info("File Archived Succesfully to - " + dir.toString() + File.separator
+ file.getName());
}
else
{
s_log.info("File Not Archived Succesfully - please move it to - " + dir.toString());
}
}
Friday, January 2, 2009
File Sharing between Windows computer
Vista computers:
http://technet.microsoft.com/en-us/library/bb727037.aspx
XPs:
http://compnetworking.about.com/od/windowsxpnetworking/ht/sharewinxpfiles.htm
http://technet.microsoft.com/en-us/library/bb727037.aspx
XPs:
http://compnetworking.about.com/od/windowsxpnetworking/ht/sharewinxpfiles.htm
How to fake a drive by using folders
from:
http://www.chami.com/tips/windows/010197W.html
Creating logical drives on the fly
For example, to create an alias called D for your C drive, run following command from the "Command Prompt" (or the "DOS Prompt"):
SUBST D: C:\
To create a logical drive called E, that points to your C:\WORK directory:
SUBST E: C:\WORK
To delete the aliases or logical drives that you create using SUBST command, run SUBST with the drive name to delete and the parameter "/D"
SUBST D: /D
SUBST E: /D
Subscribe to:
Posts (Atom)