如何在全新安装的Xubuntu 12.04上安装主要的内部ext4驱动器?(宏cer c7 320GB硬盘)

罗斯曼182

首先,我是linux / ubuntu的新手。其次,我自己搜索了一种方法进行了4个小时的搜索,但无法完全找到它或找不到正确的解释方法。对于任何基本的linux / ubuntu用户,如果这是重复或难度为1/100,我深表歉意。

话虽如此,这是我的设置:我正在Acer c7 Chromebook上通过“ Crouton”与ChromeOS一起运行Xubuntu 12.04。这是昨天(是xubuntu)的全新安装。我设法弄清楚了启动器,apt-get和ppa存储库以及这些东西……大部分。我有一些基本程序-FireFox,Skype,VLC,Audacious和qBittorrent。因此,现在我准备下载一些视频和音乐,然后我就解决了问题。

问题是我(非常)很快就用完了空间(剩余660 MB)。问题是这是一个320 GB的HDD,我的台式机上有一个311 GB的灰色驱动器。当我尝试右键单击并安装时,我得到以下信息:

http://i.imgur.com/sZCE3ha.png
点击查看大图。

So I went in sudo fdisk -l and it promptly told me that /dev/sda was a GPT and fdisk could not format it, and I needed to get GNU Parted. So I tried simply "sudo apt-get install parted" and sure enough it grabbed GNU Parted 2.3. Here is what (parted) print returned for me:

http://i.imgur.com/kobf0gH.png
Click for large size.

So my question is how can I get this 311 GB of space working for me as storage? To be clear it's just a partition on my internal 320 GB HDD that came with my Acer c7 chromebook. Do I need to mount it somehow or could I somehow change one of the other existing partitions to just be bigger?

Again I apologize for my level of noviceness and any help is much appreciated!

don.joey

For a partition or internal hard disk to be accessible in ubuntu it has to be 'mounted'. You can mount partitions manually or automatically.

To mount them manually:

  1. Find out the name of the partition you want to mount. I find it easy to use gparted sudo apt-get install gparted). You can run sudo gparted in the commandline. Be careful not to mess anything up. Then you write down the name of the partition you want to mount (for instance sda2).

  2. Now you need to create a mounting point. That is a point in your filesystem at which the partition will be accessible. It is not actually at that point, it just accessible at that point. You can create a directory for this. For instance, mkdir /media/extra_drive. Usually you would make this in the media directory which is also where usb sticks will be mounted. Media is usually used for mounts for a particular user (not systemwide, then you'd use mnt).

  3. Now you can mount the partition using

      sudo mount /dev/sda2 /media/extra_drive
    
  4. This can be unmounted manually using sudo umount /media/extra_drive. The mount is not boot-persistent and you will have to do it on each reboot.

Mounting it on every boot is not handy, therefore you should mount it automatically. To mount it automatically on each boot you have to add it to your fstab file. There is a nice wiki for that, so I will not repeat all the info here unless it is unclear. Essentially you find the UUID (ls -al /dev/disk/by-uuid/) and then do the following:

  1. Duplicate your fstab file:

     sudo cp /etc/fstab /etc/fstab.$(date +%Y-%m-%d)
    
  2. Compare the two files to confirm the backup matches the original:

     cmp /etc/fstab /etc/fstab.$(date +%Y-%m-%d)
    
  3. Open the original fstab in a text editor:

     gksu gedit /etc/fstab 
    

and add these lines into it

    # (identifier)  (location, eg sda5)   (format, eg ext3 or ext4)      (some settings) 
    UUID=????????   /media/dir_of_your_choice    ext4          defaults       0       2 

不管是手动还是自动安装,这样的分区都不会将其自身添加到主文件夹中(因此,其空间仍然很低)。因此,如果您希望像现在这样进行操作,则必须手动将文件放在该分区上。更好的办法是为/home目录提供自己的分区。有关更多信息(需要一些阅读和工作),请参见。这个不错的维基页面根据您的主分区的大小,+-300GB分区将构成一个不错的主文件夹。主文件夹的最大优点是您可以重新安装ubuntu而不会丢失文件(如果您知道自己在做什么,并且可以进行安装,这样就不会破坏主分区)。

本文收集自互联网,转载请注明来源。

如有侵权,请联系[email protected] 删除。

编辑于
0

我来说两句

0条评论
登录后参与评论

相关文章

来自分类Dev

如何在全新安装的Xubuntu 12.04上安装主要的内部ext4驱动器?(宏cer c7 320GB硬盘)

来自分类Dev

如何在新的硬盘驱动器(SSD)中重新安装我的正版Windows 7?

来自分类Dev

无法在运行ChrUbuntu 12.04的Acer C7 Chromebook上安装3.4 Linux标头

来自分类Dev

硬盘故障?希捷320GB

来自分类Dev

如何在单独的硬盘和ubuntu上的单独驱动器上安装Windows 7?

来自分类Dev

我的320Gb USB驱动器上的65537个坏扇区。真的死了吗?

来自分类Dev

Windows 7全新安装在我的SSD上占用71.6GB

来自分类Dev

全新安装Server 2003,未找到硬盘驱动器

来自分类Dev

如何在USB驱动器ext4分区上安装Ubuntu?

来自分类Dev

如何在全新格式化的硬盘中安装Windows?

来自分类Dev

如何在Windows 7中通过双启动在单独的硬盘驱动器上安装Ubuntu?

来自分类Dev

如何启动UEFI系统的硬盘驱动器上已安装的Windows 7

来自分类Dev

如何确定Windows 10是全新安装还是从7/8升级?

来自分类Dev

如何在新的4 TB硬盘驱动器上安装17.04?

来自分类Dev

没有第二块硬盘,Windows 7全新安装将无法启动,缺少启动分区?

来自分类Dev

全新安装13.10后,gparted中的硬盘已用完

来自分类Dev

全新安装13.10后,gparted中的硬盘已用完

来自分类Dev

在内部驱动器和500 GB外部驱动器中安装Windows 8-30 GB C驱动器

来自分类Dev

如何在 Ubuntu 18.04 服务器的全新安装上安装 PHP-FPM

来自分类Dev

如何进行Yeoman的全新安装?

来自分类Dev

如何进行全新安装 20.04

来自分类Dev

如何使用内部硬盘驱动器安装linux?

来自分类Dev

在第二个硬盘驱动器上安装Win 7 over XP

来自分类Dev

全新安装Win 7后没有可用的Wifi

来自分类Dev

全新安装Windows 7而不删除现有文件

来自分类Dev

使用Windows 7 RTM升级进行全新安装

来自分类Dev

Windows 7-蓝屏,全新安装,损坏的下载

来自分类Dev

将Ubuntu安装到外部安装的内部硬盘驱动器上

来自分类Dev

Windows 7全新安装在重新启动后损坏(重复了许多新安装)

Related 相关文章

  1. 1

    如何在全新安装的Xubuntu 12.04上安装主要的内部ext4驱动器?(宏cer c7 320GB硬盘)

  2. 2

    如何在新的硬盘驱动器(SSD)中重新安装我的正版Windows 7?

  3. 3

    无法在运行ChrUbuntu 12.04的Acer C7 Chromebook上安装3.4 Linux标头

  4. 4

    硬盘故障?希捷320GB

  5. 5

    如何在单独的硬盘和ubuntu上的单独驱动器上安装Windows 7?

  6. 6

    我的320Gb USB驱动器上的65537个坏扇区。真的死了吗?

  7. 7

    Windows 7全新安装在我的SSD上占用71.6GB

  8. 8

    全新安装Server 2003,未找到硬盘驱动器

  9. 9

    如何在USB驱动器ext4分区上安装Ubuntu?

  10. 10

    如何在全新格式化的硬盘中安装Windows?

  11. 11

    如何在Windows 7中通过双启动在单独的硬盘驱动器上安装Ubuntu?

  12. 12

    如何启动UEFI系统的硬盘驱动器上已安装的Windows 7

  13. 13

    如何确定Windows 10是全新安装还是从7/8升级?

  14. 14

    如何在新的4 TB硬盘驱动器上安装17.04?

  15. 15

    没有第二块硬盘,Windows 7全新安装将无法启动,缺少启动分区?

  16. 16

    全新安装13.10后,gparted中的硬盘已用完

  17. 17

    全新安装13.10后,gparted中的硬盘已用完

  18. 18

    在内部驱动器和500 GB外部驱动器中安装Windows 8-30 GB C驱动器

  19. 19

    如何在 Ubuntu 18.04 服务器的全新安装上安装 PHP-FPM

  20. 20

    如何进行Yeoman的全新安装?

  21. 21

    如何进行全新安装 20.04

  22. 22

    如何使用内部硬盘驱动器安装linux?

  23. 23

    在第二个硬盘驱动器上安装Win 7 over XP

  24. 24

    全新安装Win 7后没有可用的Wifi

  25. 25

    全新安装Windows 7而不删除现有文件

  26. 26

    使用Windows 7 RTM升级进行全新安装

  27. 27

    Windows 7-蓝屏,全新安装,损坏的下载

  28. 28

    将Ubuntu安装到外部安装的内部硬盘驱动器上

  29. 29

    Windows 7全新安装在重新启动后损坏(重复了许多新安装)

热门标签

归档