LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-05-2018, 09:06 PM   #16
jimithy
LQ Newbie
 
Registered: Oct 2018
Posts: 10

Original Poster
Rep: Reputation: Disabled

Cancel message...Re entered below.

Last edited by jimithy; 10-05-2018 at 11:44 PM. Reason: Mistake in terminal
 
Old 10-05-2018, 10:05 PM   #17
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 18,138

Rep: Reputation: 2935Reputation: 2935Reputation: 2935Reputation: 2935Reputation: 2935Reputation: 2935Reputation: 2935Reputation: 2935Reputation: 2935Reputation: 2935Reputation: 2935
You misspelled that first command:
Code:
lsblk -f
We appear to be missing some data from that parted listing. If you run both commands again, highlight the output with the mouse and then go up to the menu entries at the top and you should be able to copy it to the clipboard (else use <Ctrl>-<Shift>-<c> key combination - all three keys at once). Then you can paste the output here.
 
1 members found this post helpful.
Old 10-05-2018, 11:41 PM   #18
jimithy
LQ Newbie
 
Registered: Oct 2018
Posts: 10

Original Poster
Rep: Reputation: Disabled
I made a mistake above below is corrected Terminal command

Found in KDE
KDE "K" Icon... Applications, System, Partition Editor:
/dev/sda1 fat32 "locked" /boot/efi
/dev/sda2 ext4 31.43g
/dev/sda3 Linuxswap "locked" 3.47g
/dev/sda4 ext4 26.96g
/dev/sda5 ext4 267.07g
/dev/sda6 ext4 "locked" 23.35g

Got it this time thank you !!!

And need to make a backup :-(

In Terminal


In Terminal
m@jim-HP-Pavilion-g6-Notebook-PC:~$ lsblk -f
NAME FSTYPE LABEL MOUNTPOINT
sda
├─sda1 /boot/efi
├─sda2
├─sda3 [SWAP]
├─sda4
├─sda5
└─sda6 /
jim@jim-HP-Pavilion-g6-Notebook-PC:~$ sudo parted /dev/sda "print free"
[sudo] password
Model: ATA KINGSTON SV300S3 (scsi)
Disk /dev/sda: 120GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt

Number Start End Size File system Name Flags
17.4kB 1049kB 1031kB Free Space
1 1049kB 538MB 537MB fat32 boot
2 538MB 34.3GB 33.7GB ext4
34.3GB 34.3GB 811kB Free Space
5 34.3GB 62.3GB 28.0GB ext4
4 62.3GB 91.2GB 29.0GB ext4
91.2GB 91.2GB 528kB Free Space
6 91.2GB 116GB 25.1GB ext4
3 116GB 120GB 3726MB linux-swap(v1)
120GB 120GB 466kB Free Space

Last edited by jimithy; 10-05-2018 at 11:46 PM.
 
Old 10-06-2018, 01:07 AM   #19
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 18,138

Rep: Reputation: 2935Reputation: 2935Reputation: 2935Reputation: 2935Reputation: 2935Reputation: 2935Reputation: 2935Reputation: 2935Reputation: 2935Reputation: 2935Reputation: 2935
So, as you suggested it looks like you can't "reach" 2/3 of that space. You need to delete unwanted partitions then expand your root partition, currently /dev/sda6. So I would delete /dev/sda{2,4,5} then add all that space to your root.
This is only safely done from a liveUSB - either the Ubuntu install USB, or download gparted. here is a link to what you need to do. You are fortunate thaat the swap is out of the way and won't interfere.

External disks are cheap - make sure you get a backup first.
 
1 members found this post helpful.
Old 10-06-2018, 06:37 PM   #20
jimithy
LQ Newbie
 
Registered: Oct 2018
Posts: 10

Original Poster
Rep: Reputation: Disabled
Can I clear and use this Win 8 HDD as a backup ? Or buy a new one ?

Hi,
So much information its like trying to drink from a fire hose :-)
Pls have patience with me.
In trying to clone my SSD sda into a HDD sdb in order to make a backup, as recommended
and here is what it looks like.

The 700g HDD sdb in the USB port has Windows 8 installed and not needed.
The 120g SSD sda installed in the laptop is near max capacity.

Can the HDD be used as a Ubuntu backup ? And can I clear it or what ?

SSD = sda, HDD = sdb
jim@jim-HP-Pavilion-g6-Notebook-PC:~$ lsblk -f
NAME FSTYPE LABEL MOUNTPOINT
sda
├─sda1 /boot/efi
├─sda2
├─sda3 [SWAP]
├─sda4
├─sda5
└─sda6 /
sdb
├─sdb1
├─sdb2
├─sdb3
├─sdb4
└─sdb5
jim@jim-HP-Pavilion-g6-Notebook-PC:~$ sudo parted /dev/sda "print free"
[sudo] password for jim:
Model: ATA KINGSTON SV300S3 (scsi)
Disk /dev/sda: 120GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt

/sda SSD installed
Number Start End Size File system Name Flags
17.4kB 1049kB 1031kB Free Space
1 1049kB 538MB 537MB fat32 boot
2 538MB 34.3GB 33.7GB ext4
34.3GB 34.3GB 811kB Free Space
5 34.3GB 62.3GB 28.0GB ext4
4 62.3GB 91.2GB 29.0GB ext4
91.2GB 91.2GB 528kB Free Space
6 91.2GB 116GB 25.1GB ext4
3 116GB 120GB 3726MB linux-swap(v1)
120GB 120GB 466kB Free Space

jim@jim-HP-Pavilion-g6-Notebook-PC:~$ sudo parted /dev/sdb "print free"
Model: Kingston SNA-DC/U (scsi)
Disk /dev/sdb: 750GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt

/sdb HDD in USB port
Number Start End Size File system Name Flags
17.4kB 1049kB 1031kB Free Space
1 1049kB 420MB 419MB ntfs Basic data partition hidden, diag
2 420MB 693MB 273MB fat32 EFI system partition boot
3 693MB 827MB 134MB Microsoft reserved partition msftres
4 827MB 723GB 722GB ntfs Basic data partition msftdata
5 723GB 750GB 27.2GB ntfs Basic data partition hidden, msftdata
750GB 750GB 892kB Free Space

jim@jim-HP-Pavilion-g6-Notebook-PC:~$
 
Old 10-06-2018, 07:07 PM   #21
jimithy
LQ Newbie
 
Registered: Oct 2018
Posts: 10

Original Poster
Rep: Reputation: Disabled
Reading about clearing the Win HDD and it's too complicated.
Going to buy a new 250g SSD now.
But still interested in getting rid of unused partitions in the
current SSD.

Thanks,
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Removing Partitions from a SSD Asus EEE laptop mickeyboa Fedora 2 03-08-2017 02:49 PM
Cloning SSD vs HDD with DD replica9000 Linux - Software 13 12-16-2016 08:08 PM
Cloning HDD install to SSD Condemn Slackware 1 02-14-2014 07:58 AM
[SOLVED] SSD cloning quick question lpallard Linux - Hardware 13 02-22-2011 06:22 PM
cloning mixed Linux - Win xp on new SSD for laptop trentfox Linux - Hardware 3 02-09-2010 07:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:09 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration