How to combine separate partitions created by initial install of kubuntu
I'm a newbie to linux. I'm still trying to figure things out. I ditched Windows 8.1 after their free upgrade to Windows 10.
I used gparted live to delete the partitions of the disk (500gb hitachi HDD) then partitioned and formatted the hdd to a ext4 format. I burned the KUbuntu 15.04 iso to a DVD and booted to perform a new install. I used the non-UEFI CD drive.
During the installation of Kubuntu the installer asked me about the size of the partition. I accepted the installations default which was two partitions each at approx 230 GB.
I thought it would be like in Windows where you could see two disk drives and be able to save to either one. Once I got into the new OS I can see both drives listed. When I click on the second partition I see a folder in their but cannot open the folder. I cannot add a new folder to the drive to save anything onto it. The second partition seems to have no purpose. I used gparted to see the partitions and it lists the second partition as an extended partition. It shows approx 10 gb used on that partition.
Now that I have everything setup the way I like it (took several hours) I would rather not start over to get the partition size right. Is there a way to either use the second partition so I can save files to it or a way to combine both partitions together without losing anything? Of course I would back up before I would do anything just in case.
lsblk command in terminal:
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 465.8G 0 disk
├─sda1 8:1 0 235.4G 0 part /media/sesslercory/0562fcf0-4d4e-4
├─sda5 8:5 0 226.7G 0 part /
└─sda6 8:6 0 3.7G 0 part [SWAP]
sr0 11:0 1 1024M 0 rom
sudo parted -l:
Model: ATA Hitachi HTS54505 (scsi)
Disk /dev/sda: 500GB
Sector size (logical/physical): 512B/4096B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
1 1049kB 253GB 253GB primary ext4 boot
2 253GB 500GB 247GB extended
5 253GB 496GB 243GB logical ext4
6 496GB 500GB 3963MB logical linux-swap(v1)
ls -l:
drwxr-xr-x 2 sesslercory sesslercory 4096 Aug 13 19:16 Desktop
drwxr-xr-x 2 sesslercory sesslercory 4096 Aug 13 01:11 Documents
drwxr-xr-x 2 sesslercory sesslercory 4096 Aug 16 12:06 Downloads
drwxr-xr-x 2 sesslercory sesslercory 4096 Aug 13 01:11 Music
drwxr-xr-x 2 sesslercory sesslercory 4096 Aug 13 01:11 Pictures
drwxr-xr-x 2 sesslercory sesslercory 4096 Aug 13 01:11 Public
drwxr-xr-x 2 sesslercory sesslercory 4096 Aug 13 01:11 Templates
drwxr-xr-x 2 sesslercory sesslercory 4096 Aug 13 01:11 Videos
partitioning
|
show 7 more comments
I'm a newbie to linux. I'm still trying to figure things out. I ditched Windows 8.1 after their free upgrade to Windows 10.
I used gparted live to delete the partitions of the disk (500gb hitachi HDD) then partitioned and formatted the hdd to a ext4 format. I burned the KUbuntu 15.04 iso to a DVD and booted to perform a new install. I used the non-UEFI CD drive.
During the installation of Kubuntu the installer asked me about the size of the partition. I accepted the installations default which was two partitions each at approx 230 GB.
I thought it would be like in Windows where you could see two disk drives and be able to save to either one. Once I got into the new OS I can see both drives listed. When I click on the second partition I see a folder in their but cannot open the folder. I cannot add a new folder to the drive to save anything onto it. The second partition seems to have no purpose. I used gparted to see the partitions and it lists the second partition as an extended partition. It shows approx 10 gb used on that partition.
Now that I have everything setup the way I like it (took several hours) I would rather not start over to get the partition size right. Is there a way to either use the second partition so I can save files to it or a way to combine both partitions together without losing anything? Of course I would back up before I would do anything just in case.
lsblk command in terminal:
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 465.8G 0 disk
├─sda1 8:1 0 235.4G 0 part /media/sesslercory/0562fcf0-4d4e-4
├─sda5 8:5 0 226.7G 0 part /
└─sda6 8:6 0 3.7G 0 part [SWAP]
sr0 11:0 1 1024M 0 rom
sudo parted -l:
Model: ATA Hitachi HTS54505 (scsi)
Disk /dev/sda: 500GB
Sector size (logical/physical): 512B/4096B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
1 1049kB 253GB 253GB primary ext4 boot
2 253GB 500GB 247GB extended
5 253GB 496GB 243GB logical ext4
6 496GB 500GB 3963MB logical linux-swap(v1)
ls -l:
drwxr-xr-x 2 sesslercory sesslercory 4096 Aug 13 19:16 Desktop
drwxr-xr-x 2 sesslercory sesslercory 4096 Aug 13 01:11 Documents
drwxr-xr-x 2 sesslercory sesslercory 4096 Aug 16 12:06 Downloads
drwxr-xr-x 2 sesslercory sesslercory 4096 Aug 13 01:11 Music
drwxr-xr-x 2 sesslercory sesslercory 4096 Aug 13 01:11 Pictures
drwxr-xr-x 2 sesslercory sesslercory 4096 Aug 13 01:11 Public
drwxr-xr-x 2 sesslercory sesslercory 4096 Aug 13 01:11 Templates
drwxr-xr-x 2 sesslercory sesslercory 4096 Aug 13 01:11 Videos
partitioning
Please edit your question and add the output oflsblk
. Are you sure that the second partition is not used? I think your second partition is mounted in /home folder. So everything outside /home is your first partition and whatever is inside /home is your second partition. It could be pretty confusing to windows users, but I suggest reading more about it on the net.
– daltonfury42
Aug 17 '15 at 15:50
If OP cannot write to partition, I am guessing it is swap which normally in a BIOS install is a logical partition ( often sda5) inside an extended partition. Post this alsosudo parted -l
andls -l
– oldfred
Aug 17 '15 at 16:01
My guess is, when you installed Kubuntu, it saw the ext4 partition you had created and assumed that partition has another OS in it, and offered to shrink that partition to make room for Kubuntu. Since there is no OS or data in it, you can use a Live DVD/USB (Try Kubuntu without installing option) and delete the initial partition and expand the one with Kubuntu. Please edit your question and paste the output oflsblk
as others have suggested.
– user68186
Aug 17 '15 at 16:24
Thank you for all of your comments. @daltonfury42 where should I add the "lsblk" I tried to in the tags but the forum would not allow me. When you say output what does that mean ... Sorry if that's a dumb question. Also you make an interesting point about whether the partition is mounted in the home folder. I can test that by adding a sizable file to the home folder to see if that increases the usage in the partition size. I'll keep you posted.
– Cory Sessler
Aug 17 '15 at 18:06
@ user68186, thank you for your suggestion. It also makes good sense. I will see if I can edit partitions by using the live dvd. Hopefully I don't delete the wrong partition lol. I'll keep you posted on my findings. Also I am trying to figure out what you mean by "output" in this thread. Do you mean tags? For some reason the forum will not allow me to add the tag lsblk.
– Cory Sessler
Aug 17 '15 at 18:10
|
show 7 more comments
I'm a newbie to linux. I'm still trying to figure things out. I ditched Windows 8.1 after their free upgrade to Windows 10.
I used gparted live to delete the partitions of the disk (500gb hitachi HDD) then partitioned and formatted the hdd to a ext4 format. I burned the KUbuntu 15.04 iso to a DVD and booted to perform a new install. I used the non-UEFI CD drive.
During the installation of Kubuntu the installer asked me about the size of the partition. I accepted the installations default which was two partitions each at approx 230 GB.
I thought it would be like in Windows where you could see two disk drives and be able to save to either one. Once I got into the new OS I can see both drives listed. When I click on the second partition I see a folder in their but cannot open the folder. I cannot add a new folder to the drive to save anything onto it. The second partition seems to have no purpose. I used gparted to see the partitions and it lists the second partition as an extended partition. It shows approx 10 gb used on that partition.
Now that I have everything setup the way I like it (took several hours) I would rather not start over to get the partition size right. Is there a way to either use the second partition so I can save files to it or a way to combine both partitions together without losing anything? Of course I would back up before I would do anything just in case.
lsblk command in terminal:
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 465.8G 0 disk
├─sda1 8:1 0 235.4G 0 part /media/sesslercory/0562fcf0-4d4e-4
├─sda5 8:5 0 226.7G 0 part /
└─sda6 8:6 0 3.7G 0 part [SWAP]
sr0 11:0 1 1024M 0 rom
sudo parted -l:
Model: ATA Hitachi HTS54505 (scsi)
Disk /dev/sda: 500GB
Sector size (logical/physical): 512B/4096B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
1 1049kB 253GB 253GB primary ext4 boot
2 253GB 500GB 247GB extended
5 253GB 496GB 243GB logical ext4
6 496GB 500GB 3963MB logical linux-swap(v1)
ls -l:
drwxr-xr-x 2 sesslercory sesslercory 4096 Aug 13 19:16 Desktop
drwxr-xr-x 2 sesslercory sesslercory 4096 Aug 13 01:11 Documents
drwxr-xr-x 2 sesslercory sesslercory 4096 Aug 16 12:06 Downloads
drwxr-xr-x 2 sesslercory sesslercory 4096 Aug 13 01:11 Music
drwxr-xr-x 2 sesslercory sesslercory 4096 Aug 13 01:11 Pictures
drwxr-xr-x 2 sesslercory sesslercory 4096 Aug 13 01:11 Public
drwxr-xr-x 2 sesslercory sesslercory 4096 Aug 13 01:11 Templates
drwxr-xr-x 2 sesslercory sesslercory 4096 Aug 13 01:11 Videos
partitioning
I'm a newbie to linux. I'm still trying to figure things out. I ditched Windows 8.1 after their free upgrade to Windows 10.
I used gparted live to delete the partitions of the disk (500gb hitachi HDD) then partitioned and formatted the hdd to a ext4 format. I burned the KUbuntu 15.04 iso to a DVD and booted to perform a new install. I used the non-UEFI CD drive.
During the installation of Kubuntu the installer asked me about the size of the partition. I accepted the installations default which was two partitions each at approx 230 GB.
I thought it would be like in Windows where you could see two disk drives and be able to save to either one. Once I got into the new OS I can see both drives listed. When I click on the second partition I see a folder in their but cannot open the folder. I cannot add a new folder to the drive to save anything onto it. The second partition seems to have no purpose. I used gparted to see the partitions and it lists the second partition as an extended partition. It shows approx 10 gb used on that partition.
Now that I have everything setup the way I like it (took several hours) I would rather not start over to get the partition size right. Is there a way to either use the second partition so I can save files to it or a way to combine both partitions together without losing anything? Of course I would back up before I would do anything just in case.
lsblk command in terminal:
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 465.8G 0 disk
├─sda1 8:1 0 235.4G 0 part /media/sesslercory/0562fcf0-4d4e-4
├─sda5 8:5 0 226.7G 0 part /
└─sda6 8:6 0 3.7G 0 part [SWAP]
sr0 11:0 1 1024M 0 rom
sudo parted -l:
Model: ATA Hitachi HTS54505 (scsi)
Disk /dev/sda: 500GB
Sector size (logical/physical): 512B/4096B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
1 1049kB 253GB 253GB primary ext4 boot
2 253GB 500GB 247GB extended
5 253GB 496GB 243GB logical ext4
6 496GB 500GB 3963MB logical linux-swap(v1)
ls -l:
drwxr-xr-x 2 sesslercory sesslercory 4096 Aug 13 19:16 Desktop
drwxr-xr-x 2 sesslercory sesslercory 4096 Aug 13 01:11 Documents
drwxr-xr-x 2 sesslercory sesslercory 4096 Aug 16 12:06 Downloads
drwxr-xr-x 2 sesslercory sesslercory 4096 Aug 13 01:11 Music
drwxr-xr-x 2 sesslercory sesslercory 4096 Aug 13 01:11 Pictures
drwxr-xr-x 2 sesslercory sesslercory 4096 Aug 13 01:11 Public
drwxr-xr-x 2 sesslercory sesslercory 4096 Aug 13 01:11 Templates
drwxr-xr-x 2 sesslercory sesslercory 4096 Aug 13 01:11 Videos
partitioning
partitioning
edited Feb 5 at 22:06
FrustratedWithFormsDesigner
143210
143210
asked Aug 17 '15 at 15:35
Cory SesslerCory Sessler
133
133
Please edit your question and add the output oflsblk
. Are you sure that the second partition is not used? I think your second partition is mounted in /home folder. So everything outside /home is your first partition and whatever is inside /home is your second partition. It could be pretty confusing to windows users, but I suggest reading more about it on the net.
– daltonfury42
Aug 17 '15 at 15:50
If OP cannot write to partition, I am guessing it is swap which normally in a BIOS install is a logical partition ( often sda5) inside an extended partition. Post this alsosudo parted -l
andls -l
– oldfred
Aug 17 '15 at 16:01
My guess is, when you installed Kubuntu, it saw the ext4 partition you had created and assumed that partition has another OS in it, and offered to shrink that partition to make room for Kubuntu. Since there is no OS or data in it, you can use a Live DVD/USB (Try Kubuntu without installing option) and delete the initial partition and expand the one with Kubuntu. Please edit your question and paste the output oflsblk
as others have suggested.
– user68186
Aug 17 '15 at 16:24
Thank you for all of your comments. @daltonfury42 where should I add the "lsblk" I tried to in the tags but the forum would not allow me. When you say output what does that mean ... Sorry if that's a dumb question. Also you make an interesting point about whether the partition is mounted in the home folder. I can test that by adding a sizable file to the home folder to see if that increases the usage in the partition size. I'll keep you posted.
– Cory Sessler
Aug 17 '15 at 18:06
@ user68186, thank you for your suggestion. It also makes good sense. I will see if I can edit partitions by using the live dvd. Hopefully I don't delete the wrong partition lol. I'll keep you posted on my findings. Also I am trying to figure out what you mean by "output" in this thread. Do you mean tags? For some reason the forum will not allow me to add the tag lsblk.
– Cory Sessler
Aug 17 '15 at 18:10
|
show 7 more comments
Please edit your question and add the output oflsblk
. Are you sure that the second partition is not used? I think your second partition is mounted in /home folder. So everything outside /home is your first partition and whatever is inside /home is your second partition. It could be pretty confusing to windows users, but I suggest reading more about it on the net.
– daltonfury42
Aug 17 '15 at 15:50
If OP cannot write to partition, I am guessing it is swap which normally in a BIOS install is a logical partition ( often sda5) inside an extended partition. Post this alsosudo parted -l
andls -l
– oldfred
Aug 17 '15 at 16:01
My guess is, when you installed Kubuntu, it saw the ext4 partition you had created and assumed that partition has another OS in it, and offered to shrink that partition to make room for Kubuntu. Since there is no OS or data in it, you can use a Live DVD/USB (Try Kubuntu without installing option) and delete the initial partition and expand the one with Kubuntu. Please edit your question and paste the output oflsblk
as others have suggested.
– user68186
Aug 17 '15 at 16:24
Thank you for all of your comments. @daltonfury42 where should I add the "lsblk" I tried to in the tags but the forum would not allow me. When you say output what does that mean ... Sorry if that's a dumb question. Also you make an interesting point about whether the partition is mounted in the home folder. I can test that by adding a sizable file to the home folder to see if that increases the usage in the partition size. I'll keep you posted.
– Cory Sessler
Aug 17 '15 at 18:06
@ user68186, thank you for your suggestion. It also makes good sense. I will see if I can edit partitions by using the live dvd. Hopefully I don't delete the wrong partition lol. I'll keep you posted on my findings. Also I am trying to figure out what you mean by "output" in this thread. Do you mean tags? For some reason the forum will not allow me to add the tag lsblk.
– Cory Sessler
Aug 17 '15 at 18:10
Please edit your question and add the output of
lsblk
. Are you sure that the second partition is not used? I think your second partition is mounted in /home folder. So everything outside /home is your first partition and whatever is inside /home is your second partition. It could be pretty confusing to windows users, but I suggest reading more about it on the net.– daltonfury42
Aug 17 '15 at 15:50
Please edit your question and add the output of
lsblk
. Are you sure that the second partition is not used? I think your second partition is mounted in /home folder. So everything outside /home is your first partition and whatever is inside /home is your second partition. It could be pretty confusing to windows users, but I suggest reading more about it on the net.– daltonfury42
Aug 17 '15 at 15:50
If OP cannot write to partition, I am guessing it is swap which normally in a BIOS install is a logical partition ( often sda5) inside an extended partition. Post this also
sudo parted -l
and ls -l
– oldfred
Aug 17 '15 at 16:01
If OP cannot write to partition, I am guessing it is swap which normally in a BIOS install is a logical partition ( often sda5) inside an extended partition. Post this also
sudo parted -l
and ls -l
– oldfred
Aug 17 '15 at 16:01
My guess is, when you installed Kubuntu, it saw the ext4 partition you had created and assumed that partition has another OS in it, and offered to shrink that partition to make room for Kubuntu. Since there is no OS or data in it, you can use a Live DVD/USB (Try Kubuntu without installing option) and delete the initial partition and expand the one with Kubuntu. Please edit your question and paste the output of
lsblk
as others have suggested.– user68186
Aug 17 '15 at 16:24
My guess is, when you installed Kubuntu, it saw the ext4 partition you had created and assumed that partition has another OS in it, and offered to shrink that partition to make room for Kubuntu. Since there is no OS or data in it, you can use a Live DVD/USB (Try Kubuntu without installing option) and delete the initial partition and expand the one with Kubuntu. Please edit your question and paste the output of
lsblk
as others have suggested.– user68186
Aug 17 '15 at 16:24
Thank you for all of your comments. @daltonfury42 where should I add the "lsblk" I tried to in the tags but the forum would not allow me. When you say output what does that mean ... Sorry if that's a dumb question. Also you make an interesting point about whether the partition is mounted in the home folder. I can test that by adding a sizable file to the home folder to see if that increases the usage in the partition size. I'll keep you posted.
– Cory Sessler
Aug 17 '15 at 18:06
Thank you for all of your comments. @daltonfury42 where should I add the "lsblk" I tried to in the tags but the forum would not allow me. When you say output what does that mean ... Sorry if that's a dumb question. Also you make an interesting point about whether the partition is mounted in the home folder. I can test that by adding a sizable file to the home folder to see if that increases the usage in the partition size. I'll keep you posted.
– Cory Sessler
Aug 17 '15 at 18:06
@ user68186, thank you for your suggestion. It also makes good sense. I will see if I can edit partitions by using the live dvd. Hopefully I don't delete the wrong partition lol. I'll keep you posted on my findings. Also I am trying to figure out what you mean by "output" in this thread. Do you mean tags? For some reason the forum will not allow me to add the tag lsblk.
– Cory Sessler
Aug 17 '15 at 18:10
@ user68186, thank you for your suggestion. It also makes good sense. I will see if I can edit partitions by using the live dvd. Hopefully I don't delete the wrong partition lol. I'll keep you posted on my findings. Also I am trying to figure out what you mean by "output" in this thread. Do you mean tags? For some reason the forum will not allow me to add the tag lsblk.
– Cory Sessler
Aug 17 '15 at 18:10
|
show 7 more comments
1 Answer
1
active
oldest
votes
Open the other partition in the file browser and press ctrl+L
. You will be shown a path. Copy it. Then open a terminal and enter
cd "[whatever path]"
Where [whatever path]
is the path you copied. Keep the quotes. They don't do any harm and make things easier if there are spaces or some other characters in the path. This will set your location in the current terminal to the mount point of your second partition.
Then enter these commands:
sudo chown -R [your user name] .
sudo chmod -R 777 .
sudo chown -R root "lost+found"
sudo chmod -R 700 "lost+found"
This will set the rights the way you want them to be. The first command makes you the owner of everything on the partition. The second command gives you all rights to it, but also every other user of the computer, in case you want to have several accounts and share files this way. If you don't want to do so, change 777
to 700
(others can't do anything) or to 722
(others can only read). The last 2 commands set everything back to the previous state for the (hidden) folder "lost+found" which is a special folder which you probably never will not have to use.
YES that worked! Wow that's crazy ... Thank you so much :) Amazing! Now I can create folders and use the space. This really makes me wonder why I didn't switch to linux years ago! What support :)
– Cory Sessler
Aug 18 '15 at 5:01
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f662597%2fhow-to-combine-separate-partitions-created-by-initial-install-of-kubuntu%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Open the other partition in the file browser and press ctrl+L
. You will be shown a path. Copy it. Then open a terminal and enter
cd "[whatever path]"
Where [whatever path]
is the path you copied. Keep the quotes. They don't do any harm and make things easier if there are spaces or some other characters in the path. This will set your location in the current terminal to the mount point of your second partition.
Then enter these commands:
sudo chown -R [your user name] .
sudo chmod -R 777 .
sudo chown -R root "lost+found"
sudo chmod -R 700 "lost+found"
This will set the rights the way you want them to be. The first command makes you the owner of everything on the partition. The second command gives you all rights to it, but also every other user of the computer, in case you want to have several accounts and share files this way. If you don't want to do so, change 777
to 700
(others can't do anything) or to 722
(others can only read). The last 2 commands set everything back to the previous state for the (hidden) folder "lost+found" which is a special folder which you probably never will not have to use.
YES that worked! Wow that's crazy ... Thank you so much :) Amazing! Now I can create folders and use the space. This really makes me wonder why I didn't switch to linux years ago! What support :)
– Cory Sessler
Aug 18 '15 at 5:01
add a comment |
Open the other partition in the file browser and press ctrl+L
. You will be shown a path. Copy it. Then open a terminal and enter
cd "[whatever path]"
Where [whatever path]
is the path you copied. Keep the quotes. They don't do any harm and make things easier if there are spaces or some other characters in the path. This will set your location in the current terminal to the mount point of your second partition.
Then enter these commands:
sudo chown -R [your user name] .
sudo chmod -R 777 .
sudo chown -R root "lost+found"
sudo chmod -R 700 "lost+found"
This will set the rights the way you want them to be. The first command makes you the owner of everything on the partition. The second command gives you all rights to it, but also every other user of the computer, in case you want to have several accounts and share files this way. If you don't want to do so, change 777
to 700
(others can't do anything) or to 722
(others can only read). The last 2 commands set everything back to the previous state for the (hidden) folder "lost+found" which is a special folder which you probably never will not have to use.
YES that worked! Wow that's crazy ... Thank you so much :) Amazing! Now I can create folders and use the space. This really makes me wonder why I didn't switch to linux years ago! What support :)
– Cory Sessler
Aug 18 '15 at 5:01
add a comment |
Open the other partition in the file browser and press ctrl+L
. You will be shown a path. Copy it. Then open a terminal and enter
cd "[whatever path]"
Where [whatever path]
is the path you copied. Keep the quotes. They don't do any harm and make things easier if there are spaces or some other characters in the path. This will set your location in the current terminal to the mount point of your second partition.
Then enter these commands:
sudo chown -R [your user name] .
sudo chmod -R 777 .
sudo chown -R root "lost+found"
sudo chmod -R 700 "lost+found"
This will set the rights the way you want them to be. The first command makes you the owner of everything on the partition. The second command gives you all rights to it, but also every other user of the computer, in case you want to have several accounts and share files this way. If you don't want to do so, change 777
to 700
(others can't do anything) or to 722
(others can only read). The last 2 commands set everything back to the previous state for the (hidden) folder "lost+found" which is a special folder which you probably never will not have to use.
Open the other partition in the file browser and press ctrl+L
. You will be shown a path. Copy it. Then open a terminal and enter
cd "[whatever path]"
Where [whatever path]
is the path you copied. Keep the quotes. They don't do any harm and make things easier if there are spaces or some other characters in the path. This will set your location in the current terminal to the mount point of your second partition.
Then enter these commands:
sudo chown -R [your user name] .
sudo chmod -R 777 .
sudo chown -R root "lost+found"
sudo chmod -R 700 "lost+found"
This will set the rights the way you want them to be. The first command makes you the owner of everything on the partition. The second command gives you all rights to it, but also every other user of the computer, in case you want to have several accounts and share files this way. If you don't want to do so, change 777
to 700
(others can't do anything) or to 722
(others can only read). The last 2 commands set everything back to the previous state for the (hidden) folder "lost+found" which is a special folder which you probably never will not have to use.
edited Sep 3 '15 at 20:20
answered Aug 18 '15 at 3:58
UTF-8UTF-8
3,71852151
3,71852151
YES that worked! Wow that's crazy ... Thank you so much :) Amazing! Now I can create folders and use the space. This really makes me wonder why I didn't switch to linux years ago! What support :)
– Cory Sessler
Aug 18 '15 at 5:01
add a comment |
YES that worked! Wow that's crazy ... Thank you so much :) Amazing! Now I can create folders and use the space. This really makes me wonder why I didn't switch to linux years ago! What support :)
– Cory Sessler
Aug 18 '15 at 5:01
YES that worked! Wow that's crazy ... Thank you so much :) Amazing! Now I can create folders and use the space. This really makes me wonder why I didn't switch to linux years ago! What support :)
– Cory Sessler
Aug 18 '15 at 5:01
YES that worked! Wow that's crazy ... Thank you so much :) Amazing! Now I can create folders and use the space. This really makes me wonder why I didn't switch to linux years ago! What support :)
– Cory Sessler
Aug 18 '15 at 5:01
add a comment |
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f662597%2fhow-to-combine-separate-partitions-created-by-initial-install-of-kubuntu%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Please edit your question and add the output of
lsblk
. Are you sure that the second partition is not used? I think your second partition is mounted in /home folder. So everything outside /home is your first partition and whatever is inside /home is your second partition. It could be pretty confusing to windows users, but I suggest reading more about it on the net.– daltonfury42
Aug 17 '15 at 15:50
If OP cannot write to partition, I am guessing it is swap which normally in a BIOS install is a logical partition ( often sda5) inside an extended partition. Post this also
sudo parted -l
andls -l
– oldfred
Aug 17 '15 at 16:01
My guess is, when you installed Kubuntu, it saw the ext4 partition you had created and assumed that partition has another OS in it, and offered to shrink that partition to make room for Kubuntu. Since there is no OS or data in it, you can use a Live DVD/USB (Try Kubuntu without installing option) and delete the initial partition and expand the one with Kubuntu. Please edit your question and paste the output of
lsblk
as others have suggested.– user68186
Aug 17 '15 at 16:24
Thank you for all of your comments. @daltonfury42 where should I add the "lsblk" I tried to in the tags but the forum would not allow me. When you say output what does that mean ... Sorry if that's a dumb question. Also you make an interesting point about whether the partition is mounted in the home folder. I can test that by adding a sizable file to the home folder to see if that increases the usage in the partition size. I'll keep you posted.
– Cory Sessler
Aug 17 '15 at 18:06
@ user68186, thank you for your suggestion. It also makes good sense. I will see if I can edit partitions by using the live dvd. Hopefully I don't delete the wrong partition lol. I'll keep you posted on my findings. Also I am trying to figure out what you mean by "output" in this thread. Do you mean tags? For some reason the forum will not allow me to add the tag lsblk.
– Cory Sessler
Aug 17 '15 at 18:10