Can move unallocated space to my linux partition , urgent

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
0
down vote

favorite
1












enter image description here



That's the condition of my disks seen from live ubuntu cd.



On /dev/sd8 my ubuntu os is Installed



On /dev/sd1 windows 7 is Installed.



And i want to merge the unallocated space on top of /dev/sd7 to my ubuntu partition because I'm running out of space.



I tried solutions mentioned in internet but i couldn't figure out how to do it.










share|improve this question



















  • 1




    Then all my installed programs will be removed!
    – Palash Bauri
    Mar 15 at 8:56










  • I would suggest booting a live (Ubuntu install media) deleting sda7 or your swap partition, then add space wanted to sda8 (resize), then re-create a swap partition (and fix any issues such as move causing MBR to point to wrong location and grub issues [if this occurs], a change in UUID for swap in /etc/fstab etc.) –
    – guiverc
    Mar 15 at 9:05











  • Sorry - I deleted my comment which listed the wrong sda number; my text was correct (ie. delete the later recreate swap partition to allow the partition to expand) You could move swap too, but it may still mean fixing grub due to partition expansion (if /boot is moved on disk)..)
    – guiverc
    Mar 15 at 9:06















up vote
0
down vote

favorite
1












enter image description here



That's the condition of my disks seen from live ubuntu cd.



On /dev/sd8 my ubuntu os is Installed



On /dev/sd1 windows 7 is Installed.



And i want to merge the unallocated space on top of /dev/sd7 to my ubuntu partition because I'm running out of space.



I tried solutions mentioned in internet but i couldn't figure out how to do it.










share|improve this question



















  • 1




    Then all my installed programs will be removed!
    – Palash Bauri
    Mar 15 at 8:56










  • I would suggest booting a live (Ubuntu install media) deleting sda7 or your swap partition, then add space wanted to sda8 (resize), then re-create a swap partition (and fix any issues such as move causing MBR to point to wrong location and grub issues [if this occurs], a change in UUID for swap in /etc/fstab etc.) –
    – guiverc
    Mar 15 at 9:05











  • Sorry - I deleted my comment which listed the wrong sda number; my text was correct (ie. delete the later recreate swap partition to allow the partition to expand) You could move swap too, but it may still mean fixing grub due to partition expansion (if /boot is moved on disk)..)
    – guiverc
    Mar 15 at 9:06













up vote
0
down vote

favorite
1









up vote
0
down vote

favorite
1






1





enter image description here



That's the condition of my disks seen from live ubuntu cd.



On /dev/sd8 my ubuntu os is Installed



On /dev/sd1 windows 7 is Installed.



And i want to merge the unallocated space on top of /dev/sd7 to my ubuntu partition because I'm running out of space.



I tried solutions mentioned in internet but i couldn't figure out how to do it.










share|improve this question















enter image description here



That's the condition of my disks seen from live ubuntu cd.



On /dev/sd8 my ubuntu os is Installed



On /dev/sd1 windows 7 is Installed.



And i want to merge the unallocated space on top of /dev/sd7 to my ubuntu partition because I'm running out of space.



I tried solutions mentioned in internet but i couldn't figure out how to do it.







dual-boot partitioning gparted ubuntu-one unallocated






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 15 at 8:46

























asked Mar 15 at 8:41









Palash Bauri

69116




69116







  • 1




    Then all my installed programs will be removed!
    – Palash Bauri
    Mar 15 at 8:56










  • I would suggest booting a live (Ubuntu install media) deleting sda7 or your swap partition, then add space wanted to sda8 (resize), then re-create a swap partition (and fix any issues such as move causing MBR to point to wrong location and grub issues [if this occurs], a change in UUID for swap in /etc/fstab etc.) –
    – guiverc
    Mar 15 at 9:05











  • Sorry - I deleted my comment which listed the wrong sda number; my text was correct (ie. delete the later recreate swap partition to allow the partition to expand) You could move swap too, but it may still mean fixing grub due to partition expansion (if /boot is moved on disk)..)
    – guiverc
    Mar 15 at 9:06













  • 1




    Then all my installed programs will be removed!
    – Palash Bauri
    Mar 15 at 8:56










  • I would suggest booting a live (Ubuntu install media) deleting sda7 or your swap partition, then add space wanted to sda8 (resize), then re-create a swap partition (and fix any issues such as move causing MBR to point to wrong location and grub issues [if this occurs], a change in UUID for swap in /etc/fstab etc.) –
    – guiverc
    Mar 15 at 9:05











  • Sorry - I deleted my comment which listed the wrong sda number; my text was correct (ie. delete the later recreate swap partition to allow the partition to expand) You could move swap too, but it may still mean fixing grub due to partition expansion (if /boot is moved on disk)..)
    – guiverc
    Mar 15 at 9:06








1




1




Then all my installed programs will be removed!
– Palash Bauri
Mar 15 at 8:56




Then all my installed programs will be removed!
– Palash Bauri
Mar 15 at 8:56












I would suggest booting a live (Ubuntu install media) deleting sda7 or your swap partition, then add space wanted to sda8 (resize), then re-create a swap partition (and fix any issues such as move causing MBR to point to wrong location and grub issues [if this occurs], a change in UUID for swap in /etc/fstab etc.) –
– guiverc
Mar 15 at 9:05





I would suggest booting a live (Ubuntu install media) deleting sda7 or your swap partition, then add space wanted to sda8 (resize), then re-create a swap partition (and fix any issues such as move causing MBR to point to wrong location and grub issues [if this occurs], a change in UUID for swap in /etc/fstab etc.) –
– guiverc
Mar 15 at 9:05













Sorry - I deleted my comment which listed the wrong sda number; my text was correct (ie. delete the later recreate swap partition to allow the partition to expand) You could move swap too, but it may still mean fixing grub due to partition expansion (if /boot is moved on disk)..)
– guiverc
Mar 15 at 9:06





Sorry - I deleted my comment which listed the wrong sda number; my text was correct (ie. delete the later recreate swap partition to allow the partition to expand) You could move swap too, but it may still mean fixing grub due to partition expansion (if /boot is moved on disk)..)
– guiverc
Mar 15 at 9:06











1 Answer
1






active

oldest

votes

















up vote
1
down vote



accepted










This should strait forward: Delete the swap partition on /dev/sda7 and then resize the ext4 on /dev/sda8.



There is one important step before that: The live CD auto mounts the swap space, so you need to disable swap before you can remove the partition:



$ sudo swapoff


An then you can remove the swap space. If you have enough memory, you don't need it anyway. With only 2GB you will need a swap partition. So after deleting the swap partition and resizing/moving /dev/sda8, boot Windows and shrink /dev/sda5. Than you can create a new swap partition. Ubuntu doesn't care were it is.



Also shrinking the /dev/sda5 partition might be a good idear anyway, since it would solve all your problems.






share|improve this answer






















  • If i delete swap partition, what problems it will cause?
    – Palash Bauri
    Mar 15 at 10:00










  • My computer is 32bit with 2GB ram
    – Palash Bauri
    Mar 15 at 10:00










  • None as long as you don't start Firefox or LibreOffice.
    – Barafu Albino
    Mar 15 at 11:28










  • 2GB is not much... so you might need a swap partition. You have a nother partition on /dev/sda9. If that wone is free, you can use it as swap.
    – Simon Sudler
    Mar 15 at 11:43






  • 1




    Thank You Guys, it worked. I deleted the swap and merged the unallocated space to my linux partition and created another linux swap. But after reboot as usual i got a grub rescue prompt but this article helped me to fix that problem medium.com/@froositadwi/…
    – Palash Bauri
    Mar 15 at 13:51










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',
convertImagesToLinks: true,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1015087%2fcan-move-unallocated-space-to-my-linux-partition-urgent%23new-answer', 'question_page');

);

Post as a guest






























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
1
down vote



accepted










This should strait forward: Delete the swap partition on /dev/sda7 and then resize the ext4 on /dev/sda8.



There is one important step before that: The live CD auto mounts the swap space, so you need to disable swap before you can remove the partition:



$ sudo swapoff


An then you can remove the swap space. If you have enough memory, you don't need it anyway. With only 2GB you will need a swap partition. So after deleting the swap partition and resizing/moving /dev/sda8, boot Windows and shrink /dev/sda5. Than you can create a new swap partition. Ubuntu doesn't care were it is.



Also shrinking the /dev/sda5 partition might be a good idear anyway, since it would solve all your problems.






share|improve this answer






















  • If i delete swap partition, what problems it will cause?
    – Palash Bauri
    Mar 15 at 10:00










  • My computer is 32bit with 2GB ram
    – Palash Bauri
    Mar 15 at 10:00










  • None as long as you don't start Firefox or LibreOffice.
    – Barafu Albino
    Mar 15 at 11:28










  • 2GB is not much... so you might need a swap partition. You have a nother partition on /dev/sda9. If that wone is free, you can use it as swap.
    – Simon Sudler
    Mar 15 at 11:43






  • 1




    Thank You Guys, it worked. I deleted the swap and merged the unallocated space to my linux partition and created another linux swap. But after reboot as usual i got a grub rescue prompt but this article helped me to fix that problem medium.com/@froositadwi/…
    – Palash Bauri
    Mar 15 at 13:51














up vote
1
down vote



accepted










This should strait forward: Delete the swap partition on /dev/sda7 and then resize the ext4 on /dev/sda8.



There is one important step before that: The live CD auto mounts the swap space, so you need to disable swap before you can remove the partition:



$ sudo swapoff


An then you can remove the swap space. If you have enough memory, you don't need it anyway. With only 2GB you will need a swap partition. So after deleting the swap partition and resizing/moving /dev/sda8, boot Windows and shrink /dev/sda5. Than you can create a new swap partition. Ubuntu doesn't care were it is.



Also shrinking the /dev/sda5 partition might be a good idear anyway, since it would solve all your problems.






share|improve this answer






















  • If i delete swap partition, what problems it will cause?
    – Palash Bauri
    Mar 15 at 10:00










  • My computer is 32bit with 2GB ram
    – Palash Bauri
    Mar 15 at 10:00










  • None as long as you don't start Firefox or LibreOffice.
    – Barafu Albino
    Mar 15 at 11:28










  • 2GB is not much... so you might need a swap partition. You have a nother partition on /dev/sda9. If that wone is free, you can use it as swap.
    – Simon Sudler
    Mar 15 at 11:43






  • 1




    Thank You Guys, it worked. I deleted the swap and merged the unallocated space to my linux partition and created another linux swap. But after reboot as usual i got a grub rescue prompt but this article helped me to fix that problem medium.com/@froositadwi/…
    – Palash Bauri
    Mar 15 at 13:51












up vote
1
down vote



accepted







up vote
1
down vote



accepted






This should strait forward: Delete the swap partition on /dev/sda7 and then resize the ext4 on /dev/sda8.



There is one important step before that: The live CD auto mounts the swap space, so you need to disable swap before you can remove the partition:



$ sudo swapoff


An then you can remove the swap space. If you have enough memory, you don't need it anyway. With only 2GB you will need a swap partition. So after deleting the swap partition and resizing/moving /dev/sda8, boot Windows and shrink /dev/sda5. Than you can create a new swap partition. Ubuntu doesn't care were it is.



Also shrinking the /dev/sda5 partition might be a good idear anyway, since it would solve all your problems.






share|improve this answer














This should strait forward: Delete the swap partition on /dev/sda7 and then resize the ext4 on /dev/sda8.



There is one important step before that: The live CD auto mounts the swap space, so you need to disable swap before you can remove the partition:



$ sudo swapoff


An then you can remove the swap space. If you have enough memory, you don't need it anyway. With only 2GB you will need a swap partition. So after deleting the swap partition and resizing/moving /dev/sda8, boot Windows and shrink /dev/sda5. Than you can create a new swap partition. Ubuntu doesn't care were it is.



Also shrinking the /dev/sda5 partition might be a good idear anyway, since it would solve all your problems.







share|improve this answer














share|improve this answer



share|improve this answer








edited Mar 15 at 11:47

























answered Mar 15 at 9:41









Simon Sudler

960111




960111











  • If i delete swap partition, what problems it will cause?
    – Palash Bauri
    Mar 15 at 10:00










  • My computer is 32bit with 2GB ram
    – Palash Bauri
    Mar 15 at 10:00










  • None as long as you don't start Firefox or LibreOffice.
    – Barafu Albino
    Mar 15 at 11:28










  • 2GB is not much... so you might need a swap partition. You have a nother partition on /dev/sda9. If that wone is free, you can use it as swap.
    – Simon Sudler
    Mar 15 at 11:43






  • 1




    Thank You Guys, it worked. I deleted the swap and merged the unallocated space to my linux partition and created another linux swap. But after reboot as usual i got a grub rescue prompt but this article helped me to fix that problem medium.com/@froositadwi/…
    – Palash Bauri
    Mar 15 at 13:51
















  • If i delete swap partition, what problems it will cause?
    – Palash Bauri
    Mar 15 at 10:00










  • My computer is 32bit with 2GB ram
    – Palash Bauri
    Mar 15 at 10:00










  • None as long as you don't start Firefox or LibreOffice.
    – Barafu Albino
    Mar 15 at 11:28










  • 2GB is not much... so you might need a swap partition. You have a nother partition on /dev/sda9. If that wone is free, you can use it as swap.
    – Simon Sudler
    Mar 15 at 11:43






  • 1




    Thank You Guys, it worked. I deleted the swap and merged the unallocated space to my linux partition and created another linux swap. But after reboot as usual i got a grub rescue prompt but this article helped me to fix that problem medium.com/@froositadwi/…
    – Palash Bauri
    Mar 15 at 13:51















If i delete swap partition, what problems it will cause?
– Palash Bauri
Mar 15 at 10:00




If i delete swap partition, what problems it will cause?
– Palash Bauri
Mar 15 at 10:00












My computer is 32bit with 2GB ram
– Palash Bauri
Mar 15 at 10:00




My computer is 32bit with 2GB ram
– Palash Bauri
Mar 15 at 10:00












None as long as you don't start Firefox or LibreOffice.
– Barafu Albino
Mar 15 at 11:28




None as long as you don't start Firefox or LibreOffice.
– Barafu Albino
Mar 15 at 11:28












2GB is not much... so you might need a swap partition. You have a nother partition on /dev/sda9. If that wone is free, you can use it as swap.
– Simon Sudler
Mar 15 at 11:43




2GB is not much... so you might need a swap partition. You have a nother partition on /dev/sda9. If that wone is free, you can use it as swap.
– Simon Sudler
Mar 15 at 11:43




1




1




Thank You Guys, it worked. I deleted the swap and merged the unallocated space to my linux partition and created another linux swap. But after reboot as usual i got a grub rescue prompt but this article helped me to fix that problem medium.com/@froositadwi/…
– Palash Bauri
Mar 15 at 13:51




Thank You Guys, it worked. I deleted the swap and merged the unallocated space to my linux partition and created another linux swap. But after reboot as usual i got a grub rescue prompt but this article helped me to fix that problem medium.com/@froositadwi/…
– Palash Bauri
Mar 15 at 13:51

















 

draft saved


draft discarded















































 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1015087%2fcan-move-unallocated-space-to-my-linux-partition-urgent%23new-answer', 'question_page');

);

Post as a guest













































































Popular posts from this blog

How do so many people here on Academia.SE, and in general, afford lavish higher education programs?

Trouble downloading packages list due to a “Hash sum mismatch” error

How do I move numbers in filenames, in a batch renaming operation?