gazD
March 24th, 2009, 03:04 AM
Hi,
I recently set up Ubuntu 8.10 via Wubi on my Lenovo Thinkpad T61p, which is also running windows Vista. Everything was working well for a few days, until today I decided that I needed more disk space for Ubuntu.
Following the advice in the Wubi guide
https://wiki.ubuntu.com/WubiGuide#How%20do%20I%20resize%20the%20virtual%20 disks?
I downloaded wubi-add-virtual-disk. Because my /usr folder is the large one, I tried to move it to a dedicated virtual disk by typing
sudo sh wubi-add-virtual-disk /usr 5000
(/usr had only been 2.1GB in size at that stage, so 5GB should be plenty of space).
The script ran and indicated that it was successful, and I tried to shut down my computer. However it didn't cleanly shut down, but kept printing hundreds of messages
XXXX.xxxxx bad: scheduling from the idle thread.
where the XXXX.xxxxx were numbers which seemed to keep increasing.
After some time the computer would not stop doing this, and after trying a few keyboard commands to shut it down, I eventually had to hard reboot.
Now when I try to boot into ubuntu, I get past the initial ubuntu visual screen (the one with the black bar at the bottom that fills with orange as the system starts up), however the subsequent terminal screen output gives lots of messages that different files in /usr were not found, and stops at some stage.
I have been able to hit ESC early in the boot process and boot in safe mode, where I get a terminal. Looking at the directory structure, I have both a /usr and a /usr.backup folder. Figuring that the problem might be fixed if I remove /usr and rename /usr.backup to /usr, I have tried to
rm -r /usr
however the terminal tells me that this cannot be done, because files in /usr are in use.
Any ideas on how to fix this?
Thanks.
I recently set up Ubuntu 8.10 via Wubi on my Lenovo Thinkpad T61p, which is also running windows Vista. Everything was working well for a few days, until today I decided that I needed more disk space for Ubuntu.
Following the advice in the Wubi guide
https://wiki.ubuntu.com/WubiGuide#How%20do%20I%20resize%20the%20virtual%20 disks?
I downloaded wubi-add-virtual-disk. Because my /usr folder is the large one, I tried to move it to a dedicated virtual disk by typing
sudo sh wubi-add-virtual-disk /usr 5000
(/usr had only been 2.1GB in size at that stage, so 5GB should be plenty of space).
The script ran and indicated that it was successful, and I tried to shut down my computer. However it didn't cleanly shut down, but kept printing hundreds of messages
XXXX.xxxxx bad: scheduling from the idle thread.
where the XXXX.xxxxx were numbers which seemed to keep increasing.
After some time the computer would not stop doing this, and after trying a few keyboard commands to shut it down, I eventually had to hard reboot.
Now when I try to boot into ubuntu, I get past the initial ubuntu visual screen (the one with the black bar at the bottom that fills with orange as the system starts up), however the subsequent terminal screen output gives lots of messages that different files in /usr were not found, and stops at some stage.
I have been able to hit ESC early in the boot process and boot in safe mode, where I get a terminal. Looking at the directory structure, I have both a /usr and a /usr.backup folder. Figuring that the problem might be fixed if I remove /usr and rename /usr.backup to /usr, I have tried to
rm -r /usr
however the terminal tells me that this cannot be done, because files in /usr are in use.
Any ideas on how to fix this?
Thanks.