خرید بک لینک

I had dual boot between Windows and Ubuntu. Windows stopped working after grub update, since i am happy with ubuntu, i did not try fixing it.

Now my ubuntu installation partition is almost full, i need to free up some disk space.

Code:

root@hon-pc-01:~# df -h | grep sda
/dev/sda5       243G  205G   27G  89% /
root@hon-pc-01:~#
I deleted my windows partition

Code:

root@hon-pc-01:~# parted /dev/sda rm 2
Information: You may need to update /etc/fstab.                           

root@hon-pc-01:~# parted /dev/sda
GNU Parted 2.3
Using /dev/sda
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) print                                                            
Model: ATA ST31000528AS (scsi)
Disk /dev/sda: 1000GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number  Start  End     Size    Type      File system     Flags
 4      528GB  799GB   271GB   extended
 5      528GB  793GB   265GB   logical   ext4
 6      793GB  799GB   6433MB  logical   linux-swap(v1)
 3      799GB  1000GB  201GB   primary

(parted) print free                                                       
Model: ATA ST31000528AS (scsi)
Disk /dev/sda: 1000GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number  Start   End     Size    Type      File system     Flags
        32.3kB  528GB   528GB             Free Space
 4      528GB   799GB   271GB   extended
 5      528GB   793GB   265GB   logical   ext4
 6      793GB   799GB   6433MB  logical   linux-swap(v1)
 3      799GB   1000GB  201GB   primary
        1000GB  1000GB  2843kB            Free Space

(parted) quit                                                             
root@hon-pc-01:~#
Now disk have free space at start. Is there anyway i can get these free space used by linux installation ?

I can't boot on USB as my graphics card (GTX 750 TI) is not supported, so i get black screen on booting with USB, so can i do resize with rescue ? In that case, since no GUI, i need commands to be used to increasing partition size.

I am using Ubuntu 14.04

Code:

root@hon-pc-01:~# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 14.04.4 LTS
Release:        14.04
Codename:       trusty
root@hon-pc-01:~#
Thanks,

Boby

- - , .

برچسب: نویسنده: استخدام کار تاريخ: شنبه 8 اسفند 1394 ساعت: 15:49

صفحه بندی