I am very new and very bad at computer, so, sorry in advance.
I have Ubuntu 12.04, installed through Wubi.
/dev/loop0 is full at 100%, so Ubuntu desktop won't load anymore. I need to access important documents and am trying desperately to delete files in vain, via recovery mode terminal.
At 100% full,
autoclean, or anything to do with
dpkg won't work.
rm) function comes back with errors also. I've tried every command in this thread: http://ubuntuforums.org/showthread.php?t=1692087
Answers to Rinzwind's questions:
1) The errors vary as I've tried different commands suggested from the topic mentioned above:
- "command not found crashed please report the bug"
- a few "cannot find such directory" but that might be me not being good at coding.
- sometimes it just "thinks" forever -after 5 minutes I give up and reboot
- some without reaction whatsoever, and just gives me a new
root@ubuntu$prompt as if I did not write anything ...
Does it mean, it is impossible to remove anything when it's full?
I also have a temp overflow file which is full if that helps ...
2) No sorry I don't know the size of my Wubi but I know my dev/loop0 is 13G and it's full.
How can I determine the size of Wubi?
BCBC, thank you for posting
I did realized it was read only so I did use
sudo mount -o remount, rw "/path/to file"
I also tried to increase size following [a thread on Ubuntu Forums]
OK thank you for suggesting another link BCBC :
Here is what I did
'sudo bash wubi-resize_1.5b.sh 10' Outcome : WUBI: No such file or directory
Edit : BCBC : In order to resize WUBI you have to instal WUBI resize tool, which is impossible given the fact my dev loop0 is full 100%
2/ Manual resize
Before anything and as suggested by BCBC I did change the read only to write using
mount -o rw,remount
First you have to unmount a windows partition, I followed the script as suggested:
Sudo unmount /windows /
Outcome : unmount command not found.
What am I doing wrong ? ... Nevermind resume to next step;
Unmount any partitions that are not mounted under /host or /media. (e.g. sudo umount /windows ) Run all commands as root; check free space on /host
sudo -i ---> no reaction just gave me a new root@ubuntu prompt line
df -h /host --->Size 44G Used 34G available 11G 77% used
cd /host/ubuntu/disks---> gives me longer prompt with ubuntu disks added
dd if=/dev/zero of=new.disk bs=1MB count=10000
Did actually do something (ALLELUYAH)!!! ---> said it "copied 5.1 MB"
Format the disk with the ext4 file system
mkfs.ext4 -F new.disk ---> no such file or directory while using file systemsize (which is weird because I just created it)
mkdir -p /media/newdisk ---> cannot create no space left on device
* I gave up here,can anybody tells me what am I doing wrong? * thank you very much in advance, I have being racking my brain for 2 days, I need to access my files
To bcbc, I do use remount command already thanks
Foss Freedom: I think I asked a question before registering, I cannot find the login to the 1st account... could you send me a link to login as the person who asked the question, that way I will be able to use the comment section instead, Cheers and sorry for messing up ! Anne
Answer to BCBC
1/your suggested link only offers 2 solutions: Automated (impossible since loop0 full) and Manual resize, which option am I supposed to choose then?
2/ I did indeed used the
/ at the end, sorry mistyped and did not put it here.
3/No I cannot free up one single bite. As said previously installing anything is out of question ... Even running apt-getclean / apt-get autoremove or auto clean is impossible since it needs to write on a full disk ... this is the point of this thread, dev/loop0 is full to the brim and most commands can't run ...
Answer to BCBC - As said on my first post Apt-get clean, auto remove, autoclean or anything to do with package management DPKG doesn't work anymore - Fix broken packages does not work either, as any DPKG functions, it needs to write on disk and always comes back with error 28: cannot write device full - I have already burnt the live cd ... Sorry what do you meant by "mount the root disk"?
BCBC: The live CD disc I burnt from Ubuntu download doesn't boot ... Apparently it's another Ubuntu problem and quite a few people are in this case. The resolution seems again very complicated and I have enough of chasing the resolution of the resolution of resolution, etc... Ubuntu is a can or worms, every solution brings a new problem, it's an endless chain of headaches. After 5 days of struggle, I think I should better use my time rewriting my documents and remove Ubuntu than trying to make this work. I'll stick to windows, it's too complicated for me.