I'm a newbie in Alfresco and honestly cannot find my way in there. If you are trying to develop a WebScript or some other type of service for Alfresco, you can either upload files one by one using the web interface or you can map the CIFS shared drive (\\workstationA\Alfresco\) and use it as a file-system. It seems it worked just fine in Windows XP and friends but I have Windows 7 and I simply could not make it work. It requests a user name and a password but then returns a "Failed to authenticate. Invalid user or password" message The hack I found seems really dumb and I'm sure there is a better solution out there but this works for me.
What you have to do is go to your hosts file (Windows\System32\drivers\etc\hosts) and add a new line in there mapping the workstaionA (Where workstationA is your computer name + the letter a) to some unused IP address.
That's it, now it works and you can map it as a network drive and do your development in peace.
net use X: \\workstationA\Alfresco /user:admin admin /persistent:yes
Note: admin/admin are the Alfresco default username and password, you should change that and use yours.
Happy codding !
This method of running and installing a Windows from a USB flash drive works on all computers not just Asus Eee PC's.
To complete this tutorial you'll need:
- a 32bit version of Windows XP or Windows Vista installed on your computer
- a Windows XP instalation CD or image
Extract all the zip archives, copy the PeToUSB content into the USB_prep8 folder. Inside the USB_prep8 folder double click the executable named usb_prep8.cmd
The window that opens will look like this:
Your next window will look like this:
Once the format is complete, DO NOT close the window. Just leave everything as it is and open a new command prompt from your start menu (type cmd in the Run box)
Inside the command window, go to the directory you have bootsect.exe extracted and type (see note bellow first)
bootsect.exe /nt52 R:
Note: R: is the drive of my USB stick. Open Windows Explorer and see what letters yours is assigned to and change the command accordingly. When running the bootsect.exe command, you must close all windows/programs that are displaying/using the content of the USB stick to allow the boot sector writer to lock the device and write the sector correctly.
This part writes the correct boot sector to your USB stick and allows the pc to boot from the stick. Without this noting works. If all went well with the command, you should see "Bootcode was successfully updated on all targeted volumes"
Now you can close this command prompt and the PeToUSB window (but make sure not to close the usb_prep8 one by mistake)
The window you see now should look like this:
Now you need to enter the correct information for number 1, 2 and 3
- Press 1 and then enter. A folder browse window will open for you to browse for the location of your XP setup files (cd rom drive, mounted image or a folder somewhere on your system)
- Press 2 and enter a letter not curently assigned to a drive on your PC (try x or someting at the end of the alfabet)
- Press 3 and enter the drive letter of your USB stick
- And finally, press 4 to start the process
The script will ask you if its okay to format the virtual tempdrive (the one at step 2). This is just a temp drive the program creates and mounts to cache the windows installation files. You can safely press Y to continue
Once it's done formating, press enter to continue again, you can now see the program copying files to the temp drive it created. This will take a while (browse other articles from my blog till then 🙂 ) but once this is done, press enter to continue again.
Next you will see a box pop up asking you to copy the files to USB drive (yes/no options). You want to click yes here.
Once the script has completed once again a shit long copying process, another window asking if you would like the USB drive to be preferred boot dive U:. select Yes on this window too.
Now select yes to unmount the virtual drive.
Ok we are done the hard part, close the usbprep8 window.
Now make sure your EEE pc is configured with USB as the primary boot device.
Insert your USB drive and boot up the EEE.
On the startup menu you have two options, select option number 2 for text mode setup.
From this point on it is just like any other windows XP installation delete/recreate the primary partition on your EEE pc and format it using NTFS. Make sure you delete ALL partitions and recreate a single partition or you will get the hal.dll error message.
Once the text mode portion of setup is complete it will boot into the GUI mode (you can press enter after the reboot if your too excited to wait the 30 seconds)
Once the GUI portion of setup is complete you will again have to boot into GUI mode this will complete the XP installation and you will end up at you XP desktop. It is very important that you DO NOT REMOVE THE USB STICK before this point. Once you can see your start menu it is safe to remove the usb stick and reboot your pc to make sure everything worked.
This method has advantages over all current no cdrom methods of installing XP to the EEE. You do not have to copy setup files in DOS to the SSD and install from there. It gives you access to the recovery console by booting into text mode setup, and it gives you the ability to run repair installations of XP if you have problems later on.
I hope this worked out for you and please post feedback to the comments section.