Working under virtual machine shipped with QSB DVD, virtual hardisk file Ubuntu.vmx quickly was ran out of disk space. Tried to resize the harddisk space by "virtual machin settings -> harddisk -> utilities -> expand" and got 20G more space in guest OS Ubuntu. However, after partition and formating it into ext4, it turns into READ ONLY after mount command.
What I did is:
$sudo mount -t ext4 /dev/sda3 /home/lucid/work
Plus if I go to modify /etc/mtab to add one more line similar to "/dev/sda1", it is gone after reboot.
Can anybody help on that? I would be ideal if I can re-size root partition directly.
thanks! Guys.
I have to change onwership of /home/lucid/work from root to lucid by
sudo chown lucid:lucid /home/lucid/work
Then it ends up writtable.
You may to to use option remount :
mount -o remount,rw /dev/sda1 /home/lucid/work
I have not tried this. So you will understand these "offerings" are just brainstorming:
1) Although read/write is supposed to be the default, it seems possible you could add the -w option (or -o rw).
2) Check the mode/owner of the directory /home/lucid/work and make sure that isn't set to preclude writing.
hth,
pr