2011
04.26

在GRUB4DOS引导,硬盘安装ubuntu 10.10-desktop-i386【图】的操作完成后。硬盘的分区情况发生了变化。

本次硬盘大小为80G,分区结构如下:
(注意:此次没有分配主分区,全部采用逻辑分区,新分区的位置均为“起始”)
/dev/sda6     ext4     /boot 1999MB   (输入的值是2000MB)
/dev/sda7     ext4     /home 9999MB   (输入的值是10000MB)
/dev/sda8     ext4     /tmp 2998MB   (输入的值是3000MB)
/dev/sda9     ext4     /var 5998MB   (输入的值是6000MB)
/dev/sda10   ext4    /liunix.org 9999MB (输入的值是10000MB)
/dev/sda11   swap   1998MB  (输入的值是2000MB)
/dev/sda12   ext4    / 35697MB(所有剩余空间都划分给了/)

在DiskGenius中,显示如下:

ubuntu安装完成后的磁盘分区情况

在GRUB4DOS 0.4.4的命令行输入uuid后,显示的硬盘分区信息如下:

GRUB4DOS_UUID

GRUB4DOS_UUID

登录刚刚安装的ubuntu 10.10-desktop-i386,运行“应用程序”->“附件”->“终端”,在终端命令窗口中,输入 sudo fdisk -l
显示以下信息:
Disk /dev/sda: 85.9 GB, 85899345920 bytes
255 heads, 63 sectors/track, 10443 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x969f969f

Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1        1046     8401963+   c  W95 FAT32 (LBA)
/dev/sda2            1047       10444    75483030+   f  W95 Ext’d (LBA)
/dev/sda5            1047        2091     8393931    b  W95 FAT32
/dev/sda6            2092        2335     1952768   83  Linux
/dev/sda7            2335        3550     9764864   83  Linux
/dev/sda8            3551        3915     2928640   83  Linux
/dev/sda9            3915        4645     5858304   83  Linux
/dev/sda10           4645        5860     9764864   83  Linux
/dev/sda11           5861        6104     1951744   82  Linux swap / Solaris
/dev/sda12           6104       10444    34861056   83  Linux

 

以下是/etc/fstab文件的内容。

# /etc/fstab: static file system information.
#
# Use ‘blkid -o value -s UUID’ to print the universally unique identifier
# for a device; this may be used with UUID= as a more robust way to name
# devices that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    nodev,noexec,nosuid 0       0
# / was on /dev/sda12 during installation
UUID=3cc1ffdf-d8f9-4d70-afe5-80a7e9a6fa42 /               ext4    errors=remount-ro 0       1
# /boot was on /dev/sda6 during installation
UUID=cb33d846-6749-4c64-a0fd-a4ab3025a7af /boot           ext4    defaults        0       2
# /home was on /dev/sda7 during installation
UUID=553ddfae-8bc6-4af7-9f9d-dd4a954eed45 /home           ext4    defaults        0       2
# /liunix.org was on /dev/sda10 during installation
UUID=9eea7a74-2743-4958-8c57-2766b9e3f736 /liunix.org     ext4    defaults        0       2
# /tmp was on /dev/sda8 during installation
UUID=8d67771f-b515-4482-8340-f85d1c57f4a4 /tmp            ext4    defaults        0       2
# /var was on /dev/sda9 during installation
UUID=d3f553a1-9248-410b-8a22-568d0fa374ee /var            ext4    defaults        0       2
# swap was on /dev/sda11 during installation
UUID=a4d2db56-032e-4afc-b4e9-82f34f8f4c7f none            swap    sw              0       0

 

 

原创文章,转载请注明: 转载自Liunix.Org

本文链接地址: GRUB4DOS引导,硬盘安装ubuntu 10.10-desktop-i386后磁盘分区变化详情【图】

暂无回复

添加回复