LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 02-20-2018, 01:05 PM   #1
WaterCatapult
Member
 
Registered: Jan 2017
Location: Germany
Distribution: Kubuntu 20.04, openSUSE Tumbleweed, Solus
Posts: 85

Rep: Reputation: 17
Question Reinstalling Kubuntu on my X240 went wrong, how do I get the stuff on sda6 on sda5?


Hi there,

last week I had to reinstall Kubuntu16.04.3 on my X240 because I forgot the passphrase to unlock my home partition and for whatever reason also had no recovery key around.

So I lost some of my files - that's okay - but I also couldn't installing the fresh Kubuntu installation to /dev/sda5.
That's weird I thought, so I messed around with the partitions until I've got just enough space that I could install it temporary to the newly created sda6.

Now here's the thing, how do I get all the stuff moved to /dev/sda5 in order to get rid of my newly created partition, so I get more free space in return?
Attached Thumbnails
Click image for larger version

Name:	weird.png
Views:	33
Size:	74.6 KB
ID:	27042  
 
Old 02-21-2018, 06:03 AM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,694

Rep: Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894
sda5 appears to be empty. Boot the Kubuntu live disc or USB and run gparted to delete sda5 and move sda6 to the left. You can then expand it to include the unallocated space left from delete sda5.
 
1 members found this post helpful.
Old 02-21-2018, 01:33 PM   #3
WaterCatapult
Member
 
Registered: Jan 2017
Location: Germany
Distribution: Kubuntu 20.04, openSUSE Tumbleweed, Solus
Posts: 85

Original Poster
Rep: Reputation: 17
Quote:
Originally Posted by michaelk View Post
sda5 appears to be empty. Boot the Kubuntu live disc or USB and run gparted to delete sda5 and move sda6 to the left. You can then expand it to include the unallocated space left from delete sda5.
Thank you, that actually did the trick for me
Alright, I admit that I still had to deactivate the swap partition during the process but after doing as you said and after reinstalling GRUB, everything works fine again.
 
  


Reply

Tags
installation, kubuntu, partition



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Little PC Gets the Big Stuff Wrong LXer Syndicated Linux News 0 06-13-2008 05:41 PM
Reinstalling Kubuntu 8.04 remix KDE 4 sh0cker Ubuntu 1 06-05-2008 06:28 PM
contents of 'home' directory found at sda5: mounted as /home, and also on sda6:/home leswatson Linux - Newbie 4 04-18-2008 04:02 PM
Installing stuff on Ubuntu/KUbuntu FunkyChicken Linux - Software 9 03-07-2007 08:51 AM
Reinstalling grub and stuff sniff Linux - Hardware 2 03-12-2003 01:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:07 AM.

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
Open Source Consulting | Domain Registration