problem from resizing Ubuntu.vmx

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

problem from resizing Ubuntu.vmx

2,115件の閲覧回数
HuiShao
Fresh Out Contributor

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.

ラベル(1)
0 件の賞賛
返信
3 返答(返信)

2,051件の閲覧回数
HuiShao
Fresh Out Contributor

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.

0 件の賞賛
返信

2,051件の閲覧回数
Yuri
NXP Employee
NXP Employee

You may to to use option remount :

mount -o remount,rw /dev/sda1 /home/lucid/work

0 件の賞賛
返信

2,051件の閲覧回数
PaulRobertson
Contributor I

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

0 件の賞賛
返信