When i try reinstalling ubuntu i get this error msg "There is a file or directory with this name. Please remove it before continuing." What do I do?
It says it all in the summary.
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Wubi Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- bcbc
- Solved:
- Last query:
- Last reply:
Revision history for this message
|
#1 |
I suspect this is a Wubi install?
Please look at bcbc's notes in this forum post:
http://
You may be able to get more detailed instructions asking for help in the following thread:
Revision history for this message
|
#2 |
Okay so i tried the renaming thing C:\ubuntu to C:\ubuntuSAVE and for 5mins it was working until i got this msg that said "permission denied". Now i need more help!
Revision history for this message
|
#3 |
I think i replied to you already on this thread http://
Anyway - please go to the %temp% directory (hit Start, enter "%temp%") - then look for the wubi log file... for 11.04 it will be called wubi-11.
Please also explain a little more about what has happened. Did you have a working wubi before and something happened so you are trying to reinstall? Are you trying to recover data from this or trying to preserve the old install?
Revision history for this message
|
#4 |
Ok Q1. Did you have a working wubi before? Yes but only for a day because is was getting some kind of error msg that i can't remember so I tryed to reinstall it and i uninstalled it then reinstall it and it says as it said in my question so after Erick B. replyed to my quote i did what you said and it was downloading for a good five minuates but it read the error msg "Permission Denied" so i did as you said whent to the log file and also i replyed to your comment in your reply go back to that thread http://
Revision history for this message
|
#5 |
Also i am trying to Persevre the old install
Revision history for this message
|
#6 |
I checked the log file - it is getting an Errno 13 when it's copying the ISO from the CD to the local drive. This is usually the result of a bad burn on the CD. Either burn another following instructions here: http://
In terms of preserving the old install - it's hard to know if this will work unless we know what that error is you were getting. Do you recall?
Revision history for this message
|
#7 |
Sorry but no :( but ill just use you first technique and i will email you how it goes!
Revision history for this message
|
#8 |
Wait i remember it was reading as ISO error msg but if i see it then i will recall it
Revision history for this message
|
#9 |
@ bcbc,
Sorry I handled this so poorly. I've been tied up with pressing non-computer issues this summer and I didn't take the time to answer this properly after receiving a PM from Ashton.
@ Ashton,
No need for more PM's, bcbc knows more about Wubi than I could ever learn. As frustrating as computer problems can be some patience is required ;^)
Revision history for this message
|
#10 |
Thats it!!! Ubuntu hates my computer!!! I know it! It still displays Permission Denied! I did the whole reburning the cd thing and it is hopeless!!! Ubuntu h8s me...
Revision history for this message
|
#11 |
If we were on the Ubuntu forums I'd ask for the output of the Boot Info Script so we could have a really close look at things.
http://
In retrospect, after receiving your first PM, I should have simply said that I'm too busy to deal with individual problems.
There's nothing personal involved, other than my need to keep a roof over my head.
Revision history for this message
|
#12 |
I apologize about the inconveince Erick. But if you still want to help I downloaded the file in windows and it doesn't recogize the file.
Revision history for this message
|
#13 |
You can also use a USB stick or as I mentioned earlier if you place the desktop CD ISO in the same folder as wubi.exe and run wubi from there it will find the ISO and use it (but for this to work you need to remove any ubuntu cd/usb from the computer or it will default to them and fail again).
The thing is you installed it before so whatever method you used then should work again.
Revision history for this message
|
#14 |
So do i delete the many of copys of wubi.exe and store the desktop CD ISO in C:\ ubuntu
Revision history for this message
|
#15 |
No, download the desktop CD ISO in the same folder as the downloaded wubi.exe (anywhere other than C:\ubuntu) and then run wubi from there.
Revision history for this message
|
#16 |
Do mean i have to redownload it for the website or can i just click and drag one of the ubuntu-
Revision history for this message
|
#17 |
Provided the CD ISO is good that will work.
If you have any problems then copy the log file to http://
Revision history for this message
|
#18 |
Here is the pastebin address:
Revision history for this message
|
#19 |
Remove the CD from the F: drive and try again. Don't run it straight from
internet explorer either. Run it from your downloads directory.
Revision history for this message
|
#20 |
And where is the download directory?
Revision history for this message
|
#21 |
C:\Users\
Make sure that the wubi.exe and the desktop cd ISO are in that directory.
Remove all other CDs or USBs that contain an Ubuntu ISO
Revision history for this message
|
#22 |
Thanks bcbc! You helped alot!
Revision history for this message
|
#23 |
Thanks bcbc, that solved my question.
Revision history for this message
|
#24 |
Another question bcbc... how to transfer files from windows to ubuntu
Revision history for this message
|
#25 |
You can browse your "host" ntfs partition by looking in the /host folder. e.g. click on the Home icon (top left of unity bar), then click on "File system", and then "host". That will let you browse the host 'drive' and copy files.
If you are using Gnome desktop manager instead of Unity, then click on Places, Computer, File system, host.
I will caution you though. Wubi is intended to try out Ubuntu. It's less reliable that a normal "direct to partition" install, because Wubi uses a virtual partition that is actually a single file (C:\ubuntu\
Personally I recommend leaving important data on C: and if necessary creating folders that link to folders on C: i.e. your Pictures folder on Ubuntu will actually take you to "C:\Users\
If you must have everything stored on Ubuntu then I suggest partitioning your drive and installing Ubuntu in a regular dual boot, not with Wubi.
Revision history for this message
|
#26 |
Glad you gave me the heads up!
Revision history for this message
|
#27 |
Re. your email. Wubi creates a virtual disk (or partition if you like) that is fixed in size. So even if you have a 1TB disk, if you selected 17GB for your Wubi install, that's all you get.
There are some options to resize this disk... https:/
Revision history for this message
|
#28 |
Can you teach me step by step how to do it...because i dnt think i am doing it correctly... it says Download and run this in terminal:
sudo sh wubi-add-
And i put it in and my terminal says can't open wubi-add-
Revision history for this message
|
#29 |
You probably saved it in your Downloads directory...
CTRL+ALT+t
cd Downloads
sudo sh wubi-add-
If you saved it somewhere else, e.g. your desktop... then
cd Desktop
Note linux commands are case sensitive. Also note that [TAB] autocompletes.
So if you type "sudo sh wubi-" and then press the [TAB] key it should
autocomplete (if you are in the correct directory).
Revision history for this message
|
#30 |
Thx that really helped but after i do that should I reboot or what to do next?
Revision history for this message
|
#31 |
You're supposed to reboot back into Ubuntu - make sure things are working as
you expected, then delete the old home that is still on the root.disk. Then
you'll see the space increase on the root.disk.
It should have outputted a message to that effect and the Wubi guide should
also mention that.
Revision history for this message
|
#32 |
Thanks and if i want to increase the space i press
sudo su
swapoff -a
cd /host/ubuntu/disks/
mv swap.disk swap.disk.bak
dd if=/dev/zero of=swap.disk bs=1024 count=2097152
mkswap swap.disk
swapon -a
free -m
in the terminal
Revision history for this message
|
#33 |
Nd another question where is the old home located because i cant find it
Revision history for this message
|
#34 |
Never mind i found it but it wont let me delete it becauseit said permission denied
Revision history for this message
|
#35 |
That's what the guide says - I haven't personally used that, but it looks
right.
Ashton Rideaux posted a new comment:
> Thanks and if i want to increase the space i press
>
> sudo su
> swapoff -a
> cd /host/ubuntu/disks/
> mv swap.disk swap.disk.bak
> dd if=/dev/zero of=swap.disk bs=1024 count=2097152
> mkswap swap.disk
> swapon -a
> free -m
>
> in the terminal
>
>
Revision history for this message
|
#36 |
I'm not sure why you can't delete it. You could try doing it as root.
Please use the following command with extreme caution... if you make a typo
you could do some serious damage to your system:
sudo rm -rf /home.backup
NOTE: there is NO space between the / and home - if you accidentally put
one in it will delete ALL your files. There is also no space around the
period and backup. In other words NO spaces in "/home.backup"
Please also refer to the manual for "rm" before running: man rm
> Ashton Rideaux posted a new comment:
> Never mind i found it but it wont let me delete it becauseit said
> permission denied
>
>
Revision history for this message
|
#37 |
Wait where's the manual and what's rm and man rm
Revision history for this message
|
#39 |
Ok so i try to put in the code for the free space count and when i get to these commands:
>dd if=/dev/zero of=swap.disk bs=1024 count=2097152
> mkswap swap.disk
> swapon -a
> free -m
It didn't respond so what do i do?
Revision history for this message
|
#40 |
You're going to have to be more specific. Enter the commands one by one. If
you have any strange output, stop and copy and paste the entire terminal
contents here so I can see what's going on.
Please be extremely careful with the "dd" command. It is VERY dangerous if
you make a typo.
Revision history for this message
|
#41 |
Hey bcbc is their another method on how to get more free space because i need it immediately
Revision history for this message
|
#42 |
Also bcbc i did the whole
swapoff -a
cd /host/ubuntu/disks/
mv swap.disk swap.disk.bak
dd if=/dev/zero of=swap.disk bs=1024 count=2097152
mkswap swap.disk
swapon -a
free -m
and it displays
root@ubuntu:
root@ubuntu:
root@ubuntu:
root@ubuntu:
2097152+0 records in
2097152+0 records out
2147483648 bytes (2.1 GB) copied, 168.671 s, 12.7 MB/s
root@ubuntu:
mkswap: swap.disk: warning: don't erase bootbits sectors
on whole disk. Use -f to force.
Setting up swapspace version 1, size = 2097148 KiB
no label, UUID=de273d0f-
root@ubuntu:
root@ubuntu:
total used free shared buffers cached
Mem: 2949 2839 110 0 373 419
-/+ buffers/cache: 2047 902
Swap: 2047 0 2047
What does that mean???