How to add extra harddriver, relocate /home in Ubuntu with VMWare player
2008-11-20 11:40
639 查看
If you want to add another HD in VMware player, we need add something in vmx file and setup in ubnutu.
1. create vmkd file , attached is 4.7 G HD.
2. add in vmx file.
# Second SCSI disk image, size 4800Mb
scsi0:1.present = "TRUE"
scsi0:1.fileName = "Ubuntu-2.vmdk"
scsi0:1.mode = "persistent"
scsi0:1.startConnected = "TRUE"
scsi0:1.writeThrough = "TRUE"
3. setup it up in Ubuntu
after start Ubuntu, go to System-> Admin -> Partition editor, find the new hard driver deails like /dev/sdb
find uuid for this new HD
# sudo vol_id --uuid /dev/sdb1
return uuid like : eea4f9a2-fad6-45b4-91b4-91bf8f13ef91
create mount point in somewhere or if you want to relocate your /home, just use /home
add HD in /etc/fstab file
# /dev/sdc1
UUID=eea4f9a2-fad6-45b4-91b4-91bf8f13ef91 /mount/point/Public ext3 relatime,errors=remount-ro 0 1
4. restart Ubuntu
All done.
附件:http://down.51cto.com/data/2351145
1. create vmkd file , attached is 4.7 G HD.
2. add in vmx file.
# Second SCSI disk image, size 4800Mb
scsi0:1.present = "TRUE"
scsi0:1.fileName = "Ubuntu-2.vmdk"
scsi0:1.mode = "persistent"
scsi0:1.startConnected = "TRUE"
scsi0:1.writeThrough = "TRUE"
3. setup it up in Ubuntu
after start Ubuntu, go to System-> Admin -> Partition editor, find the new hard driver deails like /dev/sdb
find uuid for this new HD
# sudo vol_id --uuid /dev/sdb1
return uuid like : eea4f9a2-fad6-45b4-91b4-91bf8f13ef91
create mount point in somewhere or if you want to relocate your /home, just use /home
add HD in /etc/fstab file
# /dev/sdc1
UUID=eea4f9a2-fad6-45b4-91b4-91bf8f13ef91 /mount/point/Public ext3 relatime,errors=remount-ro 0 1
4. restart Ubuntu
All done.
附件:http://down.51cto.com/data/2351145
相关文章推荐
- how to deal with the situation that the language support option disappears in linux ubuntu
- How to compile and debug VLC player source code in eclipse IDE on Ubuntu 10.04 (lucid)?
- How To Install Flash Player In Ubuntu 10.04 Lucid Lynx,install firefox flash plugin addon for ubuntu
- VMware: Add PortGroup to all hosts in cluster with PowerCLI
- how to free up more space in boot partition with Ubuntu16.04
- How to compile and debug VLC player source code in eclipse IDE on Ubuntu 10.04 (lucid)
- How To Add Oracle JDBC Driver In Your Maven Local Repository
- Maven_How To Add Oracle JDBC Driver In Your Maven Local Repository
- how to install vscode with Python extension in ubuntu 16
- How To Fix “Problem with MergeList /var/lib/apt/lists” Error In Ubuntu 11.04
- How To Use A Launchpad PPA (Add, Remove, Purge, Disable) In Ubuntu
- How to Add/Drop/Resize Redo Log with Physical Standby in place. [ID 473442.1]
- How to Play '.rm' files with RhythmBox in Ubuntu?
- How to Install ATI/AMD Catalyst 13.4 Linux Driver in Ubuntu 10.04
- How To Fix “Problem with MergeList /var/lib/apt/lists” Error In Ubuntu 11.04
- How to add Oracle JDBC driver in your Maven local repository
- HOWTO INSTALL OWNCLOUD WITH NGINX IN UBUNTU LTS
- Run Windows in Ubuntu with VMware Player 使用 VMware Player 在 Ubuntu 下运行 Win
- How to Add/Drop/Resize Redo Log with Physical Standby in place. [ID 473442.1]
- How to enabled nvidia accelerated driver in Ubuntu on my Toshiba Laptop